Class: Google::Apis::ApphubV1::ServiceReference
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1::ServiceReference
- 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
-
#uri ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceReference
constructor
A new instance of ServiceReference.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#uri ⇒ String
Output only. The underlying resource URI. For example, URI of Forwarding Rule,
URL Map, and Backend Service.
Corresponds to the JSON property uri
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 |