Class: Google::Apis::NetworkmanagementV1beta1::CloudRunRevisionInfo

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

For display only. Metadata associated with a Cloud Run revision.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudRunRevisionInfo

Returns a new instance of CloudRunRevisionInfo.



413
414
415
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 413

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

Instance Attribute Details

#display_nameString

Name of a Cloud Run revision. Corresponds to the JSON property displayName

Returns:

  • (String)


390
391
392
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 390

def display_name
  @display_name
end

#locationString

Location in which this revision is deployed. Corresponds to the JSON property location

Returns:

  • (String)


395
396
397
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 395

def location
  @location
end

#service_nameString

ID of Cloud Run Service this revision belongs to. Was never set, is not exported to v1 proto and public protos. Do not export to v1beta1 public proto. Corresponds to the JSON property serviceName

Returns:

  • (String)


401
402
403
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 401

def service_name
  @service_name
end

#service_uriString

URI of Cloud Run service this revision belongs to. Corresponds to the JSON property serviceUri

Returns:

  • (String)


406
407
408
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 406

def service_uri
  @service_uri
end

#uriString

URI of a Cloud Run revision. Corresponds to the JSON property uri

Returns:

  • (String)


411
412
413
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 411

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



418
419
420
421
422
423
424
# File 'lib/google/apis/networkmanagement_v1beta1/classes.rb', line 418

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