Class: Google::Apis::NetworkconnectivityV1::ProducerPscConfig
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::ProducerPscConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb
Overview
The PSC configurations on producer side.
Instance Attribute Summary collapse
-
#service_attachment_uri ⇒ String
The resource path of a service attachment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProducerPscConfig
constructor
A new instance of ProducerPscConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProducerPscConfig
Returns a new instance of ProducerPscConfig.
1908 1909 1910 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1908 def initialize(**args) update!(**args) end |
Instance Attribute Details
#service_attachment_uri ⇒ String
The resource path of a service attachment. Example: projects/projectNumOrId/
regions/region/serviceAttachments/resourceId.
Corresponds to the JSON property serviceAttachmentUri
1906 1907 1908 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1906 def @service_attachment_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1913 1914 1915 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1913 def update!(**args) @service_attachment_uri = args[:service_attachment_uri] if args.key?(:service_attachment_uri) end |