Class: Google::Apis::BeyondcorpV1::GoogleCloudBeyondcorpSecuritygatewaysV1Peering

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpSecuritygatewaysV1Peering

Returns a new instance of GoogleCloudBeyondcorpSecuritygatewaysV1Peering.



1872
1873
1874
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1872

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dns_zonesArray<String>

Optional. List of DNS zones for DNS peering with the customer VPC network. Corresponds to the JSON property dnsZones

Returns:

  • (Array<String>)


1864
1865
1866
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1864

def dns_zones
  @dns_zones
end

#target_vpc_networkString

Required. The name of the Target VPC network name in the format: projects/ project/global/networks/network Corresponds to the JSON propertytargetVpcNetwork`

Returns:

  • (String)


1870
1871
1872
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1870

def target_vpc_network
  @target_vpc_network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1877
1878
1879
1880
# File 'lib/google/apis/beyondcorp_v1/classes.rb', line 1877

def update!(**args)
  @dns_zones = args[:dns_zones] if args.key?(:dns_zones)
  @target_vpc_network = args[:target_vpc_network] if args.key?(:target_vpc_network)
end