Class: Google::Apis::WorkloadmanagerV1::SpannerLocation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpannerLocation

Returns a new instance of SpannerLocation.



1818
1819
1820
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1818

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

Instance Attribute Details

#db_nameArray<String>

Corresponds to the JSON property dbName

Returns:

  • (Array<String>)


1816
1817
1818
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1816

def db_name
  @db_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1823
1824
1825
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1823

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