Class: Google::Apis::BackupdrV1::SpannerLocation
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::SpannerLocation
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb
Instance Attribute Summary collapse
-
#backup_name ⇒ Array<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. -
#db_name ⇒ Array<String>
Set of databases used by the resource in format /span// Corresponds to the JSON property
dbName.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpannerLocation
constructor
A new instance of SpannerLocation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpannerLocation
Returns a new instance of SpannerLocation.
3996 3997 3998 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3996 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_name ⇒ Array<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
3989 3990 3991 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3989 def backup_name @backup_name end |
#db_name ⇒ Array<String>
Set of databases used by the resource in format /span//
Corresponds to the JSON property dbName
3994 3995 3996 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 3994 def db_name @db_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4001 4002 4003 4004 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 4001 def update!(**args) @backup_name = args[:backup_name] if args.key?(:backup_name) @db_name = args[:db_name] if args.key?(:db_name) end |