Class: Google::Apis::ApphubV1alpha::ServiceReference
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1alpha::ServiceReference
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apphub_v1alpha/classes.rb,
lib/google/apis/apphub_v1alpha/representations.rb,
lib/google/apis/apphub_v1alpha/representations.rb
Overview
Reference to an underlying networking resource that can comprise a Service.
Instance Attribute Summary collapse
-
#path ⇒ String
Output only.
-
#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.
1656 1657 1658 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1656 def initialize(**args) update!(**args) end |
Instance Attribute Details
#path ⇒ String
Output only. Additional path under the resource URI (demultiplexing one
resource URI into multiple entries). Smallest unit a policy can be attached to.
Examples: URL Map path entry.
Corresponds to the JSON property path
1648 1649 1650 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1648 def path @path end |
#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
1654 1655 1656 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1654 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1661 1662 1663 1664 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1661 def update!(**args) @path = args[:path] if args.key?(:path) @uri = args[:uri] if args.key?(:uri) end |