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.
609 610 611 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 609 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
607 608 609 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 607 def instance_partition @instance_partition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
614 615 616 |
# File 'lib/google/apis/spanner_v1/classes.rb', line 614 def update!(**args) @instance_partition = args[:instance_partition] if args.key?(:instance_partition) end |