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.



465
466
467
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 465

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)


445
446
447
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 445

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



450
451
452
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 450

def forwarding_rules
  @forwarding_rules
end

#nameString

Output only. Identifier. 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)


458
459
460
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 458

def name
  @name
end

#update_timeString

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

Returns:

  • (String)


463
464
465
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 463

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



470
471
472
473
474
475
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 470

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