google-apis-domains_v1 0.26.0 → 0.27.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: 4ceb966514c63bf3cbf54135f726f21a73d763642ea9700860eccf210e14cec0
4
- data.tar.gz: 14e3c28f8d650c12b593b59660e2033fa1ed12c79467f4f1c8ef185e7814e988
3
+ metadata.gz: 2e00804c34b4393f584c66baab2b281fcc3c390dab0824f7a40b7fa97463a400
4
+ data.tar.gz: 769561a79ee3bf2aa4d10f8f3e0062ca0b4fccab38d392d139dbdb493f920a57
5
5
  SHA512:
6
- metadata.gz: 5e0113cad5b32aa0d25669fcf135693d44f12ef67c60f0755deff100c68a3daed80438e88e60b58fd6de8722adbf5683cd271d4fb187ca611cfb6f05f45dcafd
7
- data.tar.gz: 5ec4b311ae6ef184c7473faa5e5c189901194ca024b3c4b92a2b506867dbf0bd5a85a67a429d50c3d82e87091e768adfd0735925c02253b66ef9dc997071b2d1
6
+ metadata.gz: 54261419cd6b607fb1f477432c6e10cb15a06060a7c710e2b383fe0f22a44609ac677822d35524559c0cb9032c1eb6d2790846f70ecc2c4b5f06ec2aa643c3dc
7
+ data.tar.gz: e2189959fce23798b961c90ac95ce10094c9fb5cd1a0b915f5d07151153789ae7cb41db36ffe5bccc7de21f5cde2aa4fcc783fa9e74816a7a10bda98c5e437fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-domains_v1
2
2
 
3
+ ### v0.27.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240603
6
+
3
7
  ### v0.26.0 (2024-05-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20240520
@@ -509,6 +509,61 @@ module Google
509
509
  end
510
510
  end
511
511
 
512
+ # Domain forwarding configuration.
513
+ class DomainForwarding
514
+ include Google::Apis::Core::Hashable
515
+
516
+ # If true, forwards the path after the domain name to the same path at the new
517
+ # address.
518
+ # Corresponds to the JSON property `pathForwarding`
519
+ # @return [Boolean]
520
+ attr_accessor :path_forwarding
521
+ alias_method :path_forwarding?, :path_forwarding
522
+
523
+ # The PEM-encoded certificate chain.
524
+ # Corresponds to the JSON property `pemCertificate`
525
+ # @return [String]
526
+ attr_accessor :pem_certificate
527
+
528
+ # The redirect type.
529
+ # Corresponds to the JSON property `redirectType`
530
+ # @return [String]
531
+ attr_accessor :redirect_type
532
+
533
+ # If true, the forwarding works also over HTTPS.
534
+ # Corresponds to the JSON property `sslEnabled`
535
+ # @return [Boolean]
536
+ attr_accessor :ssl_enabled
537
+ alias_method :ssl_enabled?, :ssl_enabled
538
+
539
+ # The subdomain of the registered domain that is being forwarded. E.g. `www.
540
+ # example.com`, `example.com` (i.e. the registered domain itself) or `*.example.
541
+ # com` (i.e. all subdomains).
542
+ # Corresponds to the JSON property `subdomain`
543
+ # @return [String]
544
+ attr_accessor :subdomain
545
+
546
+ # The target of the domain forwarding, i.e. the path to redirect the `subdomain`
547
+ # to.
548
+ # Corresponds to the JSON property `targetUri`
549
+ # @return [String]
550
+ attr_accessor :target_uri
551
+
552
+ def initialize(**args)
553
+ update!(**args)
554
+ end
555
+
556
+ # Update properties of this object
557
+ def update!(**args)
558
+ @path_forwarding = args[:path_forwarding] if args.key?(:path_forwarding)
559
+ @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate)
560
+ @redirect_type = args[:redirect_type] if args.key?(:redirect_type)
561
+ @ssl_enabled = args[:ssl_enabled] if args.key?(:ssl_enabled)
562
+ @subdomain = args[:subdomain] if args.key?(:subdomain)
563
+ @target_uri = args[:target_uri] if args.key?(:target_uri)
564
+ end
565
+ end
566
+
512
567
  # Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for
513
568
  # a domain. It contains a digest (hash) of a DNSKEY record that must be present
514
569
  # in the domain's DNS zone.
@@ -548,6 +603,33 @@ module Google
548
603
  end
549
604
  end
550
605
 
606
+ # Email forwarding configuration.
607
+ class EmailForwarding
608
+ include Google::Apis::Core::Hashable
609
+
610
+ # An alias recipient email that forwards emails to the `target_email_address`.
611
+ # For example, `admin@example.com` or `*@example.com` (wildcard alias forwards
612
+ # all the emails under the registered domain).
613
+ # Corresponds to the JSON property `alias`
614
+ # @return [String]
615
+ attr_accessor :alias
616
+
617
+ # Target email that receives emails sent to the `alias`.
618
+ # Corresponds to the JSON property `targetEmailAddress`
619
+ # @return [String]
620
+ attr_accessor :target_email_address
621
+
622
+ def initialize(**args)
623
+ update!(**args)
624
+ end
625
+
626
+ # Update properties of this object
627
+ def update!(**args)
628
+ @alias = args[:alias] if args.key?(:alias)
629
+ @target_email_address = args[:target_email_address] if args.key?(:target_email_address)
630
+ end
631
+ end
632
+
551
633
  # Deprecated: For more information, see [Cloud Domains feature deprecation](
552
634
  # https://cloud.google.com/domains/docs/deprecations/feature-deprecations).
553
635
  # Request for the `ExportRegistration` method.
@@ -726,6 +808,26 @@ module Google
726
808
  end
727
809
  end
728
810
 
811
+ # Request for the `InitiatePushTransfer` method.
812
+ class InitiatePushTransferRequest
813
+ include Google::Apis::Core::Hashable
814
+
815
+ # Required. The Tag of the new registrar. Can be found at [List of registrars](
816
+ # https://nominet.uk/registrar-list/).
817
+ # Corresponds to the JSON property `tag`
818
+ # @return [String]
819
+ attr_accessor :tag
820
+
821
+ def initialize(**args)
822
+ update!(**args)
823
+ end
824
+
825
+ # Update properties of this object
826
+ def update!(**args)
827
+ @tag = args[:tag] if args.key?(:tag)
828
+ end
829
+ end
830
+
729
831
  # The response message for Locations.ListLocations.
730
832
  class ListLocationsResponse
731
833
  include Google::Apis::Core::Hashable
@@ -853,6 +955,11 @@ module Google
853
955
  class ManagementSettings
854
956
  include Google::Apis::Core::Hashable
855
957
 
958
+ # Output only. The actual transfer lock state for this `Registration`.
959
+ # Corresponds to the JSON property `effectiveTransferLockState`
960
+ # @return [String]
961
+ attr_accessor :effective_transfer_lock_state
962
+
856
963
  # Optional. The desired renewal method for this `Registration`. The actual `
857
964
  # renewal_method` is automatically updated to reflect this choice. If unset or
858
965
  # equal to `RENEWAL_METHOD_UNSPECIFIED`, the actual `renewalMethod` is treated
@@ -881,7 +988,13 @@ module Google
881
988
  attr_accessor :renewal_method
882
989
 
883
990
  # This is the desired transfer lock state for this `Registration`. A transfer
884
- # lock controls whether the domain can be transferred to another registrar.
991
+ # lock controls whether the domain can be transferred to another registrar. The
992
+ # transfer lock state of the domain is returned in the `
993
+ # effective_transfer_lock_state` property. The transfer lock state values might
994
+ # be different for the following reasons: * `transfer_lock_state` was updated
995
+ # only a short time ago. * Domains with the `
996
+ # TRANSFER_LOCK_UNSUPPORTED_BY_REGISTRY` state are in the list of `
997
+ # domain_properties`. These domains are always in the `UNLOCKED` state.
885
998
  # Corresponds to the JSON property `transferLockState`
886
999
  # @return [String]
887
1000
  attr_accessor :transfer_lock_state
@@ -892,6 +1005,7 @@ module Google
892
1005
 
893
1006
  # Update properties of this object
894
1007
  def update!(**args)
1008
+ @effective_transfer_lock_state = args[:effective_transfer_lock_state] if args.key?(:effective_transfer_lock_state)
895
1009
  @preferred_renewal_method = args[:preferred_renewal_method] if args.key?(:preferred_renewal_method)
896
1010
  @renewal_method = args[:renewal_method] if args.key?(:renewal_method)
897
1011
  @transfer_lock_state = args[:transfer_lock_state] if args.key?(:transfer_lock_state)
@@ -1433,6 +1547,11 @@ module Google
1433
1547
  # @return [String]
1434
1548
  attr_accessor :domain_name
1435
1549
 
1550
+ # Output only. Special properties of the domain.
1551
+ # Corresponds to the JSON property `domainProperties`
1552
+ # @return [Array<String>]
1553
+ attr_accessor :domain_properties
1554
+
1436
1555
  # Output only. The expiration timestamp of the `Registration`.
1437
1556
  # Corresponds to the JSON property `expireTime`
1438
1557
  # @return [String]
@@ -1502,6 +1621,7 @@ module Google
1502
1621
  @create_time = args[:create_time] if args.key?(:create_time)
1503
1622
  @dns_settings = args[:dns_settings] if args.key?(:dns_settings)
1504
1623
  @domain_name = args[:domain_name] if args.key?(:domain_name)
1624
+ @domain_properties = args[:domain_properties] if args.key?(:domain_properties)
1505
1625
  @expire_time = args[:expire_time] if args.key?(:expire_time)
1506
1626
  @issues = args[:issues] if args.key?(:issues)
1507
1627
  @labels = args[:labels] if args.key?(:labels)
@@ -1515,6 +1635,34 @@ module Google
1515
1635
  end
1516
1636
  end
1517
1637
 
1638
+ # Request for the `RenewDomain` method.
1639
+ class RenewDomainRequest
1640
+ include Google::Apis::Core::Hashable
1641
+
1642
+ # Optional. When true, only validation is performed, without actually renewing
1643
+ # the domain. For more information, see [Request validation](https://cloud.
1644
+ # google.com/apis/design/design_patterns#request_validation)
1645
+ # Corresponds to the JSON property `validateOnly`
1646
+ # @return [Boolean]
1647
+ attr_accessor :validate_only
1648
+ alias_method :validate_only?, :validate_only
1649
+
1650
+ # Represents an amount of money with its currency type.
1651
+ # Corresponds to the JSON property `yearlyPrice`
1652
+ # @return [Google::Apis::DomainsV1::Money]
1653
+ attr_accessor :yearly_price
1654
+
1655
+ def initialize(**args)
1656
+ update!(**args)
1657
+ end
1658
+
1659
+ # Update properties of this object
1660
+ def update!(**args)
1661
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1662
+ @yearly_price = args[:yearly_price] if args.key?(:yearly_price)
1663
+ end
1664
+ end
1665
+
1518
1666
  # Request for the `ResetAuthorizationCode` method.
1519
1667
  class ResetAuthorizationCodeRequest
1520
1668
  include Google::Apis::Core::Hashable
@@ -1528,6 +1676,35 @@ module Google
1528
1676
  end
1529
1677
  end
1530
1678
 
1679
+ # Response for the `RetrieveGoogleDomainsForwardingConfig` method.
1680
+ class RetrieveGoogleDomainsForwardingConfigResponse
1681
+ include Google::Apis::Core::Hashable
1682
+
1683
+ # The list of domain forwarding configurations. A forwarding configuration might
1684
+ # not work correctly if the required DNS records are not present in the domain's
1685
+ # authoritative DNS zone.
1686
+ # Corresponds to the JSON property `domainForwardings`
1687
+ # @return [Array<Google::Apis::DomainsV1::DomainForwarding>]
1688
+ attr_accessor :domain_forwardings
1689
+
1690
+ # The list of email forwarding configurations. A forwarding configuration might
1691
+ # not work correctly if the required DNS records are not present in the domain's
1692
+ # authoritative DNS zone.
1693
+ # Corresponds to the JSON property `emailForwardings`
1694
+ # @return [Array<Google::Apis::DomainsV1::EmailForwarding>]
1695
+ attr_accessor :email_forwardings
1696
+
1697
+ def initialize(**args)
1698
+ update!(**args)
1699
+ end
1700
+
1701
+ # Update properties of this object
1702
+ def update!(**args)
1703
+ @domain_forwardings = args[:domain_forwardings] if args.key?(:domain_forwardings)
1704
+ @email_forwardings = args[:email_forwardings] if args.key?(:email_forwardings)
1705
+ end
1706
+ end
1707
+
1531
1708
  # Deprecated: For more information, see [Cloud Domains feature deprecation](
1532
1709
  # https://cloud.google.com/domains/docs/deprecations/feature-deprecations).
1533
1710
  # Response for the `RetrieveImportableDomains` method.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DomainsV1
18
18
  # Version of the google-apis-domains_v1 gem
19
- GEM_VERSION = "0.26.0"
19
+ GEM_VERSION = "0.27.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 = "20240603"
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
 
@@ -130,6 +142,12 @@ module Google
130
142
  include Google::Apis::Core::JsonObjectSupport
131
143
  end
132
144
 
145
+ class InitiatePushTransferRequest
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
133
151
  class ListLocationsResponse
134
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
153
 
@@ -208,12 +226,24 @@ module Google
208
226
  include Google::Apis::Core::JsonObjectSupport
209
227
  end
210
228
 
229
+ class RenewDomainRequest
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
211
235
  class ResetAuthorizationCodeRequest
212
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
237
 
214
238
  include Google::Apis::Core::JsonObjectSupport
215
239
  end
216
240
 
241
+ class RetrieveGoogleDomainsForwardingConfigResponse
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
217
247
  class RetrieveImportableDomainsResponse
218
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
249
 
@@ -393,6 +423,18 @@ module Google
393
423
  end
394
424
  end
395
425
 
426
+ class DomainForwarding
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ property :path_forwarding, as: 'pathForwarding'
430
+ property :pem_certificate, as: 'pemCertificate'
431
+ property :redirect_type, as: 'redirectType'
432
+ property :ssl_enabled, as: 'sslEnabled'
433
+ property :subdomain, as: 'subdomain'
434
+ property :target_uri, as: 'targetUri'
435
+ end
436
+ end
437
+
396
438
  class DsRecord
397
439
  # @private
398
440
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -403,6 +445,14 @@ module Google
403
445
  end
404
446
  end
405
447
 
448
+ class EmailForwarding
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ property :alias, as: 'alias'
452
+ property :target_email_address, as: 'targetEmailAddress'
453
+ end
454
+ end
455
+
406
456
  class ExportRegistrationRequest
407
457
  # @private
408
458
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -446,6 +496,13 @@ module Google
446
496
  end
447
497
  end
448
498
 
499
+ class InitiatePushTransferRequest
500
+ # @private
501
+ class Representation < Google::Apis::Core::JsonRepresentation
502
+ property :tag, as: 'tag'
503
+ end
504
+ end
505
+
449
506
  class ListLocationsResponse
450
507
  # @private
451
508
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -487,6 +544,7 @@ module Google
487
544
  class ManagementSettings
488
545
  # @private
489
546
  class Representation < Google::Apis::Core::JsonRepresentation
547
+ property :effective_transfer_lock_state, as: 'effectiveTransferLockState'
490
548
  property :preferred_renewal_method, as: 'preferredRenewalMethod'
491
549
  property :renewal_method, as: 'renewalMethod'
492
550
  property :transfer_lock_state, as: 'transferLockState'
@@ -589,6 +647,7 @@ module Google
589
647
  property :dns_settings, as: 'dnsSettings', class: Google::Apis::DomainsV1::DnsSettings, decorator: Google::Apis::DomainsV1::DnsSettings::Representation
590
648
 
591
649
  property :domain_name, as: 'domainName'
650
+ collection :domain_properties, as: 'domainProperties'
592
651
  property :expire_time, as: 'expireTime'
593
652
  collection :issues, as: 'issues'
594
653
  hash :labels, as: 'labels'
@@ -604,12 +663,31 @@ module Google
604
663
  end
605
664
  end
606
665
 
666
+ class RenewDomainRequest
667
+ # @private
668
+ class Representation < Google::Apis::Core::JsonRepresentation
669
+ property :validate_only, as: 'validateOnly'
670
+ property :yearly_price, as: 'yearlyPrice', class: Google::Apis::DomainsV1::Money, decorator: Google::Apis::DomainsV1::Money::Representation
671
+
672
+ end
673
+ end
674
+
607
675
  class ResetAuthorizationCodeRequest
608
676
  # @private
609
677
  class Representation < Google::Apis::Core::JsonRepresentation
610
678
  end
611
679
  end
612
680
 
681
+ class RetrieveGoogleDomainsForwardingConfigResponse
682
+ # @private
683
+ class Representation < Google::Apis::Core::JsonRepresentation
684
+ collection :domain_forwardings, as: 'domainForwardings', class: Google::Apis::DomainsV1::DomainForwarding, decorator: Google::Apis::DomainsV1::DomainForwarding::Representation
685
+
686
+ collection :email_forwardings, as: 'emailForwardings', class: Google::Apis::DomainsV1::EmailForwarding, decorator: Google::Apis::DomainsV1::EmailForwarding::Representation
687
+
688
+ end
689
+ end
690
+
613
691
  class RetrieveImportableDomainsResponse
614
692
  # @private
615
693
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -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::DomainsV1::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::DomainsV1::Operation] parsed result object
531
+ # @yieldparam err [StandardError] error object if request failed
532
+ #
533
+ # @return [Google::Apis::DomainsV1::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, 'v1/{+registration}:initiatePushTransfer', options)
540
+ command.request_representation = Google::Apis::DomainsV1::InitiatePushTransferRequest::Representation
541
+ command.request_object = initiate_push_transfer_request_object
542
+ command.response_representation = Google::Apis::DomainsV1::Operation::Representation
543
+ command.response_class = Google::Apis::DomainsV1::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::DomainsV1::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::DomainsV1::Operation] parsed result object
704
+ # @yieldparam err [StandardError] error object if request failed
705
+ #
706
+ # @return [Google::Apis::DomainsV1::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, 'v1/{+registration}:renewDomain', options)
713
+ command.request_representation = Google::Apis::DomainsV1::RenewDomainRequest::Representation
714
+ command.request_object = renew_domain_request_object
715
+ command.response_representation = Google::Apis::DomainsV1::Operation::Representation
716
+ command.response_class = Google::Apis::DomainsV1::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,43 @@ module Google
710
795
  execute_or_queue_command(command, &block)
711
796
  end
712
797
 
798
+ # Lists the deprecated domain and email forwarding configurations you set up in
799
+ # the deprecated Google Domains UI. The configuration is present only for
800
+ # domains with the `google_domains_redirects_data_available` set to `true` in
801
+ # the `Registration`'s `dns_settings`. A forwarding configuration might not work
802
+ # correctly if required DNS records are not present in the domain's
803
+ # authoritative DNS Zone.
804
+ # @param [String] registration
805
+ # Required. The name of the `Registration` whose Google Domains forwarding
806
+ # configuration details are being retrieved, in the format `projects/*/locations/
807
+ # */registrations/*`.
808
+ # @param [String] fields
809
+ # Selector specifying which fields to include in a partial response.
810
+ # @param [String] quota_user
811
+ # Available to use for quota purposes for server-side applications. Can be any
812
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
813
+ # @param [Google::Apis::RequestOptions] options
814
+ # Request-specific options
815
+ #
816
+ # @yield [result, err] Result & error if block supplied
817
+ # @yieldparam result [Google::Apis::DomainsV1::RetrieveGoogleDomainsForwardingConfigResponse] parsed result object
818
+ # @yieldparam err [StandardError] error object if request failed
819
+ #
820
+ # @return [Google::Apis::DomainsV1::RetrieveGoogleDomainsForwardingConfigResponse]
821
+ #
822
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
823
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
824
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
825
+ def retrieve_project_location_registration_google_domains_forwarding_config(registration, fields: nil, quota_user: nil, options: nil, &block)
826
+ command = make_simple_command(:get, 'v1/{+registration}:retrieveGoogleDomainsForwardingConfig', options)
827
+ command.response_representation = Google::Apis::DomainsV1::RetrieveGoogleDomainsForwardingConfigResponse::Representation
828
+ command.response_class = Google::Apis::DomainsV1::RetrieveGoogleDomainsForwardingConfigResponse
829
+ command.params['registration'] = registration unless registration.nil?
830
+ command.query['fields'] = fields unless fields.nil?
831
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
832
+ execute_or_queue_command(command, &block)
833
+ end
834
+
713
835
  # Deprecated: For more information, see [Cloud Domains feature deprecation](
714
836
  # https://cloud.google.com/domains/docs/deprecations/feature-deprecations) Lists
715
837
  # 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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.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-09 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1/v0.26.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1/v0.27.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-domains_v1
63
63
  post_install_message:
64
64
  rdoc_options: []