Class: Google::Apis::DatafusionV1beta1::DnsPeering

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/datafusion_v1beta1/classes.rb,
lib/google/apis/datafusion_v1beta1/representations.rb,
lib/google/apis/datafusion_v1beta1/representations.rb

Overview

DNS peering configuration. These configurations are used to create DNS peering with the customer Cloud DNS.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DnsPeering

Returns a new instance of DnsPeering.



263
264
265
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 263

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

Instance Attribute Details

#descriptionString

Optional. Optional description of the dns zone. Corresponds to the JSON property description

Returns:

  • (String)


240
241
242
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 240

def description
  @description
end

#domainString

Required. The dns name suffix of the zone. Corresponds to the JSON property domain

Returns:

  • (String)


245
246
247
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 245

def domain
  @domain
end

#nameString

Required. The resource name of the dns peering zone. Format: projects/project /locations/location/instances/instance/dnsPeerings/dns_peering Corresponds to the JSON property name

Returns:

  • (String)


251
252
253
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 251

def name
  @name
end

#target_networkString

Optional. Optional target network to which dns peering should happen. Corresponds to the JSON property targetNetwork

Returns:

  • (String)


256
257
258
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 256

def target_network
  @target_network
end

#target_projectString

Optional. Optional target project to which dns peering should happen. Corresponds to the JSON property targetProject

Returns:

  • (String)


261
262
263
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 261

def target_project
  @target_project
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



268
269
270
271
272
273
274
# File 'lib/google/apis/datafusion_v1beta1/classes.rb', line 268

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @domain = args[:domain] if args.key?(:domain)
  @name = args[:name] if args.key?(:name)
  @target_network = args[:target_network] if args.key?(:target_network)
  @target_project = args[:target_project] if args.key?(:target_project)
end