Class: Google::Apis::ComputeAlpha::InstantSnapshotExportParams
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InstantSnapshotExportParams
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#base_instant_snapshot ⇒ String
An optional base instant snapshot that this resource is compared against.
-
#bucket_name ⇒ String
The name of an existing bucket in Cloud Storage where the changed blocks will be stored.
-
#encryption_key ⇒ Google::Apis::ComputeAlpha::CustomerEncryptionKey
Encryption key used to encrypt the instant snapshot.
-
#object_name ⇒ String
Name of the output Bigstore object storing the changed blocks.
-
#output_type ⇒ String
The format of the output file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstantSnapshotExportParams
constructor
A new instance of InstantSnapshotExportParams.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstantSnapshotExportParams
Returns a new instance of InstantSnapshotExportParams.
17023 17024 17025 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 17023 def initialize(**args) update!(**args) end |
Instance Attribute Details
#base_instant_snapshot ⇒ String
An optional base instant snapshot that this resource is compared against. If
not specified, all blocks of this resource are exported. The base instant
snapshot and this resource must be created from the same disk. The base
instant snapshot must be created earlier in time than this resource.
Corresponds to the JSON property baseInstantSnapshot
16998 16999 17000 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16998 def base_instant_snapshot @base_instant_snapshot end |
#bucket_name ⇒ String
The name of an existing bucket in Cloud Storage where the changed blocks will
be stored. The Google Service Account must have read and write access to this
bucket. The bucket has to be in the same region as this resource.
Corresponds to the JSON property bucketName
17005 17006 17007 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 17005 def bucket_name @bucket_name end |
#encryption_key ⇒ Google::Apis::ComputeAlpha::CustomerEncryptionKey
Encryption key used to encrypt the instant snapshot.
Corresponds to the JSON property encryptionKey
17010 17011 17012 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 17010 def encryption_key @encryption_key end |
#object_name ⇒ String
Name of the output Bigstore object storing the changed blocks. Object name
must be less than 1024 bytes in length.
Corresponds to the JSON property objectName
17016 17017 17018 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 17016 def object_name @object_name end |
#output_type ⇒ String
The format of the output file.
Corresponds to the JSON property outputType
17021 17022 17023 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 17021 def output_type @output_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17028 17029 17030 17031 17032 17033 17034 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 17028 def update!(**args) @base_instant_snapshot = args[:base_instant_snapshot] if args.key?(:base_instant_snapshot) @bucket_name = args[:bucket_name] if args.key?(:bucket_name) @encryption_key = args[:encryption_key] if args.key?(:encryption_key) @object_name = args[:object_name] if args.key?(:object_name) @output_type = args[:output_type] if args.key?(:output_type) end |