class GroupServiceGrpcClient extends BaseStub

The Group API lets you inspect and manage your groups.

A group is a named filter that is used to identify a collection of monitored resources. Groups are typically used to mirror the physical and/or logical topology of the environment. Because group membership is computed dynamically, monitored resources that are started in the future are automatically placed in matching groups. By using a group to name monitored resources in, for example, an alert policy, the target of that alert policy is updated automatically as monitored resources are added and removed from the infrastructure.

Methods

__construct(string $hostname, array $opts, Channel $channel = null)

No description

ListGroups(ListGroupsRequest $argument, array $metadata = [], array $options = [])

Lists the existing groups.

GetGroup(GetGroupRequest $argument, array $metadata = [], array $options = [])

Gets a single group.

CreateGroup(CreateGroupRequest $argument, array $metadata = [], array $options = [])

Creates a new group.

UpdateGroup(UpdateGroupRequest $argument, array $metadata = [], array $options = [])

Updates an existing group.

DeleteGroup(DeleteGroupRequest $argument, array $metadata = [], array $options = [])

Deletes an existing group.

ListGroupMembers(ListGroupMembersRequest $argument, array $metadata = [], array $options = [])

Lists the monitored resources that are members of a group.

Details

at line 42
__construct(string $hostname, array $opts, Channel $channel = null)

Parameters

string $hostname hostname
array $opts channel options
Channel $channel (optional) re-use channel object

at line 52
ListGroups(ListGroupsRequest $argument, array $metadata = [], array $options = [])

Lists the existing groups.

Parameters

ListGroupsRequest $argument input argument
array $metadata metadata
array $options call options

at line 66
GetGroup(GetGroupRequest $argument, array $metadata = [], array $options = [])

Gets a single group.

Parameters

GetGroupRequest $argument input argument
array $metadata metadata
array $options call options

at line 80
CreateGroup(CreateGroupRequest $argument, array $metadata = [], array $options = [])

Creates a new group.

Parameters

CreateGroupRequest $argument input argument
array $metadata metadata
array $options call options

at line 95
UpdateGroup(UpdateGroupRequest $argument, array $metadata = [], array $options = [])

Updates an existing group.

You can change any group attributes except name.

Parameters

UpdateGroupRequest $argument input argument
array $metadata metadata
array $options call options

at line 109
DeleteGroup(DeleteGroupRequest $argument, array $metadata = [], array $options = [])

Deletes an existing group.

Parameters

DeleteGroupRequest $argument input argument
array $metadata metadata
array $options call options

at line 123
ListGroupMembers(ListGroupMembersRequest $argument, array $metadata = [], array $options = [])

Lists the monitored resources that are members of a group.

Parameters

ListGroupMembersRequest $argument input argument
array $metadata metadata
array $options call options