Class: Google::Apis::VmwareengineV1::DnsForwarding

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

Overview

DNS forwarding config. This config defines a list of domain to name server mappings, and is attached to the private cloud for custom domain resolution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DnsForwarding

Returns a new instance of DnsForwarding.



350
351
352
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 350

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

Instance Attribute Details

#create_timeString

Output only. Creation time of this resource. Corresponds to the JSON property createTime

Returns:

  • (String)


330
331
332
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 330

def create_time
  @create_time
end

#forwarding_rulesArray<Google::Apis::VmwareengineV1::ForwardingRule>

Required. List of domain mappings to configure Corresponds to the JSON property forwardingRules



335
336
337
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 335

def forwarding_rules
  @forwarding_rules
end

#nameString

Output only. The resource name of this DNS profile. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/ design/resource_names. For example: projects/my-project/locations/us-central1- a/privateClouds/my-cloud/dnsForwarding Corresponds to the JSON property name

Returns:

  • (String)


343
344
345
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 343

def name
  @name
end

#update_timeString

Output only. Last update time of this resource. Corresponds to the JSON property updateTime

Returns:

  • (String)


348
349
350
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 348

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



355
356
357
358
359
360
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 355

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @forwarding_rules = args[:forwarding_rules] if args.key?(:forwarding_rules)
  @name = args[:name] if args.key?(:name)
  @update_time = args[:update_time] if args.key?(:update_time)
end