Class GroupServiceGrpc.GroupServiceBlockingStub (3.32.0)

public static final class GroupServiceGrpc.GroupServiceBlockingStub extends AbstractBlockingStub<GroupServiceGrpc.GroupServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service GroupService.

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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > GroupServiceGrpc.GroupServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected GroupServiceGrpc.GroupServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
GroupServiceGrpc.GroupServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createGroup(CreateGroupRequest request)

public Group createGroup(CreateGroupRequest request)

Creates a new group.

Parameter
NameDescription
requestCreateGroupRequest
Returns
TypeDescription
Group

deleteGroup(DeleteGroupRequest request)

public Empty deleteGroup(DeleteGroupRequest request)

Deletes an existing group.

Parameter
NameDescription
requestDeleteGroupRequest
Returns
TypeDescription
Empty

getGroup(GetGroupRequest request)

public Group getGroup(GetGroupRequest request)

Gets a single group.

Parameter
NameDescription
requestGetGroupRequest
Returns
TypeDescription
Group

listGroupMembers(ListGroupMembersRequest request)

public ListGroupMembersResponse listGroupMembers(ListGroupMembersRequest request)

Lists the monitored resources that are members of a group.

Parameter
NameDescription
requestListGroupMembersRequest
Returns
TypeDescription
ListGroupMembersResponse

listGroups(ListGroupsRequest request)

public ListGroupsResponse listGroups(ListGroupsRequest request)

Lists the existing groups.

Parameter
NameDescription
requestListGroupsRequest
Returns
TypeDescription
ListGroupsResponse

updateGroup(UpdateGroupRequest request)

public Group updateGroup(UpdateGroupRequest request)

Updates an existing group. You can change any group attributes except name.

Parameter
NameDescription
requestUpdateGroupRequest
Returns
TypeDescription
Group