Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::InstanceReference (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::InstanceReference.

Reference to another Cloud SQL instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — The name of the Cloud SQL instance being referenced. This does not include the project ID.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The name of the Cloud SQL instance being referenced. This does not include the project ID.
Returns
  • (::String) — The name of the Cloud SQL instance being referenced. This does not include the project ID.

#project

def project() -> ::String
Returns
  • (::String) — The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.
Returns
  • (::String) — The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it.

#region

def region() -> ::String
Returns
  • (::String) — The region of the Cloud SQL instance being referenced.

#region=

def region=(value) -> ::String
Parameter
  • value (::String) — The region of the Cloud SQL instance being referenced.
Returns
  • (::String) — The region of the Cloud SQL instance being referenced.