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.
1564 1565 1566 |
# File 'lib/google/apis/apphub_v1/classes.rb', line 1564 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
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 |