Class: Google::Apis::DomainsV1alpha2::GeoPolicyItem
- Inherits:
-
Object
- Object
- Google::Apis::DomainsV1alpha2::GeoPolicyItem
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/domains_v1alpha2/classes.rb,
lib/google/apis/domains_v1alpha2/representations.rb,
lib/google/apis/domains_v1alpha2/representations.rb
Overview
ResourceRecordSet data for one geo location.
Instance Attribute Summary collapse
-
#health_checked_targets ⇒ Google::Apis::DomainsV1alpha2::HealthCheckTargets
HealthCheckTargets describes endpoints to health-check when responding to Routing Policy queries.
-
#location ⇒ String
The geo-location granularity is a GCP region.
-
#rrdata ⇒ Array<String>
Corresponds to the JSON property
rrdata
. -
#signature_rrdata ⇒ Array<String>
DNSSEC generated signatures for all the
rrdata
within this item.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GeoPolicyItem
constructor
A new instance of GeoPolicyItem.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GeoPolicyItem
Returns a new instance of GeoPolicyItem.
779 780 781 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 779 def initialize(**args) update!(**args) end |
Instance Attribute Details
#health_checked_targets ⇒ Google::Apis::DomainsV1alpha2::HealthCheckTargets
HealthCheckTargets describes endpoints to health-check when responding to
Routing Policy queries. Only the healthy endpoints will be included in the
response.
Corresponds to the JSON property healthCheckedTargets
758 759 760 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 758 def health_checked_targets @health_checked_targets 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
765 766 767 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 765 def location @location end |
#rrdata ⇒ Array<String>
Corresponds to the JSON property rrdata
770 771 772 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 770 def rrdata @rrdata end |
#signature_rrdata ⇒ Array<String>
DNSSEC generated signatures for all the rrdata
within this item. If health
checked targets are provided for DNSSEC enabled zones, there's a restriction
of 1 IP address per item.
Corresponds to the JSON property signatureRrdata
777 778 779 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 777 def signature_rrdata @signature_rrdata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
784 785 786 787 788 789 |
# File 'lib/google/apis/domains_v1alpha2/classes.rb', line 784 def update!(**args) @health_checked_targets = args[:health_checked_targets] if args.key?(:health_checked_targets) @location = args[:location] if args.key?(:location) @rrdata = args[:rrdata] if args.key?(:rrdata) @signature_rrdata = args[:signature_rrdata] if args.key?(:signature_rrdata) end |