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.



1708
1709
1710
# File 'lib/google/apis/apphub_v1/classes.rb', line 1708

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)


1706
1707
1708
# File 'lib/google/apis/apphub_v1/classes.rb', line 1706

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1713
1714
1715
# File 'lib/google/apis/apphub_v1/classes.rb', line 1713

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