lib/google/apis/backupdr_v1/classes.rb in google-apis-backupdr_v1-0.15.0 vs lib/google/apis/backupdr_v1/classes.rb in google-apis-backupdr_v1-0.16.0
- old
+ new
@@ -843,11 +843,11 @@
@lock_until_time = args[:lock_until_time] if args.key?(:lock_until_time)
@service_lock_info = args[:service_lock_info] if args.key?(:service_lock_info)
end
end
- # A `BackupPlan` specifies some common fields, such as `display_name` as well as
+ # A `BackupPlan` specifies some common fields, such as `description` as well as
# one or more `BackupRule` messages. Each `BackupRule` has a retention policy
# and defines a schedule by which the system is to perform backup workloads.
class BackupPlan
include Google::Apis::Core::Hashable
@@ -1411,10 +1411,15 @@
# NONE". The default value is "NONE" if it is not specified.
# Corresponds to the JSON property `keyRevocationActionType`
# @return [String]
attr_accessor :key_revocation_action_type
+ # Labels to apply to instances that are created from these properties.
+ # Corresponds to the JSON property `labels`
+ # @return [Hash<String,String>]
+ attr_accessor :labels
+
# The machine type to use for instances that are created from these properties.
# Corresponds to the JSON property `machineType`
# @return [String]
attr_accessor :machine_type
@@ -1472,9 +1477,10 @@
@can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
@description = args[:description] if args.key?(:description)
@disk = args[:disk] if args.key?(:disk)
@guest_accelerator = args[:guest_accelerator] if args.key?(:guest_accelerator)
@key_revocation_action_type = args[:key_revocation_action_type] if args.key?(:key_revocation_action_type)
+ @labels = args[:labels] if args.key?(:labels)
@machine_type = args[:machine_type] if args.key?(:machine_type)
@metadata = args[:metadata] if args.key?(:metadata)
@min_cpu_platform = args[:min_cpu_platform] if args.key?(:min_cpu_platform)
@network_interface = args[:network_interface] if args.key?(:network_interface)
@scheduling = args[:scheduling] if args.key?(:scheduling)