class Google::Apis::ComputeV1::ResourcePolicySnapshotSchedulePolicySnapshotProperties

Specified snapshot properties for scheduled snapshots created by this policy.

Attributes

chain_name[RW]

Chain name that the snapshot is created in. Corresponds to the JSON property `chainName` @return [String]

guest_flush[RW]

Indication to perform a 'guest aware' snapshot. Corresponds to the JSON property `guestFlush` @return [Boolean]

guest_flush?[RW]

Indication to perform a 'guest aware' snapshot. Corresponds to the JSON property `guestFlush` @return [Boolean]

labels[RW]

Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty. Corresponds to the JSON property `labels` @return [Hash<String,String>]

storage_locations[RW]

Cloud Storage bucket storage location of the auto snapshot (regional or multi- regional). Corresponds to the JSON property `storageLocations` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 27188
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 27193
def update!(**args)
  @chain_name = args[:chain_name] if args.key?(:chain_name)
  @guest_flush = args[:guest_flush] if args.key?(:guest_flush)
  @labels = args[:labels] if args.key?(:labels)
  @storage_locations = args[:storage_locations] if args.key?(:storage_locations)
end