Class: Google::Apis::DatastreamV1::PscInterfaceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::PscInterfaceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
The PSC Interface configuration is used to create PSC Interface between Datastream and the consumer's PSC.
Instance Attribute Summary collapse
-
#network_attachment ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PscInterfaceConfig
constructor
A new instance of PscInterfaceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PscInterfaceConfig
Returns a new instance of PscInterfaceConfig.
3233 3234 3235 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3233 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_attachment ⇒ String
Required. Fully qualified name of the Network Attachment that Datastream will
connect to. Format: projects/project/regions/region/networkAttachments/
name`
Corresponds to the JSON propertynetworkAttachment`
3231 3232 3233 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3231 def @network_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3238 3239 3240 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3238 def update!(**args) @network_attachment = args[:network_attachment] if args.key?(:network_attachment) end |