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

The "databases" collection of methods. More...

Classes

class  DeleteRequest
 Deletes a database from a Cloud SQL instance. More...
 
class  GetRequest
 Retrieves a resource containing information about a database inside a Cloud SQL instance. More...
 
class  InsertRequest
 Inserts a resource containing information about a database inside a Cloud SQL instance. More...
 
class  ListRequest
 Lists databases in the specified Cloud SQL instance. More...
 
class  PatchRequest
 Updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics. More...
 
class  UpdateRequest
 Updates a resource containing information about a database inside a Cloud SQL instance. More...
 

Public Member Functions

 DatabasesResource (Google.Apis.Services.IClientService service)
 Constructs a new resource. More...
 
virtual DeleteRequest Delete (string project, string instance, string database)
 Deletes a database from a Cloud SQL instance. More...
 
virtual GetRequest Get (string project, string instance, string database)
 Retrieves a resource containing information about a database inside a Cloud SQL instance. More...
 
virtual InsertRequest Insert (Google.Apis.SQLAdmin.v1beta4.Data.Database body, string project, string instance)
 Inserts a resource containing information about a database inside a Cloud SQL instance. More...
 
virtual ListRequest List (string project, string instance)
 Lists databases in the specified Cloud SQL instance. More...
 
virtual PatchRequest Patch (Google.Apis.SQLAdmin.v1beta4.Data.Database body, string project, string instance, string database)
 Updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics. More...
 
virtual UpdateRequest Update (Google.Apis.SQLAdmin.v1beta4.Data.Database body, string project, string instance, string database)
 Updates a resource containing information about a database inside a Cloud SQL instance. More...
 

Detailed Description

The "databases" collection of methods.

Constructor & Destructor Documentation

◆ DatabasesResource()

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

Constructs a new resource.

Member Function Documentation

◆ Delete()

virtual DeleteRequest Google.Apis.SQLAdmin.v1beta4.DatabasesResource.Delete ( string  project,
string  instance,
string  database 
)
inlinevirtual

Deletes a database 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.
databaseName of the database to be deleted in the instance.

◆ Get()

virtual GetRequest Google.Apis.SQLAdmin.v1beta4.DatabasesResource.Get ( string  project,
string  instance,
string  database 
)
inlinevirtual

Retrieves a resource containing information about a database inside a Cloud SQL instance.

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

◆ Insert()

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

Inserts a resource containing information about a database inside 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.DatabasesResource.List ( string  project,
string  instance 
)
inlinevirtual

Lists databases in the specified Cloud SQL instance.

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

◆ Patch()

virtual PatchRequest Google.Apis.SQLAdmin.v1beta4.DatabasesResource.Patch ( Google.Apis.SQLAdmin.v1beta4.Data.Database  body,
string  project,
string  instance,
string  database 
)
inlinevirtual

Updates a resource containing information about a database inside a Cloud SQL instance. This method supports patch semantics.

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.
databaseName of the database to be updated in the instance.

◆ Update()

virtual UpdateRequest Google.Apis.SQLAdmin.v1beta4.DatabasesResource.Update ( Google.Apis.SQLAdmin.v1beta4.Data.Database  body,
string  project,
string  instance,
string  database 
)
inlinevirtual

Updates a resource containing information about a database inside 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.
databaseName of the database to be updated in the instance.

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