Class ProjectsResource.LocationsResource.ClustersResource.UsersResource
The "users" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudAlloyDBAdmin.v1
Assembly: Google.Apis.CloudAlloyDBAdmin.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.UsersResource
Constructors
UsersResource(IClientService)
Constructs a new resource.
Declaration
public UsersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(User, string)
Creates a new User in a given project, location, and cluster.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.UsersResource.CreateRequest Create(User body, string parent)
Parameters
Type | Name | Description |
---|---|---|
User | body | The body of the request. |
string | parent | Required. Value for parent. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.UsersResource.CreateRequest |
Delete(string)
Deletes a single User.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.UsersResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the resource. For the required format, see the comment on the User.name field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.UsersResource.DeleteRequest |
Get(string)
Gets details of a single User.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.UsersResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the resource. For the required format, see the comment on the User.name field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.UsersResource.GetRequest |
List(string)
Lists Users in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.UsersResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Parent value for ListUsersRequest |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.UsersResource.ListRequest |
Patch(User, string)
Updates the parameters of a single User.
Declaration
public virtual ProjectsResource.LocationsResource.ClustersResource.UsersResource.PatchRequest Patch(User body, string name)
Parameters
Type | Name | Description |
---|---|---|
User | body | The body of the request. |
string | name | Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.ClustersResource.UsersResource.PatchRequest |