Class: Google::Apis::ApphubV1::ServiceReference

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/apphub_v1/classes.rb,
lib/google/apis/apphub_v1/representations.rb,
lib/google/apis/apphub_v1/representations.rb

Overview

Reference to an underlying networking resource that can comprise a Service.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ServiceReference

Returns a new instance of ServiceReference.



1564
1565
1566
# File 'lib/google/apis/apphub_v1/classes.rb', line 1564

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

Instance Attribute Details

#uriString

Output only. The underlying resource URI. For example, URI of Forwarding Rule, URL Map, and Backend Service. Corresponds to the JSON property uri

Returns:

  • (String)


1562
1563
1564
# File 'lib/google/apis/apphub_v1/classes.rb', line 1562

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1569
1570
1571
# File 'lib/google/apis/apphub_v1/classes.rb', line 1569

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