Class: Google::Apis::DatafusionV1beta1::SpannerLocation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SpannerLocation

Returns a new instance of SpannerLocation.



1766
1767
1768
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1766

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

Instance Attribute Details

#backup_nameArray<String>

Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata Corresponds to the JSON property backupName

Returns:

  • (Array<String>)


1759
1760
1761
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1759

def backup_name
  @backup_name
end

#db_nameArray<String>

Set of databases used by the resource in format /span// Corresponds to the JSON property dbName

Returns:

  • (Array<String>)


1764
1765
1766
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1764

def db_name
  @db_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1771
1772
1773
1774
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 1771

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