Class: Google::Apis::ComputeAlpha::InstantSnapshotExportParams

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstantSnapshotExportParams

Returns a new instance of InstantSnapshotExportParams.



18756
18757
18758
# File 'lib/google/apis/compute_alpha/classes.rb', line 18756

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#base_instant_snapshotString

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

Returns:

  • (String)


18731
18732
18733
# File 'lib/google/apis/compute_alpha/classes.rb', line 18731

def base_instant_snapshot
  @base_instant_snapshot
end

#bucket_nameString

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

Returns:

  • (String)


18738
18739
18740
# File 'lib/google/apis/compute_alpha/classes.rb', line 18738

def bucket_name
  @bucket_name
end

#encryption_keyGoogle::Apis::ComputeAlpha::CustomerEncryptionKey

Encryption key used to encrypt the instant snapshot. Corresponds to the JSON property encryptionKey



18743
18744
18745
# File 'lib/google/apis/compute_alpha/classes.rb', line 18743

def encryption_key
  @encryption_key
end

#object_nameString

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

Returns:

  • (String)


18749
18750
18751
# File 'lib/google/apis/compute_alpha/classes.rb', line 18749

def object_name
  @object_name
end

#output_typeString

The format of the output file. Corresponds to the JSON property outputType

Returns:

  • (String)


18754
18755
18756
# File 'lib/google/apis/compute_alpha/classes.rb', line 18754

def output_type
  @output_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18761
18762
18763
18764
18765
18766
18767
# File 'lib/google/apis/compute_alpha/classes.rb', line 18761

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