google-apis-domains_v1beta1 0.37.0 → 0.39.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b5660ba95ad07364dac973bb9173dad0261912d2629cb20d43873459c2bdfb6
4
- data.tar.gz: 022dbeba21a5570dcc60c922c7d123a62be344d07d10cb8aa845dc5f1aa84689
3
+ metadata.gz: df6fb1652f69a6230e962a056da1fdbad8aa9d661c5210cf0a48c6bc2b368d87
4
+ data.tar.gz: c437098c04d5e641e5385867a97e6cd59b1bc984759db8faa2b9194cd6b5fb93
5
5
  SHA512:
6
- metadata.gz: '09e25ef0c816636ece66d4e597c0f69da1965e8e7e97c7c310d7de635fabe3405f390be0740d48d9a1254bc7c8443e35bbd417ba72981f332a80d1ad7184a5c9'
7
- data.tar.gz: 6a961d754f65565f43d3cf7cee32d871fd85ec279d112f6a41ebb2eae150d77d7e59c90bd10855b2a563f6347135216a51cbdd8648db2ffd3ffaf575bd81e4b2
6
+ metadata.gz: 2edff6fc8b93cf0a25c2904cc3e255d798b82a5e9e8447a8c5eb26bf7b6d556e826e154593e59053e8a40ffdc5afb013dea224e93db0827c1ccc6fd21d1efa28
7
+ data.tar.gz: ae5f52c90fcb4f60d8f47dd063288d4eb97a898822c16d299e922f98df5083f787e3b1163ec991c855e3ed1c8b45ea932208355ceb35d0264ee1ec96dd15bf9f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-domains_v1beta1
2
2
 
3
+ ### v0.39.0 (2024-06-16)
4
+
5
+ * Regenerated from discovery document revision 20240610
6
+
7
+ ### v0.38.0 (2024-06-09)
8
+
9
+ * Regenerated from discovery document revision 20240603
10
+
3
11
  ### v0.37.0 (2024-05-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20240520
@@ -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
 
@@ -509,6 +523,61 @@ module Google
509
523
  end
510
524
  end
511
525
 
526
+ # Domain forwarding configuration.
527
+ class DomainForwarding
528
+ include Google::Apis::Core::Hashable
529
+
530
+ # If true, forwards the path after the domain name to the same path at the new
531
+ # address.
532
+ # Corresponds to the JSON property `pathForwarding`
533
+ # @return [Boolean]
534
+ attr_accessor :path_forwarding
535
+ alias_method :path_forwarding?, :path_forwarding
536
+
537
+ # The PEM-encoded certificate chain.
538
+ # Corresponds to the JSON property `pemCertificate`
539
+ # @return [String]
540
+ attr_accessor :pem_certificate
541
+
542
+ # The redirect type.
543
+ # Corresponds to the JSON property `redirectType`
544
+ # @return [String]
545
+ attr_accessor :redirect_type
546
+
547
+ # If true, the forwarding works also over HTTPS.
548
+ # Corresponds to the JSON property `sslEnabled`
549
+ # @return [Boolean]
550
+ attr_accessor :ssl_enabled
551
+ alias_method :ssl_enabled?, :ssl_enabled
552
+
553
+ # The subdomain of the registered domain that is being forwarded. E.g. `www.
554
+ # example.com`, `example.com` (i.e. the registered domain itself) or `*.example.
555
+ # com` (i.e. all subdomains).
556
+ # Corresponds to the JSON property `subdomain`
557
+ # @return [String]
558
+ attr_accessor :subdomain
559
+
560
+ # The target of the domain forwarding, i.e. the path to redirect the `subdomain`
561
+ # to.
562
+ # Corresponds to the JSON property `targetUri`
563
+ # @return [String]
564
+ attr_accessor :target_uri
565
+
566
+ def initialize(**args)
567
+ update!(**args)
568
+ end
569
+
570
+ # Update properties of this object
571
+ def update!(**args)
572
+ @path_forwarding = args[:path_forwarding] if args.key?(:path_forwarding)
573
+ @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate)
574
+ @redirect_type = args[:redirect_type] if args.key?(:redirect_type)
575
+ @ssl_enabled = args[:ssl_enabled] if args.key?(:ssl_enabled)
576
+ @subdomain = args[:subdomain] if args.key?(:subdomain)
577
+ @target_uri = args[:target_uri] if args.key?(:target_uri)
578
+ end
579
+ end
580
+
512
581
  # Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for
513
582
  # a domain. It contains a digest (hash) of a DNSKEY record that must be present
514
583
  # in the domain's DNS zone.
@@ -548,6 +617,33 @@ module Google
548
617
  end
549
618
  end
550
619
 
620
+ # Email forwarding configuration.
621
+ class EmailForwarding
622
+ include Google::Apis::Core::Hashable
623
+
624
+ # An alias recipient email that forwards emails to the `target_email_address`.
625
+ # For example, `admin@example.com` or `*@example.com` (wildcard alias forwards
626
+ # all the emails under the registered domain).
627
+ # Corresponds to the JSON property `alias`
628
+ # @return [String]
629
+ attr_accessor :alias
630
+
631
+ # Target email that receives emails sent to the `alias`.
632
+ # Corresponds to the JSON property `targetEmailAddress`
633
+ # @return [String]
634
+ attr_accessor :target_email_address
635
+
636
+ def initialize(**args)
637
+ update!(**args)
638
+ end
639
+
640
+ # Update properties of this object
641
+ def update!(**args)
642
+ @alias = args[:alias] if args.key?(:alias)
643
+ @target_email_address = args[:target_email_address] if args.key?(:target_email_address)
644
+ end
645
+ end
646
+
551
647
  # Deprecated: For more information, see [Cloud Domains feature deprecation](
552
648
  # https://cloud.google.com/domains/docs/deprecations/feature-deprecations).
553
649
  # Request for the `ExportRegistration` method.
@@ -617,6 +713,82 @@ module Google
617
713
  end
618
714
  end
619
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
+
620
792
  # Defines a host on your domain that is a DNS name server for your domain and/or
621
793
  # other domains. Glue records are a way of making the IP address of a name
622
794
  # server known, even when it serves DNS queries for its parent domain. For
@@ -698,6 +870,27 @@ module Google
698
870
  end
699
871
  end
700
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
+ # Configuration for internal load balancers to be health checked.
880
+ # Corresponds to the JSON property `internalLoadBalancer`
881
+ # @return [Array<Google::Apis::DomainsV1beta1::LoadBalancerTarget>]
882
+ attr_accessor :internal_load_balancer
883
+
884
+ def initialize(**args)
885
+ update!(**args)
886
+ end
887
+
888
+ # Update properties of this object
889
+ def update!(**args)
890
+ @internal_load_balancer = args[:internal_load_balancer] if args.key?(:internal_load_balancer)
891
+ end
892
+ end
893
+
701
894
  # Deprecated: For more information, see [Cloud Domains feature deprecation](
702
895
  # https://cloud.google.com/domains/docs/deprecations/feature-deprecations).
703
896
  # Request for the `ImportDomain` method.
@@ -726,6 +919,26 @@ module Google
726
919
  end
727
920
  end
728
921
 
922
+ # Request for the `InitiatePushTransfer` method.
923
+ class InitiatePushTransferRequest
924
+ include Google::Apis::Core::Hashable
925
+
926
+ # Required. The Tag of the new registrar. Can be found at [List of registrars](
927
+ # https://nominet.uk/registrar-list/).
928
+ # Corresponds to the JSON property `tag`
929
+ # @return [String]
930
+ attr_accessor :tag
931
+
932
+ def initialize(**args)
933
+ update!(**args)
934
+ end
935
+
936
+ # Update properties of this object
937
+ def update!(**args)
938
+ @tag = args[:tag] if args.key?(:tag)
939
+ end
940
+ end
941
+
729
942
  # The response message for Locations.ListLocations.
730
943
  class ListLocationsResponse
731
944
  include Google::Apis::Core::Hashable
@@ -802,6 +1015,68 @@ module Google
802
1015
  end
803
1016
  end
804
1017
 
1018
+ # The configuration for an individual load balancer to health check.
1019
+ class LoadBalancerTarget
1020
+ include Google::Apis::Core::Hashable
1021
+
1022
+ # The frontend IP address of the load balancer to health check.
1023
+ # Corresponds to the JSON property `ipAddress`
1024
+ # @return [String]
1025
+ attr_accessor :ip_address
1026
+
1027
+ # The protocol of the load balancer to health check.
1028
+ # Corresponds to the JSON property `ipProtocol`
1029
+ # @return [String]
1030
+ attr_accessor :ip_protocol
1031
+
1032
+ # The type of load balancer specified by this target. This value must match the
1033
+ # configuration of the load balancer located at the LoadBalancerTarget's IP
1034
+ # address, port, and region. Use the following: - *regionalL4ilb*: for a
1035
+ # regional internal passthrough Network Load Balancer. - *regionalL7ilb*: for a
1036
+ # regional internal Application Load Balancer. - *globalL7ilb*: for a global
1037
+ # internal Application Load Balancer.
1038
+ # Corresponds to the JSON property `loadBalancerType`
1039
+ # @return [String]
1040
+ attr_accessor :load_balancer_type
1041
+
1042
+ # The fully qualified URL of the network that the load balancer is attached to.
1043
+ # This should be formatted like `https://www.googleapis.com/compute/v1/projects/`
1044
+ # project`/global/networks/`network``.
1045
+ # Corresponds to the JSON property `networkUrl`
1046
+ # @return [String]
1047
+ attr_accessor :network_url
1048
+
1049
+ # The configured port of the load balancer.
1050
+ # Corresponds to the JSON property `port`
1051
+ # @return [String]
1052
+ attr_accessor :port
1053
+
1054
+ # The project ID in which the load balancer is located.
1055
+ # Corresponds to the JSON property `project`
1056
+ # @return [String]
1057
+ attr_accessor :project
1058
+
1059
+ # The region in which the load balancer is located.
1060
+ # Corresponds to the JSON property `region`
1061
+ # @return [String]
1062
+ attr_accessor :region
1063
+
1064
+ def initialize(**args)
1065
+ update!(**args)
1066
+ end
1067
+
1068
+ # Update properties of this object
1069
+ def update!(**args)
1070
+ @ip_address = args[:ip_address] if args.key?(:ip_address)
1071
+ @ip_protocol = args[:ip_protocol] if args.key?(:ip_protocol)
1072
+ @load_balancer_type = args[:load_balancer_type] if args.key?(:load_balancer_type)
1073
+ @network_url = args[:network_url] if args.key?(:network_url)
1074
+ @port = args[:port] if args.key?(:port)
1075
+ @project = args[:project] if args.key?(:project)
1076
+ @region = args[:region] if args.key?(:region)
1077
+ end
1078
+ end
1079
+
805
1080
  # A resource that represents a Google Cloud location.
806
1081
  class Location
807
1082
  include Google::Apis::Core::Hashable
@@ -853,6 +1128,11 @@ module Google
853
1128
  class ManagementSettings
854
1129
  include Google::Apis::Core::Hashable
855
1130
 
1131
+ # Output only. The actual transfer lock state for this `Registration`.
1132
+ # Corresponds to the JSON property `effectiveTransferLockState`
1133
+ # @return [String]
1134
+ attr_accessor :effective_transfer_lock_state
1135
+
856
1136
  # Optional. The desired renewal method for this `Registration`. The actual `
857
1137
  # renewal_method` is automatically updated to reflect this choice. If unset or
858
1138
  # equal to `RENEWAL_METHOD_UNSPECIFIED`, the actual `renewalMethod` is treated
@@ -881,7 +1161,13 @@ module Google
881
1161
  attr_accessor :renewal_method
882
1162
 
883
1163
  # This is the desired transfer lock state for this `Registration`. A transfer
884
- # lock controls whether the domain can be transferred to another registrar.
1164
+ # lock controls whether the domain can be transferred to another registrar. The
1165
+ # transfer lock state of the domain is returned in the `
1166
+ # effective_transfer_lock_state` property. The transfer lock state values might
1167
+ # be different for the following reasons: * `transfer_lock_state` was updated
1168
+ # only a short time ago. * Domains with the `
1169
+ # TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY` state are in the list of `
1170
+ # domain_properties`. These domains are always in the `UNLOCKED` state.
885
1171
  # Corresponds to the JSON property `transferLockState`
886
1172
  # @return [String]
887
1173
  attr_accessor :transfer_lock_state
@@ -892,6 +1178,7 @@ module Google
892
1178
 
893
1179
  # Update properties of this object
894
1180
  def update!(**args)
1181
+ @effective_transfer_lock_state = args[:effective_transfer_lock_state] if args.key?(:effective_transfer_lock_state)
895
1182
  @preferred_renewal_method = args[:preferred_renewal_method] if args.key?(:preferred_renewal_method)
896
1183
  @renewal_method = args[:renewal_method] if args.key?(:renewal_method)
897
1184
  @transfer_lock_state = args[:transfer_lock_state] if args.key?(:transfer_lock_state)
@@ -1273,6 +1560,92 @@ module Google
1273
1560
  end
1274
1561
  end
1275
1562
 
1563
+ # Configures a RRSetRoutingPolicy such that all queries are responded with the
1564
+ # primary_targets if they are healthy. And if all of them are unhealthy, then we
1565
+ # fallback to a geo localized policy.
1566
+ class PrimaryBackupPolicy
1567
+ include Google::Apis::Core::Hashable
1568
+
1569
+ # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the
1570
+ # querying user.
1571
+ # Corresponds to the JSON property `backupGeoTargets`
1572
+ # @return [Google::Apis::DomainsV1beta1::GeoPolicy]
1573
+ attr_accessor :backup_geo_targets
1574
+
1575
+ # HealthCheckTargets describes endpoints to health-check when responding to
1576
+ # Routing Policy queries. Only the healthy endpoints will be included in the
1577
+ # response.
1578
+ # Corresponds to the JSON property `primaryTargets`
1579
+ # @return [Google::Apis::DomainsV1beta1::HealthCheckTargets]
1580
+ attr_accessor :primary_targets
1581
+
1582
+ # When serving state is `PRIMARY`, this field provides the option of sending a
1583
+ # small percentage of the traffic to the backup targets.
1584
+ # Corresponds to the JSON property `trickleTraffic`
1585
+ # @return [Float]
1586
+ attr_accessor :trickle_traffic
1587
+
1588
+ def initialize(**args)
1589
+ update!(**args)
1590
+ end
1591
+
1592
+ # Update properties of this object
1593
+ def update!(**args)
1594
+ @backup_geo_targets = args[:backup_geo_targets] if args.key?(:backup_geo_targets)
1595
+ @primary_targets = args[:primary_targets] if args.key?(:primary_targets)
1596
+ @trickle_traffic = args[:trickle_traffic] if args.key?(:trickle_traffic)
1597
+ end
1598
+ end
1599
+
1600
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
1601
+ # dynamically with the response varying based on configured properties such as
1602
+ # geolocation or by weighted random selection.
1603
+ class RrSetRoutingPolicy
1604
+ include Google::Apis::Core::Hashable
1605
+
1606
+ # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the
1607
+ # querying user.
1608
+ # Corresponds to the JSON property `geo`
1609
+ # @return [Google::Apis::DomainsV1beta1::GeoPolicy]
1610
+ attr_accessor :geo
1611
+
1612
+ # Configures a `RRSetRoutingPolicy` that routes based on the geo location of the
1613
+ # querying user.
1614
+ # Corresponds to the JSON property `geoPolicy`
1615
+ # @return [Google::Apis::DomainsV1beta1::GeoPolicy]
1616
+ attr_accessor :geo_policy
1617
+
1618
+ # Configures a RRSetRoutingPolicy such that all queries are responded with the
1619
+ # primary_targets if they are healthy. And if all of them are unhealthy, then we
1620
+ # fallback to a geo localized policy.
1621
+ # Corresponds to the JSON property `primaryBackup`
1622
+ # @return [Google::Apis::DomainsV1beta1::PrimaryBackupPolicy]
1623
+ attr_accessor :primary_backup
1624
+
1625
+ # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1626
+ # Corresponds to the JSON property `wrr`
1627
+ # @return [Google::Apis::DomainsV1beta1::WrrPolicy]
1628
+ attr_accessor :wrr
1629
+
1630
+ # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
1631
+ # Corresponds to the JSON property `wrrPolicy`
1632
+ # @return [Google::Apis::DomainsV1beta1::WrrPolicy]
1633
+ attr_accessor :wrr_policy
1634
+
1635
+ def initialize(**args)
1636
+ update!(**args)
1637
+ end
1638
+
1639
+ # Update properties of this object
1640
+ def update!(**args)
1641
+ @geo = args[:geo] if args.key?(:geo)
1642
+ @geo_policy = args[:geo_policy] if args.key?(:geo_policy)
1643
+ @primary_backup = args[:primary_backup] if args.key?(:primary_backup)
1644
+ @wrr = args[:wrr] if args.key?(:wrr)
1645
+ @wrr_policy = args[:wrr_policy] if args.key?(:wrr_policy)
1646
+ end
1647
+ end
1648
+
1276
1649
  # Request for the `RegisterDomain` method.
1277
1650
  class RegisterDomainRequest
1278
1651
  include Google::Apis::Core::Hashable
@@ -1433,6 +1806,11 @@ module Google
1433
1806
  # @return [String]
1434
1807
  attr_accessor :domain_name
1435
1808
 
1809
+ # Output only. Special properties of the domain.
1810
+ # Corresponds to the JSON property `domainProperties`
1811
+ # @return [Array<String>]
1812
+ attr_accessor :domain_properties
1813
+
1436
1814
  # Output only. The expiration timestamp of the `Registration`.
1437
1815
  # Corresponds to the JSON property `expireTime`
1438
1816
  # @return [String]
@@ -1502,6 +1880,7 @@ module Google
1502
1880
  @create_time = args[:create_time] if args.key?(:create_time)
1503
1881
  @dns_settings = args[:dns_settings] if args.key?(:dns_settings)
1504
1882
  @domain_name = args[:domain_name] if args.key?(:domain_name)
1883
+ @domain_properties = args[:domain_properties] if args.key?(:domain_properties)
1505
1884
  @expire_time = args[:expire_time] if args.key?(:expire_time)
1506
1885
  @issues = args[:issues] if args.key?(:issues)
1507
1886
  @labels = args[:labels] if args.key?(:labels)
@@ -1515,6 +1894,34 @@ module Google
1515
1894
  end
1516
1895
  end
1517
1896
 
1897
+ # Request for the `RenewDomain` method.
1898
+ class RenewDomainRequest
1899
+ include Google::Apis::Core::Hashable
1900
+
1901
+ # Optional. When true, only validation is performed, without actually renewing
1902
+ # the domain. For more information, see [Request validation](https://cloud.
1903
+ # google.com/apis/design/design_patterns#request_validation)
1904
+ # Corresponds to the JSON property `validateOnly`
1905
+ # @return [Boolean]
1906
+ attr_accessor :validate_only
1907
+ alias_method :validate_only?, :validate_only
1908
+
1909
+ # Represents an amount of money with its currency type.
1910
+ # Corresponds to the JSON property `yearlyPrice`
1911
+ # @return [Google::Apis::DomainsV1beta1::Money]
1912
+ attr_accessor :yearly_price
1913
+
1914
+ def initialize(**args)
1915
+ update!(**args)
1916
+ end
1917
+
1918
+ # Update properties of this object
1919
+ def update!(**args)
1920
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1921
+ @yearly_price = args[:yearly_price] if args.key?(:yearly_price)
1922
+ end
1923
+ end
1924
+
1518
1925
  # Request for the `ResetAuthorizationCode` method.
1519
1926
  class ResetAuthorizationCodeRequest
1520
1927
  include Google::Apis::Core::Hashable
@@ -1528,6 +1935,114 @@ module Google
1528
1935
  end
1529
1936
  end
1530
1937
 
1938
+ # A unit of data that is returned by the DNS servers.
1939
+ class ResourceRecordSet
1940
+ include Google::Apis::Core::Hashable
1941
+
1942
+ # For example, www.example.com.
1943
+ # Corresponds to the JSON property `name`
1944
+ # @return [String]
1945
+ attr_accessor :name
1946
+
1947
+ # A RRSetRoutingPolicy represents ResourceRecordSet data that is returned
1948
+ # dynamically with the response varying based on configured properties such as
1949
+ # geolocation or by weighted random selection.
1950
+ # Corresponds to the JSON property `routingPolicy`
1951
+ # @return [Google::Apis::DomainsV1beta1::RrSetRoutingPolicy]
1952
+ attr_accessor :routing_policy
1953
+
1954
+ # As defined in RFC 1035 (section 5) and RFC 1034 (section 3.6.1) -- see
1955
+ # examples.
1956
+ # Corresponds to the JSON property `rrdata`
1957
+ # @return [Array<String>]
1958
+ attr_accessor :rrdata
1959
+
1960
+ # As defined in RFC 4034 (section 3.2).
1961
+ # Corresponds to the JSON property `signatureRrdata`
1962
+ # @return [Array<String>]
1963
+ attr_accessor :signature_rrdata
1964
+
1965
+ # Number of seconds that this `ResourceRecordSet` can be cached by resolvers.
1966
+ # Corresponds to the JSON property `ttl`
1967
+ # @return [Fixnum]
1968
+ attr_accessor :ttl
1969
+
1970
+ # The identifier of a supported record type. See the list of Supported DNS
1971
+ # record types.
1972
+ # Corresponds to the JSON property `type`
1973
+ # @return [String]
1974
+ attr_accessor :type
1975
+
1976
+ def initialize(**args)
1977
+ update!(**args)
1978
+ end
1979
+
1980
+ # Update properties of this object
1981
+ def update!(**args)
1982
+ @name = args[:name] if args.key?(:name)
1983
+ @routing_policy = args[:routing_policy] if args.key?(:routing_policy)
1984
+ @rrdata = args[:rrdata] if args.key?(:rrdata)
1985
+ @signature_rrdata = args[:signature_rrdata] if args.key?(:signature_rrdata)
1986
+ @ttl = args[:ttl] if args.key?(:ttl)
1987
+ @type = args[:type] if args.key?(:type)
1988
+ end
1989
+ end
1990
+
1991
+ # Response for the `RetrieveGoogleDomainsDnsRecords` method.
1992
+ class RetrieveGoogleDomainsDnsRecordsResponse
1993
+ include Google::Apis::Core::Hashable
1994
+
1995
+ # When present, there are more results to retrieve. Set `page_token` to this
1996
+ # value on a subsequent call to get the next page of results.
1997
+ # Corresponds to the JSON property `nextPageToken`
1998
+ # @return [String]
1999
+ attr_accessor :next_page_token
2000
+
2001
+ # The resource record set resources (DNS Zone records).
2002
+ # Corresponds to the JSON property `rrset`
2003
+ # @return [Array<Google::Apis::DomainsV1beta1::ResourceRecordSet>]
2004
+ attr_accessor :rrset
2005
+
2006
+ def initialize(**args)
2007
+ update!(**args)
2008
+ end
2009
+
2010
+ # Update properties of this object
2011
+ def update!(**args)
2012
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
2013
+ @rrset = args[:rrset] if args.key?(:rrset)
2014
+ end
2015
+ end
2016
+
2017
+ # Response for the `RetrieveGoogleDomainsForwardingConfig` method.
2018
+ class RetrieveGoogleDomainsForwardingConfigResponse
2019
+ include Google::Apis::Core::Hashable
2020
+
2021
+ # The list of domain forwarding configurations. A forwarding configuration might
2022
+ # not work correctly if the required DNS records are not present in the domain's
2023
+ # authoritative DNS zone.
2024
+ # Corresponds to the JSON property `domainForwardings`
2025
+ # @return [Array<Google::Apis::DomainsV1beta1::DomainForwarding>]
2026
+ attr_accessor :domain_forwardings
2027
+
2028
+ # The list of email forwarding configurations. A forwarding configuration might
2029
+ # not work correctly if the required DNS records are not present in the domain's
2030
+ # authoritative DNS zone.
2031
+ # Corresponds to the JSON property `emailForwardings`
2032
+ # @return [Array<Google::Apis::DomainsV1beta1::EmailForwarding>]
2033
+ attr_accessor :email_forwardings
2034
+
2035
+ def initialize(**args)
2036
+ update!(**args)
2037
+ end
2038
+
2039
+ # Update properties of this object
2040
+ def update!(**args)
2041
+ @domain_forwardings = args[:domain_forwardings] if args.key?(:domain_forwardings)
2042
+ @email_forwardings = args[:email_forwardings] if args.key?(:email_forwardings)
2043
+ end
2044
+ end
2045
+
1531
2046
  # Deprecated: For more information, see [Cloud Domains feature deprecation](
1532
2047
  # https://cloud.google.com/domains/docs/deprecations/feature-deprecations).
1533
2048
  # Response for the `RetrieveImportableDomains` method.
@@ -1873,6 +2388,69 @@ module Google
1873
2388
  @yearly_price = args[:yearly_price] if args.key?(:yearly_price)
1874
2389
  end
1875
2390
  end
2391
+
2392
+ # Configures a RRSetRoutingPolicy that routes in a weighted round robin fashion.
2393
+ class WrrPolicy
2394
+ include Google::Apis::Core::Hashable
2395
+
2396
+ #
2397
+ # Corresponds to the JSON property `item`
2398
+ # @return [Array<Google::Apis::DomainsV1beta1::WrrPolicyItem>]
2399
+ attr_accessor :item
2400
+
2401
+ def initialize(**args)
2402
+ update!(**args)
2403
+ end
2404
+
2405
+ # Update properties of this object
2406
+ def update!(**args)
2407
+ @item = args[:item] if args.key?(:item)
2408
+ end
2409
+ end
2410
+
2411
+ # A routing block which contains the routing information for one WRR item.
2412
+ class WrrPolicyItem
2413
+ include Google::Apis::Core::Hashable
2414
+
2415
+ # HealthCheckTargets describes endpoints to health-check when responding to
2416
+ # Routing Policy queries. Only the healthy endpoints will be included in the
2417
+ # response.
2418
+ # Corresponds to the JSON property `healthCheckedTargets`
2419
+ # @return [Google::Apis::DomainsV1beta1::HealthCheckTargets]
2420
+ attr_accessor :health_checked_targets
2421
+
2422
+ #
2423
+ # Corresponds to the JSON property `rrdata`
2424
+ # @return [Array<String>]
2425
+ attr_accessor :rrdata
2426
+
2427
+ # DNSSEC generated signatures for all the `rrdata` within this item. Note that
2428
+ # if health checked targets are provided for DNSSEC enabled zones, there's a
2429
+ # restriction of 1 IP address per item.
2430
+ # Corresponds to the JSON property `signatureRrdata`
2431
+ # @return [Array<String>]
2432
+ attr_accessor :signature_rrdata
2433
+
2434
+ # The weight corresponding to this `WrrPolicyItem` object. When multiple `
2435
+ # WrrPolicyItem` objects are configured, the probability of returning an `
2436
+ # WrrPolicyItem` object's data is proportional to its weight relative to the sum
2437
+ # of weights configured for all items. This weight must be non-negative.
2438
+ # Corresponds to the JSON property `weight`
2439
+ # @return [Float]
2440
+ attr_accessor :weight
2441
+
2442
+ def initialize(**args)
2443
+ update!(**args)
2444
+ end
2445
+
2446
+ # Update properties of this object
2447
+ def update!(**args)
2448
+ @health_checked_targets = args[:health_checked_targets] if args.key?(:health_checked_targets)
2449
+ @rrdata = args[:rrdata] if args.key?(:rrdata)
2450
+ @signature_rrdata = args[:signature_rrdata] if args.key?(:signature_rrdata)
2451
+ @weight = args[:weight] if args.key?(:weight)
2452
+ end
2453
+ end
1876
2454
  end
1877
2455
  end
1878
2456
  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.37.0"
19
+ GEM_VERSION = "0.39.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240520"
25
+ REVISION = "20240610"
26
26
  end
27
27
  end
28
28
  end
@@ -94,12 +94,24 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class DomainForwarding
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class DsRecord
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
100
106
  include Google::Apis::Core::JsonObjectSupport
101
107
  end
102
108
 
109
+ class EmailForwarding
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
103
115
  class ExportRegistrationRequest
104
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
117
 
@@ -112,6 +124,18 @@ module Google
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
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
+
115
139
  class GlueRecord
116
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
141
 
@@ -124,12 +148,24 @@ module Google
124
148
  include Google::Apis::Core::JsonObjectSupport
125
149
  end
126
150
 
151
+ class HealthCheckTargets
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
127
157
  class ImportDomainRequest
128
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
159
 
130
160
  include Google::Apis::Core::JsonObjectSupport
131
161
  end
132
162
 
163
+ class InitiatePushTransferRequest
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
133
169
  class ListLocationsResponse
134
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
171
 
@@ -148,6 +184,12 @@ module Google
148
184
  include Google::Apis::Core::JsonObjectSupport
149
185
  end
150
186
 
187
+ class LoadBalancerTarget
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
151
193
  class Location
152
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
195
 
@@ -190,6 +232,18 @@ module Google
190
232
  include Google::Apis::Core::JsonObjectSupport
191
233
  end
192
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
+
193
247
  class RegisterDomainRequest
194
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
249
 
@@ -208,12 +262,36 @@ module Google
208
262
  include Google::Apis::Core::JsonObjectSupport
209
263
  end
210
264
 
265
+ class RenewDomainRequest
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
211
271
  class ResetAuthorizationCodeRequest
212
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
273
 
214
274
  include Google::Apis::Core::JsonObjectSupport
215
275
  end
216
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
+
289
+ class RetrieveGoogleDomainsForwardingConfigResponse
290
+ class Representation < Google::Apis::Core::JsonRepresentation; end
291
+
292
+ include Google::Apis::Core::JsonObjectSupport
293
+ end
294
+
217
295
  class RetrieveImportableDomainsResponse
218
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
297
 
@@ -274,6 +352,18 @@ module Google
274
352
  include Google::Apis::Core::JsonObjectSupport
275
353
  end
276
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
+
277
367
  class AuditConfig
278
368
  # @private
279
369
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -380,6 +470,7 @@ module Google
380
470
 
381
471
  property :google_domains_dns, as: 'googleDomainsDns', class: Google::Apis::DomainsV1beta1::GoogleDomainsDns, decorator: Google::Apis::DomainsV1beta1::GoogleDomainsDns::Representation
382
472
 
473
+ property :google_domains_redirects_data_available, as: 'googleDomainsRedirectsDataAvailable'
383
474
  end
384
475
  end
385
476
 
@@ -393,6 +484,18 @@ module Google
393
484
  end
394
485
  end
395
486
 
487
+ class DomainForwarding
488
+ # @private
489
+ class Representation < Google::Apis::Core::JsonRepresentation
490
+ property :path_forwarding, as: 'pathForwarding'
491
+ property :pem_certificate, as: 'pemCertificate'
492
+ property :redirect_type, as: 'redirectType'
493
+ property :ssl_enabled, as: 'sslEnabled'
494
+ property :subdomain, as: 'subdomain'
495
+ property :target_uri, as: 'targetUri'
496
+ end
497
+ end
498
+
396
499
  class DsRecord
397
500
  # @private
398
501
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -403,6 +506,14 @@ module Google
403
506
  end
404
507
  end
405
508
 
509
+ class EmailForwarding
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :alias, as: 'alias'
513
+ property :target_email_address, as: 'targetEmailAddress'
514
+ end
515
+ end
516
+
406
517
  class ExportRegistrationRequest
407
518
  # @private
408
519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -419,6 +530,26 @@ module Google
419
530
  end
420
531
  end
421
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
+
422
553
  class GlueRecord
423
554
  # @private
424
555
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -438,6 +569,14 @@ module Google
438
569
  end
439
570
  end
440
571
 
572
+ class HealthCheckTargets
573
+ # @private
574
+ class Representation < Google::Apis::Core::JsonRepresentation
575
+ collection :internal_load_balancer, as: 'internalLoadBalancer', class: Google::Apis::DomainsV1beta1::LoadBalancerTarget, decorator: Google::Apis::DomainsV1beta1::LoadBalancerTarget::Representation
576
+
577
+ end
578
+ end
579
+
441
580
  class ImportDomainRequest
442
581
  # @private
443
582
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -446,6 +585,13 @@ module Google
446
585
  end
447
586
  end
448
587
 
588
+ class InitiatePushTransferRequest
589
+ # @private
590
+ class Representation < Google::Apis::Core::JsonRepresentation
591
+ property :tag, as: 'tag'
592
+ end
593
+ end
594
+
449
595
  class ListLocationsResponse
450
596
  # @private
451
597
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -473,6 +619,19 @@ module Google
473
619
  end
474
620
  end
475
621
 
622
+ class LoadBalancerTarget
623
+ # @private
624
+ class Representation < Google::Apis::Core::JsonRepresentation
625
+ property :ip_address, as: 'ipAddress'
626
+ property :ip_protocol, as: 'ipProtocol'
627
+ property :load_balancer_type, as: 'loadBalancerType'
628
+ property :network_url, as: 'networkUrl'
629
+ property :port, as: 'port'
630
+ property :project, as: 'project'
631
+ property :region, as: 'region'
632
+ end
633
+ end
634
+
476
635
  class Location
477
636
  # @private
478
637
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -487,6 +646,7 @@ module Google
487
646
  class ManagementSettings
488
647
  # @private
489
648
  class Representation < Google::Apis::Core::JsonRepresentation
649
+ property :effective_transfer_lock_state, as: 'effectiveTransferLockState'
490
650
  property :preferred_renewal_method, as: 'preferredRenewalMethod'
491
651
  property :renewal_method, as: 'renewalMethod'
492
652
  property :transfer_lock_state, as: 'transferLockState'
@@ -555,6 +715,33 @@ module Google
555
715
  end
556
716
  end
557
717
 
718
+ class PrimaryBackupPolicy
719
+ # @private
720
+ class Representation < Google::Apis::Core::JsonRepresentation
721
+ property :backup_geo_targets, as: 'backupGeoTargets', class: Google::Apis::DomainsV1beta1::GeoPolicy, decorator: Google::Apis::DomainsV1beta1::GeoPolicy::Representation
722
+
723
+ property :primary_targets, as: 'primaryTargets', class: Google::Apis::DomainsV1beta1::HealthCheckTargets, decorator: Google::Apis::DomainsV1beta1::HealthCheckTargets::Representation
724
+
725
+ property :trickle_traffic, as: 'trickleTraffic'
726
+ end
727
+ end
728
+
729
+ class RrSetRoutingPolicy
730
+ # @private
731
+ class Representation < Google::Apis::Core::JsonRepresentation
732
+ property :geo, as: 'geo', class: Google::Apis::DomainsV1beta1::GeoPolicy, decorator: Google::Apis::DomainsV1beta1::GeoPolicy::Representation
733
+
734
+ property :geo_policy, as: 'geoPolicy', class: Google::Apis::DomainsV1beta1::GeoPolicy, decorator: Google::Apis::DomainsV1beta1::GeoPolicy::Representation
735
+
736
+ property :primary_backup, as: 'primaryBackup', class: Google::Apis::DomainsV1beta1::PrimaryBackupPolicy, decorator: Google::Apis::DomainsV1beta1::PrimaryBackupPolicy::Representation
737
+
738
+ property :wrr, as: 'wrr', class: Google::Apis::DomainsV1beta1::WrrPolicy, decorator: Google::Apis::DomainsV1beta1::WrrPolicy::Representation
739
+
740
+ property :wrr_policy, as: 'wrrPolicy', class: Google::Apis::DomainsV1beta1::WrrPolicy, decorator: Google::Apis::DomainsV1beta1::WrrPolicy::Representation
741
+
742
+ end
743
+ end
744
+
558
745
  class RegisterDomainRequest
559
746
  # @private
560
747
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -589,6 +776,7 @@ module Google
589
776
  property :dns_settings, as: 'dnsSettings', class: Google::Apis::DomainsV1beta1::DnsSettings, decorator: Google::Apis::DomainsV1beta1::DnsSettings::Representation
590
777
 
591
778
  property :domain_name, as: 'domainName'
779
+ collection :domain_properties, as: 'domainProperties'
592
780
  property :expire_time, as: 'expireTime'
593
781
  collection :issues, as: 'issues'
594
782
  hash :labels, as: 'labels'
@@ -604,12 +792,53 @@ module Google
604
792
  end
605
793
  end
606
794
 
795
+ class RenewDomainRequest
796
+ # @private
797
+ class Representation < Google::Apis::Core::JsonRepresentation
798
+ property :validate_only, as: 'validateOnly'
799
+ property :yearly_price, as: 'yearlyPrice', class: Google::Apis::DomainsV1beta1::Money, decorator: Google::Apis::DomainsV1beta1::Money::Representation
800
+
801
+ end
802
+ end
803
+
607
804
  class ResetAuthorizationCodeRequest
608
805
  # @private
609
806
  class Representation < Google::Apis::Core::JsonRepresentation
610
807
  end
611
808
  end
612
809
 
810
+ class ResourceRecordSet
811
+ # @private
812
+ class Representation < Google::Apis::Core::JsonRepresentation
813
+ property :name, as: 'name'
814
+ property :routing_policy, as: 'routingPolicy', class: Google::Apis::DomainsV1beta1::RrSetRoutingPolicy, decorator: Google::Apis::DomainsV1beta1::RrSetRoutingPolicy::Representation
815
+
816
+ collection :rrdata, as: 'rrdata'
817
+ collection :signature_rrdata, as: 'signatureRrdata'
818
+ property :ttl, as: 'ttl'
819
+ property :type, as: 'type'
820
+ end
821
+ end
822
+
823
+ class RetrieveGoogleDomainsDnsRecordsResponse
824
+ # @private
825
+ class Representation < Google::Apis::Core::JsonRepresentation
826
+ property :next_page_token, as: 'nextPageToken'
827
+ collection :rrset, as: 'rrset', class: Google::Apis::DomainsV1beta1::ResourceRecordSet, decorator: Google::Apis::DomainsV1beta1::ResourceRecordSet::Representation
828
+
829
+ end
830
+ end
831
+
832
+ class RetrieveGoogleDomainsForwardingConfigResponse
833
+ # @private
834
+ class Representation < Google::Apis::Core::JsonRepresentation
835
+ collection :domain_forwardings, as: 'domainForwardings', class: Google::Apis::DomainsV1beta1::DomainForwarding, decorator: Google::Apis::DomainsV1beta1::DomainForwarding::Representation
836
+
837
+ collection :email_forwardings, as: 'emailForwardings', class: Google::Apis::DomainsV1beta1::EmailForwarding, decorator: Google::Apis::DomainsV1beta1::EmailForwarding::Representation
838
+
839
+ end
840
+ end
841
+
613
842
  class RetrieveImportableDomainsResponse
614
843
  # @private
615
844
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -702,6 +931,25 @@ module Google
702
931
 
703
932
  end
704
933
  end
934
+
935
+ class WrrPolicy
936
+ # @private
937
+ class Representation < Google::Apis::Core::JsonRepresentation
938
+ collection :item, as: 'item', class: Google::Apis::DomainsV1beta1::WrrPolicyItem, decorator: Google::Apis::DomainsV1beta1::WrrPolicyItem::Representation
939
+
940
+ end
941
+ end
942
+
943
+ class WrrPolicyItem
944
+ # @private
945
+ class Representation < Google::Apis::Core::JsonRepresentation
946
+ property :health_checked_targets, as: 'healthCheckedTargets', class: Google::Apis::DomainsV1beta1::HealthCheckTargets, decorator: Google::Apis::DomainsV1beta1::HealthCheckTargets::Representation
947
+
948
+ collection :rrdata, as: 'rrdata'
949
+ collection :signature_rrdata, as: 'signatureRrdata'
950
+ property :weight, as: 'weight'
951
+ end
952
+ end
705
953
  end
706
954
  end
707
955
  end
@@ -505,6 +505,48 @@ module Google
505
505
  execute_or_queue_command(command, &block)
506
506
  end
507
507
 
508
+ # Initiates the `Push Transfer` process to transfer the domain to another
509
+ # registrar. The process might complete instantly or might require confirmation
510
+ # or additional work. Check the emails sent to the email address of the
511
+ # registrant. The process is aborted after a timeout if it's not completed. This
512
+ # method is only supported for domains that have the `REQUIRE_PUSH_TRANSFER`
513
+ # property in the list of `domain_properties`. The domain must also be unlocked
514
+ # before it can be transferred to a different registrar. For more information,
515
+ # see [Transfer a registered domain to another registrar](https://cloud.google.
516
+ # com/domains/docs/transfer-domain-to-another-registrar).
517
+ # @param [String] registration
518
+ # Required. The name of the `Registration` for which the push transfer is
519
+ # initiated, in the format `projects/*/locations/*/registrations/*`.
520
+ # @param [Google::Apis::DomainsV1beta1::InitiatePushTransferRequest] initiate_push_transfer_request_object
521
+ # @param [String] fields
522
+ # Selector specifying which fields to include in a partial response.
523
+ # @param [String] quota_user
524
+ # Available to use for quota purposes for server-side applications. Can be any
525
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
526
+ # @param [Google::Apis::RequestOptions] options
527
+ # Request-specific options
528
+ #
529
+ # @yield [result, err] Result & error if block supplied
530
+ # @yieldparam result [Google::Apis::DomainsV1beta1::Operation] parsed result object
531
+ # @yieldparam err [StandardError] error object if request failed
532
+ #
533
+ # @return [Google::Apis::DomainsV1beta1::Operation]
534
+ #
535
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
536
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
537
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
538
+ def initiate_registration_push_transfer(registration, initiate_push_transfer_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
539
+ command = make_simple_command(:post, 'v1beta1/{+registration}:initiatePushTransfer', options)
540
+ command.request_representation = Google::Apis::DomainsV1beta1::InitiatePushTransferRequest::Representation
541
+ command.request_object = initiate_push_transfer_request_object
542
+ command.response_representation = Google::Apis::DomainsV1beta1::Operation::Representation
543
+ command.response_class = Google::Apis::DomainsV1beta1::Operation
544
+ command.params['registration'] = registration unless registration.nil?
545
+ command.query['fields'] = fields unless fields.nil?
546
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
547
+ execute_or_queue_command(command, &block)
548
+ end
549
+
508
550
  # Lists the `Registration` resources in a project.
509
551
  # @param [String] parent
510
552
  # Required. The project and location from which to list `Registration`s,
@@ -641,9 +683,49 @@ module Google
641
683
  execute_or_queue_command(command, &block)
642
684
  end
643
685
 
686
+ # Renews a recently expired domain. This method can only be called on domains
687
+ # that expired in the previous 30 days. After the renewal, the new expiration
688
+ # time of the domain is one year after the old expiration time and you are
689
+ # charged a `yearly_price` for the renewal.
690
+ # @param [String] registration
691
+ # Required. The name of the `Registration` whish is being renewed, in the format
692
+ # `projects/*/locations/*/registrations/*`.
693
+ # @param [Google::Apis::DomainsV1beta1::RenewDomainRequest] renew_domain_request_object
694
+ # @param [String] fields
695
+ # Selector specifying which fields to include in a partial response.
696
+ # @param [String] quota_user
697
+ # Available to use for quota purposes for server-side applications. Can be any
698
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
699
+ # @param [Google::Apis::RequestOptions] options
700
+ # Request-specific options
701
+ #
702
+ # @yield [result, err] Result & error if block supplied
703
+ # @yieldparam result [Google::Apis::DomainsV1beta1::Operation] parsed result object
704
+ # @yieldparam err [StandardError] error object if request failed
705
+ #
706
+ # @return [Google::Apis::DomainsV1beta1::Operation]
707
+ #
708
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
709
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
710
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
711
+ def renew_registration_domain(registration, renew_domain_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
712
+ command = make_simple_command(:post, 'v1beta1/{+registration}:renewDomain', options)
713
+ command.request_representation = Google::Apis::DomainsV1beta1::RenewDomainRequest::Representation
714
+ command.request_object = renew_domain_request_object
715
+ command.response_representation = Google::Apis::DomainsV1beta1::Operation::Representation
716
+ command.response_class = Google::Apis::DomainsV1beta1::Operation
717
+ command.params['registration'] = registration unless registration.nil?
718
+ command.query['fields'] = fields unless fields.nil?
719
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
720
+ execute_or_queue_command(command, &block)
721
+ end
722
+
644
723
  # Resets the authorization code of the `Registration` to a new random string.
645
724
  # You can call this method only after 60 days have elapsed since the initial
646
- # domain registration.
725
+ # domain registration. Domains that have the `REQUIRE_PUSH_TRANSFER` property in
726
+ # the list of `domain_properties` don't support authorization codes and must use
727
+ # the `InitiatePushTransfer` method to initiate the process to transfer the
728
+ # domain to a different registrar.
647
729
  # @param [String] registration
648
730
  # Required. The name of the `Registration` whose authorization code is being
649
731
  # reset, in the format `projects/*/locations/*/registrations/*`.
@@ -679,7 +761,10 @@ module Google
679
761
 
680
762
  # Gets the authorization code of the `Registration` for the purpose of
681
763
  # transferring the domain to another registrar. You can call this method only
682
- # after 60 days have elapsed since the initial domain registration.
764
+ # after 60 days have elapsed since the initial domain registration. Domains that
765
+ # have the `REQUIRE_PUSH_TRANSFER` property in the list of `domain_properties`
766
+ # don't support authorization codes and must use the `InitiatePushTransfer`
767
+ # method to initiate the process to transfer the domain to a different registrar.
683
768
  # @param [String] registration
684
769
  # Required. The name of the `Registration` whose authorization code is being
685
770
  # retrieved, in the format `projects/*/locations/*/registrations/*`.
@@ -710,6 +795,83 @@ module Google
710
795
  execute_or_queue_command(command, &block)
711
796
  end
712
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
+
838
+ # Lists the deprecated domain and email forwarding configurations you set up in
839
+ # the deprecated Google Domains UI. The configuration is present only for
840
+ # domains with the `google_domains_redirects_data_available` set to `true` in
841
+ # the `Registration`'s `dns_settings`. A forwarding configuration might not work
842
+ # correctly if required DNS records are not present in the domain's
843
+ # authoritative DNS Zone.
844
+ # @param [String] registration
845
+ # Required. The name of the `Registration` whose Google Domains forwarding
846
+ # configuration details are being retrieved, in the format `projects/*/locations/
847
+ # */registrations/*`.
848
+ # @param [String] fields
849
+ # Selector specifying which fields to include in a partial response.
850
+ # @param [String] quota_user
851
+ # Available to use for quota purposes for server-side applications. Can be any
852
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
853
+ # @param [Google::Apis::RequestOptions] options
854
+ # Request-specific options
855
+ #
856
+ # @yield [result, err] Result & error if block supplied
857
+ # @yieldparam result [Google::Apis::DomainsV1beta1::RetrieveGoogleDomainsForwardingConfigResponse] parsed result object
858
+ # @yieldparam err [StandardError] error object if request failed
859
+ #
860
+ # @return [Google::Apis::DomainsV1beta1::RetrieveGoogleDomainsForwardingConfigResponse]
861
+ #
862
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
863
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
864
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
865
+ def retrieve_project_location_registration_google_domains_forwarding_config(registration, fields: nil, quota_user: nil, options: nil, &block)
866
+ command = make_simple_command(:get, 'v1beta1/{+registration}:retrieveGoogleDomainsForwardingConfig', options)
867
+ command.response_representation = Google::Apis::DomainsV1beta1::RetrieveGoogleDomainsForwardingConfigResponse::Representation
868
+ command.response_class = Google::Apis::DomainsV1beta1::RetrieveGoogleDomainsForwardingConfigResponse
869
+ command.params['registration'] = registration unless registration.nil?
870
+ command.query['fields'] = fields unless fields.nil?
871
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
872
+ execute_or_queue_command(command, &block)
873
+ end
874
+
713
875
  # Deprecated: For more information, see [Cloud Domains feature deprecation](
714
876
  # https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Lists
715
877
  # domain names from [Google Domains](https://domains.google/) that can be
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.37.0
4
+ version: 0.39.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-05-26 00:00:00.000000000 Z
11
+ date: 2024-06-16 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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1beta1/v0.39.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: []