google-cloud-domains-v1 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/domains/v1/domains/client.rb +16 -5
- data/lib/google/cloud/domains/v1/domains/operations.rb +15 -4
- data/lib/google/cloud/domains/v1/domains/rest/client.rb +306 -4
- data/lib/google/cloud/domains/v1/domains/rest/operations.rb +84 -7
- data/lib/google/cloud/domains/v1/domains/rest/service_stub.rb +15 -15
- data/lib/google/cloud/domains/v1/domains_pb.rb +28 -246
- data/lib/google/cloud/domains/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +5 -5
@@ -136,6 +136,26 @@ module Google
|
|
136
136
|
# @return [::Gapic::Operation]
|
137
137
|
#
|
138
138
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
139
|
+
#
|
140
|
+
# @example Basic example
|
141
|
+
# require "google/longrunning"
|
142
|
+
#
|
143
|
+
# # Create a client object. The client can be reused for multiple calls.
|
144
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
145
|
+
#
|
146
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
147
|
+
# request = Google::Longrunning::ListOperationsRequest.new
|
148
|
+
#
|
149
|
+
# # Call the list_operations method.
|
150
|
+
# result = client.list_operations request
|
151
|
+
#
|
152
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
153
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
154
|
+
# result.each do |item|
|
155
|
+
# # Each element is of type ::Google::Longrunning::Operation.
|
156
|
+
# p item
|
157
|
+
# end
|
158
|
+
#
|
139
159
|
def list_operations request, options = nil
|
140
160
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
141
161
|
|
@@ -201,6 +221,29 @@ module Google
|
|
201
221
|
# @return [::Gapic::Operation]
|
202
222
|
#
|
203
223
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
224
|
+
#
|
225
|
+
# @example Basic example
|
226
|
+
# require "google/longrunning"
|
227
|
+
#
|
228
|
+
# # Create a client object. The client can be reused for multiple calls.
|
229
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
230
|
+
#
|
231
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
232
|
+
# request = Google::Longrunning::GetOperationRequest.new
|
233
|
+
#
|
234
|
+
# # Call the get_operation method.
|
235
|
+
# result = client.get_operation request
|
236
|
+
#
|
237
|
+
# # The returned object is of type Gapic::Operation. You can use it to
|
238
|
+
# # check the status of an operation, cancel it, or wait for results.
|
239
|
+
# # Here is how to wait for a response.
|
240
|
+
# result.wait_until_done! timeout: 60
|
241
|
+
# if result.response?
|
242
|
+
# p result.response
|
243
|
+
# else
|
244
|
+
# puts "No response received."
|
245
|
+
# end
|
246
|
+
#
|
204
247
|
def get_operation request, options = nil
|
205
248
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
206
249
|
|
@@ -267,6 +310,22 @@ module Google
|
|
267
310
|
# @return [::Google::Protobuf::Empty]
|
268
311
|
#
|
269
312
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
313
|
+
#
|
314
|
+
# @example Basic example
|
315
|
+
# require "google/longrunning"
|
316
|
+
#
|
317
|
+
# # Create a client object. The client can be reused for multiple calls.
|
318
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
319
|
+
#
|
320
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
321
|
+
# request = Google::Longrunning::DeleteOperationRequest.new
|
322
|
+
#
|
323
|
+
# # Call the delete_operation method.
|
324
|
+
# result = client.delete_operation request
|
325
|
+
#
|
326
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
327
|
+
# p result
|
328
|
+
#
|
270
329
|
def delete_operation request, options = nil
|
271
330
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
272
331
|
|
@@ -338,6 +397,22 @@ module Google
|
|
338
397
|
# @return [::Google::Protobuf::Empty]
|
339
398
|
#
|
340
399
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
400
|
+
#
|
401
|
+
# @example Basic example
|
402
|
+
# require "google/longrunning"
|
403
|
+
#
|
404
|
+
# # Create a client object. The client can be reused for multiple calls.
|
405
|
+
# client = Google::Longrunning::Operations::Rest::Client.new
|
406
|
+
#
|
407
|
+
# # Create a request. To set request fields, pass in keyword arguments.
|
408
|
+
# request = Google::Longrunning::CancelOperationRequest.new
|
409
|
+
#
|
410
|
+
# # Call the cancel_operation method.
|
411
|
+
# result = client.cancel_operation request
|
412
|
+
#
|
413
|
+
# # The returned object is of type Google::Protobuf::Empty.
|
414
|
+
# p result
|
415
|
+
#
|
341
416
|
def cancel_operation request, options = nil
|
342
417
|
raise ::ArgumentError, "request must be provided" if request.nil?
|
343
418
|
|
@@ -411,9 +486,9 @@ module Google
|
|
411
486
|
# * (`String`) The path to a service account key file in JSON format
|
412
487
|
# * (`Hash`) A service account key as a Hash
|
413
488
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
414
|
-
# (see the [googleauth docs](https://
|
489
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
415
490
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
416
|
-
# (see the [signet docs](https://
|
491
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
417
492
|
# * (`nil`) indicating no credentials
|
418
493
|
# @return [::Object]
|
419
494
|
# @!attribute [rw] scope
|
@@ -446,7 +521,9 @@ module Google
|
|
446
521
|
class Configuration
|
447
522
|
extend ::Gapic::Config
|
448
523
|
|
449
|
-
|
524
|
+
DEFAULT_ENDPOINT = "domains.googleapis.com"
|
525
|
+
|
526
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
450
527
|
config_attr :credentials, nil do |value|
|
451
528
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
452
529
|
allowed.any? { |klass| klass === value }
|
@@ -567,7 +644,7 @@ module Google
|
|
567
644
|
|
568
645
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
|
569
646
|
query_string_params = if query_string_params.any?
|
570
|
-
query_string_params.to_h { |p| p.split
|
647
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
571
648
|
else
|
572
649
|
{}
|
573
650
|
end
|
@@ -605,7 +682,7 @@ module Google
|
|
605
682
|
|
606
683
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
|
607
684
|
query_string_params = if query_string_params.any?
|
608
|
-
query_string_params.to_h { |p| p.split
|
685
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
609
686
|
else
|
610
687
|
{}
|
611
688
|
end
|
@@ -643,7 +720,7 @@ module Google
|
|
643
720
|
|
644
721
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
|
645
722
|
query_string_params = if query_string_params.any?
|
646
|
-
query_string_params.to_h { |p| p.split
|
723
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
647
724
|
else
|
648
725
|
{}
|
649
726
|
end
|
@@ -681,7 +758,7 @@ module Google
|
|
681
758
|
|
682
759
|
verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
|
683
760
|
query_string_params = if query_string_params.any?
|
684
|
-
query_string_params.to_h { |p| p.split
|
761
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
685
762
|
else
|
686
763
|
{}
|
687
764
|
end
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_search_domains_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
63
63
|
else
|
64
64
|
{}
|
65
65
|
end
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_retrieve_register_parameters_request request_pb
|
99
99
|
query_string_params = if query_string_params.any?
|
100
|
-
query_string_params.to_h { |p| p.split
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
101
101
|
else
|
102
102
|
{}
|
103
103
|
end
|
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
|
136
136
|
verb, uri, query_string_params, body = ServiceStub.transcode_register_domain_request request_pb
|
137
137
|
query_string_params = if query_string_params.any?
|
138
|
-
query_string_params.to_h { |p| p.split
|
138
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
139
139
|
else
|
140
140
|
{}
|
141
141
|
end
|
@@ -173,7 +173,7 @@ module Google
|
|
173
173
|
|
174
174
|
verb, uri, query_string_params, body = ServiceStub.transcode_retrieve_transfer_parameters_request request_pb
|
175
175
|
query_string_params = if query_string_params.any?
|
176
|
-
query_string_params.to_h { |p| p.split
|
176
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
177
177
|
else
|
178
178
|
{}
|
179
179
|
end
|
@@ -211,7 +211,7 @@ module Google
|
|
211
211
|
|
212
212
|
verb, uri, query_string_params, body = ServiceStub.transcode_transfer_domain_request request_pb
|
213
213
|
query_string_params = if query_string_params.any?
|
214
|
-
query_string_params.to_h { |p| p.split
|
214
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
215
215
|
else
|
216
216
|
{}
|
217
217
|
end
|
@@ -249,7 +249,7 @@ module Google
|
|
249
249
|
|
250
250
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_registrations_request request_pb
|
251
251
|
query_string_params = if query_string_params.any?
|
252
|
-
query_string_params.to_h { |p| p.split
|
252
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
253
253
|
else
|
254
254
|
{}
|
255
255
|
end
|
@@ -287,7 +287,7 @@ module Google
|
|
287
287
|
|
288
288
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_registration_request request_pb
|
289
289
|
query_string_params = if query_string_params.any?
|
290
|
-
query_string_params.to_h { |p| p.split
|
290
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
291
291
|
else
|
292
292
|
{}
|
293
293
|
end
|
@@ -325,7 +325,7 @@ module Google
|
|
325
325
|
|
326
326
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_registration_request request_pb
|
327
327
|
query_string_params = if query_string_params.any?
|
328
|
-
query_string_params.to_h { |p| p.split
|
328
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
329
329
|
else
|
330
330
|
{}
|
331
331
|
end
|
@@ -363,7 +363,7 @@ module Google
|
|
363
363
|
|
364
364
|
verb, uri, query_string_params, body = ServiceStub.transcode_configure_management_settings_request request_pb
|
365
365
|
query_string_params = if query_string_params.any?
|
366
|
-
query_string_params.to_h { |p| p.split
|
366
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
367
367
|
else
|
368
368
|
{}
|
369
369
|
end
|
@@ -401,7 +401,7 @@ module Google
|
|
401
401
|
|
402
402
|
verb, uri, query_string_params, body = ServiceStub.transcode_configure_dns_settings_request request_pb
|
403
403
|
query_string_params = if query_string_params.any?
|
404
|
-
query_string_params.to_h { |p| p.split
|
404
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
405
405
|
else
|
406
406
|
{}
|
407
407
|
end
|
@@ -439,7 +439,7 @@ module Google
|
|
439
439
|
|
440
440
|
verb, uri, query_string_params, body = ServiceStub.transcode_configure_contact_settings_request request_pb
|
441
441
|
query_string_params = if query_string_params.any?
|
442
|
-
query_string_params.to_h { |p| p.split
|
442
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
443
443
|
else
|
444
444
|
{}
|
445
445
|
end
|
@@ -477,7 +477,7 @@ module Google
|
|
477
477
|
|
478
478
|
verb, uri, query_string_params, body = ServiceStub.transcode_export_registration_request request_pb
|
479
479
|
query_string_params = if query_string_params.any?
|
480
|
-
query_string_params.to_h { |p| p.split
|
480
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
481
481
|
else
|
482
482
|
{}
|
483
483
|
end
|
@@ -515,7 +515,7 @@ module Google
|
|
515
515
|
|
516
516
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_registration_request request_pb
|
517
517
|
query_string_params = if query_string_params.any?
|
518
|
-
query_string_params.to_h { |p| p.split
|
518
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
519
519
|
else
|
520
520
|
{}
|
521
521
|
end
|
@@ -553,7 +553,7 @@ module Google
|
|
553
553
|
|
554
554
|
verb, uri, query_string_params, body = ServiceStub.transcode_retrieve_authorization_code_request request_pb
|
555
555
|
query_string_params = if query_string_params.any?
|
556
|
-
query_string_params.to_h { |p| p.split
|
556
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
557
557
|
else
|
558
558
|
{}
|
559
559
|
end
|
@@ -591,7 +591,7 @@ module Google
|
|
591
591
|
|
592
592
|
verb, uri, query_string_params, body = ServiceStub.transcode_reset_authorization_code_request request_pb
|
593
593
|
query_string_params = if query_string_params.any?
|
594
|
-
query_string_params.to_h { |p| p.split
|
594
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
595
595
|
else
|
596
596
|
{}
|
597
597
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/domains/v1/domains.proto
|
3
4
|
|
@@ -13,254 +14,35 @@ require 'google/protobuf/timestamp_pb'
|
|
13
14
|
require 'google/type/money_pb'
|
14
15
|
require 'google/type/postal_address_pb'
|
15
16
|
|
16
|
-
|
17
|
-
add_file("google/cloud/domains/v1/domains.proto", :syntax => :proto3) do
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
end
|
42
|
-
add_enum "google.cloud.domains.v1.Registration.Issue" do
|
43
|
-
value :ISSUE_UNSPECIFIED, 0
|
44
|
-
value :CONTACT_SUPPORT, 1
|
45
|
-
value :UNVERIFIED_EMAIL, 2
|
46
|
-
end
|
47
|
-
add_message "google.cloud.domains.v1.ManagementSettings" do
|
48
|
-
optional :renewal_method, :enum, 3, "google.cloud.domains.v1.ManagementSettings.RenewalMethod"
|
49
|
-
optional :transfer_lock_state, :enum, 4, "google.cloud.domains.v1.TransferLockState"
|
50
|
-
end
|
51
|
-
add_enum "google.cloud.domains.v1.ManagementSettings.RenewalMethod" do
|
52
|
-
value :RENEWAL_METHOD_UNSPECIFIED, 0
|
53
|
-
value :AUTOMATIC_RENEWAL, 1
|
54
|
-
value :MANUAL_RENEWAL, 2
|
55
|
-
end
|
56
|
-
add_message "google.cloud.domains.v1.DnsSettings" do
|
57
|
-
repeated :glue_records, :message, 4, "google.cloud.domains.v1.DnsSettings.GlueRecord"
|
58
|
-
oneof :dns_provider do
|
59
|
-
optional :custom_dns, :message, 1, "google.cloud.domains.v1.DnsSettings.CustomDns"
|
60
|
-
optional :google_domains_dns, :message, 2, "google.cloud.domains.v1.DnsSettings.GoogleDomainsDns"
|
61
|
-
end
|
62
|
-
end
|
63
|
-
add_message "google.cloud.domains.v1.DnsSettings.CustomDns" do
|
64
|
-
repeated :name_servers, :string, 1
|
65
|
-
repeated :ds_records, :message, 2, "google.cloud.domains.v1.DnsSettings.DsRecord"
|
66
|
-
end
|
67
|
-
add_message "google.cloud.domains.v1.DnsSettings.GoogleDomainsDns" do
|
68
|
-
repeated :name_servers, :string, 1
|
69
|
-
optional :ds_state, :enum, 2, "google.cloud.domains.v1.DnsSettings.DsState"
|
70
|
-
repeated :ds_records, :message, 3, "google.cloud.domains.v1.DnsSettings.DsRecord"
|
71
|
-
end
|
72
|
-
add_message "google.cloud.domains.v1.DnsSettings.DsRecord" do
|
73
|
-
optional :key_tag, :int32, 1
|
74
|
-
optional :algorithm, :enum, 2, "google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm"
|
75
|
-
optional :digest_type, :enum, 3, "google.cloud.domains.v1.DnsSettings.DsRecord.DigestType"
|
76
|
-
optional :digest, :string, 4
|
77
|
-
end
|
78
|
-
add_enum "google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm" do
|
79
|
-
value :ALGORITHM_UNSPECIFIED, 0
|
80
|
-
value :RSAMD5, 1
|
81
|
-
value :DH, 2
|
82
|
-
value :DSA, 3
|
83
|
-
value :ECC, 4
|
84
|
-
value :RSASHA1, 5
|
85
|
-
value :DSANSEC3SHA1, 6
|
86
|
-
value :RSASHA1NSEC3SHA1, 7
|
87
|
-
value :RSASHA256, 8
|
88
|
-
value :RSASHA512, 10
|
89
|
-
value :ECCGOST, 12
|
90
|
-
value :ECDSAP256SHA256, 13
|
91
|
-
value :ECDSAP384SHA384, 14
|
92
|
-
value :ED25519, 15
|
93
|
-
value :ED448, 16
|
94
|
-
value :INDIRECT, 252
|
95
|
-
value :PRIVATEDNS, 253
|
96
|
-
value :PRIVATEOID, 254
|
97
|
-
end
|
98
|
-
add_enum "google.cloud.domains.v1.DnsSettings.DsRecord.DigestType" do
|
99
|
-
value :DIGEST_TYPE_UNSPECIFIED, 0
|
100
|
-
value :SHA1, 1
|
101
|
-
value :SHA256, 2
|
102
|
-
value :GOST3411, 3
|
103
|
-
value :SHA384, 4
|
104
|
-
end
|
105
|
-
add_message "google.cloud.domains.v1.DnsSettings.GlueRecord" do
|
106
|
-
optional :host_name, :string, 1
|
107
|
-
repeated :ipv4_addresses, :string, 2
|
108
|
-
repeated :ipv6_addresses, :string, 3
|
109
|
-
end
|
110
|
-
add_enum "google.cloud.domains.v1.DnsSettings.DsState" do
|
111
|
-
value :DS_STATE_UNSPECIFIED, 0
|
112
|
-
value :DS_RECORDS_UNPUBLISHED, 1
|
113
|
-
value :DS_RECORDS_PUBLISHED, 2
|
114
|
-
end
|
115
|
-
add_message "google.cloud.domains.v1.ContactSettings" do
|
116
|
-
optional :privacy, :enum, 1, "google.cloud.domains.v1.ContactPrivacy"
|
117
|
-
optional :registrant_contact, :message, 2, "google.cloud.domains.v1.ContactSettings.Contact"
|
118
|
-
optional :admin_contact, :message, 3, "google.cloud.domains.v1.ContactSettings.Contact"
|
119
|
-
optional :technical_contact, :message, 4, "google.cloud.domains.v1.ContactSettings.Contact"
|
120
|
-
end
|
121
|
-
add_message "google.cloud.domains.v1.ContactSettings.Contact" do
|
122
|
-
optional :postal_address, :message, 1, "google.type.PostalAddress"
|
123
|
-
optional :email, :string, 2
|
124
|
-
optional :phone_number, :string, 3
|
125
|
-
optional :fax_number, :string, 4
|
126
|
-
end
|
127
|
-
add_message "google.cloud.domains.v1.SearchDomainsRequest" do
|
128
|
-
optional :query, :string, 1
|
129
|
-
optional :location, :string, 2
|
130
|
-
end
|
131
|
-
add_message "google.cloud.domains.v1.SearchDomainsResponse" do
|
132
|
-
repeated :register_parameters, :message, 1, "google.cloud.domains.v1.RegisterParameters"
|
133
|
-
end
|
134
|
-
add_message "google.cloud.domains.v1.RetrieveRegisterParametersRequest" do
|
135
|
-
optional :domain_name, :string, 1
|
136
|
-
optional :location, :string, 2
|
137
|
-
end
|
138
|
-
add_message "google.cloud.domains.v1.RetrieveRegisterParametersResponse" do
|
139
|
-
optional :register_parameters, :message, 1, "google.cloud.domains.v1.RegisterParameters"
|
140
|
-
end
|
141
|
-
add_message "google.cloud.domains.v1.RegisterDomainRequest" do
|
142
|
-
optional :parent, :string, 1
|
143
|
-
optional :registration, :message, 2, "google.cloud.domains.v1.Registration"
|
144
|
-
repeated :domain_notices, :enum, 3, "google.cloud.domains.v1.DomainNotice"
|
145
|
-
repeated :contact_notices, :enum, 4, "google.cloud.domains.v1.ContactNotice"
|
146
|
-
optional :yearly_price, :message, 5, "google.type.Money"
|
147
|
-
optional :validate_only, :bool, 6
|
148
|
-
end
|
149
|
-
add_message "google.cloud.domains.v1.RetrieveTransferParametersRequest" do
|
150
|
-
optional :domain_name, :string, 1
|
151
|
-
optional :location, :string, 2
|
152
|
-
end
|
153
|
-
add_message "google.cloud.domains.v1.RetrieveTransferParametersResponse" do
|
154
|
-
optional :transfer_parameters, :message, 1, "google.cloud.domains.v1.TransferParameters"
|
155
|
-
end
|
156
|
-
add_message "google.cloud.domains.v1.TransferDomainRequest" do
|
157
|
-
optional :parent, :string, 1
|
158
|
-
optional :registration, :message, 2, "google.cloud.domains.v1.Registration"
|
159
|
-
repeated :contact_notices, :enum, 3, "google.cloud.domains.v1.ContactNotice"
|
160
|
-
optional :yearly_price, :message, 4, "google.type.Money"
|
161
|
-
optional :authorization_code, :message, 5, "google.cloud.domains.v1.AuthorizationCode"
|
162
|
-
optional :validate_only, :bool, 6
|
163
|
-
end
|
164
|
-
add_message "google.cloud.domains.v1.ListRegistrationsRequest" do
|
165
|
-
optional :parent, :string, 1
|
166
|
-
optional :page_size, :int32, 2
|
167
|
-
optional :page_token, :string, 3
|
168
|
-
optional :filter, :string, 4
|
169
|
-
end
|
170
|
-
add_message "google.cloud.domains.v1.ListRegistrationsResponse" do
|
171
|
-
repeated :registrations, :message, 1, "google.cloud.domains.v1.Registration"
|
172
|
-
optional :next_page_token, :string, 2
|
173
|
-
end
|
174
|
-
add_message "google.cloud.domains.v1.GetRegistrationRequest" do
|
175
|
-
optional :name, :string, 1
|
176
|
-
end
|
177
|
-
add_message "google.cloud.domains.v1.UpdateRegistrationRequest" do
|
178
|
-
optional :registration, :message, 1, "google.cloud.domains.v1.Registration"
|
179
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
180
|
-
end
|
181
|
-
add_message "google.cloud.domains.v1.ConfigureManagementSettingsRequest" do
|
182
|
-
optional :registration, :string, 1
|
183
|
-
optional :management_settings, :message, 2, "google.cloud.domains.v1.ManagementSettings"
|
184
|
-
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
185
|
-
end
|
186
|
-
add_message "google.cloud.domains.v1.ConfigureDnsSettingsRequest" do
|
187
|
-
optional :registration, :string, 1
|
188
|
-
optional :dns_settings, :message, 2, "google.cloud.domains.v1.DnsSettings"
|
189
|
-
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
190
|
-
optional :validate_only, :bool, 4
|
191
|
-
end
|
192
|
-
add_message "google.cloud.domains.v1.ConfigureContactSettingsRequest" do
|
193
|
-
optional :registration, :string, 1
|
194
|
-
optional :contact_settings, :message, 2, "google.cloud.domains.v1.ContactSettings"
|
195
|
-
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
196
|
-
repeated :contact_notices, :enum, 4, "google.cloud.domains.v1.ContactNotice"
|
197
|
-
optional :validate_only, :bool, 5
|
198
|
-
end
|
199
|
-
add_message "google.cloud.domains.v1.ExportRegistrationRequest" do
|
200
|
-
optional :name, :string, 1
|
201
|
-
end
|
202
|
-
add_message "google.cloud.domains.v1.DeleteRegistrationRequest" do
|
203
|
-
optional :name, :string, 1
|
204
|
-
end
|
205
|
-
add_message "google.cloud.domains.v1.RetrieveAuthorizationCodeRequest" do
|
206
|
-
optional :registration, :string, 1
|
207
|
-
end
|
208
|
-
add_message "google.cloud.domains.v1.ResetAuthorizationCodeRequest" do
|
209
|
-
optional :registration, :string, 1
|
210
|
-
end
|
211
|
-
add_message "google.cloud.domains.v1.RegisterParameters" do
|
212
|
-
optional :domain_name, :string, 1
|
213
|
-
optional :availability, :enum, 2, "google.cloud.domains.v1.RegisterParameters.Availability"
|
214
|
-
repeated :supported_privacy, :enum, 3, "google.cloud.domains.v1.ContactPrivacy"
|
215
|
-
repeated :domain_notices, :enum, 4, "google.cloud.domains.v1.DomainNotice"
|
216
|
-
optional :yearly_price, :message, 5, "google.type.Money"
|
217
|
-
end
|
218
|
-
add_enum "google.cloud.domains.v1.RegisterParameters.Availability" do
|
219
|
-
value :AVAILABILITY_UNSPECIFIED, 0
|
220
|
-
value :AVAILABLE, 1
|
221
|
-
value :UNAVAILABLE, 2
|
222
|
-
value :UNSUPPORTED, 3
|
223
|
-
value :UNKNOWN, 4
|
224
|
-
end
|
225
|
-
add_message "google.cloud.domains.v1.TransferParameters" do
|
226
|
-
optional :domain_name, :string, 1
|
227
|
-
optional :current_registrar, :string, 2
|
228
|
-
repeated :name_servers, :string, 3
|
229
|
-
optional :transfer_lock_state, :enum, 4, "google.cloud.domains.v1.TransferLockState"
|
230
|
-
repeated :supported_privacy, :enum, 5, "google.cloud.domains.v1.ContactPrivacy"
|
231
|
-
optional :yearly_price, :message, 6, "google.type.Money"
|
232
|
-
end
|
233
|
-
add_message "google.cloud.domains.v1.AuthorizationCode" do
|
234
|
-
optional :code, :string, 1
|
235
|
-
end
|
236
|
-
add_message "google.cloud.domains.v1.OperationMetadata" do
|
237
|
-
optional :create_time, :message, 1, "google.protobuf.Timestamp"
|
238
|
-
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
239
|
-
optional :target, :string, 3
|
240
|
-
optional :verb, :string, 4
|
241
|
-
optional :status_detail, :string, 5
|
242
|
-
optional :api_version, :string, 6
|
243
|
-
end
|
244
|
-
add_enum "google.cloud.domains.v1.ContactPrivacy" do
|
245
|
-
value :CONTACT_PRIVACY_UNSPECIFIED, 0
|
246
|
-
value :PUBLIC_CONTACT_DATA, 1
|
247
|
-
value :PRIVATE_CONTACT_DATA, 2
|
248
|
-
value :REDACTED_CONTACT_DATA, 3
|
249
|
-
end
|
250
|
-
add_enum "google.cloud.domains.v1.DomainNotice" do
|
251
|
-
value :DOMAIN_NOTICE_UNSPECIFIED, 0
|
252
|
-
value :HSTS_PRELOADED, 1
|
253
|
-
end
|
254
|
-
add_enum "google.cloud.domains.v1.ContactNotice" do
|
255
|
-
value :CONTACT_NOTICE_UNSPECIFIED, 0
|
256
|
-
value :PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT, 1
|
257
|
-
end
|
258
|
-
add_enum "google.cloud.domains.v1.TransferLockState" do
|
259
|
-
value :TRANSFER_LOCK_STATE_UNSPECIFIED, 0
|
260
|
-
value :UNLOCKED, 1
|
261
|
-
value :LOCKED, 2
|
17
|
+
|
18
|
+
descriptor_data = "\n%google/cloud/domains/v1/domains.proto\x12\x17google.cloud.domains.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/type/money.proto\x1a google/type/postal_address.proto\"\xeb\x08\n\x0cRegistration\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0b\x64omain_name\x18\x02 \x01(\tB\x06\xe0\x41\x02\xe0\x41\x05\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0b\x65xpire_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12?\n\x05state\x18\x07 \x01(\x0e\x32+.google.cloud.domains.v1.Registration.StateB\x03\xe0\x41\x03\x12@\n\x06issues\x18\x08 \x03(\x0e\x32+.google.cloud.domains.v1.Registration.IssueB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\t \x03(\x0b\x32\x31.google.cloud.domains.v1.Registration.LabelsEntry\x12H\n\x13management_settings\x18\n \x01(\x0b\x32+.google.cloud.domains.v1.ManagementSettings\x12:\n\x0c\x64ns_settings\x18\x0b \x01(\x0b\x32$.google.cloud.domains.v1.DnsSettings\x12G\n\x10\x63ontact_settings\x18\x0c \x01(\x0b\x32(.google.cloud.domains.v1.ContactSettingsB\x03\xe0\x41\x02\x12O\n\x18pending_contact_settings\x18\r \x01(\x0b\x32(.google.cloud.domains.v1.ContactSettingsB\x03\xe0\x41\x03\x12G\n\x11supported_privacy\x18\x0e \x03(\x0e\x32\'.google.cloud.domains.v1.ContactPrivacyB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa5\x01\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x18\n\x14REGISTRATION_PENDING\x10\x01\x12\x17\n\x13REGISTRATION_FAILED\x10\x02\x12\x14\n\x10TRANSFER_PENDING\x10\x03\x12\x13\n\x0fTRANSFER_FAILED\x10\x04\x12\n\n\x06\x41\x43TIVE\x10\x06\x12\r\n\tSUSPENDED\x10\x07\x12\x0c\n\x08\x45XPORTED\x10\x08\"I\n\x05Issue\x12\x15\n\x11ISSUE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x43ONTACT_SUPPORT\x10\x01\x12\x14\n\x10UNVERIFIED_EMAIL\x10\x02:n\xea\x41k\n#domains.googleapis.com/Registration\x12\x44projects/{project}/locations/{location}/registrations/{registration}\"\x91\x02\n\x12ManagementSettings\x12V\n\x0erenewal_method\x18\x03 \x01(\x0e\x32\x39.google.cloud.domains.v1.ManagementSettings.RenewalMethodB\x03\xe0\x41\x03\x12G\n\x13transfer_lock_state\x18\x04 \x01(\x0e\x32*.google.cloud.domains.v1.TransferLockState\"Z\n\rRenewalMethod\x12\x1e\n\x1aRENEWAL_METHOD_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41UTOMATIC_RENEWAL\x10\x01\x12\x12\n\x0eMANUAL_RENEWAL\x10\x02\"\x9e\n\n\x0b\x44nsSettings\x12\x44\n\ncustom_dns\x18\x01 \x01(\x0b\x32..google.cloud.domains.v1.DnsSettings.CustomDnsH\x00\x12S\n\x12google_domains_dns\x18\x02 \x01(\x0b\x32\x35.google.cloud.domains.v1.DnsSettings.GoogleDomainsDnsH\x00\x12\x45\n\x0cglue_records\x18\x04 \x03(\x0b\x32/.google.cloud.domains.v1.DnsSettings.GlueRecord\x1ai\n\tCustomDns\x12\x19\n\x0cname_servers\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x41\n\nds_records\x18\x02 \x03(\x0b\x32-.google.cloud.domains.v1.DnsSettings.DsRecord\x1a\xba\x01\n\x10GoogleDomainsDns\x12\x19\n\x0cname_servers\x18\x01 \x03(\tB\x03\xe0\x41\x03\x12\x43\n\x08\x64s_state\x18\x02 \x01(\x0e\x32,.google.cloud.domains.v1.DnsSettings.DsStateB\x03\xe0\x41\x02\x12\x46\n\nds_records\x18\x03 \x03(\x0b\x32-.google.cloud.domains.v1.DnsSettings.DsRecordB\x03\xe0\x41\x03\x1a\xc3\x04\n\x08\x44sRecord\x12\x0f\n\x07key_tag\x18\x01 \x01(\x05\x12J\n\talgorithm\x18\x02 \x01(\x0e\x32\x37.google.cloud.domains.v1.DnsSettings.DsRecord.Algorithm\x12M\n\x0b\x64igest_type\x18\x03 \x01(\x0e\x32\x38.google.cloud.domains.v1.DnsSettings.DsRecord.DigestType\x12\x0e\n\x06\x64igest\x18\x04 \x01(\t\"\x9f\x02\n\tAlgorithm\x12\x19\n\x15\x41LGORITHM_UNSPECIFIED\x10\x00\x12\n\n\x06RSAMD5\x10\x01\x12\x06\n\x02\x44H\x10\x02\x12\x07\n\x03\x44SA\x10\x03\x12\x07\n\x03\x45\x43\x43\x10\x04\x12\x0b\n\x07RSASHA1\x10\x05\x12\x10\n\x0c\x44SANSEC3SHA1\x10\x06\x12\x14\n\x10RSASHA1NSEC3SHA1\x10\x07\x12\r\n\tRSASHA256\x10\x08\x12\r\n\tRSASHA512\x10\n\x12\x0b\n\x07\x45\x43\x43GOST\x10\x0c\x12\x13\n\x0f\x45\x43\x44SAP256SHA256\x10\r\x12\x13\n\x0f\x45\x43\x44SAP384SHA384\x10\x0e\x12\x0b\n\x07\x45\x44\x32\x35\x35\x31\x39\x10\x0f\x12\t\n\x05\x45\x44\x34\x34\x38\x10\x10\x12\r\n\x08INDIRECT\x10\xfc\x01\x12\x0f\n\nPRIVATEDNS\x10\xfd\x01\x12\x0f\n\nPRIVATEOID\x10\xfe\x01\"Y\n\nDigestType\x12\x1b\n\x17\x44IGEST_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04SHA1\x10\x01\x12\n\n\x06SHA256\x10\x02\x12\x0c\n\x08GOST3411\x10\x03\x12\n\n\x06SHA384\x10\x04\x1aT\n\nGlueRecord\x12\x16\n\thost_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\x0eipv4_addresses\x18\x02 \x03(\t\x12\x16\n\x0eipv6_addresses\x18\x03 \x03(\t\"Y\n\x07\x44sState\x12\x18\n\x14\x44S_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x44S_RECORDS_UNPUBLISHED\x10\x01\x12\x18\n\x14\x44S_RECORDS_PUBLISHED\x10\x02\x42\x0e\n\x0c\x64ns_provider\"\xcb\x03\n\x0f\x43ontactSettings\x12=\n\x07privacy\x18\x01 \x01(\x0e\x32\'.google.cloud.domains.v1.ContactPrivacyB\x03\xe0\x41\x02\x12Q\n\x12registrant_contact\x18\x02 \x01(\x0b\x32\x30.google.cloud.domains.v1.ContactSettings.ContactB\x03\xe0\x41\x02\x12L\n\radmin_contact\x18\x03 \x01(\x0b\x32\x30.google.cloud.domains.v1.ContactSettings.ContactB\x03\xe0\x41\x02\x12P\n\x11technical_contact\x18\x04 \x01(\x0b\x32\x30.google.cloud.domains.v1.ContactSettings.ContactB\x03\xe0\x41\x02\x1a\x85\x01\n\x07\x43ontact\x12\x37\n\x0epostal_address\x18\x01 \x01(\x0b\x32\x1a.google.type.PostalAddressB\x03\xe0\x41\x02\x12\x12\n\x05\x65mail\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cphone_number\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nfax_number\x18\x04 \x01(\t\"g\n\x14SearchDomainsRequest\x12\x12\n\x05query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12;\n\x08location\x18\x02 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\"a\n\x15SearchDomainsResponse\x12H\n\x13register_parameters\x18\x01 \x03(\x0b\x32+.google.cloud.domains.v1.RegisterParameters\"z\n!RetrieveRegisterParametersRequest\x12\x18\n\x0b\x64omain_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12;\n\x08location\x18\x02 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\"n\n\"RetrieveRegisterParametersResponse\x12H\n\x13register_parameters\x18\x01 \x01(\x0b\x32+.google.cloud.domains.v1.RegisterParameters\"\xda\x02\n\x15RegisterDomainRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12@\n\x0cregistration\x18\x02 \x01(\x0b\x32%.google.cloud.domains.v1.RegistrationB\x03\xe0\x41\x02\x12=\n\x0e\x64omain_notices\x18\x03 \x03(\x0e\x32%.google.cloud.domains.v1.DomainNotice\x12?\n\x0f\x63ontact_notices\x18\x04 \x03(\x0e\x32&.google.cloud.domains.v1.ContactNotice\x12-\n\x0cyearly_price\x18\x05 \x01(\x0b\x32\x12.google.type.MoneyB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x06 \x01(\x08\"z\n!RetrieveTransferParametersRequest\x12\x18\n\x0b\x64omain_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12;\n\x08location\x18\x02 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\"n\n\"RetrieveTransferParametersResponse\x12H\n\x13transfer_parameters\x18\x01 \x01(\x0b\x32+.google.cloud.domains.v1.TransferParameters\"\xe3\x02\n\x15TransferDomainRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12@\n\x0cregistration\x18\x02 \x01(\x0b\x32%.google.cloud.domains.v1.RegistrationB\x03\xe0\x41\x02\x12?\n\x0f\x63ontact_notices\x18\x03 \x03(\x0e\x32&.google.cloud.domains.v1.ContactNotice\x12-\n\x0cyearly_price\x18\x04 \x01(\x0b\x32\x12.google.type.MoneyB\x03\xe0\x41\x02\x12\x46\n\x12\x61uthorization_code\x18\x05 \x01(\x0b\x32*.google.cloud.domains.v1.AuthorizationCode\x12\x15\n\rvalidate_only\x18\x06 \x01(\x08\"\x8c\x01\n\x18ListRegistrationsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"r\n\x19ListRegistrationsResponse\x12<\n\rregistrations\x18\x01 \x03(\x0b\x32%.google.cloud.domains.v1.Registration\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"S\n\x16GetRegistrationRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#domains.googleapis.com/Registration\"\x8e\x01\n\x19UpdateRegistrationRequest\x12;\n\x0cregistration\x18\x01 \x01(\x0b\x32%.google.cloud.domains.v1.Registration\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xe7\x01\n\"ConfigureManagementSettingsRequest\x12\x41\n\x0cregistration\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#domains.googleapis.com/Registration\x12H\n\x13management_settings\x18\x02 \x01(\x0b\x32+.google.cloud.domains.v1.ManagementSettings\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xe9\x01\n\x1b\x43onfigureDnsSettingsRequest\x12\x41\n\x0cregistration\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#domains.googleapis.com/Registration\x12:\n\x0c\x64ns_settings\x18\x02 \x01(\x0b\x32$.google.cloud.domains.v1.DnsSettings\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x15\n\rvalidate_only\x18\x04 \x01(\x08\"\xb6\x02\n\x1f\x43onfigureContactSettingsRequest\x12\x41\n\x0cregistration\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#domains.googleapis.com/Registration\x12\x42\n\x10\x63ontact_settings\x18\x02 \x01(\x0b\x32(.google.cloud.domains.v1.ContactSettings\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12?\n\x0f\x63ontact_notices\x18\x04 \x03(\x0e\x32&.google.cloud.domains.v1.ContactNotice\x12\x15\n\rvalidate_only\x18\x05 \x01(\x08\"V\n\x19\x45xportRegistrationRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#domains.googleapis.com/Registration\"V\n\x19\x44\x65leteRegistrationRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#domains.googleapis.com/Registration\"e\n RetrieveAuthorizationCodeRequest\x12\x41\n\x0cregistration\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#domains.googleapis.com/Registration\"b\n\x1dResetAuthorizationCodeRequest\x12\x41\n\x0cregistration\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#domains.googleapis.com/Registration\"\x92\x03\n\x12RegisterParameters\x12\x13\n\x0b\x64omain_name\x18\x01 \x01(\t\x12N\n\x0c\x61vailability\x18\x02 \x01(\x0e\x32\x38.google.cloud.domains.v1.RegisterParameters.Availability\x12\x42\n\x11supported_privacy\x18\x03 \x03(\x0e\x32\'.google.cloud.domains.v1.ContactPrivacy\x12=\n\x0e\x64omain_notices\x18\x04 \x03(\x0e\x32%.google.cloud.domains.v1.DomainNotice\x12(\n\x0cyearly_price\x18\x05 \x01(\x0b\x32\x12.google.type.Money\"j\n\x0c\x41vailability\x12\x1c\n\x18\x41VAILABILITY_UNSPECIFIED\x10\x00\x12\r\n\tAVAILABLE\x10\x01\x12\x0f\n\x0bUNAVAILABLE\x10\x02\x12\x0f\n\x0bUNSUPPORTED\x10\x03\x12\x0b\n\x07UNKNOWN\x10\x04\"\x91\x02\n\x12TransferParameters\x12\x13\n\x0b\x64omain_name\x18\x01 \x01(\t\x12\x19\n\x11\x63urrent_registrar\x18\x02 \x01(\t\x12\x14\n\x0cname_servers\x18\x03 \x03(\t\x12G\n\x13transfer_lock_state\x18\x04 \x01(\x0e\x32*.google.cloud.domains.v1.TransferLockState\x12\x42\n\x11supported_privacy\x18\x05 \x03(\x0e\x32\'.google.cloud.domains.v1.ContactPrivacy\x12(\n\x0cyearly_price\x18\x06 \x01(\x0b\x32\x12.google.type.Money\"!\n\x11\x41uthorizationCode\x12\x0c\n\x04\x63ode\x18\x01 \x01(\t\"\xbc\x01\n\x11OperationMetadata\x12/\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06target\x18\x03 \x01(\t\x12\x0c\n\x04verb\x18\x04 \x01(\t\x12\x15\n\rstatus_detail\x18\x05 \x01(\t\x12\x13\n\x0b\x61pi_version\x18\x06 \x01(\t*\x7f\n\x0e\x43ontactPrivacy\x12\x1f\n\x1b\x43ONTACT_PRIVACY_UNSPECIFIED\x10\x00\x12\x17\n\x13PUBLIC_CONTACT_DATA\x10\x01\x12\x18\n\x14PRIVATE_CONTACT_DATA\x10\x02\x12\x19\n\x15REDACTED_CONTACT_DATA\x10\x03*A\n\x0c\x44omainNotice\x12\x1d\n\x19\x44OMAIN_NOTICE_UNSPECIFIED\x10\x00\x12\x12\n\x0eHSTS_PRELOADED\x10\x01*X\n\rContactNotice\x12\x1e\n\x1a\x43ONTACT_NOTICE_UNSPECIFIED\x10\x00\x12\'\n#PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT\x10\x01*R\n\x11TransferLockState\x12#\n\x1fTRANSFER_LOCK_STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08UNLOCKED\x10\x01\x12\n\n\x06LOCKED\x10\x02\x32\x91\x1d\n\x07\x44omains\x12\xca\x01\n\rSearchDomains\x12-.google.cloud.domains.v1.SearchDomainsRequest\x1a..google.cloud.domains.v1.SearchDomainsResponse\"Z\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{location=projects/*/locations/*}/registrations:searchDomains\xda\x41\x0elocation,query\x12\x84\x02\n\x1aRetrieveRegisterParameters\x12:.google.cloud.domains.v1.RetrieveRegisterParametersRequest\x1a;.google.cloud.domains.v1.RetrieveRegisterParametersResponse\"m\x82\xd3\xe4\x93\x02P\x12N/v1/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters\xda\x41\x14location,domain_name\x12\xee\x01\n\x0eRegisterDomain\x12..google.cloud.domains.v1.RegisterDomainRequest\x1a\x1d.google.longrunning.Operation\"\x8c\x01\x82\xd3\xe4\x93\x02?\":/v1/{parent=projects/*/locations/*}/registrations:register:\x01*\xda\x41 parent,registration,yearly_price\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\x84\x02\n\x1aRetrieveTransferParameters\x12:.google.cloud.domains.v1.RetrieveTransferParametersRequest\x1a;.google.cloud.domains.v1.RetrieveTransferParametersResponse\"m\x82\xd3\xe4\x93\x02P\x12N/v1/{location=projects/*/locations/*}/registrations:retrieveTransferParameters\xda\x41\x14location,domain_name\x12\x81\x02\n\x0eTransferDomain\x12..google.cloud.domains.v1.TransferDomainRequest\x1a\x1d.google.longrunning.Operation\"\x9f\x01\x82\xd3\xe4\x93\x02?\":/v1/{parent=projects/*/locations/*}/registrations:transfer:\x01*\xda\x41\x33parent,registration,yearly_price,authorization_code\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\xbe\x01\n\x11ListRegistrations\x12\x31.google.cloud.domains.v1.ListRegistrationsRequest\x1a\x32.google.cloud.domains.v1.ListRegistrationsResponse\"B\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/registrations\xda\x41\x06parent\x12\xab\x01\n\x0fGetRegistration\x12/.google.cloud.domains.v1.GetRegistrationRequest\x1a%.google.cloud.domains.v1.Registration\"@\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{name=projects/*/locations/*/registrations/*}\xda\x41\x04name\x12\xfd\x01\n\x12UpdateRegistration\x12\x32.google.cloud.domains.v1.UpdateRegistrationRequest\x1a\x1d.google.longrunning.Operation\"\x93\x01\x82\xd3\xe4\x93\x02N2>/v1/{registration.name=projects/*/locations/*/registrations/*}:\x0cregistration\xda\x41\x18registration,update_mask\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\xaf\x02\n\x1b\x43onfigureManagementSettings\x12;.google.cloud.domains.v1.ConfigureManagementSettingsRequest\x1a\x1d.google.longrunning.Operation\"\xb3\x01\x82\xd3\xe4\x93\x02Z\"U/v1/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings:\x01*\xda\x41,registration,management_settings,update_mask\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\x93\x02\n\x14\x43onfigureDnsSettings\x12\x34.google.cloud.domains.v1.ConfigureDnsSettingsRequest\x1a\x1d.google.longrunning.Operation\"\xa5\x01\x82\xd3\xe4\x93\x02S\"N/v1/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings:\x01*\xda\x41%registration,dns_settings,update_mask\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\xa3\x02\n\x18\x43onfigureContactSettings\x12\x38.google.cloud.domains.v1.ConfigureContactSettingsRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\x82\xd3\xe4\x93\x02W\"R/v1/{registration=projects/*/locations/*/registrations/*}:configureContactSettings:\x01*\xda\x41)registration,contact_settings,update_mask\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\xd7\x01\n\x12\x45xportRegistration\x12\x32.google.cloud.domains.v1.ExportRegistrationRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02=\"8/v1/{name=projects/*/locations/*/registrations/*}:export:\x01*\xda\x41\x04name\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\xd6\x01\n\x12\x44\x65leteRegistration\x12\x32.google.cloud.domains.v1.DeleteRegistrationRequest\x1a\x1d.google.longrunning.Operation\"m\x82\xd3\xe4\x93\x02\x33*1/v1/{name=projects/*/locations/*/registrations/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xee\x01\n\x19RetrieveAuthorizationCode\x12\x39.google.cloud.domains.v1.RetrieveAuthorizationCodeRequest\x1a*.google.cloud.domains.v1.AuthorizationCode\"j\x82\xd3\xe4\x93\x02U\x12S/v1/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode\xda\x41\x0cregistration\x12\xe8\x01\n\x16ResetAuthorizationCode\x12\x36.google.cloud.domains.v1.ResetAuthorizationCodeRequest\x1a*.google.cloud.domains.v1.AuthorizationCode\"j\x82\xd3\xe4\x93\x02U\"P/v1/{registration=projects/*/locations/*/registrations/*}:resetAuthorizationCode:\x01*\xda\x41\x0cregistration\x1aJ\xca\x41\x16\x64omains.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBd\n\x1b\x63om.google.cloud.domains.v1B\x0c\x44omainsProtoP\x01Z5cloud.google.com/go/domains/apiv1/domainspb;domainspbb\x06proto3"
|
19
|
+
|
20
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
21
|
+
|
22
|
+
begin
|
23
|
+
pool.add_serialized_file(descriptor_data)
|
24
|
+
rescue TypeError => e
|
25
|
+
# Compatibility code: will be removed in the next major version.
|
26
|
+
require 'google/protobuf/descriptor_pb'
|
27
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
28
|
+
parsed.clear_dependency
|
29
|
+
serialized = parsed.class.encode(parsed)
|
30
|
+
file = pool.add_serialized_file(serialized)
|
31
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
32
|
+
imports = [
|
33
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
34
|
+
["google.type.PostalAddress", "google/type/postal_address.proto"],
|
35
|
+
["google.type.Money", "google/type/money.proto"],
|
36
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
37
|
+
]
|
38
|
+
imports.each do |type_name, expected_filename|
|
39
|
+
import_file = pool.lookup(type_name).file_descriptor
|
40
|
+
if import_file.name != expected_filename
|
41
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
262
42
|
end
|
263
43
|
end
|
44
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
45
|
+
warn "This will become an error in the next major version."
|
264
46
|
end
|
265
47
|
|
266
48
|
module Google
|