Package com.google.monitoring.v3
Class GroupServiceGrpc.GroupServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<GroupServiceGrpc.GroupServiceBlockingV2Stub>
com.google.monitoring.v3.GroupServiceGrpc.GroupServiceBlockingV2Stub
- Enclosing class:
- GroupServiceGrpc
public static final class GroupServiceGrpc.GroupServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<GroupServiceGrpc.GroupServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createGroup(CreateGroupRequest request) Creates a new group.com.google.protobuf.EmptydeleteGroup(DeleteGroupRequest request) Deletes an existing group.getGroup(GetGroupRequest request) Gets a single group.listGroupMembers(ListGroupMembersRequest request) Lists the monitored resources that are members of a group.listGroups(ListGroupsRequest request) Lists the existing groups.updateGroup(UpdateGroupRequest request) Updates an existing group.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.GroupServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<GroupServiceGrpc.GroupServiceBlockingV2Stub>
-
listGroups
Lists the existing groups.
- Throws:
io.grpc.StatusException
-
getGroup
Gets a single group.
- Throws:
io.grpc.StatusException
-
createGroup
Creates a new group.
- Throws:
io.grpc.StatusException
-
updateGroup
Updates an existing group. You can change any group attributes except `name`.
- Throws:
io.grpc.StatusException
-
deleteGroup
public com.google.protobuf.Empty deleteGroup(DeleteGroupRequest request) throws io.grpc.StatusException Deletes an existing group.
- Throws:
io.grpc.StatusException
-
listGroupMembers
public ListGroupMembersResponse listGroupMembers(ListGroupMembersRequest request) throws io.grpc.StatusException Lists the monitored resources that are members of a group.
- Throws:
io.grpc.StatusException
-