google-apis-domains_v1beta1 0.38.0 → 0.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6419b46e2b119ea08f0a1667f847f69fb97c932e2a8c6250ae1c43c3c7d97e38
|
4
|
+
data.tar.gz: 42cb8cfff1f6255277656fc60c28209ab4a2b15c0473fcabec464b324ad5c937
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8661efee44eda44d6595daa0ea5cae4f4916bce4c440163cf4e9338fa1bc7972c59324d5d879230665375c71631a3108b7008809ca7485429facd7322f55fc9
|
7
|
+
data.tar.gz: 353d15983e9ba501e635f4f3f726dbd25cf4014073b73a19b41e51b75e442777ab8f6cdb953907fd1182f0d0cf16184d5f20fe24b2625681387af5898d9ab482
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-domains_v1beta1
|
2
2
|
|
3
|
+
### v0.40.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240724
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.39.0 (2024-06-16)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240610
|
11
|
+
|
3
12
|
### v0.38.0 (2024-06-09)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240603
|
@@ -466,6 +466,19 @@ module Google
|
|
466
466
|
# @return [Google::Apis::DomainsV1beta1::GoogleDomainsDns]
|
467
467
|
attr_accessor :google_domains_dns
|
468
468
|
|
469
|
+
# Output only. Indicates if this `Registration` has configured one of the
|
470
|
+
# following deprecated Google Domains DNS features: * Domain forwarding (HTTP `
|
471
|
+
# 301` and `302` response status codes), * Email forwarding. See https://cloud.
|
472
|
+
# google.com/domains/docs/deprecations/feature-deprecations for more details. If
|
473
|
+
# any of these features is enabled call the `
|
474
|
+
# RetrieveGoogleDomainsForwardingConfig` method to get details about the feature'
|
475
|
+
# s configuration. A forwarding configuration might not work correctly if
|
476
|
+
# required DNS records are not present in the domain's authoritative DNS Zone.
|
477
|
+
# Corresponds to the JSON property `googleDomainsRedirectsDataAvailable`
|
478
|
+
# @return [Boolean]
|
479
|
+
attr_accessor :google_domains_redirects_data_available
|
480
|
+
alias_method :google_domains_redirects_data_available?, :google_domains_redirects_data_available
|
481
|
+
|
469
482
|
def initialize(**args)
|
470
483
|
update!(**args)
|
471
484
|
end
|
@@ -475,6 +488,7 @@ module Google
|
|
475
488
|
@custom_dns = args[:custom_dns] if args.key?(:custom_dns)
|
476
489
|
@glue_records = args[:glue_records] if args.key?(:glue_records)
|
477
490
|
@google_domains_dns = args[:google_domains_dns] if args.key?(:google_domains_dns)
|
491
|
+
@google_domains_redirects_data_available = args[:google_domains_redirects_data_available] if args.key?(:google_domains_redirects_data_available)
|
478
492
|
end
|
479
493
|
end
|
480
494
|
|
@@ -699,6 +713,82 @@ module Google
|
|
699
713
|
end
|
700
714
|
end
|
701
715
|
|
716
|
+
# Configures a `RRSetRoutingPolicy` that routes based on the geo location of the
|
717
|
+
# querying user.
|
718
|
+
class GeoPolicy
|
719
|
+
include Google::Apis::Core::Hashable
|
720
|
+
|
721
|
+
# Without fencing, if health check fails for all configured items in the current
|
722
|
+
# geo bucket, we failover to the next nearest geo bucket. With fencing, if
|
723
|
+
# health checking is enabled, as long as some targets in the current geo bucket
|
724
|
+
# are healthy, we return only the healthy targets. However, if all targets are
|
725
|
+
# unhealthy, we don't failover to the next nearest bucket; instead, we return
|
726
|
+
# all the items in the current bucket even when all targets are unhealthy.
|
727
|
+
# Corresponds to the JSON property `enableFencing`
|
728
|
+
# @return [Boolean]
|
729
|
+
attr_accessor :enable_fencing
|
730
|
+
alias_method :enable_fencing?, :enable_fencing
|
731
|
+
|
732
|
+
# The primary geo routing configuration. If there are multiple items with the
|
733
|
+
# same location, an error is returned instead.
|
734
|
+
# Corresponds to the JSON property `item`
|
735
|
+
# @return [Array<Google::Apis::DomainsV1beta1::GeoPolicyItem>]
|
736
|
+
attr_accessor :item
|
737
|
+
|
738
|
+
def initialize(**args)
|
739
|
+
update!(**args)
|
740
|
+
end
|
741
|
+
|
742
|
+
# Update properties of this object
|
743
|
+
def update!(**args)
|
744
|
+
@enable_fencing = args[:enable_fencing] if args.key?(:enable_fencing)
|
745
|
+
@item = args[:item] if args.key?(:item)
|
746
|
+
end
|
747
|
+
end
|
748
|
+
|
749
|
+
# ResourceRecordSet data for one geo location.
|
750
|
+
class GeoPolicyItem
|
751
|
+
include Google::Apis::Core::Hashable
|
752
|
+
|
753
|
+
# HealthCheckTargets describes endpoints to health-check when responding to
|
754
|
+
# Routing Policy queries. Only the healthy endpoints will be included in the
|
755
|
+
# response.
|
756
|
+
# Corresponds to the JSON property `healthCheckedTargets`
|
757
|
+
# @return [Google::Apis::DomainsV1beta1::HealthCheckTargets]
|
758
|
+
attr_accessor :health_checked_targets
|
759
|
+
|
760
|
+
# The geo-location granularity is a GCP region. This location string should
|
761
|
+
# correspond to a GCP region. e.g. "us-east1", "southamerica-east1", "asia-east1"
|
762
|
+
# , etc.
|
763
|
+
# Corresponds to the JSON property `location`
|
764
|
+
# @return [String]
|
765
|
+
attr_accessor :location
|
766
|
+
|
767
|
+
#
|
768
|
+
# Corresponds to the JSON property `rrdata`
|
769
|
+
# @return [Array<String>]
|
770
|
+
attr_accessor :rrdata
|
771
|
+
|
772
|
+
# DNSSEC generated signatures for all the `rrdata` within this item. If health
|
773
|
+
# checked targets are provided for DNSSEC enabled zones, there's a restriction
|
774
|
+
# of 1 IP address per item.
|
775
|
+
# Corresponds to the JSON property `signatureRrdata`
|
776
|
+
# @return [Array<String>]
|
777
|
+
attr_accessor :signature_rrdata
|
778
|
+
|
779
|
+
def initialize(**args)
|
780
|
+
update!(**args)
|
781
|
+
end
|
782
|
+
|
783
|
+
# Update properties of this object
|
784
|
+
def update!(**args)
|
785
|
+
@health_checked_targets = args[:health_checked_targets] if args.key?(:health_checked_targets)
|
786
|
+
@location = args[:location] if args.key?(:location)
|
787
|
+
@rrdata = args[:rrdata] if args.key?(:rrdata)
|
788
|
+
@signature_rrdata = args[:signature_rrdata] if args.key?(:signature_rrdata)
|
789
|
+
end
|
790
|
+
end
|
791
|
+
|
702
792
|
# Defines a host on your domain that is a DNS name server for your domain and/or
|
703
793
|
# other domains. Glue records are a way of making the IP address of a name
|
704
794
|
# server known, even when it serves DNS queries for its parent domain. For
|
@@ -780,6 +870,35 @@ module Google
|
|
780
870
|
end
|
781
871
|
end
|
782
872
|
|
873
|
+
# HealthCheckTargets describes endpoints to health-check when responding to
|
874
|
+
# Routing Policy queries. Only the healthy endpoints will be included in the
|
875
|
+
# response.
|
876
|
+
class HealthCheckTargets
|
877
|
+
include Google::Apis::Core::Hashable
|
878
|
+
|
879
|
+
# The Internet IP addresses to be health checked. The format matches the format
|
880
|
+
# of ResourceRecordSet.rrdata as defined in RFC 1035 (section 5) and RFC 1034 (
|
881
|
+
# section 3.6.1)
|
882
|
+
# Corresponds to the JSON property `externalEndpoints`
|
883
|
+
# @return [Array<String>]
|
884
|
+
attr_accessor :external_endpoints
|
885
|
+
|
886
|
+
# Configuration for internal load balancers to be health checked.
|
887
|
+
# Corresponds to the JSON property `internalLoadBalancer`
|
888
|
+
# @return [Array<Google::Apis::DomainsV1beta1::LoadBalancerTarget>]
|
889
|
+
attr_accessor :internal_load_balancer
|
890
|
+
|
891
|
+
def initialize(**args)
|
892
|
+
update!(**args)
|
893
|
+
end
|
894
|
+
|
895
|
+
# Update properties of this object
|
896
|
+
def update!(**args)
|
897
|
+
@external_endpoints = args[:external_endpoints] if args.key?(:external_endpoints)
|
898
|
+
@internal_load_balancer = args[:internal_load_balancer] if args.key?(:internal_load_balancer)
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
783
902
|
# Deprecated: For more information, see [Cloud Domains feature deprecation](
|
784
903
|
# https://cloud.google.com/domains/docs/deprecations/feature-deprecations).
|
785
904
|
# Request for the `ImportDomain` method.
|
@@ -904,6 +1023,68 @@ module Google
|
|
904
1023
|
end
|
905
1024
|
end
|
906
1025
|
|
1026
|
+
# The configuration for an individual load balancer to health check.
|
1027
|
+
class LoadBalancerTarget
|
1028
|
+
include Google::Apis::Core::Hashable
|
1029
|
+
|
1030
|
+
# The frontend IP address of the load balancer to health check.
|
1031
|
+
# Corresponds to the JSON property `ipAddress`
|
1032
|
+
# @return [String]
|
1033
|
+
attr_accessor :ip_address
|
1034
|
+
|
1035
|
+
# The protocol of the load balancer to health check.
|
1036
|
+
# Corresponds to the JSON property `ipProtocol`
|
1037
|
+
# @return [String]
|
1038
|
+
attr_accessor :ip_protocol
|
1039
|
+
|
1040
|
+
# The type of load balancer specified by this target. This value must match the
|
1041
|
+
# configuration of the load balancer located at the LoadBalancerTarget's IP
|
1042
|
+
# address, port, and region. Use the following: - *regionalL4ilb*: for a
|
1043
|
+
# regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a
|
1044
|
+
# regional internal Application Load Balancer. - *globalL7ilb*: for a global
|
1045
|
+
# internal Application Load Balancer.
|
1046
|
+
# Corresponds to the JSON property `loadBalancerType`
|
1047
|
+
# @return [String]
|
1048
|
+
attr_accessor :load_balancer_type
|
1049
|
+
|
1050
|
+
# The fully qualified URL of the network that the load balancer is attached to.
|
1051
|
+
# This should be formatted like `https://www.googleapis.com/compute/v1/projects/`
|
1052
|
+
# project`/global/networks/`network``.
|
1053
|
+
# Corresponds to the JSON property `networkUrl`
|
1054
|
+
# @return [String]
|
1055
|
+
attr_accessor :network_url
|
1056
|
+
|
1057
|
+
# The configured port of the load balancer.
|
1058
|
+
# Corresponds to the JSON property `port`
|
1059
|
+
# @return [String]
|
1060
|
+
attr_accessor :port
|
1061
|
+
|
1062
|
+
# The project ID in which the load balancer is located.
|
1063
|
+
# Corresponds to the JSON property `project`
|
1064
|
+
# @return [String]
|
1065
|
+
attr_accessor :project
|
1066
|
+
|
1067
|
+
# The region in which the load balancer is located.
|
1068
|
+
# Corresponds to the JSON property `region`
|
1069
|
+
# @return [String]
|
1070
|
+
attr_accessor :region
|
1071
|
+
|
1072
|
+
def initialize(**args)
|
1073
|
+
update!(**args)
|
1074
|
+
end
|
1075
|
+
|
1076
|
+
# Update properties of this object
|
1077
|
+
def update!(**args)
|
1078
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
1079
|
+
@ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
|
1080
|
+
@load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
|
1081
|
+
@network_url = args[:network_url] if args.key?(:network_url)
|
1082
|
+
@port = args[:port] if args.key?(:port)
|
1083
|
+
@project = args[:project] if args.key?(:project)
|
1084
|
+
@region = args[:region] if args.key?(:region)
|
1085
|
+
end
|
1086
|
+
end
|
1087
|
+
|
907
1088
|
# A resource that represents a Google Cloud location.
|
908
1089
|
class Location
|
909
1090
|
include Google::Apis::Core::Hashable
|
@@ -1387,6 +1568,100 @@ module Google
|
|
1387
1568
|
end
|
1388
1569
|
end
|
1389
1570
|
|
1571
|
+
# Configures a RRSetRoutingPolicy such that all queries are responded with the
|
1572
|
+
# primary_targets if they are healthy. And if all of them are unhealthy, then we
|
1573
|
+
# fallback to a geo localized policy.
|
1574
|
+
class PrimaryBackupPolicy
|
1575
|
+
include Google::Apis::Core::Hashable
|
1576
|
+
|
1577
|
+
# Configures a `RRSetRoutingPolicy` that routes based on the geo location of the
|
1578
|
+
# querying user.
|
1579
|
+
# Corresponds to the JSON property `backupGeoTargets`
|
1580
|
+
# @return [Google::Apis::DomainsV1beta1::GeoPolicy]
|
1581
|
+
attr_accessor :backup_geo_targets
|
1582
|
+
|
1583
|
+
# HealthCheckTargets describes endpoints to health-check when responding to
|
1584
|
+
# Routing Policy queries. Only the healthy endpoints will be included in the
|
1585
|
+
# response.
|
1586
|
+
# Corresponds to the JSON property `primaryTargets`
|
1587
|
+
# @return [Google::Apis::DomainsV1beta1::HealthCheckTargets]
|
1588
|
+
attr_accessor :primary_targets
|
1589
|
+
|
1590
|
+
# When serving state is `PRIMARY`, this field provides the option of sending a
|
1591
|
+
# small percentage of the traffic to the backup targets.
|
1592
|
+
# Corresponds to the JSON property `trickleTraffic`
|
1593
|
+
# @return [Float]
|
1594
|
+
attr_accessor :trickle_traffic
|
1595
|
+
|
1596
|
+
def initialize(**args)
|
1597
|
+
update!(**args)
|
1598
|
+
end
|
1599
|
+
|
1600
|
+
# Update properties of this object
|
1601
|
+
def update!(**args)
|
1602
|
+
@backup_geo_targets = args[:backup_geo_targets] if args.key?(:backup_geo_targets)
|
1603
|
+
@primary_targets = args[:primary_targets] if args.key?(:primary_targets)
|
1604
|
+
@trickle_traffic = args[:trickle_traffic] if args.key?(:trickle_traffic)
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
|
1608
|
+
# A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
|
1609
|
+
# dynamically with the response varying based on configured properties such as
|
1610
|
+
# geolocation or by weighted random selection.
|
1611
|
+
class RrSetRoutingPolicy
|
1612
|
+
include Google::Apis::Core::Hashable
|
1613
|
+
|
1614
|
+
# Configures a `RRSetRoutingPolicy` that routes based on the geo location of the
|
1615
|
+
# querying user.
|
1616
|
+
# Corresponds to the JSON property `geo`
|
1617
|
+
# @return [Google::Apis::DomainsV1beta1::GeoPolicy]
|
1618
|
+
attr_accessor :geo
|
1619
|
+
|
1620
|
+
# Configures a `RRSetRoutingPolicy` that routes based on the geo location of the
|
1621
|
+
# querying user.
|
1622
|
+
# Corresponds to the JSON property `geoPolicy`
|
1623
|
+
# @return [Google::Apis::DomainsV1beta1::GeoPolicy]
|
1624
|
+
attr_accessor :geo_policy
|
1625
|
+
|
1626
|
+
# The selfLink attribute of the HealthCheck resource to use for this
|
1627
|
+
# RRSetRoutingPolicy. https://cloud.google.com/compute/docs/reference/rest/v1/
|
1628
|
+
# healthChecks
|
1629
|
+
# Corresponds to the JSON property `healthCheck`
|
1630
|
+
# @return [String]
|
1631
|
+
attr_accessor :health_check
|
1632
|
+
|
1633
|
+
# Configures a RRSetRoutingPolicy such that all queries are responded with the
|
1634
|
+
# primary_targets if they are healthy. And if all of them are unhealthy, then we
|
1635
|
+
# fallback to a geo localized policy.
|
1636
|
+
# Corresponds to the JSON property `primaryBackup`
|
1637
|
+
# @return [Google::Apis::DomainsV1beta1::PrimaryBackupPolicy]
|
1638
|
+
attr_accessor :primary_backup
|
1639
|
+
|
1640
|
+
# Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
|
1641
|
+
# Corresponds to the JSON property `wrr`
|
1642
|
+
# @return [Google::Apis::DomainsV1beta1::WrrPolicy]
|
1643
|
+
attr_accessor :wrr
|
1644
|
+
|
1645
|
+
# Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
|
1646
|
+
# Corresponds to the JSON property `wrrPolicy`
|
1647
|
+
# @return [Google::Apis::DomainsV1beta1::WrrPolicy]
|
1648
|
+
attr_accessor :wrr_policy
|
1649
|
+
|
1650
|
+
def initialize(**args)
|
1651
|
+
update!(**args)
|
1652
|
+
end
|
1653
|
+
|
1654
|
+
# Update properties of this object
|
1655
|
+
def update!(**args)
|
1656
|
+
@geo = args[:geo] if args.key?(:geo)
|
1657
|
+
@geo_policy = args[:geo_policy] if args.key?(:geo_policy)
|
1658
|
+
@health_check = args[:health_check] if args.key?(:health_check)
|
1659
|
+
@primary_backup = args[:primary_backup] if args.key?(:primary_backup)
|
1660
|
+
@wrr = args[:wrr] if args.key?(:wrr)
|
1661
|
+
@wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
|
1662
|
+
end
|
1663
|
+
end
|
1664
|
+
|
1390
1665
|
# Request for the `RegisterDomain` method.
|
1391
1666
|
class RegisterDomainRequest
|
1392
1667
|
include Google::Apis::Core::Hashable
|
@@ -1676,6 +1951,85 @@ module Google
|
|
1676
1951
|
end
|
1677
1952
|
end
|
1678
1953
|
|
1954
|
+
# A unit of data that is returned by the DNS servers.
|
1955
|
+
class ResourceRecordSet
|
1956
|
+
include Google::Apis::Core::Hashable
|
1957
|
+
|
1958
|
+
# For example, www.example.com.
|
1959
|
+
# Corresponds to the JSON property `name`
|
1960
|
+
# @return [String]
|
1961
|
+
attr_accessor :name
|
1962
|
+
|
1963
|
+
# A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
|
1964
|
+
# dynamically with the response varying based on configured properties such as
|
1965
|
+
# geolocation or by weighted random selection.
|
1966
|
+
# Corresponds to the JSON property `routingPolicy`
|
1967
|
+
# @return [Google::Apis::DomainsV1beta1::RrSetRoutingPolicy]
|
1968
|
+
attr_accessor :routing_policy
|
1969
|
+
|
1970
|
+
# As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
|
1971
|
+
# examples.
|
1972
|
+
# Corresponds to the JSON property `rrdata`
|
1973
|
+
# @return [Array<String>]
|
1974
|
+
attr_accessor :rrdata
|
1975
|
+
|
1976
|
+
# As defined in RFC 4034 (section 3.2).
|
1977
|
+
# Corresponds to the JSON property `signatureRrdata`
|
1978
|
+
# @return [Array<String>]
|
1979
|
+
attr_accessor :signature_rrdata
|
1980
|
+
|
1981
|
+
# Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
|
1982
|
+
# Corresponds to the JSON property `ttl`
|
1983
|
+
# @return [Fixnum]
|
1984
|
+
attr_accessor :ttl
|
1985
|
+
|
1986
|
+
# The identifier of a supported record type. See the list of Supported DNS
|
1987
|
+
# record types.
|
1988
|
+
# Corresponds to the JSON property `type`
|
1989
|
+
# @return [String]
|
1990
|
+
attr_accessor :type
|
1991
|
+
|
1992
|
+
def initialize(**args)
|
1993
|
+
update!(**args)
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
# Update properties of this object
|
1997
|
+
def update!(**args)
|
1998
|
+
@name = args[:name] if args.key?(:name)
|
1999
|
+
@routing_policy = args[:routing_policy] if args.key?(:routing_policy)
|
2000
|
+
@rrdata = args[:rrdata] if args.key?(:rrdata)
|
2001
|
+
@signature_rrdata = args[:signature_rrdata] if args.key?(:signature_rrdata)
|
2002
|
+
@ttl = args[:ttl] if args.key?(:ttl)
|
2003
|
+
@type = args[:type] if args.key?(:type)
|
2004
|
+
end
|
2005
|
+
end
|
2006
|
+
|
2007
|
+
# Response for the `RetrieveGoogleDomainsDnsRecords` method.
|
2008
|
+
class RetrieveGoogleDomainsDnsRecordsResponse
|
2009
|
+
include Google::Apis::Core::Hashable
|
2010
|
+
|
2011
|
+
# When present, there are more results to retrieve. Set `page_token` to this
|
2012
|
+
# value on a subsequent call to get the next page of results.
|
2013
|
+
# Corresponds to the JSON property `nextPageToken`
|
2014
|
+
# @return [String]
|
2015
|
+
attr_accessor :next_page_token
|
2016
|
+
|
2017
|
+
# The resource record set resources (DNS Zone records).
|
2018
|
+
# Corresponds to the JSON property `rrset`
|
2019
|
+
# @return [Array<Google::Apis::DomainsV1beta1::ResourceRecordSet>]
|
2020
|
+
attr_accessor :rrset
|
2021
|
+
|
2022
|
+
def initialize(**args)
|
2023
|
+
update!(**args)
|
2024
|
+
end
|
2025
|
+
|
2026
|
+
# Update properties of this object
|
2027
|
+
def update!(**args)
|
2028
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2029
|
+
@rrset = args[:rrset] if args.key?(:rrset)
|
2030
|
+
end
|
2031
|
+
end
|
2032
|
+
|
1679
2033
|
# Response for the `RetrieveGoogleDomainsForwardingConfig` method.
|
1680
2034
|
class RetrieveGoogleDomainsForwardingConfigResponse
|
1681
2035
|
include Google::Apis::Core::Hashable
|
@@ -2050,6 +2404,69 @@ module Google
|
|
2050
2404
|
@yearly_price = args[:yearly_price] if args.key?(:yearly_price)
|
2051
2405
|
end
|
2052
2406
|
end
|
2407
|
+
|
2408
|
+
# Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
|
2409
|
+
class WrrPolicy
|
2410
|
+
include Google::Apis::Core::Hashable
|
2411
|
+
|
2412
|
+
#
|
2413
|
+
# Corresponds to the JSON property `item`
|
2414
|
+
# @return [Array<Google::Apis::DomainsV1beta1::WrrPolicyItem>]
|
2415
|
+
attr_accessor :item
|
2416
|
+
|
2417
|
+
def initialize(**args)
|
2418
|
+
update!(**args)
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
# Update properties of this object
|
2422
|
+
def update!(**args)
|
2423
|
+
@item = args[:item] if args.key?(:item)
|
2424
|
+
end
|
2425
|
+
end
|
2426
|
+
|
2427
|
+
# A routing block which contains the routing information for one WRR item.
|
2428
|
+
class WrrPolicyItem
|
2429
|
+
include Google::Apis::Core::Hashable
|
2430
|
+
|
2431
|
+
# HealthCheckTargets describes endpoints to health-check when responding to
|
2432
|
+
# Routing Policy queries. Only the healthy endpoints will be included in the
|
2433
|
+
# response.
|
2434
|
+
# Corresponds to the JSON property `healthCheckedTargets`
|
2435
|
+
# @return [Google::Apis::DomainsV1beta1::HealthCheckTargets]
|
2436
|
+
attr_accessor :health_checked_targets
|
2437
|
+
|
2438
|
+
#
|
2439
|
+
# Corresponds to the JSON property `rrdata`
|
2440
|
+
# @return [Array<String>]
|
2441
|
+
attr_accessor :rrdata
|
2442
|
+
|
2443
|
+
# DNSSEC generated signatures for all the `rrdata` within this item. Note that
|
2444
|
+
# if health checked targets are provided for DNSSEC enabled zones, there's a
|
2445
|
+
# restriction of 1 IP address per item.
|
2446
|
+
# Corresponds to the JSON property `signatureRrdata`
|
2447
|
+
# @return [Array<String>]
|
2448
|
+
attr_accessor :signature_rrdata
|
2449
|
+
|
2450
|
+
# The weight corresponding to this `WrrPolicyItem` object. When multiple `
|
2451
|
+
# WrrPolicyItem` objects are configured, the probability of returning an `
|
2452
|
+
# WrrPolicyItem` object's data is proportional to its weight relative to the sum
|
2453
|
+
# of weights configured for all items. This weight must be non-negative.
|
2454
|
+
# Corresponds to the JSON property `weight`
|
2455
|
+
# @return [Float]
|
2456
|
+
attr_accessor :weight
|
2457
|
+
|
2458
|
+
def initialize(**args)
|
2459
|
+
update!(**args)
|
2460
|
+
end
|
2461
|
+
|
2462
|
+
# Update properties of this object
|
2463
|
+
def update!(**args)
|
2464
|
+
@health_checked_targets = args[:health_checked_targets] if args.key?(:health_checked_targets)
|
2465
|
+
@rrdata = args[:rrdata] if args.key?(:rrdata)
|
2466
|
+
@signature_rrdata = args[:signature_rrdata] if args.key?(:signature_rrdata)
|
2467
|
+
@weight = args[:weight] if args.key?(:weight)
|
2468
|
+
end
|
2469
|
+
end
|
2053
2470
|
end
|
2054
2471
|
end
|
2055
2472
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DomainsV1beta1
|
18
18
|
# Version of the google-apis-domains_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.40.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240724"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -124,6 +124,18 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class GeoPolicy
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GeoPolicyItem
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
127
139
|
class GlueRecord
|
128
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
141
|
|
@@ -136,6 +148,12 @@ module Google
|
|
136
148
|
include Google::Apis::Core::JsonObjectSupport
|
137
149
|
end
|
138
150
|
|
151
|
+
class HealthCheckTargets
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
139
157
|
class ImportDomainRequest
|
140
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
159
|
|
@@ -166,6 +184,12 @@ module Google
|
|
166
184
|
include Google::Apis::Core::JsonObjectSupport
|
167
185
|
end
|
168
186
|
|
187
|
+
class LoadBalancerTarget
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
169
193
|
class Location
|
170
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
195
|
|
@@ -208,6 +232,18 @@ module Google
|
|
208
232
|
include Google::Apis::Core::JsonObjectSupport
|
209
233
|
end
|
210
234
|
|
235
|
+
class PrimaryBackupPolicy
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
241
|
+
class RrSetRoutingPolicy
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
211
247
|
class RegisterDomainRequest
|
212
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
249
|
|
@@ -238,6 +274,18 @@ module Google
|
|
238
274
|
include Google::Apis::Core::JsonObjectSupport
|
239
275
|
end
|
240
276
|
|
277
|
+
class ResourceRecordSet
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
283
|
+
class RetrieveGoogleDomainsDnsRecordsResponse
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
|
+
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
287
|
+
end
|
288
|
+
|
241
289
|
class RetrieveGoogleDomainsForwardingConfigResponse
|
242
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
291
|
|
@@ -304,6 +352,18 @@ module Google
|
|
304
352
|
include Google::Apis::Core::JsonObjectSupport
|
305
353
|
end
|
306
354
|
|
355
|
+
class WrrPolicy
|
356
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
+
|
358
|
+
include Google::Apis::Core::JsonObjectSupport
|
359
|
+
end
|
360
|
+
|
361
|
+
class WrrPolicyItem
|
362
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
+
|
364
|
+
include Google::Apis::Core::JsonObjectSupport
|
365
|
+
end
|
366
|
+
|
307
367
|
class AuditConfig
|
308
368
|
# @private
|
309
369
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -410,6 +470,7 @@ module Google
|
|
410
470
|
|
411
471
|
property :google_domains_dns, as: 'googleDomainsDns', class: Google::Apis::DomainsV1beta1::GoogleDomainsDns, decorator: Google::Apis::DomainsV1beta1::GoogleDomainsDns::Representation
|
412
472
|
|
473
|
+
property :google_domains_redirects_data_available, as: 'googleDomainsRedirectsDataAvailable'
|
413
474
|
end
|
414
475
|
end
|
415
476
|
|
@@ -469,6 +530,26 @@ module Google
|
|
469
530
|
end
|
470
531
|
end
|
471
532
|
|
533
|
+
class GeoPolicy
|
534
|
+
# @private
|
535
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
536
|
+
property :enable_fencing, as: 'enableFencing'
|
537
|
+
collection :item, as: 'item', class: Google::Apis::DomainsV1beta1::GeoPolicyItem, decorator: Google::Apis::DomainsV1beta1::GeoPolicyItem::Representation
|
538
|
+
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
542
|
+
class GeoPolicyItem
|
543
|
+
# @private
|
544
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
545
|
+
property :health_checked_targets, as: 'healthCheckedTargets', class: Google::Apis::DomainsV1beta1::HealthCheckTargets, decorator: Google::Apis::DomainsV1beta1::HealthCheckTargets::Representation
|
546
|
+
|
547
|
+
property :location, as: 'location'
|
548
|
+
collection :rrdata, as: 'rrdata'
|
549
|
+
collection :signature_rrdata, as: 'signatureRrdata'
|
550
|
+
end
|
551
|
+
end
|
552
|
+
|
472
553
|
class GlueRecord
|
473
554
|
# @private
|
474
555
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -488,6 +569,15 @@ module Google
|
|
488
569
|
end
|
489
570
|
end
|
490
571
|
|
572
|
+
class HealthCheckTargets
|
573
|
+
# @private
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
575
|
+
collection :external_endpoints, as: 'externalEndpoints'
|
576
|
+
collection :internal_load_balancer, as: 'internalLoadBalancer', class: Google::Apis::DomainsV1beta1::LoadBalancerTarget, decorator: Google::Apis::DomainsV1beta1::LoadBalancerTarget::Representation
|
577
|
+
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
491
581
|
class ImportDomainRequest
|
492
582
|
# @private
|
493
583
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -530,6 +620,19 @@ module Google
|
|
530
620
|
end
|
531
621
|
end
|
532
622
|
|
623
|
+
class LoadBalancerTarget
|
624
|
+
# @private
|
625
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
626
|
+
property :ip_address, as: 'ipAddress'
|
627
|
+
property :ip_protocol, as: 'ipProtocol'
|
628
|
+
property :load_balancer_type, as: 'loadBalancerType'
|
629
|
+
property :network_url, as: 'networkUrl'
|
630
|
+
property :port, as: 'port'
|
631
|
+
property :project, as: 'project'
|
632
|
+
property :region, as: 'region'
|
633
|
+
end
|
634
|
+
end
|
635
|
+
|
533
636
|
class Location
|
534
637
|
# @private
|
535
638
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -613,6 +716,34 @@ module Google
|
|
613
716
|
end
|
614
717
|
end
|
615
718
|
|
719
|
+
class PrimaryBackupPolicy
|
720
|
+
# @private
|
721
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
722
|
+
property :backup_geo_targets, as: 'backupGeoTargets', class: Google::Apis::DomainsV1beta1::GeoPolicy, decorator: Google::Apis::DomainsV1beta1::GeoPolicy::Representation
|
723
|
+
|
724
|
+
property :primary_targets, as: 'primaryTargets', class: Google::Apis::DomainsV1beta1::HealthCheckTargets, decorator: Google::Apis::DomainsV1beta1::HealthCheckTargets::Representation
|
725
|
+
|
726
|
+
property :trickle_traffic, as: 'trickleTraffic'
|
727
|
+
end
|
728
|
+
end
|
729
|
+
|
730
|
+
class RrSetRoutingPolicy
|
731
|
+
# @private
|
732
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
733
|
+
property :geo, as: 'geo', class: Google::Apis::DomainsV1beta1::GeoPolicy, decorator: Google::Apis::DomainsV1beta1::GeoPolicy::Representation
|
734
|
+
|
735
|
+
property :geo_policy, as: 'geoPolicy', class: Google::Apis::DomainsV1beta1::GeoPolicy, decorator: Google::Apis::DomainsV1beta1::GeoPolicy::Representation
|
736
|
+
|
737
|
+
property :health_check, as: 'healthCheck'
|
738
|
+
property :primary_backup, as: 'primaryBackup', class: Google::Apis::DomainsV1beta1::PrimaryBackupPolicy, decorator: Google::Apis::DomainsV1beta1::PrimaryBackupPolicy::Representation
|
739
|
+
|
740
|
+
property :wrr, as: 'wrr', class: Google::Apis::DomainsV1beta1::WrrPolicy, decorator: Google::Apis::DomainsV1beta1::WrrPolicy::Representation
|
741
|
+
|
742
|
+
property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DomainsV1beta1::WrrPolicy, decorator: Google::Apis::DomainsV1beta1::WrrPolicy::Representation
|
743
|
+
|
744
|
+
end
|
745
|
+
end
|
746
|
+
|
616
747
|
class RegisterDomainRequest
|
617
748
|
# @private
|
618
749
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -678,6 +809,28 @@ module Google
|
|
678
809
|
end
|
679
810
|
end
|
680
811
|
|
812
|
+
class ResourceRecordSet
|
813
|
+
# @private
|
814
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
815
|
+
property :name, as: 'name'
|
816
|
+
property :routing_policy, as: 'routingPolicy', class: Google::Apis::DomainsV1beta1::RrSetRoutingPolicy, decorator: Google::Apis::DomainsV1beta1::RrSetRoutingPolicy::Representation
|
817
|
+
|
818
|
+
collection :rrdata, as: 'rrdata'
|
819
|
+
collection :signature_rrdata, as: 'signatureRrdata'
|
820
|
+
property :ttl, as: 'ttl'
|
821
|
+
property :type, as: 'type'
|
822
|
+
end
|
823
|
+
end
|
824
|
+
|
825
|
+
class RetrieveGoogleDomainsDnsRecordsResponse
|
826
|
+
# @private
|
827
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
828
|
+
property :next_page_token, as: 'nextPageToken'
|
829
|
+
collection :rrset, as: 'rrset', class: Google::Apis::DomainsV1beta1::ResourceRecordSet, decorator: Google::Apis::DomainsV1beta1::ResourceRecordSet::Representation
|
830
|
+
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
681
834
|
class RetrieveGoogleDomainsForwardingConfigResponse
|
682
835
|
# @private
|
683
836
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -780,6 +933,25 @@ module Google
|
|
780
933
|
|
781
934
|
end
|
782
935
|
end
|
936
|
+
|
937
|
+
class WrrPolicy
|
938
|
+
# @private
|
939
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
940
|
+
collection :item, as: 'item', class: Google::Apis::DomainsV1beta1::WrrPolicyItem, decorator: Google::Apis::DomainsV1beta1::WrrPolicyItem::Representation
|
941
|
+
|
942
|
+
end
|
943
|
+
end
|
944
|
+
|
945
|
+
class WrrPolicyItem
|
946
|
+
# @private
|
947
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
948
|
+
property :health_checked_targets, as: 'healthCheckedTargets', class: Google::Apis::DomainsV1beta1::HealthCheckTargets, decorator: Google::Apis::DomainsV1beta1::HealthCheckTargets::Representation
|
949
|
+
|
950
|
+
collection :rrdata, as: 'rrdata'
|
951
|
+
collection :signature_rrdata, as: 'signatureRrdata'
|
952
|
+
property :weight, as: 'weight'
|
953
|
+
end
|
954
|
+
end
|
783
955
|
end
|
784
956
|
end
|
785
957
|
end
|
@@ -795,6 +795,46 @@ module Google
|
|
795
795
|
execute_or_queue_command(command, &block)
|
796
796
|
end
|
797
797
|
|
798
|
+
# Lists the DNS records from the Google Domains DNS zone for domains that use
|
799
|
+
# the deprecated `google_domains_dns` in the `Registration`'s `dns_settings`.
|
800
|
+
# @param [String] registration
|
801
|
+
# Required. The name of the `Registration` whose Google Domains DNS records
|
802
|
+
# details you are retrieving, in the format `projects/*/locations/*/
|
803
|
+
# registrations/*`.
|
804
|
+
# @param [Fixnum] page_size
|
805
|
+
# Optional. Maximum number of results to return.
|
806
|
+
# @param [String] page_token
|
807
|
+
# Optional. When set to the `next_page_token` from a prior response, provides
|
808
|
+
# the next page of results.
|
809
|
+
# @param [String] fields
|
810
|
+
# Selector specifying which fields to include in a partial response.
|
811
|
+
# @param [String] quota_user
|
812
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
813
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
814
|
+
# @param [Google::Apis::RequestOptions] options
|
815
|
+
# Request-specific options
|
816
|
+
#
|
817
|
+
# @yield [result, err] Result & error if block supplied
|
818
|
+
# @yieldparam result [Google::Apis::DomainsV1beta1::RetrieveGoogleDomainsDnsRecordsResponse] parsed result object
|
819
|
+
# @yieldparam err [StandardError] error object if request failed
|
820
|
+
#
|
821
|
+
# @return [Google::Apis::DomainsV1beta1::RetrieveGoogleDomainsDnsRecordsResponse]
|
822
|
+
#
|
823
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
824
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
825
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
826
|
+
def retrieve_project_location_registration_google_domains_dns_records(registration, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
827
|
+
command = make_simple_command(:get, 'v1beta1/{+registration}:retrieveGoogleDomainsDnsRecords', options)
|
828
|
+
command.response_representation = Google::Apis::DomainsV1beta1::RetrieveGoogleDomainsDnsRecordsResponse::Representation
|
829
|
+
command.response_class = Google::Apis::DomainsV1beta1::RetrieveGoogleDomainsDnsRecordsResponse
|
830
|
+
command.params['registration'] = registration unless registration.nil?
|
831
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
832
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
833
|
+
command.query['fields'] = fields unless fields.nil?
|
834
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
835
|
+
execute_or_queue_command(command, &block)
|
836
|
+
end
|
837
|
+
|
798
838
|
# Lists the deprecated domain and email forwarding configurations you set up in
|
799
839
|
# the deprecated Google Domains UI. The configuration is present only for
|
800
840
|
# domains with the `google_domains_redirects_data_available` set to `true` in
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-domains_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.40.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-domains_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1beta1/v0.40.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-domains_v1beta1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Domains API V1beta1
|