google-cloud-domains-v1beta1 0.4.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,53 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "gapic/rest"
20
+ require "gapic/config"
21
+ require "gapic/config/method"
22
+
23
+ require "google/cloud/domains/v1beta1/version"
24
+
25
+ require "google/cloud/domains/v1beta1/domains/credentials"
26
+ require "google/cloud/domains/v1beta1/domains/paths"
27
+ require "google/cloud/domains/v1beta1/domains/rest/operations"
28
+ require "google/cloud/domains/v1beta1/domains/rest/client"
29
+
30
+ module Google
31
+ module Cloud
32
+ module Domains
33
+ module V1beta1
34
+ ##
35
+ # The Cloud Domains API enables management and configuration of domain names.
36
+ #
37
+ # To load this service and instantiate a REST client:
38
+ #
39
+ # require "google/cloud/domains/v1beta1/domains/rest"
40
+ # client = ::Google::Cloud::Domains::V1beta1::Domains::Rest::Client.new
41
+ #
42
+ module Domains
43
+ # Client for the REST transport
44
+ module Rest
45
+ end
46
+ end
47
+ end
48
+ end
49
+ end
50
+ end
51
+
52
+ helper_path = ::File.join __dir__, "rest", "helpers.rb"
53
+ require "google/cloud/domains/v1beta1/domains/rest/helpers" if ::File.file? helper_path
@@ -26,6 +26,7 @@ require "google/cloud/domains/v1beta1/domains/credentials"
26
26
  require "google/cloud/domains/v1beta1/domains/paths"
27
27
  require "google/cloud/domains/v1beta1/domains/operations"
28
28
  require "google/cloud/domains/v1beta1/domains/client"
29
+ require "google/cloud/domains/v1beta1/domains/rest"
29
30
 
30
31
  module Google
31
32
  module Cloud
@@ -34,11 +35,16 @@ module Google
34
35
  ##
35
36
  # The Cloud Domains API enables management and configuration of domain names.
36
37
  #
37
- # To load this service and instantiate a client:
38
+ # @example Load this service and instantiate a gRPC client
38
39
  #
39
40
  # require "google/cloud/domains/v1beta1/domains"
40
41
  # client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new
41
42
  #
43
+ # @example Load this service and instantiate a REST client
44
+ #
45
+ # require "google/cloud/domains/v1beta1/domains/rest"
46
+ # client = ::Google::Cloud::Domains::V1beta1::Domains::Rest::Client.new
47
+ #
42
48
  module Domains
43
49
  end
44
50
  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/v1beta1/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/v1beta1/domains.proto", :syntax => :proto3) do
18
- add_message "google.cloud.domains.v1beta1.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.v1beta1.Registration.State"
24
- repeated :issues, :enum, 8, "google.cloud.domains.v1beta1.Registration.Issue"
25
- map :labels, :string, :string, 9
26
- optional :management_settings, :message, 10, "google.cloud.domains.v1beta1.ManagementSettings"
27
- optional :dns_settings, :message, 11, "google.cloud.domains.v1beta1.DnsSettings"
28
- optional :contact_settings, :message, 12, "google.cloud.domains.v1beta1.ContactSettings"
29
- optional :pending_contact_settings, :message, 13, "google.cloud.domains.v1beta1.ContactSettings"
30
- repeated :supported_privacy, :enum, 14, "google.cloud.domains.v1beta1.ContactPrivacy"
31
- end
32
- add_enum "google.cloud.domains.v1beta1.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.v1beta1.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.v1beta1.ManagementSettings" do
48
- optional :renewal_method, :enum, 3, "google.cloud.domains.v1beta1.ManagementSettings.RenewalMethod"
49
- optional :transfer_lock_state, :enum, 4, "google.cloud.domains.v1beta1.TransferLockState"
50
- end
51
- add_enum "google.cloud.domains.v1beta1.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.v1beta1.DnsSettings" do
57
- repeated :glue_records, :message, 4, "google.cloud.domains.v1beta1.DnsSettings.GlueRecord"
58
- oneof :dns_provider do
59
- optional :custom_dns, :message, 1, "google.cloud.domains.v1beta1.DnsSettings.CustomDns"
60
- optional :google_domains_dns, :message, 2, "google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns"
61
- end
62
- end
63
- add_message "google.cloud.domains.v1beta1.DnsSettings.CustomDns" do
64
- repeated :name_servers, :string, 1
65
- repeated :ds_records, :message, 2, "google.cloud.domains.v1beta1.DnsSettings.DsRecord"
66
- end
67
- add_message "google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDns" do
68
- repeated :name_servers, :string, 1
69
- optional :ds_state, :enum, 2, "google.cloud.domains.v1beta1.DnsSettings.DsState"
70
- repeated :ds_records, :message, 3, "google.cloud.domains.v1beta1.DnsSettings.DsRecord"
71
- end
72
- add_message "google.cloud.domains.v1beta1.DnsSettings.DsRecord" do
73
- optional :key_tag, :int32, 1
74
- optional :algorithm, :enum, 2, "google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm"
75
- optional :digest_type, :enum, 3, "google.cloud.domains.v1beta1.DnsSettings.DsRecord.DigestType"
76
- optional :digest, :string, 4
77
- end
78
- add_enum "google.cloud.domains.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.ContactSettings" do
116
- optional :privacy, :enum, 1, "google.cloud.domains.v1beta1.ContactPrivacy"
117
- optional :registrant_contact, :message, 2, "google.cloud.domains.v1beta1.ContactSettings.Contact"
118
- optional :admin_contact, :message, 3, "google.cloud.domains.v1beta1.ContactSettings.Contact"
119
- optional :technical_contact, :message, 4, "google.cloud.domains.v1beta1.ContactSettings.Contact"
120
- end
121
- add_message "google.cloud.domains.v1beta1.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.v1beta1.SearchDomainsRequest" do
128
- optional :query, :string, 1
129
- optional :location, :string, 2
130
- end
131
- add_message "google.cloud.domains.v1beta1.SearchDomainsResponse" do
132
- repeated :register_parameters, :message, 1, "google.cloud.domains.v1beta1.RegisterParameters"
133
- end
134
- add_message "google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest" do
135
- optional :domain_name, :string, 1
136
- optional :location, :string, 2
137
- end
138
- add_message "google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse" do
139
- optional :register_parameters, :message, 1, "google.cloud.domains.v1beta1.RegisterParameters"
140
- end
141
- add_message "google.cloud.domains.v1beta1.RegisterDomainRequest" do
142
- optional :parent, :string, 1
143
- optional :registration, :message, 2, "google.cloud.domains.v1beta1.Registration"
144
- repeated :domain_notices, :enum, 3, "google.cloud.domains.v1beta1.DomainNotice"
145
- repeated :contact_notices, :enum, 4, "google.cloud.domains.v1beta1.ContactNotice"
146
- optional :yearly_price, :message, 5, "google.type.Money"
147
- optional :validate_only, :bool, 6
148
- end
149
- add_message "google.cloud.domains.v1beta1.RetrieveTransferParametersRequest" do
150
- optional :domain_name, :string, 1
151
- optional :location, :string, 2
152
- end
153
- add_message "google.cloud.domains.v1beta1.RetrieveTransferParametersResponse" do
154
- optional :transfer_parameters, :message, 1, "google.cloud.domains.v1beta1.TransferParameters"
155
- end
156
- add_message "google.cloud.domains.v1beta1.TransferDomainRequest" do
157
- optional :parent, :string, 1
158
- optional :registration, :message, 2, "google.cloud.domains.v1beta1.Registration"
159
- repeated :contact_notices, :enum, 3, "google.cloud.domains.v1beta1.ContactNotice"
160
- optional :yearly_price, :message, 4, "google.type.Money"
161
- optional :authorization_code, :message, 5, "google.cloud.domains.v1beta1.AuthorizationCode"
162
- optional :validate_only, :bool, 6
163
- end
164
- add_message "google.cloud.domains.v1beta1.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.v1beta1.ListRegistrationsResponse" do
171
- repeated :registrations, :message, 1, "google.cloud.domains.v1beta1.Registration"
172
- optional :next_page_token, :string, 2
173
- end
174
- add_message "google.cloud.domains.v1beta1.GetRegistrationRequest" do
175
- optional :name, :string, 1
176
- end
177
- add_message "google.cloud.domains.v1beta1.UpdateRegistrationRequest" do
178
- optional :registration, :message, 1, "google.cloud.domains.v1beta1.Registration"
179
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
180
- end
181
- add_message "google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest" do
182
- optional :registration, :string, 1
183
- optional :management_settings, :message, 2, "google.cloud.domains.v1beta1.ManagementSettings"
184
- optional :update_mask, :message, 3, "google.protobuf.FieldMask"
185
- end
186
- add_message "google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest" do
187
- optional :registration, :string, 1
188
- optional :dns_settings, :message, 2, "google.cloud.domains.v1beta1.DnsSettings"
189
- optional :update_mask, :message, 3, "google.protobuf.FieldMask"
190
- optional :validate_only, :bool, 4
191
- end
192
- add_message "google.cloud.domains.v1beta1.ConfigureContactSettingsRequest" do
193
- optional :registration, :string, 1
194
- optional :contact_settings, :message, 2, "google.cloud.domains.v1beta1.ContactSettings"
195
- optional :update_mask, :message, 3, "google.protobuf.FieldMask"
196
- repeated :contact_notices, :enum, 4, "google.cloud.domains.v1beta1.ContactNotice"
197
- optional :validate_only, :bool, 5
198
- end
199
- add_message "google.cloud.domains.v1beta1.ExportRegistrationRequest" do
200
- optional :name, :string, 1
201
- end
202
- add_message "google.cloud.domains.v1beta1.DeleteRegistrationRequest" do
203
- optional :name, :string, 1
204
- end
205
- add_message "google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest" do
206
- optional :registration, :string, 1
207
- end
208
- add_message "google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest" do
209
- optional :registration, :string, 1
210
- end
211
- add_message "google.cloud.domains.v1beta1.RegisterParameters" do
212
- optional :domain_name, :string, 1
213
- optional :availability, :enum, 2, "google.cloud.domains.v1beta1.RegisterParameters.Availability"
214
- repeated :supported_privacy, :enum, 3, "google.cloud.domains.v1beta1.ContactPrivacy"
215
- repeated :domain_notices, :enum, 4, "google.cloud.domains.v1beta1.DomainNotice"
216
- optional :yearly_price, :message, 5, "google.type.Money"
217
- end
218
- add_enum "google.cloud.domains.v1beta1.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.v1beta1.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.v1beta1.TransferLockState"
230
- repeated :supported_privacy, :enum, 5, "google.cloud.domains.v1beta1.ContactPrivacy"
231
- optional :yearly_price, :message, 6, "google.type.Money"
232
- end
233
- add_message "google.cloud.domains.v1beta1.AuthorizationCode" do
234
- optional :code, :string, 1
235
- end
236
- add_message "google.cloud.domains.v1beta1.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.v1beta1.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.v1beta1.DomainNotice" do
251
- value :DOMAIN_NOTICE_UNSPECIFIED, 0
252
- value :HSTS_PRELOADED, 1
253
- end
254
- add_enum "google.cloud.domains.v1beta1.ContactNotice" do
255
- value :CONTACT_NOTICE_UNSPECIFIED, 0
256
- value :PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT, 1
257
- end
258
- add_enum "google.cloud.domains.v1beta1.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/v1beta1/domains.proto\x12\x1cgoogle.cloud.domains.v1beta1\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\"\x93\t\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\x44\n\x05state\x18\x07 \x01(\x0e\x32\x30.google.cloud.domains.v1beta1.Registration.StateB\x03\xe0\x41\x03\x12\x45\n\x06issues\x18\x08 \x03(\x0e\x32\x30.google.cloud.domains.v1beta1.Registration.IssueB\x03\xe0\x41\x03\x12\x46\n\x06labels\x18\t \x03(\x0b\x32\x36.google.cloud.domains.v1beta1.Registration.LabelsEntry\x12M\n\x13management_settings\x18\n \x01(\x0b\x32\x30.google.cloud.domains.v1beta1.ManagementSettings\x12?\n\x0c\x64ns_settings\x18\x0b \x01(\x0b\x32).google.cloud.domains.v1beta1.DnsSettings\x12L\n\x10\x63ontact_settings\x18\x0c \x01(\x0b\x32-.google.cloud.domains.v1beta1.ContactSettingsB\x03\xe0\x41\x02\x12T\n\x18pending_contact_settings\x18\r \x01(\x0b\x32-.google.cloud.domains.v1beta1.ContactSettingsB\x03\xe0\x41\x03\x12L\n\x11supported_privacy\x18\x0e \x03(\x0e\x32,.google.cloud.domains.v1beta1.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}\"\x9b\x02\n\x12ManagementSettings\x12[\n\x0erenewal_method\x18\x03 \x01(\x0e\x32>.google.cloud.domains.v1beta1.ManagementSettings.RenewalMethodB\x03\xe0\x41\x03\x12L\n\x13transfer_lock_state\x18\x04 \x01(\x0e\x32/.google.cloud.domains.v1beta1.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\"\xc6\n\n\x0b\x44nsSettings\x12I\n\ncustom_dns\x18\x01 \x01(\x0b\x32\x33.google.cloud.domains.v1beta1.DnsSettings.CustomDnsH\x00\x12X\n\x12google_domains_dns\x18\x02 \x01(\x0b\x32:.google.cloud.domains.v1beta1.DnsSettings.GoogleDomainsDnsH\x00\x12J\n\x0cglue_records\x18\x04 \x03(\x0b\x32\x34.google.cloud.domains.v1beta1.DnsSettings.GlueRecord\x1an\n\tCustomDns\x12\x19\n\x0cname_servers\x18\x01 \x03(\tB\x03\xe0\x41\x02\x12\x46\n\nds_records\x18\x02 \x03(\x0b\x32\x32.google.cloud.domains.v1beta1.DnsSettings.DsRecord\x1a\xc4\x01\n\x10GoogleDomainsDns\x12\x19\n\x0cname_servers\x18\x01 \x03(\tB\x03\xe0\x41\x03\x12H\n\x08\x64s_state\x18\x02 \x01(\x0e\x32\x31.google.cloud.domains.v1beta1.DnsSettings.DsStateB\x03\xe0\x41\x02\x12K\n\nds_records\x18\x03 \x03(\x0b\x32\x32.google.cloud.domains.v1beta1.DnsSettings.DsRecordB\x03\xe0\x41\x03\x1a\xcd\x04\n\x08\x44sRecord\x12\x0f\n\x07key_tag\x18\x01 \x01(\x05\x12O\n\talgorithm\x18\x02 \x01(\x0e\x32<.google.cloud.domains.v1beta1.DnsSettings.DsRecord.Algorithm\x12R\n\x0b\x64igest_type\x18\x03 \x01(\x0e\x32=.google.cloud.domains.v1beta1.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\"\xdf\x03\n\x0f\x43ontactSettings\x12\x42\n\x07privacy\x18\x01 \x01(\x0e\x32,.google.cloud.domains.v1beta1.ContactPrivacyB\x03\xe0\x41\x02\x12V\n\x12registrant_contact\x18\x02 \x01(\x0b\x32\x35.google.cloud.domains.v1beta1.ContactSettings.ContactB\x03\xe0\x41\x02\x12Q\n\radmin_contact\x18\x03 \x01(\x0b\x32\x35.google.cloud.domains.v1beta1.ContactSettings.ContactB\x03\xe0\x41\x02\x12U\n\x11technical_contact\x18\x04 \x01(\x0b\x32\x35.google.cloud.domains.v1beta1.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\"f\n\x15SearchDomainsResponse\x12M\n\x13register_parameters\x18\x01 \x03(\x0b\x32\x30.google.cloud.domains.v1beta1.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\"s\n\"RetrieveRegisterParametersResponse\x12M\n\x13register_parameters\x18\x01 \x01(\x0b\x32\x30.google.cloud.domains.v1beta1.RegisterParameters\"\xe9\x02\n\x15RegisterDomainRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x45\n\x0cregistration\x18\x02 \x01(\x0b\x32*.google.cloud.domains.v1beta1.RegistrationB\x03\xe0\x41\x02\x12\x42\n\x0e\x64omain_notices\x18\x03 \x03(\x0e\x32*.google.cloud.domains.v1beta1.DomainNotice\x12\x44\n\x0f\x63ontact_notices\x18\x04 \x03(\x0e\x32+.google.cloud.domains.v1beta1.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\"s\n\"RetrieveTransferParametersResponse\x12M\n\x13transfer_parameters\x18\x01 \x01(\x0b\x32\x30.google.cloud.domains.v1beta1.TransferParameters\"\xf2\x02\n\x15TransferDomainRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x45\n\x0cregistration\x18\x02 \x01(\x0b\x32*.google.cloud.domains.v1beta1.RegistrationB\x03\xe0\x41\x02\x12\x44\n\x0f\x63ontact_notices\x18\x03 \x03(\x0e\x32+.google.cloud.domains.v1beta1.ContactNotice\x12-\n\x0cyearly_price\x18\x04 \x01(\x0b\x32\x12.google.type.MoneyB\x03\xe0\x41\x02\x12K\n\x12\x61uthorization_code\x18\x05 \x01(\x0b\x32/.google.cloud.domains.v1beta1.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\"w\n\x19ListRegistrationsResponse\x12\x41\n\rregistrations\x18\x01 \x03(\x0b\x32*.google.cloud.domains.v1beta1.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\"\x93\x01\n\x19UpdateRegistrationRequest\x12@\n\x0cregistration\x18\x01 \x01(\x0b\x32*.google.cloud.domains.v1beta1.Registration\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xec\x01\n\"ConfigureManagementSettingsRequest\x12\x41\n\x0cregistration\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#domains.googleapis.com/Registration\x12M\n\x13management_settings\x18\x02 \x01(\x0b\x32\x30.google.cloud.domains.v1beta1.ManagementSettings\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xee\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.v1beta1.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\"\xc0\x02\n\x1f\x43onfigureContactSettingsRequest\x12\x41\n\x0cregistration\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#domains.googleapis.com/Registration\x12G\n\x10\x63ontact_settings\x18\x02 \x01(\x0b\x32-.google.cloud.domains.v1beta1.ContactSettings\x12\x34\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\x12\x44\n\x0f\x63ontact_notices\x18\x04 \x03(\x0e\x32+.google.cloud.domains.v1beta1.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\"\xa1\x03\n\x12RegisterParameters\x12\x13\n\x0b\x64omain_name\x18\x01 \x01(\t\x12S\n\x0c\x61vailability\x18\x02 \x01(\x0e\x32=.google.cloud.domains.v1beta1.RegisterParameters.Availability\x12G\n\x11supported_privacy\x18\x03 \x03(\x0e\x32,.google.cloud.domains.v1beta1.ContactPrivacy\x12\x42\n\x0e\x64omain_notices\x18\x04 \x03(\x0e\x32*.google.cloud.domains.v1beta1.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\"\x9b\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\x12L\n\x13transfer_lock_state\x18\x04 \x01(\x0e\x32/.google.cloud.domains.v1beta1.TransferLockState\x12G\n\x11supported_privacy\x18\x05 \x03(\x0e\x32,.google.cloud.domains.v1beta1.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\xca\x1e\n\x07\x44omains\x12\xd9\x01\n\rSearchDomains\x12\x32.google.cloud.domains.v1beta1.SearchDomainsRequest\x1a\x33.google.cloud.domains.v1beta1.SearchDomainsResponse\"_\x82\xd3\xe4\x93\x02H\x12\x46/v1beta1/{location=projects/*/locations/*}/registrations:searchDomains\xda\x41\x0elocation,query\x12\x93\x02\n\x1aRetrieveRegisterParameters\x12?.google.cloud.domains.v1beta1.RetrieveRegisterParametersRequest\x1a@.google.cloud.domains.v1beta1.RetrieveRegisterParametersResponse\"r\x82\xd3\xe4\x93\x02U\x12S/v1beta1/{location=projects/*/locations/*}/registrations:retrieveRegisterParameters\xda\x41\x14location,domain_name\x12\xf8\x01\n\x0eRegisterDomain\x12\x33.google.cloud.domains.v1beta1.RegisterDomainRequest\x1a\x1d.google.longrunning.Operation\"\x91\x01\x82\xd3\xe4\x93\x02\x44\"?/v1beta1/{parent=projects/*/locations/*}/registrations:register:\x01*\xda\x41 parent,registration,yearly_price\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\x93\x02\n\x1aRetrieveTransferParameters\x12?.google.cloud.domains.v1beta1.RetrieveTransferParametersRequest\x1a@.google.cloud.domains.v1beta1.RetrieveTransferParametersResponse\"r\x82\xd3\xe4\x93\x02U\x12S/v1beta1/{location=projects/*/locations/*}/registrations:retrieveTransferParameters\xda\x41\x14location,domain_name\x12\x8b\x02\n\x0eTransferDomain\x12\x33.google.cloud.domains.v1beta1.TransferDomainRequest\x1a\x1d.google.longrunning.Operation\"\xa4\x01\x82\xd3\xe4\x93\x02\x44\"?/v1beta1/{parent=projects/*/locations/*}/registrations:transfer:\x01*\xda\x41\x33parent,registration,yearly_price,authorization_code\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\xcd\x01\n\x11ListRegistrations\x12\x36.google.cloud.domains.v1beta1.ListRegistrationsRequest\x1a\x37.google.cloud.domains.v1beta1.ListRegistrationsResponse\"G\x82\xd3\xe4\x93\x02\x38\x12\x36/v1beta1/{parent=projects/*/locations/*}/registrations\xda\x41\x06parent\x12\xba\x01\n\x0fGetRegistration\x12\x34.google.cloud.domains.v1beta1.GetRegistrationRequest\x1a*.google.cloud.domains.v1beta1.Registration\"E\x82\xd3\xe4\x93\x02\x38\x12\x36/v1beta1/{name=projects/*/locations/*/registrations/*}\xda\x41\x04name\x12\x87\x02\n\x12UpdateRegistration\x12\x37.google.cloud.domains.v1beta1.UpdateRegistrationRequest\x1a\x1d.google.longrunning.Operation\"\x98\x01\x82\xd3\xe4\x93\x02S2C/v1beta1/{registration.name=projects/*/locations/*/registrations/*}:\x0cregistration\xda\x41\x18registration,update_mask\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\xb9\x02\n\x1b\x43onfigureManagementSettings\x12@.google.cloud.domains.v1beta1.ConfigureManagementSettingsRequest\x1a\x1d.google.longrunning.Operation\"\xb8\x01\x82\xd3\xe4\x93\x02_\"Z/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureManagementSettings:\x01*\xda\x41,registration,management_settings,update_mask\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\x9d\x02\n\x14\x43onfigureDnsSettings\x12\x39.google.cloud.domains.v1beta1.ConfigureDnsSettingsRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x01\x82\xd3\xe4\x93\x02X\"S/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureDnsSettings:\x01*\xda\x41%registration,dns_settings,update_mask\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\xad\x02\n\x18\x43onfigureContactSettings\x12=.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest\x1a\x1d.google.longrunning.Operation\"\xb2\x01\x82\xd3\xe4\x93\x02\\\"W/v1beta1/{registration=projects/*/locations/*/registrations/*}:configureContactSettings:\x01*\xda\x41)registration,contact_settings,update_mask\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\xe1\x01\n\x12\x45xportRegistration\x12\x37.google.cloud.domains.v1beta1.ExportRegistrationRequest\x1a\x1d.google.longrunning.Operation\"s\x82\xd3\xe4\x93\x02\x42\"=/v1beta1/{name=projects/*/locations/*/registrations/*}:export:\x01*\xda\x41\x04name\xca\x41!\n\x0cRegistration\x12\x11OperationMetadata\x12\xe0\x01\n\x12\x44\x65leteRegistration\x12\x37.google.cloud.domains.v1beta1.DeleteRegistrationRequest\x1a\x1d.google.longrunning.Operation\"r\x82\xd3\xe4\x93\x02\x38*6/v1beta1/{name=projects/*/locations/*/registrations/*}\xda\x41\x04name\xca\x41*\n\x15google.protobuf.Empty\x12\x11OperationMetadata\x12\xfd\x01\n\x19RetrieveAuthorizationCode\x12>.google.cloud.domains.v1beta1.RetrieveAuthorizationCodeRequest\x1a/.google.cloud.domains.v1beta1.AuthorizationCode\"o\x82\xd3\xe4\x93\x02Z\x12X/v1beta1/{registration=projects/*/locations/*/registrations/*}:retrieveAuthorizationCode\xda\x41\x0cregistration\x12\xf7\x01\n\x16ResetAuthorizationCode\x12;.google.cloud.domains.v1beta1.ResetAuthorizationCodeRequest\x1a/.google.cloud.domains.v1beta1.AuthorizationCode\"o\x82\xd3\xe4\x93\x02Z\"U/v1beta1/{registration=projects/*/locations/*/registrations/*}:resetAuthorizationCode:\x01*\xda\x41\x0cregistration\x1aJ\xca\x41\x16\x64omains.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBn\n com.google.cloud.domains.v1beta1B\x0c\x44omainsProtoP\x01Z:cloud.google.com/go/domains/apiv1beta1/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
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/domains/v1beta1/domains/rest"
20
+ require "google/cloud/domains/v1beta1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module Domains
25
+ ##
26
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
27
+ #
28
+ # @example
29
+ #
30
+ # require "google/cloud/domains/v1beta1/rest"
31
+ # client = ::Google::Cloud::Domains::V1beta1::Domains::Rest::Client.new
32
+ #
33
+ module V1beta1
34
+ end
35
+ end
36
+ end
37
+ end
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Domains
23
23
  module V1beta1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.6.0"
25
25
  end
26
26
  end
27
27
  end
@@ -23,13 +23,18 @@ module Google
23
23
  module Cloud
24
24
  module Domains
25
25
  ##
26
- # To load this package, including all its services, and instantiate a client:
26
+ # API client module.
27
27
  #
28
- # @example
28
+ # @example Load this package, including all its services, and instantiate a gRPC client
29
29
  #
30
30
  # require "google/cloud/domains/v1beta1"
31
31
  # client = ::Google::Cloud::Domains::V1beta1::Domains::Client.new
32
32
  #
33
+ # @example Load this package, including all its services, and instantiate a REST client
34
+ #
35
+ # require "google/cloud/domains/v1beta1"
36
+ # client = ::Google::Cloud::Domains::V1beta1::Domains::Rest::Client.new
37
+ #
33
38
  module V1beta1
34
39
  end
35
40
  end