google-apis-cloudnumberregistry_v1alpha 0.3.0 → 0.5.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/cloudnumberregistry_v1alpha/classes.rb +135 -6
- data/lib/google/apis/cloudnumberregistry_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/cloudnumberregistry_v1alpha/representations.rb +51 -0
- data/lib/google/apis/cloudnumberregistry_v1alpha/service.rb +317 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0db37248c7fca436d91d7a6c4d44fd39a1ff4eb5489caae7d5188d6620ea6d24
|
|
4
|
+
data.tar.gz: 7f93ce35ecee163350630fa4a7eef9b0f88765d4a0caa809b4b1ba46df819d91
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 65d669cfcf048a59055cf100cb612345358266bd0962282a2e340ecd0d054c8028632da354e30c4a77cb1e8d431f97c71e68f707285c65dc29796b69d1e04267
|
|
7
|
+
data.tar.gz: 31bf1a8522a83fc6406c198312468d8969bf6d90b529a17f9600501c1e1273034fe399fb3f8117abe36166376c6e539df6af770e81331b9302d33d35aa93095d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-cloudnumberregistry_v1alpha
|
|
2
2
|
|
|
3
|
+
### v0.5.0 (2026-09-06)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260826
|
|
6
|
+
|
|
7
|
+
### v0.4.0 (2026-08-30)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260819
|
|
10
|
+
|
|
3
11
|
### v0.3.0 (2026-07-12)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260708
|
|
@@ -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
|
|
@@ -1137,6 +1223,12 @@ module Google
|
|
|
1137
1223
|
# @return [Array<String>]
|
|
1138
1224
|
attr_accessor :claimed_scopes
|
|
1139
1225
|
|
|
1226
|
+
# Output only. Detailed scope information corresponding to each entry in `
|
|
1227
|
+
# claimed_scopes`.
|
|
1228
|
+
# Corresponds to the JSON property `claimedScopesInfo`
|
|
1229
|
+
# @return [Array<Google::Apis::CloudnumberregistryV1alpha::ScopeInfo>]
|
|
1230
|
+
attr_accessor :claimed_scopes_info
|
|
1231
|
+
|
|
1140
1232
|
# Output only. The time at which the RegistryBook was created.
|
|
1141
1233
|
# Corresponds to the JSON property `createTime`
|
|
1142
1234
|
# @return [String]
|
|
@@ -1171,6 +1263,7 @@ module Google
|
|
|
1171
1263
|
def update!(**args)
|
|
1172
1264
|
@aggregated_data = args[:aggregated_data] if args.key?(:aggregated_data)
|
|
1173
1265
|
@claimed_scopes = args[:claimed_scopes] if args.key?(:claimed_scopes)
|
|
1266
|
+
@claimed_scopes_info = args[:claimed_scopes_info] if args.key?(:claimed_scopes_info)
|
|
1174
1267
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
1175
1268
|
@is_default = args[:is_default] if args.key?(:is_default)
|
|
1176
1269
|
@labels = args[:labels] if args.key?(:labels)
|
|
@@ -1179,6 +1272,39 @@ module Google
|
|
|
1179
1272
|
end
|
|
1180
1273
|
end
|
|
1181
1274
|
|
|
1275
|
+
# Details of a scope (e.g. project or folder).
|
|
1276
|
+
class ScopeInfo
|
|
1277
|
+
include Google::Apis::Core::Hashable
|
|
1278
|
+
|
|
1279
|
+
# Output only. Human-readable display title of the scope shown in Console (e.g. "
|
|
1280
|
+
# My Cloud Project"). Used for UI display.
|
|
1281
|
+
# Corresponds to the JSON property `displayName`
|
|
1282
|
+
# @return [String]
|
|
1283
|
+
attr_accessor :display_name
|
|
1284
|
+
|
|
1285
|
+
# Output only. Programmatic string identifier of the scope (e.g. GCP Project ID "
|
|
1286
|
+
# my-project-id"). Used for API and code logic.
|
|
1287
|
+
# Corresponds to the JSON property `id`
|
|
1288
|
+
# @return [String]
|
|
1289
|
+
attr_accessor :id
|
|
1290
|
+
|
|
1291
|
+
# Output only. Resource name of the scope, e.g. "projects/1234567890".
|
|
1292
|
+
# Corresponds to the JSON property `name`
|
|
1293
|
+
# @return [String]
|
|
1294
|
+
attr_accessor :name
|
|
1295
|
+
|
|
1296
|
+
def initialize(**args)
|
|
1297
|
+
update!(**args)
|
|
1298
|
+
end
|
|
1299
|
+
|
|
1300
|
+
# Update properties of this object
|
|
1301
|
+
def update!(**args)
|
|
1302
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
1303
|
+
@id = args[:id] if args.key?(:id)
|
|
1304
|
+
@name = args[:name] if args.key?(:name)
|
|
1305
|
+
end
|
|
1306
|
+
end
|
|
1307
|
+
|
|
1182
1308
|
# Request message for the CloudNumberRegistry.SearchIpResources method.
|
|
1183
1309
|
class SearchIpResourcesRequest
|
|
1184
1310
|
include Google::Apis::Core::Hashable
|
|
@@ -1207,8 +1333,10 @@ module Google
|
|
|
1207
1333
|
# Optional. Search query. This string filters resources in an AIP-160-like
|
|
1208
1334
|
# format. It has some limitations. You can only specify top level conjunctions
|
|
1209
1335
|
# or attribute level negations. Each restriction can only be used once except
|
|
1210
|
-
# the attribute restriction. The available restrictions for Ranges are: - `
|
|
1211
|
-
#
|
|
1336
|
+
# the attribute restriction. The available restrictions for Ranges are: - `
|
|
1337
|
+
# resource_id`: The resource ID to search for within Ranges (only substring
|
|
1338
|
+
# matching using the format `resource_id="*value*"` is supported). - `realm`:
|
|
1339
|
+
# The Realm name to search in. - `ip_address`: The IP address to search for
|
|
1212
1340
|
# within Ranges. - `ip_version`: The IP version to filter by (e.g., "IPV4", "
|
|
1213
1341
|
# IPV6"). - `parent_range`: The parent Range of the Range to search for. - `
|
|
1214
1342
|
# attribute_text`: The attribute text to search for within Ranges. - `attribute`:
|
|
@@ -1217,10 +1345,11 @@ module Google
|
|
|
1217
1345
|
# The management type of the Realm (e.g., "CNR", "USER"). Only one of
|
|
1218
1346
|
# attribute_text or multiple attribute filters can be specified. Examples: - `
|
|
1219
1347
|
# realm=test-realm` - `realm=test-realm AND ip_address=10.0.0.0` - `realm=test-
|
|
1220
|
-
# realm AND ip_version=IPV6` - `realm=test-realm AND
|
|
1221
|
-
# ip_address=10.0.0.0 AND
|
|
1222
|
-
#
|
|
1223
|
-
# discoveredRanges/test-parent-
|
|
1348
|
+
# realm AND ip_version=IPV6` - `realm=test-realm AND resource_id="*my-range*"` -
|
|
1349
|
+
# `realm=test-realm AND attribute_text=test` - `ip_address=10.0.0.0 AND
|
|
1350
|
+
# attribute:(key1=value1) AND attribute:(key2=value2)` - `attribute_text=test
|
|
1351
|
+
# AND parent_range=projects/123/locations/global/discoveredRanges/test-parent-
|
|
1352
|
+
# range` - `management_type=CNR`
|
|
1224
1353
|
# Corresponds to the JSON property `query`
|
|
1225
1354
|
# @return [String]
|
|
1226
1355
|
attr_accessor :query
|
|
@@ -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.
|
|
19
|
+
GEM_VERSION = "0.5.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 = "
|
|
25
|
+
REVISION = "20260826"
|
|
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
|
|
|
@@ -196,6 +208,12 @@ module Google
|
|
|
196
208
|
include Google::Apis::Core::JsonObjectSupport
|
|
197
209
|
end
|
|
198
210
|
|
|
211
|
+
class ScopeInfo
|
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
213
|
+
|
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
215
|
+
end
|
|
216
|
+
|
|
199
217
|
class SearchIpResourcesRequest
|
|
200
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
219
|
|
|
@@ -421,6 +439,16 @@ module Google
|
|
|
421
439
|
end
|
|
422
440
|
end
|
|
423
441
|
|
|
442
|
+
class ListOrgNumberRegistriesResponse
|
|
443
|
+
# @private
|
|
444
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
445
|
+
property :next_page_token, as: 'nextPageToken'
|
|
446
|
+
collection :org_number_registries, as: 'orgNumberRegistries', class: Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry, decorator: Google::Apis::CloudnumberregistryV1alpha::OrgNumberRegistry::Representation
|
|
447
|
+
|
|
448
|
+
collection :unreachable, as: 'unreachable'
|
|
449
|
+
end
|
|
450
|
+
end
|
|
451
|
+
|
|
424
452
|
class ListRealmsResponse
|
|
425
453
|
# @private
|
|
426
454
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -477,6 +505,18 @@ module Google
|
|
|
477
505
|
end
|
|
478
506
|
end
|
|
479
507
|
|
|
508
|
+
class OrgNumberRegistry
|
|
509
|
+
# @private
|
|
510
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
511
|
+
property :admin_project, as: 'adminProject'
|
|
512
|
+
property :create_time, as: 'createTime'
|
|
513
|
+
hash :labels, as: 'labels'
|
|
514
|
+
property :name, as: 'name'
|
|
515
|
+
collection :target_scopes, as: 'targetScopes'
|
|
516
|
+
property :update_time, as: 'updateTime'
|
|
517
|
+
end
|
|
518
|
+
end
|
|
519
|
+
|
|
480
520
|
class Range
|
|
481
521
|
# @private
|
|
482
522
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -530,6 +570,8 @@ module Google
|
|
|
530
570
|
property :aggregated_data, as: 'aggregatedData', class: Google::Apis::CloudnumberregistryV1alpha::AggregatedData, decorator: Google::Apis::CloudnumberregistryV1alpha::AggregatedData::Representation
|
|
531
571
|
|
|
532
572
|
collection :claimed_scopes, as: 'claimedScopes'
|
|
573
|
+
collection :claimed_scopes_info, as: 'claimedScopesInfo', class: Google::Apis::CloudnumberregistryV1alpha::ScopeInfo, decorator: Google::Apis::CloudnumberregistryV1alpha::ScopeInfo::Representation
|
|
574
|
+
|
|
533
575
|
property :create_time, as: 'createTime'
|
|
534
576
|
property :is_default, as: 'isDefault'
|
|
535
577
|
hash :labels, as: 'labels'
|
|
@@ -538,6 +580,15 @@ module Google
|
|
|
538
580
|
end
|
|
539
581
|
end
|
|
540
582
|
|
|
583
|
+
class ScopeInfo
|
|
584
|
+
# @private
|
|
585
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
586
|
+
property :display_name, as: 'displayName'
|
|
587
|
+
property :id, as: 'id'
|
|
588
|
+
property :name, as: 'name'
|
|
589
|
+
end
|
|
590
|
+
end
|
|
591
|
+
|
|
541
592
|
class SearchIpResourcesRequest
|
|
542
593
|
# @private
|
|
543
594
|
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.
|
|
4
|
+
version: 0.5.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudnumberregistry_v1alpha/v0.5.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:
|