Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlInstancesAcquireSsrsLeaseRequest.
Request to acquire a lease for SSRS.
Generated from protobuf message google.cloud.sql.v1.SqlInstancesAcquireSsrsLeaseRequest
Namespace
Google \ Cloud \ Sql \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ instance
string
Required. Cloud SQL instance ID. This doesn't include the project ID. It's composed of lowercase letters, numbers, and hyphens, and it must start with a letter. The total length must be 98 characters or less (Example: instance-id).
↳ project
string
Required. Project ID of the project that contains the instance (Example: project-id).
Required. Cloud SQL instance ID. This doesn't include the project ID. It's
composed of lowercase letters, numbers, and hyphens, and it must start with
a letter. The total length must be 98 characters or less (Example:
instance-id).
Returns
Type
Description
string
setInstance
Required. Cloud SQL instance ID. This doesn't include the project ID. It's
composed of lowercase letters, numbers, and hyphens, and it must start with
a letter. The total length must be 98 characters or less (Example:
instance-id).
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getProject
Required. Project ID of the project that contains the instance (Example:
project-id).
Returns
Type
Description
string
setProject
Required. Project ID of the project that contains the instance (Example:
project-id).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Sql Admin V1 Client - Class SqlInstancesAcquireSsrsLeaseRequest (1.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.6 (latest)](/php/docs/reference/cloud-sql-admin/latest/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [1.2.5](/php/docs/reference/cloud-sql-admin/1.2.5/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [1.1.0](/php/docs/reference/cloud-sql-admin/1.1.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [1.0.0](/php/docs/reference/cloud-sql-admin/1.0.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.19.0](/php/docs/reference/cloud-sql-admin/0.19.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.18.0](/php/docs/reference/cloud-sql-admin/0.18.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.17.1](/php/docs/reference/cloud-sql-admin/0.17.1/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.16.1](/php/docs/reference/cloud-sql-admin/0.16.1/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.12.0](/php/docs/reference/cloud-sql-admin/0.12.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.11.0](/php/docs/reference/cloud-sql-admin/0.11.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.10.0](/php/docs/reference/cloud-sql-admin/0.10.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.9.0](/php/docs/reference/cloud-sql-admin/0.9.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.8.0](/php/docs/reference/cloud-sql-admin/0.8.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.7.0](/php/docs/reference/cloud-sql-admin/0.7.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.6.0](/php/docs/reference/cloud-sql-admin/0.6.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.5.0](/php/docs/reference/cloud-sql-admin/0.5.0/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.4.1](/php/docs/reference/cloud-sql-admin/0.4.1/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.3.1](/php/docs/reference/cloud-sql-admin/0.3.1/V1.SqlInstancesAcquireSsrsLeaseRequest)\n- [0.2.12](/php/docs/reference/cloud-sql-admin/0.2.12/V1.SqlInstancesAcquireSsrsLeaseRequest) \nReference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlInstancesAcquireSsrsLeaseRequest.\n\nRequest to acquire a lease for SSRS.\n\nGenerated from protobuf message `google.cloud.sql.v1.SqlInstancesAcquireSsrsLeaseRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Sql \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getInstance\n\nRequired. Cloud SQL instance ID. This doesn't include the project ID. It's\ncomposed of lowercase letters, numbers, and hyphens, and it must start with\na letter. The total length must be 98 characters or less (Example:\ninstance-id).\n\n### setInstance\n\nRequired. Cloud SQL instance ID. This doesn't include the project ID. It's\ncomposed of lowercase letters, numbers, and hyphens, and it must start with\na letter. The total length must be 98 characters or less (Example:\ninstance-id).\n\n### getProject\n\nRequired. Project ID of the project that contains the instance (Example:\nproject-id).\n\n### setProject\n\nRequired. Project ID of the project that contains the instance (Example:\nproject-id).\n\n### getBody\n\nRequired. The request body.\n\n### hasBody\n\n### clearBody\n\n### setBody\n\nRequired. The request body."]]