Class: Google::Apis::VmwareengineV1::DnsForwarding
- Inherits:
-
Object
- Object
- Google::Apis::VmwareengineV1::DnsForwarding
- 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
-
#create_time ⇒ String
Output only.
-
#forwarding_rules ⇒ Array<Google::Apis::VmwareengineV1::ForwardingRule>
Required.
-
#name ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DnsForwarding
constructor
A new instance of DnsForwarding.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_time ⇒ String
Output only. Creation time of this resource.
Corresponds to the JSON property createTime
445 446 447 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 445 def create_time @create_time end |
#forwarding_rules ⇒ Array<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 |
#name ⇒ String
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
458 459 460 |
# File 'lib/google/apis/vmwareengine_v1/classes.rb', line 458 def name @name end |
#update_time ⇒ String
Output only. Last update time of this resource.
Corresponds to the JSON property updateTime
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 |