lib/google/apis/backupdr_v1/classes.rb in google-apis-backupdr_v1-0.18.0 vs lib/google/apis/backupdr_v1/classes.rb in google-apis-backupdr_v1-0.19.0

- old
+ new

@@ -2390,10 +2390,42 @@ @backup_plan_description = args[:backup_plan_description] if args.key?(:backup_plan_description) @backup_plan_rules = args[:backup_plan_rules] if args.key?(:backup_plan_rules) end end + # Minimum details to identify a Google Cloud resource + class GcpResource + include Google::Apis::Core::Hashable + + # Name of the Google Cloud resource. + # Corresponds to the JSON property `gcpResourcename` + # @return [String] + attr_accessor :gcp_resourcename + + # Location of the resource: //"global"/"unspecified". + # Corresponds to the JSON property `location` + # @return [String] + attr_accessor :location + + # Type of the resource. Use the Unified Resource Type, eg. compute.googleapis. + # com/Instance. + # Corresponds to the JSON property `type` + # @return [String] + attr_accessor :type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcp_resourcename = args[:gcp_resourcename] if args.key?(:gcp_resourcename) + @location = args[:location] if args.key?(:location) + @type = args[:type] if args.key?(:type) + end + end + # Feature type of the Guest OS. class GuestOsFeature include Google::Apis::Core::Hashable # The ID of a supported feature. @@ -3696,10 +3728,29 @@ @compute_instance_target_environment = args[:compute_instance_target_environment] if args.key?(:compute_instance_target_environment) @request_id = args[:request_id] if args.key?(:request_id) end end + # Response message for restoring from a Backup. + class RestoreBackupResponse + include Google::Apis::Core::Hashable + + # Details of the target resource created/modified as part of restore. + # Corresponds to the JSON property `targetResource` + # @return [Google::Apis::BackupdrV1::TargetResource] + attr_accessor :target_resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_resource = args[:target_resource] if args.key?(:target_resource) + end + end + # Message for rules config info. class RuleConfigInfo include Google::Apis::Core::Hashable # The `Status` type defines a logical error model that is suitable for different @@ -3976,10 +4027,23 @@ @request_id = args[:request_id] if args.key?(:request_id) @value = args[:value] if args.key?(:value) end end + # Response message from SetStatusInternal method. + class SetInternalStatusResponse + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # class SpannerLocation include Google::Apis::Core::Hashable # Set of backups used by the resource with name in the same format as what is @@ -4141,9 +4205,28 @@ end # Update properties of this object def update!(**args) @items = args[:items] if args.key?(:items) + end + end + + # Details of the target resource created/modified as part of restore. + class TargetResource + include Google::Apis::Core::Hashable + + # Minimum details to identify a Google Cloud resource + # Corresponds to the JSON property `gcpResource` + # @return [Google::Apis::BackupdrV1::GcpResource] + attr_accessor :gcp_resource + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @gcp_resource = args[:gcp_resource] if args.key?(:gcp_resource) end end # class TenantProjectProxy