Google Cloud Monitoring v3 API - Class GroupService.GroupServiceBase (3.10.0)

[BindServiceMethod(typeof(GroupService), "BindService")]
public abstract class GroupService.GroupServiceBase

Reference documentation and code samples for the Google Cloud Monitoring v3 API class GroupService.GroupServiceBase.

Base class for server-side implementations of GroupService

Inheritance

object > GroupService.GroupServiceBase

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Methods

CreateGroup(CreateGroupRequest, ServerCallContext)

public virtual Task<Group> CreateGroup(CreateGroupRequest request, ServerCallContext context)

Creates a new group.

Parameters
Name Description
request CreateGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskGroup

The response to send back to the client (wrapped by a task).

DeleteGroup(DeleteGroupRequest, ServerCallContext)

public virtual Task<Empty> DeleteGroup(DeleteGroupRequest request, ServerCallContext context)

Deletes an existing group.

Parameters
Name Description
request DeleteGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

GetGroup(GetGroupRequest, ServerCallContext)

public virtual Task<Group> GetGroup(GetGroupRequest request, ServerCallContext context)

Gets a single group.

Parameters
Name Description
request GetGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskGroup

The response to send back to the client (wrapped by a task).

ListGroupMembers(ListGroupMembersRequest, ServerCallContext)

public virtual Task<ListGroupMembersResponse> ListGroupMembers(ListGroupMembersRequest request, ServerCallContext context)

Lists the monitored resources that are members of a group.

Parameters
Name Description
request ListGroupMembersRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListGroupMembersResponse

The response to send back to the client (wrapped by a task).

ListGroups(ListGroupsRequest, ServerCallContext)

public virtual Task<ListGroupsResponse> ListGroups(ListGroupsRequest request, ServerCallContext context)

Lists the existing groups.

Parameters
Name Description
request ListGroupsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListGroupsResponse

The response to send back to the client (wrapped by a task).

UpdateGroup(UpdateGroupRequest, ServerCallContext)

public virtual Task<Group> UpdateGroup(UpdateGroupRequest request, ServerCallContext context)

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

Parameters
Name Description
request UpdateGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskGroup

The response to send back to the client (wrapped by a task).