Class GroupService.GroupServiceBase (3.1.0)

Stay organized with collections Save and categorize content based on your preferences.
[BindServiceMethod(typeof(GroupService), "BindService")]
public abstract class 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
Task<Group>

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
Task<Empty>

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
Task<Group>

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
Task<ListGroupMembersResponse>

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
Task<ListGroupsResponse>

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
Task<Group>

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