Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1/classes.rb,
lib/google/apis/beyondcorp_v1/representations.rb,
lib/google/apis/beyondcorp_v1/representations.rb
Overview
VPC Peering details.
Instance Attribute Summary collapse
-
#dns_zones ⇒ Array<String>
Optional.
-
#target_network ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1Peering
constructor
A new instance of GoogleCloudBeyondcorpSecuritygatewaysV1Peering.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1Peering
Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1Peering.
1871 1872 1873 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1871 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dns_zones ⇒ Array<String>
Optional. List of DNS zones for DNS peering with the customer VPC network.
Corresponds to the JSON property dnsZones
1863 1864 1865 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1863 def dns_zones @dns_zones end |
#target_network ⇒ String
Required. The name of the Target VPC network name in the format: projects/
project/global/networks/
network
Corresponds to the JSON property
targetNetwork`
1869 1870 1871 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1869 def target_network @target_network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1876 1877 1878 1879 |
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1876 def update!(**args) @dns_zones = args[:dns_zones] if args.key?(:dns_zones) @target_network = args[:target_network] if args.key?(:target_network) end |