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.



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

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>)


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

def dns_zones
  @dns_zones
end

#target_networkString

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

Returns:

  • (String)


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