Class: Google::Apis::ClouddeployV1::CloudRunMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::CloudRunMetadata
- 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
CloudRunMetadata contains information from a Cloud Run deployment.
Instance Attribute Summary collapse
-
#revision ⇒ String
Output only.
-
#service ⇒ String
Output only.
-
#service_urls ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudRunMetadata
constructor
A new instance of CloudRunMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudRunMetadata
Returns a new instance of CloudRunMetadata.
537 538 539 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 537 def initialize(**args) update!(**args) end |
Instance Attribute Details
#revision ⇒ String
Output only. The Cloud Run Revision id associated with a Rollout.
Corresponds to the JSON property revision
524 525 526 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 524 def revision @revision end |
#service ⇒ String
Output only. The name of the Cloud Run Service that is associated with a
Rollout. Format is projects/project/locations/location/services/service.
Corresponds to the JSON property service
530 531 532 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 530 def service @service end |
#service_urls ⇒ Array<String>
Output only. The Cloud Run Service urls that are associated with a Rollout.
Corresponds to the JSON property serviceUrls
535 536 537 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 535 def service_urls @service_urls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
542 543 544 545 546 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 542 def update!(**args) @revision = args[:revision] if args.key?(:revision) @service = args[:service] if args.key?(:service) @service_urls = args[:service_urls] if args.key?(:service_urls) end |