Class: Google::Apis::NetworkmanagementV1beta1::CloudRunRevisionInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::CloudRunRevisionInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1beta1/classes.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb,
lib/google/apis/networkmanagement_v1beta1/representations.rb
Overview
For display only. Metadata associated with a Cloud Run revision.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Name of a Cloud Run revision.
-
#location ⇒ String
Location in which this revision is deployed.
-
#service_name ⇒ String
ID of Cloud Run Service this revision belongs to.
-
#service_uri ⇒ String
URI of Cloud Run service this revision belongs to.
-
#uri ⇒ String
URI of a Cloud Run revision.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudRunRevisionInfo
constructor
A new instance of CloudRunRevisionInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudRunRevisionInfo
Returns a new instance of CloudRunRevisionInfo.
382 383 384 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 382 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Name of a Cloud Run revision.
Corresponds to the JSON property displayName
360 361 362 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 360 def display_name @display_name end |
#location ⇒ String
Location in which this revision is deployed.
Corresponds to the JSON property location
365 366 367 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 365 def location @location end |
#service_name ⇒ String
ID of Cloud Run Service this revision belongs to.
Corresponds to the JSON property serviceName
370 371 372 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 370 def service_name @service_name end |
#service_uri ⇒ String
URI of Cloud Run service this revision belongs to.
Corresponds to the JSON property serviceUri
375 376 377 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 375 def service_uri @service_uri end |
#uri ⇒ String
URI of a Cloud Run revision.
Corresponds to the JSON property uri
380 381 382 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 380 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
387 388 389 390 391 392 393 |
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 387 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @location = args[:location] if args.key?(:location) @service_name = args[:service_name] if args.key?(:service_name) @service_uri = args[:service_uri] if args.key?(:service_uri) @uri = args[:uri] if args.key?(:uri) end |