Class: Google::Apis::FirebasedataconnectV1::CloudSqlInstance

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/firebasedataconnect_v1/classes.rb,
lib/google/apis/firebasedataconnect_v1/representations.rb,
lib/google/apis/firebasedataconnect_v1/representations.rb

Overview

Settings for CloudSQL instance configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudSqlInstance

Returns a new instance of CloudSqlInstance.



86
87
88
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 86

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#instanceString

Required. Name of the CloudSQL instance, in the format: projects/`project`/ locations/`location`/instances/`instance` Corresponds to the JSON property instance

Returns:

  • (String)


84
85
86
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 84

def instance
  @instance
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



91
92
93
# File 'lib/google/apis/firebasedataconnect_v1/classes.rb', line 91

def update!(**args)
  @instance = args[:instance] if args.key?(:instance)
end