Class: Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem
- Inherits:
-
Object
- Object
- Google::Apis::DnsV1::RrSetRoutingPolicyGeoPolicyGeoPolicyItem
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dns_v1/classes.rb,
lib/google/apis/dns_v1/representations.rb,
lib/google/apis/dns_v1/representations.rb
Overview
ResourceRecordSet data for one geo location.
Instance Attribute Summary collapse
-
#kind ⇒ String
Corresponds to the JSON property
kind. -
#location ⇒ String
The geo-location granularity is a GCP region.
-
#rrdatas ⇒ Array<String>
Corresponds to the JSON property
rrdatas. -
#signature_rrdatas ⇒ Array<String>
DNSSEC generated signatures for all the rrdata within this item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RrSetRoutingPolicyGeoPolicyGeoPolicyItem
constructor
A new instance of RrSetRoutingPolicyGeoPolicyGeoPolicyItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RrSetRoutingPolicyGeoPolicyGeoPolicyItem
Returns a new instance of RrSetRoutingPolicyGeoPolicyGeoPolicyItem.
1503 1504 1505 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1503 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Corresponds to the JSON property kind
1482 1483 1484 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1482 def kind @kind end |
#location ⇒ String
The geo-location granularity is a GCP region. This location string should
correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1"
, etc.
Corresponds to the JSON property location
1489 1490 1491 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1489 def location @location end |
#rrdatas ⇒ Array<String>
Corresponds to the JSON property rrdatas
1494 1495 1496 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1494 def rrdatas @rrdatas end |
#signature_rrdatas ⇒ Array<String>
DNSSEC generated signatures for all the rrdata within this item. Note that if
health checked targets are provided for DNSSEC enabled zones, there's a
restriction of 1 ip per item. .
Corresponds to the JSON property signatureRrdatas
1501 1502 1503 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1501 def signature_rrdatas @signature_rrdatas end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1508 1509 1510 1511 1512 1513 |
# File 'lib/google/apis/dns_v1/classes.rb', line 1508 def update!(**args) @kind = args[:kind] if args.key?(:kind) @location = args[:location] if args.key?(:location) @rrdatas = args[:rrdatas] if args.key?(:rrdatas) @signature_rrdatas = args[:signature_rrdatas] if args.key?(:signature_rrdatas) end |