Class: Google::Apis::EventarcV1::NetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::NetworkConfig
- 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
Network Configuration that can be inherited by other protos.
Instance Attribute Summary collapse
-
#network_attachment ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NetworkConfig
constructor
A new instance of NetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NetworkConfig
Returns a new instance of NetworkConfig.
1083 1084 1085 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1083 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_attachment ⇒ String
Required. Name of the NetworkAttachment that allows access to the customer's
VPC. Format: projects/
PROJECT_ID/regions/
REGION/networkAttachments/
NETWORK_ATTACHMENT_NAME`
Corresponds to the JSON property
networkAttachment`
1081 1082 1083 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1081 def @network_attachment end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1088 1089 1090 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 1088 def update!(**args) @network_attachment = args[:network_attachment] if args.key?(:network_attachment) end |