class Google::Apis::SqladminV1::InstanceReference

Reference to another Cloud SQL instance.

Attributes

name[RW]

The name of the Cloud SQL instance being referenced. This does not include the project ID. Corresponds to the JSON property `name` @return [String]

project[RW]

The project ID of the Cloud SQL instance being referenced. The default is the same project ID as the instance references it. Corresponds to the JSON property `project` @return [String]

region[RW]

The region of the Cloud SQL instance being referenced. Corresponds to the JSON property `region` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1/classes.rb, line 1709
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1/classes.rb, line 1714
def update!(**args)
  @name = args[:name] if args.key?(:name)
  @project = args[:project] if args.key?(:project)
  @region = args[:region] if args.key?(:region)
end