google-apis-domains_v1alpha2 0.5.0 → 0.9.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: 655a256b7955f270937c01a04ae051185205d4295d8022289abc6121af1decca
4
- data.tar.gz: 960264ca86e2034ebeda4dafa24264d65c3a536d7944832dbe5916ff6246fc36
3
+ metadata.gz: 4580be4ffa55a6d7d08534d64dffde10b6fdc0b25967a7776c043bc6ec427227
4
+ data.tar.gz: 45d16ca47ba1a3161a957dc7c3c8fdcd7ace2b5449d4bcbcf1660c15d3123fd4
5
5
  SHA512:
6
- metadata.gz: 7c70c7e9f4c2727054f1df65272f012ce554bcecf0885e2b7b1ea33e4e6e584a285a01c642ca2b2f5c17e0a323c6ae0d9538c99738352d0df50e6e3148a9be4f
7
- data.tar.gz: 870b0a4056a5e471eeaa2750c2ef890bf568a4d21a6924626e2a0c4f22ac0710ed3bb4636a32c71a5e71db50fcd307fd2b213bbe0edf9752b762d3f178a039c2
6
+ metadata.gz: e714e9627392bb26aedc4118092826dc4f7e9c74ee9ba6c139828200a5dffef68619c6189718adb0372ed37ba038402ed1e7dc43b4ee5b8a2bbc09f47495a82d
7
+ data.tar.gz: a4d3403f802eef00338a6ae0ba1f60d5b6288da4b69e58ca72384f6cc5f5552ca51cfcec8e1bd6a2002ebe5ed4e9a9563c16518ebb12efe6cda768a5073e4790
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-domains_v1alpha2
2
2
 
3
+ ### v0.9.0 (2021-10-09)
4
+
5
+ * Regenerated from discovery document revision 20211004
6
+
7
+ ### v0.8.0 (2021-10-03)
8
+
9
+ * Regenerated from discovery document revision 20210927
10
+
11
+ ### v0.7.0 (2021-06-29)
12
+
13
+ * Regenerated using generator version 0.4.0
14
+
15
+ ### v0.6.0 (2021-06-24)
16
+
17
+ * Regenerated using generator version 0.3.0
18
+
3
19
  ### v0.5.0 (2021-05-19)
4
20
 
5
21
  * Unspecified changes
@@ -950,7 +950,7 @@ module Google
950
950
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
951
951
  # roles/resourcemanager.organizationViewer condition: title: expirable access
952
952
  # description: Does not grant access after Sep 2020 expression: request.time <
953
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
953
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
954
954
  # description of IAM and its features, see the [IAM documentation](https://cloud.
955
955
  # google.com/iam/docs/).
956
956
  class Policy
@@ -963,7 +963,12 @@ module Google
963
963
 
964
964
  # Associates a list of `members` to a `role`. Optionally, may specify a `
965
965
  # condition` that determines how and when the `bindings` are applied. Each of
966
- # the `bindings` must contain at least one member.
966
+ # the `bindings` must contain at least one member. The `bindings` in a `Policy`
967
+ # can refer to up to 1,500 members; up to 250 of these members can be Google
968
+ # groups. Each occurrence of a member counts towards these limits. For example,
969
+ # if the `bindings` grant 50 different roles to `user:alice@example.com`, and
970
+ # not to any other member, then you can add another 1,450 members to the `
971
+ # bindings` in the `Policy`.
967
972
  # Corresponds to the JSON property `bindings`
968
973
  # @return [Array<Google::Apis::DomainsV1alpha2::Binding>]
969
974
  attr_accessor :bindings
@@ -1166,11 +1171,17 @@ module Google
1166
1171
  attr_accessor :domain_notices
1167
1172
 
1168
1173
  # The `Registration` resource facilitates managing and configuring domain name
1169
- # registrations. To create a new `Registration` resource, find a suitable domain
1170
- # name by calling the `SearchDomains` method with a query to see available
1171
- # domain name options. After choosing a name, call `RetrieveRegisterParameters`
1172
- # to ensure availability and obtain information like pricing, which is needed to
1173
- # build a call to `RegisterDomain`.
1174
+ # registrations. There are several ways to create a new `Registration` resource:
1175
+ # To create a new `Registration` resource, find a suitable domain name by
1176
+ # calling the `SearchDomains` method with a query to see available domain name
1177
+ # options. After choosing a name, call `RetrieveRegisterParameters` to ensure
1178
+ # availability and obtain information like pricing, which is needed to build a
1179
+ # call to `RegisterDomain`. Another way to create a new `Registration` is to
1180
+ # transfer an existing domain from another registrar. First, go to the current
1181
+ # registrar to unlock the domain for transfer and retrieve the domain's transfer
1182
+ # authorization code. Then call `RetrieveTransferParameters` to confirm that the
1183
+ # domain is unlocked and to get values needed to build a call to `TransferDomain`
1184
+ # .
1174
1185
  # Corresponds to the JSON property `registration`
1175
1186
  # @return [Google::Apis::DomainsV1alpha2::Registration]
1176
1187
  attr_accessor :registration
@@ -1248,11 +1259,17 @@ module Google
1248
1259
  end
1249
1260
 
1250
1261
  # The `Registration` resource facilitates managing and configuring domain name
1251
- # registrations. To create a new `Registration` resource, find a suitable domain
1252
- # name by calling the `SearchDomains` method with a query to see available
1253
- # domain name options. After choosing a name, call `RetrieveRegisterParameters`
1254
- # to ensure availability and obtain information like pricing, which is needed to
1255
- # build a call to `RegisterDomain`.
1262
+ # registrations. There are several ways to create a new `Registration` resource:
1263
+ # To create a new `Registration` resource, find a suitable domain name by
1264
+ # calling the `SearchDomains` method with a query to see available domain name
1265
+ # options. After choosing a name, call `RetrieveRegisterParameters` to ensure
1266
+ # availability and obtain information like pricing, which is needed to build a
1267
+ # call to `RegisterDomain`. Another way to create a new `Registration` is to
1268
+ # transfer an existing domain from another registrar. First, go to the current
1269
+ # registrar to unlock the domain for transfer and retrieve the domain's transfer
1270
+ # authorization code. Then call `RetrieveTransferParameters` to confirm that the
1271
+ # domain is unlocked and to get values needed to build a call to `TransferDomain`
1272
+ # .
1256
1273
  class Registration
1257
1274
  include Google::Apis::Core::Hashable
1258
1275
 
@@ -1379,6 +1396,25 @@ module Google
1379
1396
  end
1380
1397
  end
1381
1398
 
1399
+ # Response for the `RetrieveTransferParameters` method.
1400
+ class RetrieveTransferParametersResponse
1401
+ include Google::Apis::Core::Hashable
1402
+
1403
+ # Parameters required to transfer a domain from another registrar.
1404
+ # Corresponds to the JSON property `transferParameters`
1405
+ # @return [Google::Apis::DomainsV1alpha2::TransferParameters]
1406
+ attr_accessor :transfer_parameters
1407
+
1408
+ def initialize(**args)
1409
+ update!(**args)
1410
+ end
1411
+
1412
+ # Update properties of this object
1413
+ def update!(**args)
1414
+ @transfer_parameters = args[:transfer_parameters] if args.key?(:transfer_parameters)
1415
+ end
1416
+ end
1417
+
1382
1418
  # Response for the `SearchDomains` method.
1383
1419
  class SearchDomainsResponse
1384
1420
  include Google::Apis::Core::Hashable
@@ -1426,7 +1462,7 @@ module Google
1426
1462
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1427
1463
  # roles/resourcemanager.organizationViewer condition: title: expirable access
1428
1464
  # description: Does not grant access after Sep 2020 expression: request.time <
1429
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1465
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
1430
1466
  # description of IAM and its features, see the [IAM documentation](https://cloud.
1431
1467
  # google.com/iam/docs/).
1432
1468
  # Corresponds to the JSON property `policy`
@@ -1529,6 +1565,113 @@ module Google
1529
1565
  @permissions = args[:permissions] if args.key?(:permissions)
1530
1566
  end
1531
1567
  end
1568
+
1569
+ # Request for the `TransferDomain` method.
1570
+ class TransferDomainRequest
1571
+ include Google::Apis::Core::Hashable
1572
+
1573
+ # Defines an authorization code.
1574
+ # Corresponds to the JSON property `authorizationCode`
1575
+ # @return [Google::Apis::DomainsV1alpha2::AuthorizationCode]
1576
+ attr_accessor :authorization_code
1577
+
1578
+ # The list of contact notices that you acknowledge. The notices needed here
1579
+ # depend on the values specified in `registration.contact_settings`.
1580
+ # Corresponds to the JSON property `contactNotices`
1581
+ # @return [Array<String>]
1582
+ attr_accessor :contact_notices
1583
+
1584
+ # The `Registration` resource facilitates managing and configuring domain name
1585
+ # registrations. There are several ways to create a new `Registration` resource:
1586
+ # To create a new `Registration` resource, find a suitable domain name by
1587
+ # calling the `SearchDomains` method with a query to see available domain name
1588
+ # options. After choosing a name, call `RetrieveRegisterParameters` to ensure
1589
+ # availability and obtain information like pricing, which is needed to build a
1590
+ # call to `RegisterDomain`. Another way to create a new `Registration` is to
1591
+ # transfer an existing domain from another registrar. First, go to the current
1592
+ # registrar to unlock the domain for transfer and retrieve the domain's transfer
1593
+ # authorization code. Then call `RetrieveTransferParameters` to confirm that the
1594
+ # domain is unlocked and to get values needed to build a call to `TransferDomain`
1595
+ # .
1596
+ # Corresponds to the JSON property `registration`
1597
+ # @return [Google::Apis::DomainsV1alpha2::Registration]
1598
+ attr_accessor :registration
1599
+
1600
+ # Validate the request without actually transferring the domain.
1601
+ # Corresponds to the JSON property `validateOnly`
1602
+ # @return [Boolean]
1603
+ attr_accessor :validate_only
1604
+ alias_method :validate_only?, :validate_only
1605
+
1606
+ # Represents an amount of money with its currency type.
1607
+ # Corresponds to the JSON property `yearlyPrice`
1608
+ # @return [Google::Apis::DomainsV1alpha2::Money]
1609
+ attr_accessor :yearly_price
1610
+
1611
+ def initialize(**args)
1612
+ update!(**args)
1613
+ end
1614
+
1615
+ # Update properties of this object
1616
+ def update!(**args)
1617
+ @authorization_code = args[:authorization_code] if args.key?(:authorization_code)
1618
+ @contact_notices = args[:contact_notices] if args.key?(:contact_notices)
1619
+ @registration = args[:registration] if args.key?(:registration)
1620
+ @validate_only = args[:validate_only] if args.key?(:validate_only)
1621
+ @yearly_price = args[:yearly_price] if args.key?(:yearly_price)
1622
+ end
1623
+ end
1624
+
1625
+ # Parameters required to transfer a domain from another registrar.
1626
+ class TransferParameters
1627
+ include Google::Apis::Core::Hashable
1628
+
1629
+ # The registrar that currently manages the domain.
1630
+ # Corresponds to the JSON property `currentRegistrar`
1631
+ # @return [String]
1632
+ attr_accessor :current_registrar
1633
+
1634
+ # The domain name. Unicode domain names are expressed in Punycode format.
1635
+ # Corresponds to the JSON property `domainName`
1636
+ # @return [String]
1637
+ attr_accessor :domain_name
1638
+
1639
+ # The name servers that currently store the configuration of the domain.
1640
+ # Corresponds to the JSON property `nameServers`
1641
+ # @return [Array<String>]
1642
+ attr_accessor :name_servers
1643
+
1644
+ # Contact privacy options that the domain supports.
1645
+ # Corresponds to the JSON property `supportedPrivacy`
1646
+ # @return [Array<String>]
1647
+ attr_accessor :supported_privacy
1648
+
1649
+ # Indicates whether the domain is protected by a transfer lock. For a transfer
1650
+ # to succeed, this must show `UNLOCKED`. To unlock a domain, go to its current
1651
+ # registrar.
1652
+ # Corresponds to the JSON property `transferLockState`
1653
+ # @return [String]
1654
+ attr_accessor :transfer_lock_state
1655
+
1656
+ # Represents an amount of money with its currency type.
1657
+ # Corresponds to the JSON property `yearlyPrice`
1658
+ # @return [Google::Apis::DomainsV1alpha2::Money]
1659
+ attr_accessor :yearly_price
1660
+
1661
+ def initialize(**args)
1662
+ update!(**args)
1663
+ end
1664
+
1665
+ # Update properties of this object
1666
+ def update!(**args)
1667
+ @current_registrar = args[:current_registrar] if args.key?(:current_registrar)
1668
+ @domain_name = args[:domain_name] if args.key?(:domain_name)
1669
+ @name_servers = args[:name_servers] if args.key?(:name_servers)
1670
+ @supported_privacy = args[:supported_privacy] if args.key?(:supported_privacy)
1671
+ @transfer_lock_state = args[:transfer_lock_state] if args.key?(:transfer_lock_state)
1672
+ @yearly_price = args[:yearly_price] if args.key?(:yearly_price)
1673
+ end
1674
+ end
1532
1675
  end
1533
1676
  end
1534
1677
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DomainsV1alpha2
18
18
  # Version of the google-apis-domains_v1alpha2 gem
19
- GEM_VERSION = "0.5.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.2.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210412"
25
+ REVISION = "20211004"
26
26
  end
27
27
  end
28
28
  end
@@ -208,6 +208,12 @@ module Google
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
+ class RetrieveTransferParametersResponse
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
211
217
  class SearchDomainsResponse
212
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
219
 
@@ -238,6 +244,18 @@ module Google
238
244
  include Google::Apis::Core::JsonObjectSupport
239
245
  end
240
246
 
247
+ class TransferDomainRequest
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class TransferParameters
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
241
259
  class AuditConfig
242
260
  # @private
243
261
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -561,6 +579,14 @@ module Google
561
579
  end
562
580
  end
563
581
 
582
+ class RetrieveTransferParametersResponse
583
+ # @private
584
+ class Representation < Google::Apis::Core::JsonRepresentation
585
+ property :transfer_parameters, as: 'transferParameters', class: Google::Apis::DomainsV1alpha2::TransferParameters, decorator: Google::Apis::DomainsV1alpha2::TransferParameters::Representation
586
+
587
+ end
588
+ end
589
+
564
590
  class SearchDomainsResponse
565
591
  # @private
566
592
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -600,6 +626,33 @@ module Google
600
626
  collection :permissions, as: 'permissions'
601
627
  end
602
628
  end
629
+
630
+ class TransferDomainRequest
631
+ # @private
632
+ class Representation < Google::Apis::Core::JsonRepresentation
633
+ property :authorization_code, as: 'authorizationCode', class: Google::Apis::DomainsV1alpha2::AuthorizationCode, decorator: Google::Apis::DomainsV1alpha2::AuthorizationCode::Representation
634
+
635
+ collection :contact_notices, as: 'contactNotices'
636
+ property :registration, as: 'registration', class: Google::Apis::DomainsV1alpha2::Registration, decorator: Google::Apis::DomainsV1alpha2::Registration::Representation
637
+
638
+ property :validate_only, as: 'validateOnly'
639
+ property :yearly_price, as: 'yearlyPrice', class: Google::Apis::DomainsV1alpha2::Money, decorator: Google::Apis::DomainsV1alpha2::Money::Representation
640
+
641
+ end
642
+ end
643
+
644
+ class TransferParameters
645
+ # @private
646
+ class Representation < Google::Apis::Core::JsonRepresentation
647
+ property :current_registrar, as: 'currentRegistrar'
648
+ property :domain_name, as: 'domainName'
649
+ collection :name_servers, as: 'nameServers'
650
+ collection :supported_privacy, as: 'supportedPrivacy'
651
+ property :transfer_lock_state, as: 'transferLockState'
652
+ property :yearly_price, as: 'yearlyPrice', class: Google::Apis::DomainsV1alpha2::Money, decorator: Google::Apis::DomainsV1alpha2::Money::Representation
653
+
654
+ end
655
+ end
603
656
  end
604
657
  end
605
658
  end
@@ -302,9 +302,16 @@ module Google
302
302
  execute_or_queue_command(command, &block)
303
303
  end
304
304
 
305
- # Deletes a `Registration` resource. This method only works on resources in one
306
- # of the following states: * `state` is `EXPORTED` with `expire_time` in the
307
- # past * `state` is `REGISTRATION_FAILED`
305
+ # Deletes a `Registration` resource. For `Registration` resources using usage
306
+ # billing, this method works if: * `state` is `EXPORTED` with `expire_time` in
307
+ # the past * `state` is `REGISTRATION_FAILED` * `state` is `TRANSFER_FAILED`
308
+ # This method works on any `Registration` resource using subscription billing,
309
+ # provided that the resource was created at least 1 day in the past. When an
310
+ # active domain is successfully deleted, you can continue to use the domain in [
311
+ # Google Domains](https://domains.google/) until it expires. The calling user
312
+ # becomes the domain's sole owner in Google Domains, and permissions for the
313
+ # domain are subsequently managed there. The domain will not renew automatically
314
+ # unless the new owner sets up billing in Google Domains.
308
315
  # @param [String] name
309
316
  # Required. The name of the `Registration` to delete, in the format `projects/*/
310
317
  # locations/*/registrations/*`.
@@ -335,15 +342,12 @@ module Google
335
342
  execute_or_queue_command(command, &block)
336
343
  end
337
344
 
338
- # Exports a `Registration` that you no longer want to use with Cloud Domains.
339
- # You can continue to use the domain in [Google Domains](https://domains.google/)
340
- # until it expires. If the export is successful: * The resource's `state`
341
- # becomes `EXPORTED`, meaning that it is no longer managed by Cloud Domains *
342
- # Because individual users can own domains in Google Domains, the calling user
343
- # becomes the domain's sole owner. Permissions for the domain are subsequently
344
- # managed in Google Domains. * Without further action, the domain does not renew
345
- # automatically. The new owner can set up billing in Google Domains to renew the
346
- # domain if needed.
345
+ # Exports a `Registration` resource, such that it is no longer managed by Cloud
346
+ # Domains. When an active domain is successfully exported, you can continue to
347
+ # use the domain in [Google Domains](https://domains.google/) until it expires.
348
+ # The calling user becomes the domain's sole owner in Google Domains, and
349
+ # permissions for the domain are subsequently managed there. The domain will not
350
+ # renew automatically unless the new owner sets up billing in Google Domains.
347
351
  # @param [String] name
348
352
  # Required. The name of the `Registration` to export, in the format `projects/*/
349
353
  # locations/*/registrations/*`.
@@ -689,6 +693,42 @@ module Google
689
693
  execute_or_queue_command(command, &block)
690
694
  end
691
695
 
696
+ # Gets parameters needed to transfer a domain name from another registrar to
697
+ # Cloud Domains. For domains managed by Google Domains, transferring to Cloud
698
+ # Domains is not yet supported. Use the returned values to call `TransferDomain`.
699
+ # @param [String] location
700
+ # Required. The location. Must be in the format `projects/*/locations/*`.
701
+ # @param [String] domain_name
702
+ # Required. The domain name. Unicode domain names must be expressed in Punycode
703
+ # format.
704
+ # @param [String] fields
705
+ # Selector specifying which fields to include in a partial response.
706
+ # @param [String] quota_user
707
+ # Available to use for quota purposes for server-side applications. Can be any
708
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
709
+ # @param [Google::Apis::RequestOptions] options
710
+ # Request-specific options
711
+ #
712
+ # @yield [result, err] Result & error if block supplied
713
+ # @yieldparam result [Google::Apis::DomainsV1alpha2::RetrieveTransferParametersResponse] parsed result object
714
+ # @yieldparam err [StandardError] error object if request failed
715
+ #
716
+ # @return [Google::Apis::DomainsV1alpha2::RetrieveTransferParametersResponse]
717
+ #
718
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
719
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
720
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
721
+ def retrieve_project_location_registration_transfer_parameters(location, domain_name: nil, fields: nil, quota_user: nil, options: nil, &block)
722
+ command = make_simple_command(:get, 'v1alpha2/{+location}/registrations:retrieveTransferParameters', options)
723
+ command.response_representation = Google::Apis::DomainsV1alpha2::RetrieveTransferParametersResponse::Representation
724
+ command.response_class = Google::Apis::DomainsV1alpha2::RetrieveTransferParametersResponse
725
+ command.params['location'] = location unless location.nil?
726
+ command.query['domainName'] = domain_name unless domain_name.nil?
727
+ command.query['fields'] = fields unless fields.nil?
728
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
729
+ execute_or_queue_command(command, &block)
730
+ end
731
+
692
732
  # Searches for available domain names similar to the provided query.
693
733
  # Availability results from this method are approximate; call `
694
734
  # RetrieveRegisterParameters` on a domain before registering to confirm
@@ -798,6 +838,54 @@ module Google
798
838
  command.query['quotaUser'] = quota_user unless quota_user.nil?
799
839
  execute_or_queue_command(command, &block)
800
840
  end
841
+
842
+ # Transfers a domain name from another registrar to Cloud Domains. For domains
843
+ # managed by Google Domains, transferring to Cloud Domains is not yet supported.
844
+ # Before calling this method, go to the domain's current registrar to unlock the
845
+ # domain for transfer and retrieve the domain's transfer authorization code.
846
+ # Then call `RetrieveTransferParameters` to confirm that the domain is unlocked
847
+ # and to get values needed to build a call to this method. A successful call
848
+ # creates a `Registration` resource in state `TRANSFER_PENDING`. It can take
849
+ # several days to complete the transfer process. The registrant can often speed
850
+ # up this process by approving the transfer through the current registrar,
851
+ # either by clicking a link in an email from the registrar or by visiting the
852
+ # registrar's website. A few minutes after transfer approval, the resource
853
+ # transitions to state `ACTIVE`, indicating that the transfer was successful. If
854
+ # the transfer is rejected or the request expires without being approved, the
855
+ # resource can end up in state `TRANSFER_FAILED`. If transfer fails, you can
856
+ # safely delete the resource and retry the transfer.
857
+ # @param [String] parent
858
+ # Required. The parent resource of the `Registration`. Must be in the format `
859
+ # projects/*/locations/*`.
860
+ # @param [Google::Apis::DomainsV1alpha2::TransferDomainRequest] transfer_domain_request_object
861
+ # @param [String] fields
862
+ # Selector specifying which fields to include in a partial response.
863
+ # @param [String] quota_user
864
+ # Available to use for quota purposes for server-side applications. Can be any
865
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
866
+ # @param [Google::Apis::RequestOptions] options
867
+ # Request-specific options
868
+ #
869
+ # @yield [result, err] Result & error if block supplied
870
+ # @yieldparam result [Google::Apis::DomainsV1alpha2::Operation] parsed result object
871
+ # @yieldparam err [StandardError] error object if request failed
872
+ #
873
+ # @return [Google::Apis::DomainsV1alpha2::Operation]
874
+ #
875
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
876
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
877
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
878
+ def transfer_registration_domain(parent, transfer_domain_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
879
+ command = make_simple_command(:post, 'v1alpha2/{+parent}/registrations:transfer', options)
880
+ command.request_representation = Google::Apis::DomainsV1alpha2::TransferDomainRequest::Representation
881
+ command.request_object = transfer_domain_request_object
882
+ command.response_representation = Google::Apis::DomainsV1alpha2::Operation::Representation
883
+ command.response_class = Google::Apis::DomainsV1alpha2::Operation
884
+ command.params['parent'] = parent unless parent.nil?
885
+ command.query['fields'] = fields unless fields.nil?
886
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
887
+ execute_or_queue_command(command, &block)
888
+ end
801
889
 
802
890
  protected
803
891
 
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1alpha2'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-domains_v1alpha2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.9.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: 2021-05-24 00:00:00.000000000 Z
11
+ date: 2021-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.4'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.4'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.1'
32
+ version: 2.a
27
33
  description: This is the simple REST client for Cloud Domains API V1alpha2. Simple
28
34
  REST clients are Ruby client libraries that provide access to Google services via
29
35
  their HTTP REST API endpoints. These libraries are generated and updated automatically
@@ -52,7 +58,7 @@ licenses:
52
58
  metadata:
53
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-domains_v1alpha2/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1alpha2/v0.5.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1alpha2/v0.9.0
56
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-domains_v1alpha2
57
63
  post_install_message:
58
64
  rdoc_options: []