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.



373
374
375
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 373

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)


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

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



378
379
380
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 378

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