Class: Google::Apis::NetworkmanagementV1beta1::CloudRunRevisionEndpoint

Inherits:
Object
  • Object
show all
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

Wrapper for Cloud Run revision attributes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudRunRevisionEndpoint

Returns a new instance of CloudRunRevisionEndpoint.



365
366
367
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 365

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#uriString

A Cloud Run revision URI. The format is: projects/project/locations/location/revisions/revision Corresponds to the JSON property uri

Returns:

  • (String)


363
364
365
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 363

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



370
371
372
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 370

def update!(**args)
  @uri = args[:uri] if args.key?(:uri)
end