google-apis-domains_v1 0.4.0 → 0.7.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 +13 -0
- data/lib/google/apis/domains_v1/classes.rb +122 -7
- 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 +106 -24
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af532456f4d3d549072f18ee436d030595f48d2a33f780f2298f84b0d9f975f9
|
4
|
+
data.tar.gz: 1515c0a1c7bc25e09f96a0bc25ea4b57995a5b5c0081a448060d7990f18f835c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1c6473331cc2f0a7850fecb341c66456e21e5b9de4741193f517fec05039afa0c1aa7c4d848a3c28be35c3a030ad27c0a0672ccad0fb402caf6276d14490b08
|
7
|
+
data.tar.gz: c277f192d4f2066672038ef73cf2992b002f2a19ee2d22530386c589bb5942b382d2e4fbe9b9b0537117525c8e21391558c2f98b624b1cd07c12f9743d2be2fb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-domains_v1
|
2
2
|
|
3
|
+
### v0.7.0 (2022-06-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220616
|
6
|
+
* Regenerated using generator version 0.7.0
|
7
|
+
|
8
|
+
### v0.6.0 (2022-06-05)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.5.0
|
11
|
+
|
12
|
+
### v0.5.0 (2022-05-22)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20220517
|
15
|
+
|
3
16
|
### v0.4.0 (2022-03-14)
|
4
17
|
|
5
18
|
* Regenerated from discovery document revision 20220308
|
@@ -35,8 +35,8 @@ module Google
|
|
35
35
|
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
36
36
|
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
37
37
|
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
38
|
-
# exempts jose@example.com from DATA_READ logging, and aliya@example.com
|
39
|
-
# DATA_WRITE logging.
|
38
|
+
# exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com`
|
39
|
+
# from DATA_WRITE logging.
|
40
40
|
class AuditConfig
|
41
41
|
include Google::Apis::Core::Hashable
|
42
42
|
|
@@ -136,7 +136,7 @@ module Google
|
|
136
136
|
# @return [Google::Apis::DomainsV1::Expr]
|
137
137
|
attr_accessor :condition
|
138
138
|
|
139
|
-
# Specifies the principals requesting access for a Cloud
|
139
|
+
# Specifies the principals requesting access for a Google Cloud resource. `
|
140
140
|
# members` can have the following values: * `allUsers`: A special identifier
|
141
141
|
# that represents anyone who is on the internet; with or without a Google
|
142
142
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -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
|
@@ -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
|
@@ -1531,7 +1636,7 @@ module Google
|
|
1531
1636
|
include Google::Apis::Core::Hashable
|
1532
1637
|
|
1533
1638
|
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1534
|
-
# (such as
|
1639
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
1535
1640
|
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1536
1641
|
# Corresponds to the JSON property `permissions`
|
1537
1642
|
# @return [Array<String>]
|
@@ -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.7.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::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'
|
@@ -84,8 +84,8 @@ module Google
|
|
84
84
|
# The resource that owns the locations collection, if applicable.
|
85
85
|
# @param [String] filter
|
86
86
|
# A filter to narrow down results to a preferred subset. The filtering language
|
87
|
-
# accepts strings like "displayName=tokyo"
|
88
|
-
# AIP-160](https://google.aip.dev/160).
|
87
|
+
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
88
|
+
# in [AIP-160](https://google.aip.dev/160).
|
89
89
|
# @param [Fixnum] page_size
|
90
90
|
# The maximum number of results to return. If not set, the service selects a
|
91
91
|
# default.
|
@@ -416,8 +416,9 @@ module Google
|
|
416
416
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
417
417
|
# resource exists and does not have a policy set.
|
418
418
|
# @param [String] resource
|
419
|
-
# REQUIRED: The resource for which the policy is being requested. See
|
420
|
-
#
|
419
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
420
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
421
|
+
# appropriate value for this field.
|
421
422
|
# @param [Fixnum] options_requested_policy_version
|
422
423
|
# Optional. The maximum policy version that will be used to format the policy.
|
423
424
|
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
@@ -457,6 +458,43 @@ module Google
|
|
457
458
|
execute_or_queue_command(command, &block)
|
458
459
|
end
|
459
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
|
+
|
460
498
|
# Lists the `Registration` resources in a project.
|
461
499
|
# @param [String] parent
|
462
500
|
# Required. The project and location from which to list `Registration`s,
|
@@ -662,6 +700,47 @@ module Google
|
|
662
700
|
execute_or_queue_command(command, &block)
|
663
701
|
end
|
664
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
|
+
|
665
744
|
# Gets parameters needed to register a new domain name, including price and up-
|
666
745
|
# to-date availability. Use the returned values to call `RegisterDomain`.
|
667
746
|
# @param [String] location
|
@@ -698,8 +777,9 @@ module Google
|
|
698
777
|
end
|
699
778
|
|
700
779
|
# Gets parameters needed to transfer a domain name from another registrar to
|
701
|
-
# Cloud Domains. For domains managed by Google Domains
|
702
|
-
#
|
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`.
|
703
783
|
# @param [String] location
|
704
784
|
# Required. The location. Must be in the format `projects/*/locations/*`.
|
705
785
|
# @param [String] domain_name
|
@@ -773,8 +853,9 @@ module Google
|
|
773
853
|
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
774
854
|
# PERMISSION_DENIED` errors.
|
775
855
|
# @param [String] resource
|
776
|
-
# REQUIRED: The resource for which the policy is being specified. See
|
777
|
-
#
|
856
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
857
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
858
|
+
# appropriate value for this field.
|
778
859
|
# @param [Google::Apis::DomainsV1::SetIamPolicyRequest] set_iam_policy_request_object
|
779
860
|
# @param [String] fields
|
780
861
|
# Selector specifying which fields to include in a partial response.
|
@@ -811,8 +892,9 @@ module Google
|
|
811
892
|
# permission-aware UIs and command-line tools, not for authorization checking.
|
812
893
|
# This operation may "fail open" without warning.
|
813
894
|
# @param [String] resource
|
814
|
-
# REQUIRED: The resource for which the policy detail is being requested. See
|
815
|
-
#
|
895
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
896
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
897
|
+
# appropriate value for this field.
|
816
898
|
# @param [Google::Apis::DomainsV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
817
899
|
# @param [String] fields
|
818
900
|
# Selector specifying which fields to include in a partial response.
|
@@ -844,20 +926,20 @@ module Google
|
|
844
926
|
end
|
845
927
|
|
846
928
|
# Transfers a domain name from another registrar to Cloud Domains. For domains
|
847
|
-
# managed by Google Domains,
|
848
|
-
# Before calling this method, go to the domain's current
|
849
|
-
# domain for transfer and retrieve the domain's transfer
|
850
|
-
# Then call `RetrieveTransferParameters` to confirm that the
|
851
|
-
# and to get values needed to build a call to this method. A
|
852
|
-
# creates a `Registration` resource in state `TRANSFER_PENDING`.
|
853
|
-
# several days to complete the transfer process. The registrant can
|
854
|
-
# up this process by approving the transfer through the current
|
855
|
-
# either by clicking a link in an email from the registrar or by
|
856
|
-
# registrar's website. A few minutes after transfer approval, the
|
857
|
-
# transitions to state `ACTIVE`, indicating that the transfer was
|
858
|
-
# the transfer is rejected or the request expires without being
|
859
|
-
# resource can end up in state `TRANSFER_FAILED`. If transfer
|
860
|
-
# 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.
|
861
943
|
# @param [String] parent
|
862
944
|
# Required. The parent resource of the `Registration`. Must be in the format `
|
863
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.7.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_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.7.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: []
|
@@ -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 V1
|