Stackdriver Monitoring V3 Client - Class ListGroupsRequest (1.3.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]

Returns
TypeDescription
string

setName

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

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.

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.

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.

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.

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.

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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

Returns
TypeDescription
int

setPageSize

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

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.

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

Returns
TypeDescription
string