Class: Google::Apis::SpannerV1::BackupInstancePartition
- Inherits:
-
Object
- Object
- Google::Apis::SpannerV1::BackupInstancePartition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/spanner_v1/classes.rb,
lib/google/apis/spanner_v1/representations.rb,
lib/google/apis/spanner_v1/representations.rb
Overview
Instance partition information for the backup.
Instance Attribute Summary collapse
-
#instance_partition ⇒ String
A unique identifier for the instance partition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupInstancePartition
constructor
A new instance of BackupInstancePartition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupInstancePartition
Returns a new instance of BackupInstancePartition.
670 671 672 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 670 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_partition ⇒ String
A unique identifier for the instance partition. Values are of the form
projects//instances//instancePartitions/
Corresponds to the JSON property instancePartition
668 669 670 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 668 def instance_partition @instance_partition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
675 676 677 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 675 def update!(**args) @instance_partition = args[:instance_partition] if args.key?(:instance_partition) end |