Class: Google::Apis::NetworkservicesV1beta1::EgressNetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::NetworkservicesV1beta1::EgressNetworkConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkservices_v1beta1/classes.rb,
lib/google/apis/networkservices_v1beta1/representations.rb,
lib/google/apis/networkservices_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#dns_peering_config ⇒ Google::Apis::NetworkservicesV1beta1::DnsPeeringConfig
DNS Peering configuration.
-
#network_attachment ⇒ String
Optional.
-
#trust_config ⇒ String
Optional.
-
#vpc_egress ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EgressNetworkConfig
constructor
A new instance of EgressNetworkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EgressNetworkConfig
Returns a new instance of EgressNetworkConfig.
571 572 573 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 571 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns_peering_config ⇒ Google::Apis::NetworkservicesV1beta1::DnsPeeringConfig
DNS Peering configuration.
Corresponds to the JSON property dnsPeeringConfig
552 553 554 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 552 def dns_peering_config @dns_peering_config end |
#network_attachment ⇒ String
Optional. The network attachment resource name. Format: projects/project/
regions/region/networkAttachments/network_attachment_id
Corresponds to the JSON property networkAttachment
558 559 560 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 558 def @network_attachment end |
#trust_config ⇒ String
Optional. Deprecated: Use tls_config instead. The trust config resource name.
Format: projects/project/locations/location/trustConfigs/trust_config
Corresponds to the JSON property trustConfig
564 565 566 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 564 def trust_config @trust_config end |
#vpc_egress ⇒ String
Optional. The VPC egress setting.
Corresponds to the JSON property vpcEgress
569 570 571 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 569 def vpc_egress @vpc_egress end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
576 577 578 579 580 581 |
# File 'lib/google/apis/networkservices_v1beta1/classes.rb', line 576 def update!(**args) @dns_peering_config = args[:dns_peering_config] if args.key?(:dns_peering_config) @network_attachment = args[:network_attachment] if args.key?(:network_attachment) @trust_config = args[:trust_config] if args.key?(:trust_config) @vpc_egress = args[:vpc_egress] if args.key?(:vpc_egress) end |