Class ProjectsResource.GroupsResource
The "groups" collection of methods.
Inherited Members
Namespace: Google.Apis.Monitoring.v3
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ProjectsResource.GroupsResource
Constructors
GroupsResource(IClientService)
Constructs a new resource.
Declaration
public GroupsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Members
Gets the Members resource.
Declaration
public virtual ProjectsResource.GroupsResource.MembersResource Members { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.GroupsResource.MembersResource |
Methods
Create(Group, string)
Creates a new group.
Declaration
public virtual ProjectsResource.GroupsResource.CreateRequest Create(Group body, string name)
Parameters
Type | Name | Description |
---|---|---|
Group | body | The body of the request. |
string | name | Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) in which to create the group. The format is: projects/[PROJECT_ID_OR_NUMBER] |
Returns
Type | Description |
---|---|
ProjectsResource.GroupsResource.CreateRequest |
Delete(string)
Deletes an existing group.
Declaration
public virtual ProjectsResource.GroupsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The group to delete. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] |
Returns
Type | Description |
---|---|
ProjectsResource.GroupsResource.DeleteRequest |
Get(string)
Gets a single group.
Declaration
public virtual ProjectsResource.GroupsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The group to retrieve. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] |
Returns
Type | Description |
---|---|
ProjectsResource.GroupsResource.GetRequest |
List(string)
Lists the existing groups.
Declaration
public virtual ProjectsResource.GroupsResource.ListRequest List(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The project (https://cloud.google.com/monitoring/api/v3#project_name) whose groups are to be listed. The format is: projects/[PROJECT_ID_OR_NUMBER] |
Returns
Type | Description |
---|---|
ProjectsResource.GroupsResource.ListRequest |
Update(Group, string)
Updates an existing group. You can change any group attributes except name.
Declaration
public virtual ProjectsResource.GroupsResource.UpdateRequest Update(Group body, string name)
Parameters
Type | Name | Description |
---|---|---|
Group | body | The body of the request. |
string | name | Output only. The name of this group. The format is: projects/[PROJECT_ID_OR_NUMBER]/groups/[GROUP_ID] When creating a group, this field is ignored and a new name is created consisting of the project specified in the call to CreateGroup and a unique [GROUP_ID] that is generated automatically. |
Returns
Type | Description |
---|---|
ProjectsResource.GroupsResource.UpdateRequest |