google-cloud-domains-v1 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac3ed844678b156b804680784b3b480e40d6d02e0acdb82df42bece29dd0a029
4
- data.tar.gz: 4df20258fe81f9e4d275a01b0c41146ec50960b36e7984e6e59bd58d5e10be90
3
+ metadata.gz: 9c5ce31dcacfca8c04dbd3b0dae145bd0aec721b40e6a40590f76e9d2343e420
4
+ data.tar.gz: 7d39583f07b20898b9766c24f7963b43f9c7b39669c86939e6e16cb865d17245
5
5
  SHA512:
6
- metadata.gz: b9c677b228efba73900d5afec20e787db590e94138c24a1448efee2801ff93dba19b37ae3ad62ff4438e95668a6e2e294acf3516eef33dab9b9250d094d3f0c8
7
- data.tar.gz: 8175545873a3dd28f0e26cad5378dc8d51dd9ccf6e87dbef422f006e4dee26124e5ccf329333900b16bd1ca5c79f07b2e379f42e8573cb3df8b99de8271df70c
6
+ metadata.gz: 9fa845c3d059dddf6bfd4a1c827fe0e4655ad42e40b2b1231efa594f5137b849c60789dbe717d8782bbf66d3bcca114abf47808b9d2a6571396ced30c2271a5b
7
+ data.tar.gz: c14638c24c4706bb5f2104205631aaefd1e0733d18b5103e88d2c39b31da621156b65905ac27c60a3f481a38b0129bb095093f606dd80721aae31938056fa2a3
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -123,7 +123,7 @@ module Google
123
123
  credentials = @config.credentials
124
124
  # Use self-signed JWT if the endpoint is unchanged from default,
125
125
  # but only if the default endpoint does not have a region prefix.
126
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
126
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
127
127
  !@config.endpoint.split(".").first.include?("-")
128
128
  credentials ||= Credentials.default scope: @config.scope,
129
129
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1732,9 +1732,9 @@ module Google
1732
1732
  # * (`String`) The path to a service account key file in JSON format
1733
1733
  # * (`Hash`) A service account key as a Hash
1734
1734
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1735
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1735
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1736
1736
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1737
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1737
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1738
1738
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1739
1739
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1740
1740
  # * (`nil`) indicating no credentials
@@ -1776,7 +1776,9 @@ module Google
1776
1776
  class Configuration
1777
1777
  extend ::Gapic::Config
1778
1778
 
1779
- config_attr :endpoint, "domains.googleapis.com", ::String
1779
+ DEFAULT_ENDPOINT = "domains.googleapis.com"
1780
+
1781
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1780
1782
  config_attr :credentials, nil do |value|
1781
1783
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1782
1784
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -620,9 +620,9 @@ module Google
620
620
  # * (`String`) The path to a service account key file in JSON format
621
621
  # * (`Hash`) A service account key as a Hash
622
622
  # * (`Google::Auth::Credentials`) A googleauth credentials object
623
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
623
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
624
624
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
625
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
625
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
626
626
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
627
627
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
628
628
  # * (`nil`) indicating no credentials
@@ -664,7 +664,9 @@ module Google
664
664
  class Configuration
665
665
  extend ::Gapic::Config
666
666
 
667
- config_attr :endpoint, "domains.googleapis.com", ::String
667
+ DEFAULT_ENDPOINT = "domains.googleapis.com"
668
+
669
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
668
670
  config_attr :credentials, nil do |value|
669
671
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
670
672
  allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
@@ -119,7 +119,7 @@ module Google
119
119
  credentials = @config.credentials
120
120
  # Use self-signed JWT if the endpoint is unchanged from default,
121
121
  # but only if the default endpoint does not have a region prefix.
122
- enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
122
+ enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
123
123
  !@config.endpoint.split(".").first.include?("-")
124
124
  credentials ||= Credentials.default scope: @config.scope,
125
125
  enable_self_signed_jwt: enable_self_signed_jwt
@@ -1318,9 +1318,9 @@ module Google
1318
1318
  # * (`String`) The path to a service account key file in JSON format
1319
1319
  # * (`Hash`) A service account key as a Hash
1320
1320
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1321
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1321
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1322
1322
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1323
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1323
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1324
1324
  # * (`nil`) indicating no credentials
1325
1325
  # @return [::Object]
1326
1326
  # @!attribute [rw] scope
@@ -1353,7 +1353,9 @@ module Google
1353
1353
  class Configuration
1354
1354
  extend ::Gapic::Config
1355
1355
 
1356
- config_attr :endpoint, "domains.googleapis.com", ::String
1356
+ DEFAULT_ENDPOINT = "domains.googleapis.com"
1357
+
1358
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
1357
1359
  config_attr :credentials, nil do |value|
1358
1360
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1359
1361
  allowed.any? { |klass| klass === value }
@@ -411,9 +411,9 @@ module Google
411
411
  # * (`String`) The path to a service account key file in JSON format
412
412
  # * (`Hash`) A service account key as a Hash
413
413
  # * (`Google::Auth::Credentials`) A googleauth credentials object
414
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
414
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
415
415
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
416
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
416
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
417
417
  # * (`nil`) indicating no credentials
418
418
  # @return [::Object]
419
419
  # @!attribute [rw] scope
@@ -446,7 +446,9 @@ module Google
446
446
  class Configuration
447
447
  extend ::Gapic::Config
448
448
 
449
- config_attr :endpoint, "domains.googleapis.com", ::String
449
+ DEFAULT_ENDPOINT = "domains.googleapis.com"
450
+
451
+ config_attr :endpoint, DEFAULT_ENDPOINT, ::String
450
452
  config_attr :credentials, nil do |value|
451
453
  allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
452
454
  allowed.any? { |klass| klass === value }
@@ -567,7 +569,7 @@ module Google
567
569
 
568
570
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_list_operations_request request_pb
569
571
  query_string_params = if query_string_params.any?
570
- query_string_params.to_h { |p| p.split("=", 2) }
572
+ query_string_params.to_h { |p| p.split "=", 2 }
571
573
  else
572
574
  {}
573
575
  end
@@ -605,7 +607,7 @@ module Google
605
607
 
606
608
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_get_operation_request request_pb
607
609
  query_string_params = if query_string_params.any?
608
- query_string_params.to_h { |p| p.split("=", 2) }
610
+ query_string_params.to_h { |p| p.split "=", 2 }
609
611
  else
610
612
  {}
611
613
  end
@@ -643,7 +645,7 @@ module Google
643
645
 
644
646
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_delete_operation_request request_pb
645
647
  query_string_params = if query_string_params.any?
646
- query_string_params.to_h { |p| p.split("=", 2) }
648
+ query_string_params.to_h { |p| p.split "=", 2 }
647
649
  else
648
650
  {}
649
651
  end
@@ -681,7 +683,7 @@ module Google
681
683
 
682
684
  verb, uri, query_string_params, body = OperationsServiceStub.transcode_cancel_operation_request request_pb
683
685
  query_string_params = if query_string_params.any?
684
- query_string_params.to_h { |p| p.split("=", 2) }
686
+ query_string_params.to_h { |p| p.split "=", 2 }
685
687
  else
686
688
  {}
687
689
  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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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("=", 2) }
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
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/domains/v1/domains.proto", :syntax => :proto3) do
18
- add_message "google.cloud.domains.v1.Registration" do
19
- optional :name, :string, 1
20
- optional :domain_name, :string, 2
21
- optional :create_time, :message, 3, "google.protobuf.Timestamp"
22
- optional :expire_time, :message, 6, "google.protobuf.Timestamp"
23
- optional :state, :enum, 7, "google.cloud.domains.v1.Registration.State"
24
- repeated :issues, :enum, 8, "google.cloud.domains.v1.Registration.Issue"
25
- map :labels, :string, :string, 9
26
- optional :management_settings, :message, 10, "google.cloud.domains.v1.ManagementSettings"
27
- optional :dns_settings, :message, 11, "google.cloud.domains.v1.DnsSettings"
28
- optional :contact_settings, :message, 12, "google.cloud.domains.v1.ContactSettings"
29
- optional :pending_contact_settings, :message, 13, "google.cloud.domains.v1.ContactSettings"
30
- repeated :supported_privacy, :enum, 14, "google.cloud.domains.v1.ContactPrivacy"
31
- end
32
- add_enum "google.cloud.domains.v1.Registration.State" do
33
- value :STATE_UNSPECIFIED, 0
34
- value :REGISTRATION_PENDING, 1
35
- value :REGISTRATION_FAILED, 2
36
- value :TRANSFER_PENDING, 3
37
- value :TRANSFER_FAILED, 4
38
- value :ACTIVE, 6
39
- value :SUSPENDED, 7
40
- value :EXPORTED, 8
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
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Domains
23
23
  module V1
24
- VERSION = "0.3.0"
24
+ VERSION = "0.4.0"
25
25
  end
26
26
  end
27
27
  end
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-domains-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.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: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.1
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.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a