google-apis-domains_v1 0.6.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/lib/google/apis/domains_v1/classes.rb +128 -13
- data/lib/google/apis/domains_v1/gem_version.rb +3 -3
- data/lib/google/apis/domains_v1/representations.rb +48 -0
- data/lib/google/apis/domains_v1/service.rb +95 -16
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ae2f4e9d582167c82c3c294b5215160120366ace4e02ee343a5ed25f2be8804
|
4
|
+
data.tar.gz: d3114813b05e11093b0a3b533f67be80a15377d238f64179fda3a1dff7575b4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b214f33ccec7c4f202ec64dfa42bc38281cae44d7eb96eab93e7362ae72e74e5fed834b040c9aa65ffc3d233d6de18d3714be23e6dbb0ca82f2b91a0d646d405
|
7
|
+
data.tar.gz: a08d213f517b41925fd652c5226ec61000cee2a07df2c1387b042b46e30d33d341df01014a3bdb0a80dae9a2595fc7a44aebf5d43c02bd83b5e1b72c7207d444
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Release history for google-apis-domains_v1
|
2
2
|
|
3
|
+
### v0.9.0 (2022-07-17)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220712
|
6
|
+
* Regenerated using generator version 0.9.0
|
7
|
+
|
8
|
+
### v0.8.0 (2022-07-01)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.8.0
|
11
|
+
|
12
|
+
### v0.7.0 (2022-06-25)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220616
|
15
|
+
* Regenerated using generator version 0.7.0
|
16
|
+
|
3
17
|
### v0.6.0 (2022-06-05)
|
4
18
|
|
5
19
|
* Regenerated using generator version 0.5.0
|
@@ -320,11 +320,11 @@ module Google
|
|
320
320
|
# Box or similar. It is not intended to model geographical locations (roads,
|
321
321
|
# towns, mountains). In typical usage an address would be created via user input
|
322
322
|
# or from importing existing data, depending on the type of process. Advice on
|
323
|
-
# address input / editing: - Use an
|
324
|
-
# github.com/google/libaddressinput) - Users should not be
|
325
|
-
# elements for input or editing of fields outside countries
|
326
|
-
# used. For more guidance on how to use this schema, please
|
327
|
-
# google.com/business/answer/6397478
|
323
|
+
# address input / editing: - Use an internationalization-ready address widget
|
324
|
+
# such as https://github.com/google/libaddressinput) - Users should not be
|
325
|
+
# presented with UI elements for input or editing of fields outside countries
|
326
|
+
# where that field is used. For more guidance on how to use this schema, please
|
327
|
+
# see: https://support.google.com/business/answer/6397478
|
328
328
|
# Corresponds to the JSON property `postalAddress`
|
329
329
|
# @return [Google::Apis::DomainsV1::PostalAddress]
|
330
330
|
attr_accessor :postal_address
|
@@ -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::DomainsV1::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
|
@@ -1026,11 +1083,11 @@ module Google
|
|
1026
1083
|
# Box or similar. It is not intended to model geographical locations (roads,
|
1027
1084
|
# towns, mountains). In typical usage an address would be created via user input
|
1028
1085
|
# or from importing existing data, depending on the type of process. Advice on
|
1029
|
-
# address input / editing: - Use an
|
1030
|
-
# github.com/google/libaddressinput) - Users should not be
|
1031
|
-
# elements for input or editing of fields outside countries
|
1032
|
-
# used. For more guidance on how to use this schema, please
|
1033
|
-
# google.com/business/answer/6397478
|
1086
|
+
# address input / editing: - Use an internationalization-ready address widget
|
1087
|
+
# such as https://github.com/google/libaddressinput) - Users should not be
|
1088
|
+
# presented with UI elements for input or editing of fields outside countries
|
1089
|
+
# where that field is used. For more guidance on how to use this schema, please
|
1090
|
+
# see: https://support.google.com/business/answer/6397478
|
1034
1091
|
class PostalAddress
|
1035
1092
|
include Google::Apis::Core::Hashable
|
1036
1093
|
|
@@ -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::DomainsV1::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::DomainsV1::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::DomainsV1::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::DomainsV1::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 DomainsV1
|
18
18
|
# Version of the google-apis-domains_v1 gem
|
19
|
-
GEM_VERSION = "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.
|
22
|
+
GENERATOR_VERSION = "0.9.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220712"
|
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::DomainsV1::Money, decorator: Google::Apis::DomainsV1::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::DomainsV1::ContactSettings, decorator: Google::Apis::DomainsV1::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::DomainsV1::Domain, decorator: Google::Apis::DomainsV1::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::DomainsV1::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::DomainsV1::Operation] parsed result object
|
479
|
+
# @yieldparam err [StandardError] error object if request failed
|
480
|
+
#
|
481
|
+
# @return [Google::Apis::DomainsV1::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, 'v1/{+parent}/registrations:import', options)
|
488
|
+
command.request_representation = Google::Apis::DomainsV1::ImportDomainRequest::Representation
|
489
|
+
command.request_object = import_domain_request_object
|
490
|
+
command.response_representation = Google::Apis::DomainsV1::Operation::Representation
|
491
|
+
command.response_class = Google::Apis::DomainsV1::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::DomainsV1::RetrieveImportableDomainsResponse] parsed result object
|
725
|
+
# @yieldparam err [StandardError] error object if request failed
|
726
|
+
#
|
727
|
+
# @return [Google::Apis::DomainsV1::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, 'v1/{+location}/registrations:retrieveImportableDomains', options)
|
734
|
+
command.response_representation = Google::Apis::DomainsV1::RetrieveImportableDomainsResponse::Representation
|
735
|
+
command.response_class = Google::Apis::DomainsV1::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_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 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: 2022-
|
11
|
+
date: 2022-07-18 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.7'
|
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.7'
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-domains_v1/v0.9.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: []
|