- 3.56.0 (latest)
- 3.55.0
- 3.54.0
- 3.53.0
- 3.52.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.6
- 3.3.6
- 3.2.10
public static final class GroupServiceGrpc.GroupServiceFutureStub extends AbstractFutureStub<GroupServiceGrpc.GroupServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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.AbstractFutureStub > GroupServiceGrpc.GroupServiceFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected GroupServiceGrpc.GroupServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
GroupServiceGrpc.GroupServiceFutureStub |
createGroup(CreateGroupRequest request)
public ListenableFuture<Group> createGroup(CreateGroupRequest request)
Creates a new group.
Parameter | |
---|---|
Name | Description |
request |
CreateGroupRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Group> |
deleteGroup(DeleteGroupRequest request)
public ListenableFuture<Empty> deleteGroup(DeleteGroupRequest request)
Deletes an existing group.
Parameter | |
---|---|
Name | Description |
request |
DeleteGroupRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
getGroup(GetGroupRequest request)
public ListenableFuture<Group> getGroup(GetGroupRequest request)
Gets a single group.
Parameter | |
---|---|
Name | Description |
request |
GetGroupRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Group> |
listGroupMembers(ListGroupMembersRequest request)
public ListenableFuture<ListGroupMembersResponse> listGroupMembers(ListGroupMembersRequest request)
Lists the monitored resources that are members of a group.
Parameter | |
---|---|
Name | Description |
request |
ListGroupMembersRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListGroupMembersResponse> |
listGroups(ListGroupsRequest request)
public ListenableFuture<ListGroupsResponse> listGroups(ListGroupsRequest request)
Lists the existing groups.
Parameter | |
---|---|
Name | Description |
request |
ListGroupsRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListGroupsResponse> |
updateGroup(UpdateGroupRequest request)
public ListenableFuture<Group> updateGroup(UpdateGroupRequest request)
Updates an existing group.
You can change any group attributes except name
.
Parameter | |
---|---|
Name | Description |
request |
UpdateGroupRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Group> |