Package com.google.monitoring.v3
Class GroupServiceGrpc.GroupServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<GroupServiceGrpc.GroupServiceBlockingStub>
-
- com.google.monitoring.v3.GroupServiceGrpc.GroupServiceBlockingStub
-
- Enclosing class:
- GroupServiceGrpc
public static final class GroupServiceGrpc.GroupServiceBlockingStub extends io.grpc.stub.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](#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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected GroupServiceGrpc.GroupServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
Group
createGroup(CreateGroupRequest request)
Creates a new group.com.google.protobuf.Empty
deleteGroup(DeleteGroupRequest request)
Deletes an existing group.Group
getGroup(GetGroupRequest request)
Gets a single group.ListGroupMembersResponse
listGroupMembers(ListGroupMembersRequest request)
Lists the monitored resources that are members of a group.ListGroupsResponse
listGroups(ListGroupsRequest request)
Lists the existing groups.Group
updateGroup(UpdateGroupRequest request)
Updates an existing group.
-
-
-
Method Detail
-
build
protected GroupServiceGrpc.GroupServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<GroupServiceGrpc.GroupServiceBlockingStub>
-
listGroups
public ListGroupsResponse listGroups(ListGroupsRequest request)
Lists the existing groups.
-
getGroup
public Group getGroup(GetGroupRequest request)
Gets a single group.
-
createGroup
public Group createGroup(CreateGroupRequest request)
Creates a new group.
-
updateGroup
public Group updateGroup(UpdateGroupRequest request)
Updates an existing group. You can change any group attributes except `name`.
-
deleteGroup
public com.google.protobuf.Empty deleteGroup(DeleteGroupRequest request)
Deletes an existing group.
-
listGroupMembers
public ListGroupMembersResponse listGroupMembers(ListGroupMembersRequest request)
Lists the monitored resources that are members of a group.
-
-