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
-
#job ⇒ String
Output only.
-
#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.
1225 1226 1227 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1225 def initialize(**args) update!(**args) end |
Instance Attribute Details
#job ⇒ String
Output only. The name of the Cloud Run job that is associated with a Rollout
.
Format is projects/
project/locations/
location/jobs/
job_name`.
Corresponds to the JSON property
job`
1206 1207 1208 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1206 def job @job end |
#revision ⇒ String
Output only. The Cloud Run Revision id associated with a Rollout
.
Corresponds to the JSON property revision
1211 1212 1213 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1211 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
1218 1219 1220 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1218 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
1223 1224 1225 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1223 def service_urls @service_urls end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1230 1231 1232 1233 1234 1235 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 1230 def update!(**args) @job = args[:job] if args.key?(:job) @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 |