Class: Google::Apis::ClouddeployV1::Metadata
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::Metadata
- 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
-
#automation ⇒ Google::Apis::ClouddeployV1::AutomationRolloutMetadata
AutomationRolloutMetadata contains Automation-related actions that were performed on a rollout.
-
#cloud_run ⇒ Google::Apis::ClouddeployV1::CloudRunMetadata
CloudRunMetadata contains information from a Cloud Run deployment.
-
#custom ⇒ Google::Apis::ClouddeployV1::CustomMetadata
CustomMetadata contains information from a user defined operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Metadata
constructor
A new instance of Metadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Metadata
Returns a new instance of Metadata.
2696 2697 2698 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2696 def initialize(**args) update!(**args) end |
Instance Attribute Details
#automation ⇒ Google::Apis::ClouddeployV1::AutomationRolloutMetadata
AutomationRolloutMetadata contains Automation-related actions that were
performed on a rollout.
Corresponds to the JSON property automation
2684 2685 2686 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2684 def automation @automation end |
#cloud_run ⇒ Google::Apis::ClouddeployV1::CloudRunMetadata
CloudRunMetadata contains information from a Cloud Run deployment.
Corresponds to the JSON property cloudRun
2689 2690 2691 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2689 def cloud_run @cloud_run end |
#custom ⇒ Google::Apis::ClouddeployV1::CustomMetadata
CustomMetadata contains information from a user defined operation.
Corresponds to the JSON property custom
2694 2695 2696 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2694 def custom @custom end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2701 2702 2703 2704 2705 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2701 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 |