Class: Google::Apis::NetworkmanagementV1::CloudRunRevisionEndpoint
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1::CloudRunRevisionEndpoint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb
Overview
Wrapper for Cloud Run revision attributes.
Instance Attribute Summary collapse
-
#service_uri ⇒ String
Output only.
- #uri ⇒ String
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudRunRevisionEndpoint
constructor
A new instance of CloudRunRevisionEndpoint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudRunRevisionEndpoint
Returns a new instance of CloudRunRevisionEndpoint.
379 380 381 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 379 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_uri ⇒ String
Output only. The URI of the Cloud Run service that the revision belongs to.
The format is: projects/project/locations/location/services/service
Corresponds to the JSON property serviceUri
370 371 372 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 370 def service_uri @service_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
384 385 386 387 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 384 def update!(**args) @service_uri = args[:service_uri] if args.key?(:service_uri) @uri = args[:uri] if args.key?(:uri) end |