google-apis-cloudnumberregistry_v1alpha 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a0365770b76bc0866875942379c0d7b61dd7936d3369da9c789e14d89439fef4
4
- data.tar.gz: 3e18986220e19fe2bc6d90ac696cc8f88781f25aaa3328789620dd18110bd345
3
+ metadata.gz: 73b515cdeb0847c5c0579bdf97df9478c4a728cb0b33263ce1d8f66851bc4aa0
4
+ data.tar.gz: 2b776ddbcc2dfd869d621e5dcf602710ed89893f4a7d30d6c75b2230a4fe6d30
5
5
  SHA512:
6
- metadata.gz: 95e4c5470c0d29f44e2a7e3bba6b350887c0d29d0c798a3f1093121cdd433257397c9697d318261800c8254a654e425d63c032ca824a560741174bf07314a928
7
- data.tar.gz: cb36c849a70583d1f7838034da6a24f2e7bf99a39e329358528dc0d4844dc993c975a30e35e07f562f4cac13bbb1ec5b8412ff2ca5d84fcc7bacdf3479915a1c
6
+ metadata.gz: 804e559ccccb7483c07d967a7b5fd5c6aebc3f1705a877da5ba61585fb08852f90357cc46f75b634ffba6ac8ab0de3c24da9e497e9568d0d53abc13beb5ebc93
7
+ data.tar.gz: f4293117e38f8546864cf8937e749e839d4a6890027a961a744c09154087ea67f22f74c3ef8146b06c93b2fb574421edd7d1f66b9eb5c95638df1d77ae5f80c1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-cloudnumberregistry_v1alpha
2
2
 
3
+ ### v0.4.0 (2026-08-30)
4
+
5
+ * Regenerated from discovery document revision 20260819
6
+
7
+ ### v0.3.0 (2026-07-12)
8
+
9
+ * Regenerated from discovery document revision 20260708
10
+
3
11
  ### v0.2.0 (2026-06-14)
4
12
 
5
13
  * Regenerated from discovery document revision 20260527
@@ -722,6 +722,38 @@ module Google
722
722
  end
723
723
  end
724
724
 
725
+ # Response message for the CloudNumberRegistry.ListOrgNumberRegistries method.
726
+ class ListOrgNumberRegistriesResponse
727
+ include Google::Apis::Core::Hashable
728
+
729
+ # A token to retrieve the next page of results, or empty if there are no more
730
+ # results in the list.
731
+ # Corresponds to the JSON property `nextPageToken`
732
+ # @return [String]
733
+ attr_accessor :next_page_token
734
+
735
+ # The list of OrgNumberRegistries.
736
+ # Corresponds to the JSON property `orgNumberRegistries`
737
+ # @return [Array<Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry>]
738
+ attr_accessor :org_number_registries
739
+
740
+ # Locations that could not be reached.
741
+ # Corresponds to the JSON property `unreachable`
742
+ # @return [Array<String>]
743
+ attr_accessor :unreachable
744
+
745
+ def initialize(**args)
746
+ update!(**args)
747
+ end
748
+
749
+ # Update properties of this object
750
+ def update!(**args)
751
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
752
+ @org_number_registries = args[:org_number_registries] if args.key?(:org_number_registries)
753
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
754
+ end
755
+ end
756
+
725
757
  # Response message for the CloudNumberRegistry.ListRealms method.
726
758
  class ListRealmsResponse
727
759
  include Google::Apis::Core::Hashable
@@ -952,6 +984,60 @@ module Google
952
984
  end
953
985
  end
954
986
 
987
+ # An OrgNumberRegistry defines a delegation of authority from an organization to
988
+ # a project, allowing the project to manage IP address data within specified
989
+ # scopes of the organization.
990
+ class OrgNumberRegistry
991
+ include Google::Apis::Core::Hashable
992
+
993
+ # Required. The project that will act as the admin project for CNR resources
994
+ # Format: projects/`project_number` or projects/`project_id`
995
+ # Corresponds to the JSON property `adminProject`
996
+ # @return [String]
997
+ attr_accessor :admin_project
998
+
999
+ # Output only. The time at which the OrgNumberRegistry was created.
1000
+ # Corresponds to the JSON property `createTime`
1001
+ # @return [String]
1002
+ attr_accessor :create_time
1003
+
1004
+ # Optional. User-defined labels.
1005
+ # Corresponds to the JSON property `labels`
1006
+ # @return [Hash<String,String>]
1007
+ attr_accessor :labels
1008
+
1009
+ # Identifier. The resource name of the OrgNumberRegistry.
1010
+ # Corresponds to the JSON property `name`
1011
+ # @return [String]
1012
+ attr_accessor :name
1013
+
1014
+ # Required. The scopes within the organization that the project is able to
1015
+ # manage. Currently only organization scope is supported. For example, "
1016
+ # organizations/1234567890".
1017
+ # Corresponds to the JSON property `targetScopes`
1018
+ # @return [Array<String>]
1019
+ attr_accessor :target_scopes
1020
+
1021
+ # Output only. The time at which the OrgNumberRegistry was last updated.
1022
+ # Corresponds to the JSON property `updateTime`
1023
+ # @return [String]
1024
+ attr_accessor :update_time
1025
+
1026
+ def initialize(**args)
1027
+ update!(**args)
1028
+ end
1029
+
1030
+ # Update properties of this object
1031
+ def update!(**args)
1032
+ @admin_project = args[:admin_project] if args.key?(:admin_project)
1033
+ @create_time = args[:create_time] if args.key?(:create_time)
1034
+ @labels = args[:labels] if args.key?(:labels)
1035
+ @name = args[:name] if args.key?(:name)
1036
+ @target_scopes = args[:target_scopes] if args.key?(:target_scopes)
1037
+ @update_time = args[:update_time] if args.key?(:update_time)
1038
+ end
1039
+ end
1040
+
955
1041
  # Represents either a CustomRange or a DiscoveredRange.
956
1042
  class Range
957
1043
  include Google::Apis::Core::Hashable
@@ -1051,7 +1137,7 @@ module Google
1051
1137
  # @return [Hash<String,String>]
1052
1138
  attr_accessor :labels
1053
1139
 
1054
- # Required. Management type of the Realm.
1140
+ # Optional. Management type of the Realm.
1055
1141
  # Corresponds to the JSON property `managementType`
1056
1142
  # @return [String]
1057
1143
  attr_accessor :management_type
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module CloudnumberregistryV1alpha
18
18
  # Version of the google-apis-cloudnumberregistry_v1alpha gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.4.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260527"
25
+ REVISION = "20260819"
26
26
  end
27
27
  end
28
28
  end
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class ListOrgNumberRegistriesResponse
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class ListRealmsResponse
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -166,6 +172,12 @@ module Google
166
172
  include Google::Apis::Core::JsonObjectSupport
167
173
  end
168
174
 
175
+ class OrgNumberRegistry
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class Range
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -421,6 +433,16 @@ module Google
421
433
  end
422
434
  end
423
435
 
436
+ class ListOrgNumberRegistriesResponse
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ property :next_page_token, as: 'nextPageToken'
440
+ collection :org_number_registries, as: 'orgNumberRegistries', class: Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry, decorator: Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry::Representation
441
+
442
+ collection :unreachable, as: 'unreachable'
443
+ end
444
+ end
445
+
424
446
  class ListRealmsResponse
425
447
  # @private
426
448
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -477,6 +499,18 @@ module Google
477
499
  end
478
500
  end
479
501
 
502
+ class OrgNumberRegistry
503
+ # @private
504
+ class Representation < Google::Apis::Core::JsonRepresentation
505
+ property :admin_project, as: 'adminProject'
506
+ property :create_time, as: 'createTime'
507
+ hash :labels, as: 'labels'
508
+ property :name, as: 'name'
509
+ collection :target_scopes, as: 'targetScopes'
510
+ property :update_time, as: 'updateTime'
511
+ end
512
+ end
513
+
480
514
  class Range
481
515
  # @private
482
516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,6 +51,323 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Starts asynchronous cancellation on a long-running operation. The server makes
55
+ # a best effort to cancel the operation, but success is not guaranteed. If the
56
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
57
+ # Clients can use Operations.GetOperation or other methods to check whether the
58
+ # cancellation succeeded or whether the operation completed despite cancellation.
59
+ # On successful cancellation, the operation is not deleted; instead, it becomes
60
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
61
+ # , corresponding to `Code.CANCELLED`.
62
+ # @param [String] name
63
+ # The name of the operation resource to be cancelled.
64
+ # @param [Google::Apis::CloudnumberregistryV1alpha::CancelOperationRequest] cancel_operation_request_object
65
+ # @param [String] fields
66
+ # Selector specifying which fields to include in a partial response.
67
+ # @param [String] quota_user
68
+ # Available to use for quota purposes for server-side applications. Can be any
69
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
70
+ # @param [Google::Apis::RequestOptions] options
71
+ # Request-specific options
72
+ #
73
+ # @yield [result, err] Result & error if block supplied
74
+ # @yieldparam result [Google::Apis::CloudnumberregistryV1alpha::Empty] parsed result object
75
+ # @yieldparam err [StandardError] error object if request failed
76
+ #
77
+ # @return [Google::Apis::CloudnumberregistryV1alpha::Empty]
78
+ #
79
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
82
+ def cancel_organization_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
83
+ command = make_simple_command(:post, 'v1alpha/{+name}:cancel', options)
84
+ command.request_representation = Google::Apis::CloudnumberregistryV1alpha::CancelOperationRequest::Representation
85
+ command.request_object = cancel_operation_request_object
86
+ command.response_representation = Google::Apis::CloudnumberregistryV1alpha::Empty::Representation
87
+ command.response_class = Google::Apis::CloudnumberregistryV1alpha::Empty
88
+ command.params['name'] = name unless name.nil?
89
+ command.query['fields'] = fields unless fields.nil?
90
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
91
+ execute_or_queue_command(command, &block)
92
+ end
93
+
94
+ # Deletes a long-running operation. This method indicates that the client is no
95
+ # longer interested in the operation result. It does not cancel the operation.
96
+ # If the server doesn't support this method, it returns `google.rpc.Code.
97
+ # UNIMPLEMENTED`.
98
+ # @param [String] name
99
+ # The name of the operation resource to be deleted.
100
+ # @param [String] fields
101
+ # Selector specifying which fields to include in a partial response.
102
+ # @param [String] quota_user
103
+ # Available to use for quota purposes for server-side applications. Can be any
104
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
105
+ # @param [Google::Apis::RequestOptions] options
106
+ # Request-specific options
107
+ #
108
+ # @yield [result, err] Result & error if block supplied
109
+ # @yieldparam result [Google::Apis::CloudnumberregistryV1alpha::Empty] parsed result object
110
+ # @yieldparam err [StandardError] error object if request failed
111
+ #
112
+ # @return [Google::Apis::CloudnumberregistryV1alpha::Empty]
113
+ #
114
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
115
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
116
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
117
+ def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
118
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
119
+ command.response_representation = Google::Apis::CloudnumberregistryV1alpha::Empty::Representation
120
+ command.response_class = Google::Apis::CloudnumberregistryV1alpha::Empty
121
+ command.params['name'] = name unless name.nil?
122
+ command.query['fields'] = fields unless fields.nil?
123
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
124
+ execute_or_queue_command(command, &block)
125
+ end
126
+
127
+ # Gets the latest state of a long-running operation. Clients can use this method
128
+ # to poll the operation result at intervals as recommended by the API service.
129
+ # @param [String] name
130
+ # The name of the operation resource.
131
+ # @param [String] fields
132
+ # Selector specifying which fields to include in a partial response.
133
+ # @param [String] quota_user
134
+ # Available to use for quota purposes for server-side applications. Can be any
135
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
136
+ # @param [Google::Apis::RequestOptions] options
137
+ # Request-specific options
138
+ #
139
+ # @yield [result, err] Result & error if block supplied
140
+ # @yieldparam result [Google::Apis::CloudnumberregistryV1alpha::Operation] parsed result object
141
+ # @yieldparam err [StandardError] error object if request failed
142
+ #
143
+ # @return [Google::Apis::CloudnumberregistryV1alpha::Operation]
144
+ #
145
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
146
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
147
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
148
+ def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
149
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
150
+ command.response_representation = Google::Apis::CloudnumberregistryV1alpha::Operation::Representation
151
+ command.response_class = Google::Apis::CloudnumberregistryV1alpha::Operation
152
+ command.params['name'] = name unless name.nil?
153
+ command.query['fields'] = fields unless fields.nil?
154
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
155
+ execute_or_queue_command(command, &block)
156
+ end
157
+
158
+ # Lists operations that match the specified filter in the request. If the server
159
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
160
+ # @param [String] name
161
+ # The name of the operation's parent resource.
162
+ # @param [String] filter
163
+ # The standard list filter.
164
+ # @param [Fixnum] page_size
165
+ # The standard list page size.
166
+ # @param [String] page_token
167
+ # The standard list page token.
168
+ # @param [Boolean] return_partial_success
169
+ # When set to `true`, operations that are reachable are returned as normal, and
170
+ # those that are unreachable are returned in the ListOperationsResponse.
171
+ # unreachable field. This can only be `true` when reading across collections.
172
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
173
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
174
+ # if set unless explicitly documented otherwise in service or product specific
175
+ # documentation.
176
+ # @param [String] fields
177
+ # Selector specifying which fields to include in a partial response.
178
+ # @param [String] quota_user
179
+ # Available to use for quota purposes for server-side applications. Can be any
180
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
181
+ # @param [Google::Apis::RequestOptions] options
182
+ # Request-specific options
183
+ #
184
+ # @yield [result, err] Result & error if block supplied
185
+ # @yieldparam result [Google::Apis::CloudnumberregistryV1alpha::ListOperationsResponse] parsed result object
186
+ # @yieldparam err [StandardError] error object if request failed
187
+ #
188
+ # @return [Google::Apis::CloudnumberregistryV1alpha::ListOperationsResponse]
189
+ #
190
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
191
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
192
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
193
+ def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
194
+ command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
195
+ command.response_representation = Google::Apis::CloudnumberregistryV1alpha::ListOperationsResponse::Representation
196
+ command.response_class = Google::Apis::CloudnumberregistryV1alpha::ListOperationsResponse
197
+ command.params['name'] = name unless name.nil?
198
+ command.query['filter'] = filter unless filter.nil?
199
+ command.query['pageSize'] = page_size unless page_size.nil?
200
+ command.query['pageToken'] = page_token unless page_token.nil?
201
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
202
+ command.query['fields'] = fields unless fields.nil?
203
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
204
+ execute_or_queue_command(command, &block)
205
+ end
206
+
207
+ # Creates a new OrgNumberRegistry in a given organization and location.
208
+ # @param [String] parent
209
+ # Required. The parent resource name where the OrgNumberRegistry will be created.
210
+ # @param [Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry] org_number_registry_object
211
+ # @param [String] org_number_registry_id
212
+ # Required. The ID to use for the OrgNumberRegistry, which will become the final
213
+ # segment of the resource name.
214
+ # @param [String] request_id
215
+ # Optional. An optional request ID to identify requests. Specify a unique
216
+ # request ID so that if you must retry your request, the server will know to
217
+ # ignore the request if it has already been completed. The server will guarantee
218
+ # that for at least 60 minutes after the first request. For example, consider a
219
+ # situation where you make an initial request and the request times out. If you
220
+ # make the request again with the same request ID, the server can check if
221
+ # original operation with the same request ID was received, and if so, will
222
+ # ignore the second request. This prevents clients from accidentally creating
223
+ # duplicate commitments. The request ID must be a valid UUID with the exception
224
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
225
+ # @param [String] fields
226
+ # Selector specifying which fields to include in a partial response.
227
+ # @param [String] quota_user
228
+ # Available to use for quota purposes for server-side applications. Can be any
229
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
230
+ # @param [Google::Apis::RequestOptions] options
231
+ # Request-specific options
232
+ #
233
+ # @yield [result, err] Result & error if block supplied
234
+ # @yieldparam result [Google::Apis::CloudnumberregistryV1alpha::Operation] parsed result object
235
+ # @yieldparam err [StandardError] error object if request failed
236
+ #
237
+ # @return [Google::Apis::CloudnumberregistryV1alpha::Operation]
238
+ #
239
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
240
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
241
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
242
+ def create_organization_location_org_number_registry(parent, org_number_registry_object = nil, org_number_registry_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
243
+ command = make_simple_command(:post, 'v1alpha/{+parent}/orgNumberRegistries', options)
244
+ command.request_representation = Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry::Representation
245
+ command.request_object = org_number_registry_object
246
+ command.response_representation = Google::Apis::CloudnumberregistryV1alpha::Operation::Representation
247
+ command.response_class = Google::Apis::CloudnumberregistryV1alpha::Operation
248
+ command.params['parent'] = parent unless parent.nil?
249
+ command.query['orgNumberRegistryId'] = org_number_registry_id unless org_number_registry_id.nil?
250
+ command.query['requestId'] = request_id unless request_id.nil?
251
+ command.query['fields'] = fields unless fields.nil?
252
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
253
+ execute_or_queue_command(command, &block)
254
+ end
255
+
256
+ # Deletes a single OrgNumberRegistry.
257
+ # @param [String] name
258
+ # Required. The resource name of the OrgNumberRegistry to delete.
259
+ # @param [String] request_id
260
+ # Optional. An optional request ID to identify requests. Specify a unique
261
+ # request ID so that if you must retry your request, the server will know to
262
+ # ignore the request if it has already been completed. The server will guarantee
263
+ # that for at least 60 minutes after the first request. For example, consider a
264
+ # situation where you make an initial request and the request times out. If you
265
+ # make the request again with the same request ID, the server can check if
266
+ # original operation with the same request ID was received, and if so, will
267
+ # ignore the second request. This prevents clients from accidentally creating
268
+ # duplicate commitments. The request ID must be a valid UUID with the exception
269
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
270
+ # @param [String] fields
271
+ # Selector specifying which fields to include in a partial response.
272
+ # @param [String] quota_user
273
+ # Available to use for quota purposes for server-side applications. Can be any
274
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
275
+ # @param [Google::Apis::RequestOptions] options
276
+ # Request-specific options
277
+ #
278
+ # @yield [result, err] Result & error if block supplied
279
+ # @yieldparam result [Google::Apis::CloudnumberregistryV1alpha::Operation] parsed result object
280
+ # @yieldparam err [StandardError] error object if request failed
281
+ #
282
+ # @return [Google::Apis::CloudnumberregistryV1alpha::Operation]
283
+ #
284
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
285
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
286
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
287
+ def delete_organization_location_org_number_registry(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
288
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
289
+ command.response_representation = Google::Apis::CloudnumberregistryV1alpha::Operation::Representation
290
+ command.response_class = Google::Apis::CloudnumberregistryV1alpha::Operation
291
+ command.params['name'] = name unless name.nil?
292
+ command.query['requestId'] = request_id unless request_id.nil?
293
+ command.query['fields'] = fields unless fields.nil?
294
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
295
+ execute_or_queue_command(command, &block)
296
+ end
297
+
298
+ # Gets details of a single OrgNumberRegistry.
299
+ # @param [String] name
300
+ # Required. The resource name of the OrgNumberRegistry to retrieve.
301
+ # @param [String] fields
302
+ # Selector specifying which fields to include in a partial response.
303
+ # @param [String] quota_user
304
+ # Available to use for quota purposes for server-side applications. Can be any
305
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
306
+ # @param [Google::Apis::RequestOptions] options
307
+ # Request-specific options
308
+ #
309
+ # @yield [result, err] Result & error if block supplied
310
+ # @yieldparam result [Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry] parsed result object
311
+ # @yieldparam err [StandardError] error object if request failed
312
+ #
313
+ # @return [Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry]
314
+ #
315
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
316
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
317
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
318
+ def get_organization_location_org_number_registry(name, fields: nil, quota_user: nil, options: nil, &block)
319
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
320
+ command.response_representation = Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry::Representation
321
+ command.response_class = Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry
322
+ command.params['name'] = name unless name.nil?
323
+ command.query['fields'] = fields unless fields.nil?
324
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
325
+ execute_or_queue_command(command, &block)
326
+ end
327
+
328
+ # Lists OrgNumberRegistries in a given organization and location.
329
+ # @param [String] parent
330
+ # Required. The parent resource name, for example `organizations/*/locations/*`.
331
+ # @param [String] filter
332
+ # Optional. Filter expression to filter the results.
333
+ # @param [String] order_by
334
+ # Optional. Hint for how to order the results.
335
+ # @param [Fixnum] page_size
336
+ # Optional. Requested page size. Server may return fewer items than requested.
337
+ # If unspecified, server will pick an appropriate default.
338
+ # @param [String] page_token
339
+ # Optional. A token identifying a page of results the server should return.
340
+ # @param [String] fields
341
+ # Selector specifying which fields to include in a partial response.
342
+ # @param [String] quota_user
343
+ # Available to use for quota purposes for server-side applications. Can be any
344
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
345
+ # @param [Google::Apis::RequestOptions] options
346
+ # Request-specific options
347
+ #
348
+ # @yield [result, err] Result & error if block supplied
349
+ # @yieldparam result [Google::Apis::CloudnumberregistryV1alpha::ListOrgNumberRegistriesResponse] parsed result object
350
+ # @yieldparam err [StandardError] error object if request failed
351
+ #
352
+ # @return [Google::Apis::CloudnumberregistryV1alpha::ListOrgNumberRegistriesResponse]
353
+ #
354
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
355
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
356
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
357
+ def list_organization_location_org_number_registries(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
358
+ command = make_simple_command(:get, 'v1alpha/{+parent}/orgNumberRegistries', options)
359
+ command.response_representation = Google::Apis::CloudnumberregistryV1alpha::ListOrgNumberRegistriesResponse::Representation
360
+ command.response_class = Google::Apis::CloudnumberregistryV1alpha::ListOrgNumberRegistriesResponse
361
+ command.params['parent'] = parent unless parent.nil?
362
+ command.query['filter'] = filter unless filter.nil?
363
+ command.query['orderBy'] = order_by unless order_by.nil?
364
+ command.query['pageSize'] = page_size unless page_size.nil?
365
+ command.query['pageToken'] = page_token unless page_token.nil?
366
+ command.query['fields'] = fields unless fields.nil?
367
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
368
+ execute_or_queue_command(command, &block)
369
+ end
370
+
54
371
  # Gets information about a location.
55
372
  # @param [String] name
56
373
  # Resource name for the location.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-cloudnumberregistry_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudnumberregistry_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudnumberregistry_v1alpha/v0.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudnumberregistry_v1alpha/v0.4.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudnumberregistry_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: