Class: Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestinationNetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestinationNetworkConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/eventarc_v1/classes.rb,
lib/google/apis/eventarc_v1/representations.rb,
lib/google/apis/eventarc_v1/representations.rb
Overview
Represents a network config to be used for destination resolution and connectivity.
Instance Attribute Summary collapse
-
#network_attachment ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineDestinationNetworkConfig
constructor
A new instance of GoogleCloudEventarcV1PipelineDestinationNetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudEventarcV1PipelineDestinationNetworkConfig
Returns a new instance of GoogleCloudEventarcV1PipelineDestinationNetworkConfig.
1152 1153 1154 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_attachment ⇒ String
Required. Name of the NetworkAttachment that allows access to the consumer VPC.
Format: projects/PROJECT_ID/regions/REGION/networkAttachments/
NETWORK_ATTACHMENT_NAME`
Corresponds to the JSON propertynetworkAttachment`
1150 1151 1152 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1150 def @network_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1157 1158 1159 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1157 def update!(**args) @network_attachment = args[:network_attachment] if args.key?(:network_attachment) end |