Class: Google::Apis::NetworkservicesV1::EgressNetworkConfig
- Inherits:
-
Object
- Object
- Google::Apis::NetworkservicesV1::EgressNetworkConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkservices_v1/classes.rb,
lib/google/apis/networkservices_v1/representations.rb,
lib/google/apis/networkservices_v1/representations.rb
Instance Attribute Summary collapse
-
#dns_peering_config ⇒ Google::Apis::NetworkservicesV1::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.
743 744 745 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 743 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns_peering_config ⇒ Google::Apis::NetworkservicesV1::DnsPeeringConfig
DNS Peering configuration.
Corresponds to the JSON property dnsPeeringConfig
724 725 726 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 724 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
730 731 732 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 730 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
736 737 738 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 736 def trust_config @trust_config end |
#vpc_egress ⇒ String
Optional. The VPC egress setting.
Corresponds to the JSON property vpcEgress
741 742 743 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 741 def vpc_egress @vpc_egress end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
748 749 750 751 752 753 |
# File 'lib/google/apis/networkservices_v1/classes.rb', line 748 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 |