Class: Google::Apis::SpannerV1::BackupInstancePartition

Inherits:
Object
  • Object
show all
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 Method Summary collapse

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_partitionString

A unique identifier for the instance partition. Values are of the form projects//instances//instancePartitions/ Corresponds to the JSON property instancePartition

Returns:

  • (String)


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