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.



1702
1703
1704
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1702

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

Instance Attribute Details

#cloud_runGoogle::Apis::ClouddeployV1::CloudRunMetadata

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



1700
1701
1702
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1700

def cloud_run
  @cloud_run
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1707
1708
1709
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1707

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