Package com.google.monitoring.v3
Class GroupServiceGrpc.GroupServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<GroupServiceGrpc.GroupServiceFutureStub>
com.google.monitoring.v3.GroupServiceGrpc.GroupServiceFutureStub
- Enclosing class:
- GroupServiceGrpc
public static final class GroupServiceGrpc.GroupServiceFutureStub
extends io.grpc.stub.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](#google.monitoring.v3.Group). 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected GroupServiceGrpc.GroupServiceFutureStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Group>createGroup(CreateGroupRequest request) Creates a new group.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteGroup(DeleteGroupRequest request) Deletes an existing group.com.google.common.util.concurrent.ListenableFuture<Group>getGroup(GetGroupRequest request) Gets a single group.com.google.common.util.concurrent.ListenableFuture<ListGroupMembersResponse>listGroupMembers(ListGroupMembersRequest request) Lists the monitored resources that are members of a group.com.google.common.util.concurrent.ListenableFuture<ListGroupsResponse>listGroups(ListGroupsRequest request) Lists the existing groups.com.google.common.util.concurrent.ListenableFuture<Group>updateGroup(UpdateGroupRequest request) Updates an existing group.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected GroupServiceGrpc.GroupServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GroupServiceGrpc.GroupServiceFutureStub>
-
listGroups
public com.google.common.util.concurrent.ListenableFuture<ListGroupsResponse> listGroups(ListGroupsRequest request) Lists the existing groups.
-
getGroup
Gets a single group.
-
createGroup
public com.google.common.util.concurrent.ListenableFuture<Group> createGroup(CreateGroupRequest request) Creates a new group.
-
updateGroup
public com.google.common.util.concurrent.ListenableFuture<Group> updateGroup(UpdateGroupRequest request) Updates an existing group. You can change any group attributes except `name`.
-
deleteGroup
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteGroup(DeleteGroupRequest request) Deletes an existing group.
-
listGroupMembers
public com.google.common.util.concurrent.ListenableFuture<ListGroupMembersResponse> listGroupMembers(ListGroupMembersRequest request) Lists the monitored resources that are members of a group.
-