Class: Google::Apis::ClouddeployV1::Metadata

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

Overview

Metadata includes information associated with a Rollout.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Metadata

Returns a new instance of Metadata.



2765
2766
2767
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2765

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

Instance Attribute Details

#automationGoogle::Apis::ClouddeployV1::AutomationRolloutMetadata

AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout. Corresponds to the JSON property automation



2753
2754
2755
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2753

def automation
  @automation
end

#cloud_runGoogle::Apis::ClouddeployV1::CloudRunMetadata

CloudRunMetadata contains information from a Cloud Run deployment. Corresponds to the JSON property cloudRun



2758
2759
2760
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2758

def cloud_run
  @cloud_run
end

#customGoogle::Apis::ClouddeployV1::CustomMetadata

CustomMetadata contains information from a user-defined operation. Corresponds to the JSON property custom



2763
2764
2765
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2763

def custom
  @custom
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2770
2771
2772
2773
2774
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2770

def update!(**args)
  @automation = args[:automation] if args.key?(:automation)
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
  @custom = args[:custom] if args.key?(:custom)
end