Google Cloud Monitoring v3 API - Class GroupService.GroupServiceBase (3.4.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
NameDescription
requestCreateGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestDeleteGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestGetGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListGroupMembersRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestListGroupsRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
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
NameDescription
requestUpdateGroupRequest

The request received from the client.

contextServerCallContext

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

Returns
TypeDescription
TaskGroup

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