sqladmin  v1beta4
Classes | Public Member Functions | List of all members
Google.Apis.SQLAdmin.v1beta4.UsersResource Class Reference

The "users" collection of methods. More...

Classes

class  DeleteRequest
 Deletes a user from a Cloud SQL instance. More...
 
class  InsertRequest
 Creates a new user in a Cloud SQL instance. More...
 
class  ListRequest
 Lists users in the specified Cloud SQL instance. More...
 
class  UpdateRequest
 Updates an existing user in a Cloud SQL instance. More...
 

Public Member Functions

 UsersResource (Google.Apis.Services.IClientService service)
 Constructs a new resource. More...
 
virtual DeleteRequest Delete (string project, string instance, string host, string name)
 Deletes a user from a Cloud SQL instance. More...
 
virtual InsertRequest Insert (Google.Apis.SQLAdmin.v1beta4.Data.User body, string project, string instance)
 Creates a new user in a Cloud SQL instance. More...
 
virtual ListRequest List (string project, string instance)
 Lists users in the specified Cloud SQL instance. More...
 
virtual UpdateRequest Update (Google.Apis.SQLAdmin.v1beta4.Data.User body, string project, string instance, string name)
 Updates an existing user in a Cloud SQL instance. More...
 

Detailed Description

The "users" collection of methods.

Constructor & Destructor Documentation

◆ UsersResource()

Google.Apis.SQLAdmin.v1beta4.UsersResource.UsersResource ( Google.Apis.Services.IClientService  service)
inline

Constructs a new resource.

Member Function Documentation

◆ Delete()

virtual DeleteRequest Google.Apis.SQLAdmin.v1beta4.UsersResource.Delete ( string  project,
string  instance,
string  host,
string  name 
)
inlinevirtual

Deletes a user from a Cloud SQL instance.

Parameters
projectProject ID of the project that contains the instance.
instanceDatabase instance ID. This does not include the project ID.
hostHost of the user in the instance.
nameName of the user in the instance.

◆ Insert()

virtual InsertRequest Google.Apis.SQLAdmin.v1beta4.UsersResource.Insert ( Google.Apis.SQLAdmin.v1beta4.Data.User  body,
string  project,
string  instance 
)
inlinevirtual

Creates a new user in a Cloud SQL instance.

Parameters
bodyThe body of the request.
projectProject ID of the project that contains the instance.
instanceDatabase instance ID. This does not include the project ID.

◆ List()

virtual ListRequest Google.Apis.SQLAdmin.v1beta4.UsersResource.List ( string  project,
string  instance 
)
inlinevirtual

Lists users in the specified Cloud SQL instance.

Parameters
projectProject ID of the project that contains the instance.
instanceDatabase instance ID. This does not include the project ID.

◆ Update()

virtual UpdateRequest Google.Apis.SQLAdmin.v1beta4.UsersResource.Update ( Google.Apis.SQLAdmin.v1beta4.Data.User  body,
string  project,
string  instance,
string  name 
)
inlinevirtual

Updates an existing user in a Cloud SQL instance.

Parameters
bodyThe body of the request.
projectProject ID of the project that contains the instance.
instanceDatabase instance ID. This does not include the project ID.
nameName of the user in the instance.

The documentation for this class was generated from the following file: