Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class Database.
Represents a SQL database on the Cloud SQL instance.
Generated from protobuf message google.cloud.sql.v1.Database
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ kind
string
This is always sql#database.
↳ charset
string
The Cloud SQL charset value.
↳ collation
string
The Cloud SQL collation value.
↳ etag
string
This field is deprecated and will be removed from a future version of the API.
↳ name
string
The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.
↳ instance
string
The name of the Cloud SQL instance. This does not include the project ID.
↳ self_link
string
The URI of this resource.
↳ project
string
The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.
↳ sqlserver_database_details
getKind
This is always sql#database.
string
setKind
This is always sql#database.
var
string
$this
getCharset
The Cloud SQL charset value.
string
setCharset
The Cloud SQL charset value.
var
string
$this
getCollation
The Cloud SQL collation value.
string
setCollation
The Cloud SQL collation value.
var
string
$this
getEtag
This field is deprecated and will be removed from a future version of the API.
string
setEtag
This field is deprecated and will be removed from a future version of the API.
var
string
$this
getName
The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.
string
setName
The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.
var
string
$this
getInstance
The name of the Cloud SQL instance. This does not include the project ID.
string
setInstance
The name of the Cloud SQL instance. This does not include the project ID.
var
string
$this
getSelfLink
The URI of this resource.
string
setSelfLink
The URI of this resource.
var
string
$this
getProject
The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.
string
setProject
The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable.
var
string
$this
getSqlserverDatabaseDetails
Generated from protobuf field .google.cloud.sql.v1.SqlServerDatabaseDetails sqlserver_database_details = 9;
hasSqlserverDatabaseDetails
setSqlserverDatabaseDetails
Generated from protobuf field .google.cloud.sql.v1.SqlServerDatabaseDetails sqlserver_database_details = 9;
$this
getDatabaseDetails
string