google-apis-domains_v1alpha2 0.14.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '096d5149c27244c7203198d0127100847773ab224b6c0c00226bdc6c41b34c20'
|
4
|
+
data.tar.gz: 8e4e07125e53d7c486679bb108f5ba3815f8af6afb77836d741a13c71f0b17ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4575565579a0e52f238e77b70652eeae59752edceee5b07c80f93f2b5281cef621bc2e2e9cc9d9946bfb8640d1e6b01651fb60e7d2c19dc93b9ff748c3fcb3c
|
7
|
+
data.tar.gz: 18b245dc1e8b1b5cd40e556111934a82764acd4e1038f6e18985dbf276379b01f3a2fe40b94a6b8fdb59e576363f66b359bdc96621e9954d23e42ec233108e18
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-domains_v1alpha2
|
2
2
|
|
3
|
+
### v0.17.0 (2022-06-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220616
|
6
|
+
* Regenerated using generator version 0.7.0
|
7
|
+
|
8
|
+
### v0.16.0 (2022-06-17)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.6.0
|
11
|
+
|
12
|
+
### v0.15.0 (2022-06-04)
|
13
|
+
|
14
|
+
* Regenerated using generator version 0.5.0
|
15
|
+
|
3
16
|
### v0.14.0 (2022-05-22)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220517
|
@@ -446,6 +446,37 @@ module Google
|
|
446
446
|
end
|
447
447
|
end
|
448
448
|
|
449
|
+
# A domain that the calling user manages in Google Domains.
|
450
|
+
class Domain
|
451
|
+
include Google::Apis::Core::Hashable
|
452
|
+
|
453
|
+
# The domain name. Unicode domain names are expressed in Punycode format.
|
454
|
+
# Corresponds to the JSON property `domainName`
|
455
|
+
# @return [String]
|
456
|
+
attr_accessor :domain_name
|
457
|
+
|
458
|
+
# The state of this domain as a `Registration` resource.
|
459
|
+
# Corresponds to the JSON property `resourceState`
|
460
|
+
# @return [String]
|
461
|
+
attr_accessor :resource_state
|
462
|
+
|
463
|
+
# Represents an amount of money with its currency type.
|
464
|
+
# Corresponds to the JSON property `yearlyPrice`
|
465
|
+
# @return [Google::Apis::DomainsV1alpha2::Money]
|
466
|
+
attr_accessor :yearly_price
|
467
|
+
|
468
|
+
def initialize(**args)
|
469
|
+
update!(**args)
|
470
|
+
end
|
471
|
+
|
472
|
+
# Update properties of this object
|
473
|
+
def update!(**args)
|
474
|
+
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
475
|
+
@resource_state = args[:resource_state] if args.key?(:resource_state)
|
476
|
+
@yearly_price = args[:yearly_price] if args.key?(:yearly_price)
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
449
480
|
# Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for
|
450
481
|
# a domain. It contains a digest (hash) of a DNSKEY record that must be present
|
451
482
|
# in the domain's DNS zone.
|
@@ -631,6 +662,32 @@ module Google
|
|
631
662
|
end
|
632
663
|
end
|
633
664
|
|
665
|
+
# Request for the `ImportDomain` method.
|
666
|
+
class ImportDomainRequest
|
667
|
+
include Google::Apis::Core::Hashable
|
668
|
+
|
669
|
+
# Required. The domain name. Unicode domain names must be expressed in Punycode
|
670
|
+
# format.
|
671
|
+
# Corresponds to the JSON property `domainName`
|
672
|
+
# @return [String]
|
673
|
+
attr_accessor :domain_name
|
674
|
+
|
675
|
+
# Set of labels associated with the `Registration`.
|
676
|
+
# Corresponds to the JSON property `labels`
|
677
|
+
# @return [Hash<String,String>]
|
678
|
+
attr_accessor :labels
|
679
|
+
|
680
|
+
def initialize(**args)
|
681
|
+
update!(**args)
|
682
|
+
end
|
683
|
+
|
684
|
+
# Update properties of this object
|
685
|
+
def update!(**args)
|
686
|
+
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
687
|
+
@labels = args[:labels] if args.key?(:labels)
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
634
691
|
# The response message for Locations.ListLocations.
|
635
692
|
class ListLocationsResponse
|
636
693
|
include Google::Apis::Core::Hashable
|
@@ -1181,7 +1238,11 @@ module Google
|
|
1181
1238
|
# registrar to unlock the domain for transfer and retrieve the domain's transfer
|
1182
1239
|
# authorization code. Then call `RetrieveTransferParameters` to confirm that the
|
1183
1240
|
# domain is unlocked and to get values needed to build a call to `TransferDomain`
|
1184
|
-
# .
|
1241
|
+
# . Finally, you can create a new `Registration` by importing an existing domain
|
1242
|
+
# managed with [Google Domains](https://domains.google/). First, call `
|
1243
|
+
# RetrieveImportableDomains` to list domains to which the calling user has
|
1244
|
+
# sufficient access. Then call `ImportDomain` on any domain names you want to
|
1245
|
+
# use with Cloud Domains.
|
1185
1246
|
# Corresponds to the JSON property `registration`
|
1186
1247
|
# @return [Google::Apis::DomainsV1alpha2::Registration]
|
1187
1248
|
attr_accessor :registration
|
@@ -1269,7 +1330,11 @@ module Google
|
|
1269
1330
|
# registrar to unlock the domain for transfer and retrieve the domain's transfer
|
1270
1331
|
# authorization code. Then call `RetrieveTransferParameters` to confirm that the
|
1271
1332
|
# domain is unlocked and to get values needed to build a call to `TransferDomain`
|
1272
|
-
# .
|
1333
|
+
# . Finally, you can create a new `Registration` by importing an existing domain
|
1334
|
+
# managed with [Google Domains](https://domains.google/). First, call `
|
1335
|
+
# RetrieveImportableDomains` to list domains to which the calling user has
|
1336
|
+
# sufficient access. Then call `ImportDomain` on any domain names you want to
|
1337
|
+
# use with Cloud Domains.
|
1273
1338
|
class Registration
|
1274
1339
|
include Google::Apis::Core::Hashable
|
1275
1340
|
|
@@ -1332,6 +1397,12 @@ module Google
|
|
1332
1397
|
# @return [Google::Apis::DomainsV1alpha2::ContactSettings]
|
1333
1398
|
attr_accessor :pending_contact_settings
|
1334
1399
|
|
1400
|
+
# Output only. The reason the domain registration failed. Only set for domains
|
1401
|
+
# in REGISTRATION_FAILED state.
|
1402
|
+
# Corresponds to the JSON property `registerFailureReason`
|
1403
|
+
# @return [String]
|
1404
|
+
attr_accessor :register_failure_reason
|
1405
|
+
|
1335
1406
|
# Output only. The state of the `Registration`
|
1336
1407
|
# Corresponds to the JSON property `state`
|
1337
1408
|
# @return [String]
|
@@ -1343,6 +1414,12 @@ module Google
|
|
1343
1414
|
# @return [Array<String>]
|
1344
1415
|
attr_accessor :supported_privacy
|
1345
1416
|
|
1417
|
+
# Output only. The reason the domain transfer failed. Only set for domains in
|
1418
|
+
# TRANSFER_FAILED state.
|
1419
|
+
# Corresponds to the JSON property `transferFailureReason`
|
1420
|
+
# @return [String]
|
1421
|
+
attr_accessor :transfer_failure_reason
|
1422
|
+
|
1346
1423
|
def initialize(**args)
|
1347
1424
|
update!(**args)
|
1348
1425
|
end
|
@@ -1359,8 +1436,10 @@ module Google
|
|
1359
1436
|
@management_settings = args[:management_settings] if args.key?(:management_settings)
|
1360
1437
|
@name = args[:name] if args.key?(:name)
|
1361
1438
|
@pending_contact_settings = args[:pending_contact_settings] if args.key?(:pending_contact_settings)
|
1439
|
+
@register_failure_reason = args[:register_failure_reason] if args.key?(:register_failure_reason)
|
1362
1440
|
@state = args[:state] if args.key?(:state)
|
1363
1441
|
@supported_privacy = args[:supported_privacy] if args.key?(:supported_privacy)
|
1442
|
+
@transfer_failure_reason = args[:transfer_failure_reason] if args.key?(:transfer_failure_reason)
|
1364
1443
|
end
|
1365
1444
|
end
|
1366
1445
|
|
@@ -1377,6 +1456,32 @@ module Google
|
|
1377
1456
|
end
|
1378
1457
|
end
|
1379
1458
|
|
1459
|
+
# Response for the `RetrieveImportableDomains` method.
|
1460
|
+
class RetrieveImportableDomainsResponse
|
1461
|
+
include Google::Apis::Core::Hashable
|
1462
|
+
|
1463
|
+
# A list of domains that the calling user manages in Google Domains.
|
1464
|
+
# Corresponds to the JSON property `domains`
|
1465
|
+
# @return [Array<Google::Apis::DomainsV1alpha2::Domain>]
|
1466
|
+
attr_accessor :domains
|
1467
|
+
|
1468
|
+
# When present, there are more results to retrieve. Set `page_token` to this
|
1469
|
+
# value on a subsequent call to get the next page of results.
|
1470
|
+
# Corresponds to the JSON property `nextPageToken`
|
1471
|
+
# @return [String]
|
1472
|
+
attr_accessor :next_page_token
|
1473
|
+
|
1474
|
+
def initialize(**args)
|
1475
|
+
update!(**args)
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
# Update properties of this object
|
1479
|
+
def update!(**args)
|
1480
|
+
@domains = args[:domains] if args.key?(:domains)
|
1481
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1482
|
+
end
|
1483
|
+
end
|
1484
|
+
|
1380
1485
|
# Response for the `RetrieveRegisterParameters` method.
|
1381
1486
|
class RetrieveRegisterParametersResponse
|
1382
1487
|
include Google::Apis::Core::Hashable
|
@@ -1592,7 +1697,11 @@ module Google
|
|
1592
1697
|
# registrar to unlock the domain for transfer and retrieve the domain's transfer
|
1593
1698
|
# authorization code. Then call `RetrieveTransferParameters` to confirm that the
|
1594
1699
|
# domain is unlocked and to get values needed to build a call to `TransferDomain`
|
1595
|
-
# .
|
1700
|
+
# . Finally, you can create a new `Registration` by importing an existing domain
|
1701
|
+
# managed with [Google Domains](https://domains.google/). First, call `
|
1702
|
+
# RetrieveImportableDomains` to list domains to which the calling user has
|
1703
|
+
# sufficient access. Then call `ImportDomain` on any domain names you want to
|
1704
|
+
# use with Cloud Domains.
|
1596
1705
|
# Corresponds to the JSON property `registration`
|
1597
1706
|
# @return [Google::Apis::DomainsV1alpha2::Registration]
|
1598
1707
|
attr_accessor :registration
|
@@ -1631,6 +1740,11 @@ module Google
|
|
1631
1740
|
# @return [String]
|
1632
1741
|
attr_accessor :current_registrar
|
1633
1742
|
|
1743
|
+
# The URL of registrar that currently manages the domain.
|
1744
|
+
# Corresponds to the JSON property `currentRegistrarUri`
|
1745
|
+
# @return [String]
|
1746
|
+
attr_accessor :current_registrar_uri
|
1747
|
+
|
1634
1748
|
# The domain name. Unicode domain names are expressed in Punycode format.
|
1635
1749
|
# Corresponds to the JSON property `domainName`
|
1636
1750
|
# @return [String]
|
@@ -1665,6 +1779,7 @@ module Google
|
|
1665
1779
|
# Update properties of this object
|
1666
1780
|
def update!(**args)
|
1667
1781
|
@current_registrar = args[:current_registrar] if args.key?(:current_registrar)
|
1782
|
+
@current_registrar_uri = args[:current_registrar_uri] if args.key?(:current_registrar_uri)
|
1668
1783
|
@domain_name = args[:domain_name] if args.key?(:domain_name)
|
1669
1784
|
@name_servers = args[:name_servers] if args.key?(:name_servers)
|
1670
1785
|
@supported_privacy = args[:supported_privacy] if args.key?(:supported_privacy)
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.7.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220616"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -88,6 +88,12 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
+
class Domain
|
92
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
+
|
94
|
+
include Google::Apis::Core::JsonObjectSupport
|
95
|
+
end
|
96
|
+
|
91
97
|
class DsRecord
|
92
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
99
|
|
@@ -118,6 +124,12 @@ module Google
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
127
|
+
class ImportDomainRequest
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
121
133
|
class ListLocationsResponse
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
@@ -202,6 +214,12 @@ module Google
|
|
202
214
|
include Google::Apis::Core::JsonObjectSupport
|
203
215
|
end
|
204
216
|
|
217
|
+
class RetrieveImportableDomainsResponse
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
205
223
|
class RetrieveRegisterParametersResponse
|
206
224
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
225
|
|
@@ -365,6 +383,16 @@ module Google
|
|
365
383
|
end
|
366
384
|
end
|
367
385
|
|
386
|
+
class Domain
|
387
|
+
# @private
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
389
|
+
property :domain_name, as: 'domainName'
|
390
|
+
property :resource_state, as: 'resourceState'
|
391
|
+
property :yearly_price, as: 'yearlyPrice', class: Google::Apis::DomainsV1alpha2::Money, decorator: Google::Apis::DomainsV1alpha2::Money::Representation
|
392
|
+
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
368
396
|
class DsRecord
|
369
397
|
# @private
|
370
398
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -410,6 +438,14 @@ module Google
|
|
410
438
|
end
|
411
439
|
end
|
412
440
|
|
441
|
+
class ImportDomainRequest
|
442
|
+
# @private
|
443
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
444
|
+
property :domain_name, as: 'domainName'
|
445
|
+
hash :labels, as: 'labels'
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
413
449
|
class ListLocationsResponse
|
414
450
|
# @private
|
415
451
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -560,8 +596,10 @@ module Google
|
|
560
596
|
property :name, as: 'name'
|
561
597
|
property :pending_contact_settings, as: 'pendingContactSettings', class: Google::Apis::DomainsV1alpha2::ContactSettings, decorator: Google::Apis::DomainsV1alpha2::ContactSettings::Representation
|
562
598
|
|
599
|
+
property :register_failure_reason, as: 'registerFailureReason'
|
563
600
|
property :state, as: 'state'
|
564
601
|
collection :supported_privacy, as: 'supportedPrivacy'
|
602
|
+
property :transfer_failure_reason, as: 'transferFailureReason'
|
565
603
|
end
|
566
604
|
end
|
567
605
|
|
@@ -571,6 +609,15 @@ module Google
|
|
571
609
|
end
|
572
610
|
end
|
573
611
|
|
612
|
+
class RetrieveImportableDomainsResponse
|
613
|
+
# @private
|
614
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
615
|
+
collection :domains, as: 'domains', class: Google::Apis::DomainsV1alpha2::Domain, decorator: Google::Apis::DomainsV1alpha2::Domain::Representation
|
616
|
+
|
617
|
+
property :next_page_token, as: 'nextPageToken'
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
574
621
|
class RetrieveRegisterParametersResponse
|
575
622
|
# @private
|
576
623
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -645,6 +692,7 @@ module Google
|
|
645
692
|
# @private
|
646
693
|
class Representation < Google::Apis::Core::JsonRepresentation
|
647
694
|
property :current_registrar, as: 'currentRegistrar'
|
695
|
+
property :current_registrar_uri, as: 'currentRegistrarUri'
|
648
696
|
property :domain_name, as: 'domainName'
|
649
697
|
collection :name_servers, as: 'nameServers'
|
650
698
|
collection :supported_privacy, as: 'supportedPrivacy'
|
@@ -458,6 +458,43 @@ module Google
|
|
458
458
|
execute_or_queue_command(command, &block)
|
459
459
|
end
|
460
460
|
|
461
|
+
# Imports a domain name from [Google Domains](https://domains.google/) for use
|
462
|
+
# in Cloud Domains. To transfer a domain from another registrar, use the `
|
463
|
+
# TransferDomain` method instead. Since individual users can own domains in
|
464
|
+
# Google Domains, the calling user must have ownership permission on the domain.
|
465
|
+
# @param [String] parent
|
466
|
+
# Required. The parent resource of the Registration. Must be in the format `
|
467
|
+
# projects/*/locations/*`.
|
468
|
+
# @param [Google::Apis::DomainsV1alpha2::ImportDomainRequest] import_domain_request_object
|
469
|
+
# @param [String] fields
|
470
|
+
# Selector specifying which fields to include in a partial response.
|
471
|
+
# @param [String] quota_user
|
472
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
473
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
474
|
+
# @param [Google::Apis::RequestOptions] options
|
475
|
+
# Request-specific options
|
476
|
+
#
|
477
|
+
# @yield [result, err] Result & error if block supplied
|
478
|
+
# @yieldparam result [Google::Apis::DomainsV1alpha2::Operation] parsed result object
|
479
|
+
# @yieldparam err [StandardError] error object if request failed
|
480
|
+
#
|
481
|
+
# @return [Google::Apis::DomainsV1alpha2::Operation]
|
482
|
+
#
|
483
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
484
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
485
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
486
|
+
def import_registration_domain(parent, import_domain_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
487
|
+
command = make_simple_command(:post, 'v1alpha2/{+parent}/registrations:import', options)
|
488
|
+
command.request_representation = Google::Apis::DomainsV1alpha2::ImportDomainRequest::Representation
|
489
|
+
command.request_object = import_domain_request_object
|
490
|
+
command.response_representation = Google::Apis::DomainsV1alpha2::Operation::Representation
|
491
|
+
command.response_class = Google::Apis::DomainsV1alpha2::Operation
|
492
|
+
command.params['parent'] = parent unless parent.nil?
|
493
|
+
command.query['fields'] = fields unless fields.nil?
|
494
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
495
|
+
execute_or_queue_command(command, &block)
|
496
|
+
end
|
497
|
+
|
461
498
|
# Lists the `Registration` resources in a project.
|
462
499
|
# @param [String] parent
|
463
500
|
# Required. The project and location from which to list `Registration`s,
|
@@ -663,6 +700,47 @@ module Google
|
|
663
700
|
execute_or_queue_command(command, &block)
|
664
701
|
end
|
665
702
|
|
703
|
+
# Lists domain names from [Google Domains](https://domains.google/) that can be
|
704
|
+
# imported to Cloud Domains using the `ImportDomain` method. Since individual
|
705
|
+
# users can own domains in Google Domains, the list of domains returned depends
|
706
|
+
# on the individual user making the call. Domains supported by Google Domains,
|
707
|
+
# but not supported by Cloud Domains, are not returned.
|
708
|
+
# @param [String] location
|
709
|
+
# Required. The location. Must be in the format `projects/*/locations/*`.
|
710
|
+
# @param [Fixnum] page_size
|
711
|
+
# Maximum number of results to return.
|
712
|
+
# @param [String] page_token
|
713
|
+
# When set to the `next_page_token` from a prior response, provides the next
|
714
|
+
# page of results.
|
715
|
+
# @param [String] fields
|
716
|
+
# Selector specifying which fields to include in a partial response.
|
717
|
+
# @param [String] quota_user
|
718
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
719
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
720
|
+
# @param [Google::Apis::RequestOptions] options
|
721
|
+
# Request-specific options
|
722
|
+
#
|
723
|
+
# @yield [result, err] Result & error if block supplied
|
724
|
+
# @yieldparam result [Google::Apis::DomainsV1alpha2::RetrieveImportableDomainsResponse] parsed result object
|
725
|
+
# @yieldparam err [StandardError] error object if request failed
|
726
|
+
#
|
727
|
+
# @return [Google::Apis::DomainsV1alpha2::RetrieveImportableDomainsResponse]
|
728
|
+
#
|
729
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
730
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
731
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
732
|
+
def retrieve_project_location_registration_importable_domains(location, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
733
|
+
command = make_simple_command(:get, 'v1alpha2/{+location}/registrations:retrieveImportableDomains', options)
|
734
|
+
command.response_representation = Google::Apis::DomainsV1alpha2::RetrieveImportableDomainsResponse::Representation
|
735
|
+
command.response_class = Google::Apis::DomainsV1alpha2::RetrieveImportableDomainsResponse
|
736
|
+
command.params['location'] = location unless location.nil?
|
737
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
738
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
739
|
+
command.query['fields'] = fields unless fields.nil?
|
740
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
741
|
+
execute_or_queue_command(command, &block)
|
742
|
+
end
|
743
|
+
|
666
744
|
# Gets parameters needed to register a new domain name, including price and up-
|
667
745
|
# to-date availability. Use the returned values to call `RegisterDomain`.
|
668
746
|
# @param [String] location
|
@@ -699,8 +777,9 @@ module Google
|
|
699
777
|
end
|
700
778
|
|
701
779
|
# Gets parameters needed to transfer a domain name from another registrar to
|
702
|
-
# Cloud Domains. For domains managed by Google Domains
|
703
|
-
#
|
780
|
+
# Cloud Domains. For domains already managed by [Google Domains](https://domains.
|
781
|
+
# google/), use `ImportDomain` instead. Use the returned values to call `
|
782
|
+
# TransferDomain`.
|
704
783
|
# @param [String] location
|
705
784
|
# Required. The location. Must be in the format `projects/*/locations/*`.
|
706
785
|
# @param [String] domain_name
|
@@ -847,20 +926,20 @@ module Google
|
|
847
926
|
end
|
848
927
|
|
849
928
|
# Transfers a domain name from another registrar to Cloud Domains. For domains
|
850
|
-
# managed by Google Domains,
|
851
|
-
# Before calling this method, go to the domain's current
|
852
|
-
# domain for transfer and retrieve the domain's transfer
|
853
|
-
# Then call `RetrieveTransferParameters` to confirm that the
|
854
|
-
# and to get values needed to build a call to this method. A
|
855
|
-
# creates a `Registration` resource in state `TRANSFER_PENDING`.
|
856
|
-
# several days to complete the transfer process. The registrant can
|
857
|
-
# up this process by approving the transfer through the current
|
858
|
-
# either by clicking a link in an email from the registrar or by
|
859
|
-
# registrar's website. A few minutes after transfer approval, the
|
860
|
-
# transitions to state `ACTIVE`, indicating that the transfer was
|
861
|
-
# the transfer is rejected or the request expires without being
|
862
|
-
# resource can end up in state `TRANSFER_FAILED`. If transfer
|
863
|
-
# safely delete the resource and retry the transfer.
|
929
|
+
# already managed by [Google Domains](https://domains.google/), use `
|
930
|
+
# ImportDomain` instead. Before calling this method, go to the domain's current
|
931
|
+
# registrar to unlock the domain for transfer and retrieve the domain's transfer
|
932
|
+
# authorization code. Then call `RetrieveTransferParameters` to confirm that the
|
933
|
+
# domain is unlocked and to get values needed to build a call to this method. A
|
934
|
+
# successful call creates a `Registration` resource in state `TRANSFER_PENDING`.
|
935
|
+
# It can take several days to complete the transfer process. The registrant can
|
936
|
+
# often speed up this process by approving the transfer through the current
|
937
|
+
# registrar, either by clicking a link in an email from the registrar or by
|
938
|
+
# visiting the registrar's website. A few minutes after transfer approval, the
|
939
|
+
# resource transitions to state `ACTIVE`, indicating that the transfer was
|
940
|
+
# successful. If the transfer is rejected or the request expires without being
|
941
|
+
# approved, the resource can end up in state `TRANSFER_FAILED`. If transfer
|
942
|
+
# fails, you can safely delete the resource and retry the transfer.
|
864
943
|
# @param [String] parent
|
865
944
|
# Required. The parent resource of the `Registration`. Must be in the format `
|
866
945
|
# projects/*/locations/*`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-domains_v1alpha2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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: 2022-
|
11
|
+
date: 2022-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.6'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.6'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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_v1alpha2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1alpha2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1alpha2/v0.17.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-domains_v1alpha2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Domains API V1alpha2
|