Stackdriver Monitoring V3 Client - Class ListGroupsRequest (1.2.2)

Reference documentation and code samples for the Stackdriver Monitoring V3 Client class ListGroupsRequest.

The ListGroup request.

Generated from protobuf message google.monitoring.v3.ListGroupsRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The project whose groups are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER]

↳ children_of_group string

A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns groups whose parent_name field contains the group name. If no groups have this parent, the results are empty.

↳ ancestors_of_group string

A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns groups that are ancestors of the specified group. The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.

↳ descendants_of_group string

A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns the descendants of the specified group. This is a superset of the results returned by the children_of_group filter, and includes children-of-children, and so forth.

↳ page_size int

A positive number that is the maximum number of results to return.

↳ page_token string

If this field is not empty then it must contain the next_page_token value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

getName

Required. The project whose groups are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER]

Generated from protobuf field string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setName

Required. The project whose groups are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER]

Generated from protobuf field string name = 7 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getChildrenOfGroup

A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns groups whose parent_name field contains the group name. If no groups have this parent, the results are empty.

Generated from protobuf field string children_of_group = 2 [(.google.api.resource_reference) = {

Returns
TypeDescription
string

hasChildrenOfGroup

setChildrenOfGroup

A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns groups whose parent_name field contains the group name. If no groups have this parent, the results are empty.

Generated from protobuf field string children_of_group = 2 [(.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAncestorsOfGroup

A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns groups that are ancestors of the specified group.

The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.

Generated from protobuf field string ancestors_of_group = 3 [(.google.api.resource_reference) = {

Returns
TypeDescription
string

hasAncestorsOfGroup

setAncestorsOfGroup

A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns groups that are ancestors of the specified group.

The groups are returned in order, starting with the immediate parent and ending with the most distant ancestor. If the specified group has no immediate parent, the results are empty.

Generated from protobuf field string ancestors_of_group = 3 [(.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescendantsOfGroup

A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns the descendants of the specified group. This is a superset of the results returned by the children_of_group filter, and includes children-of-children, and so forth.

Generated from protobuf field string descendants_of_group = 4 [(.google.api.resource_reference) = {

Returns
TypeDescription
string

hasDescendantsOfGroup

setDescendantsOfGroup

A group name. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] Returns the descendants of the specified group. This is a superset of the results returned by the children_of_group filter, and includes children-of-children, and so forth.

Generated from protobuf field string descendants_of_group = 4 [(.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

A positive number that is the maximum number of results to return.

Generated from protobuf field int32 page_size = 5;

Returns
TypeDescription
int

setPageSize

A positive number that is the maximum number of results to return.

Generated from protobuf field int32 page_size = 5;

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

If this field is not empty then it must contain the next_page_token value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

Generated from protobuf field string page_token = 6;

Returns
TypeDescription
string

setPageToken

If this field is not empty then it must contain the next_page_token value returned by a previous call to this method. Using this field causes the method to return additional results from the previous method call.

Generated from protobuf field string page_token = 6;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Returns
TypeDescription
string