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.
410 411 412 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 410 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
401 402 403 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 401 def service_uri @service_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
415 416 417 418 |
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 415 def update!(**args) @service_uri = args[:service_uri] if args.key?(:service_uri) @uri = args[:uri] if args.key?(:uri) end |