google-cloud-support-v2 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -20
- data/lib/google/cloud/support/v2/case_attachment_service/client.rb +28 -2
- data/lib/google/cloud/support/v2/case_service/client.rb +30 -9
- data/lib/google/cloud/support/v2/comment_service/client.rb +28 -3
- data/lib/google/cloud/support/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +70 -10
- data/proto_docs/google/api/resource.rb +7 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 957cf4fee031d313a141a5ec666e35919f92bada7a47f76f9cbd41ca97179a3d
|
4
|
+
data.tar.gz: df8deb9d2490b90945b50ae4a00e7c1f8a65e10549ae59686f01cbcd14d60b69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba0cba4f053d1b312007bb178933c78287d763bc1f240bf5a92ef6f1f18c96cc3fe8e440f5f0e9472e7e4cacdfe5c2a1f5f3cc5d5fdbbd16ac599c916b6c0e2f
|
7
|
+
data.tar.gz: 7b99ec4b4f899727c6a441b5d47e14a83ffe14c57879f23012ac4f2e7ce8fd94f2ba595e604b99bfd5ce3373e86f2f4f39e6e9934365cabdbbe3055c28941375
|
data/README.md
CHANGED
@@ -43,33 +43,43 @@ for class and method documentation.
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/support/docs/reference/support-api)
|
44
44
|
for general usage information.
|
45
45
|
|
46
|
-
##
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
46
|
+
## Debug Logging
|
47
|
+
|
48
|
+
This library comes with opt-in Debug Logging that can help you troubleshoot
|
49
|
+
your application's integration with the API. When logging is activated, key
|
50
|
+
events such as requests and responses, along with data payloads and metadata
|
51
|
+
such as headers and client configuration, are logged to the standard error
|
52
|
+
stream.
|
53
|
+
|
54
|
+
**WARNING:** Client Library Debug Logging includes your data payloads in
|
55
|
+
plaintext, which could include sensitive data such as PII for yourself or your
|
56
|
+
customers, private keys, or other security data that could be compromising if
|
57
|
+
leaked. Always practice good data hygiene with your application logs, and follow
|
58
|
+
the principle of least access. Google also recommends that Client Library Debug
|
59
|
+
Logging be enabled only temporarily during active debugging, and not used
|
60
|
+
permanently in production.
|
61
|
+
|
62
|
+
To enable logging, set the environment variable `GOOGLE_SDK_RUBY_LOGGING_GEMS`
|
63
|
+
to the value `all`. Alternatively, you can set the value to a comma-delimited
|
64
|
+
list of client library gem names. This will select the default logging behavior,
|
65
|
+
which writes logs to the standard error stream. On a local workstation, this may
|
66
|
+
result in logs appearing on the console. When running on a Google Cloud hosting
|
67
|
+
service such as [Google Cloud Run](https://cloud.google.com/run), this generally
|
68
|
+
results in logs appearing alongside your application logs in the
|
69
|
+
[Google Cloud Logging](https://cloud.google.com/logging/) service.
|
70
|
+
|
71
|
+
You can customize logging by modifying the `logger` configuration when
|
72
|
+
constructing a client object. For example:
|
55
73
|
|
56
74
|
```ruby
|
75
|
+
require "google/cloud/support/v2"
|
57
76
|
require "logger"
|
58
77
|
|
59
|
-
|
60
|
-
|
61
|
-
def logger
|
62
|
-
LOGGER
|
63
|
-
end
|
64
|
-
end
|
65
|
-
|
66
|
-
# Define a gRPC module-level logger method before grpc/logconfig.rb loads.
|
67
|
-
module GRPC
|
68
|
-
extend MyLogger
|
78
|
+
client = ::Google::Cloud::Support::V2::CaseAttachmentService::Client.new do |config|
|
79
|
+
config.logger = Logger.new "my-app.log"
|
69
80
|
end
|
70
81
|
```
|
71
82
|
|
72
|
-
|
73
83
|
## Google Cloud Samples
|
74
84
|
|
75
85
|
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
@@ -162,8 +162,28 @@ module Google
|
|
162
162
|
universe_domain: @config.universe_domain,
|
163
163
|
channel_args: @config.channel_args,
|
164
164
|
interceptors: @config.interceptors,
|
165
|
-
channel_pool_config: @config.channel_pool
|
165
|
+
channel_pool_config: @config.channel_pool,
|
166
|
+
logger: @config.logger
|
166
167
|
)
|
168
|
+
|
169
|
+
@case_attachment_service_stub.stub_logger&.info do |entry|
|
170
|
+
entry.set_system_name
|
171
|
+
entry.set_service
|
172
|
+
entry.message = "Created client for #{entry.service}"
|
173
|
+
entry.set_credentials_fields credentials
|
174
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
175
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
176
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
177
|
+
end
|
178
|
+
end
|
179
|
+
|
180
|
+
##
|
181
|
+
# The logger used for request/response debug logging.
|
182
|
+
#
|
183
|
+
# @return [Logger]
|
184
|
+
#
|
185
|
+
def logger
|
186
|
+
@case_attachment_service_stub.logger
|
167
187
|
end
|
168
188
|
|
169
189
|
# Service calls
|
@@ -261,7 +281,7 @@ module Google
|
|
261
281
|
@case_attachment_service_stub.call_rpc :list_attachments, request, options: options do |response, operation|
|
262
282
|
response = ::Gapic::PagedEnumerable.new @case_attachment_service_stub, :list_attachments, request, response, operation, options
|
263
283
|
yield response, operation if block_given?
|
264
|
-
|
284
|
+
throw :response, response
|
265
285
|
end
|
266
286
|
rescue ::GRPC::BadStatus => e
|
267
287
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -350,6 +370,11 @@ module Google
|
|
350
370
|
# default endpoint URL. The default value of nil uses the environment
|
351
371
|
# universe (usually the default "googleapis.com" universe).
|
352
372
|
# @return [::String,nil]
|
373
|
+
# @!attribute [rw] logger
|
374
|
+
# A custom logger to use for request/response debug logging, or the value
|
375
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
376
|
+
# explicitly disable logging.
|
377
|
+
# @return [::Logger,:default,nil]
|
353
378
|
#
|
354
379
|
class Configuration
|
355
380
|
extend ::Gapic::Config
|
@@ -374,6 +399,7 @@ module Google
|
|
374
399
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
375
400
|
config_attr :quota_project, nil, ::String, nil
|
376
401
|
config_attr :universe_domain, nil, ::String, nil
|
402
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
377
403
|
|
378
404
|
# @private
|
379
405
|
def initialize parent_config = nil
|
@@ -185,8 +185,28 @@ module Google
|
|
185
185
|
universe_domain: @config.universe_domain,
|
186
186
|
channel_args: @config.channel_args,
|
187
187
|
interceptors: @config.interceptors,
|
188
|
-
channel_pool_config: @config.channel_pool
|
188
|
+
channel_pool_config: @config.channel_pool,
|
189
|
+
logger: @config.logger
|
189
190
|
)
|
191
|
+
|
192
|
+
@case_service_stub.stub_logger&.info do |entry|
|
193
|
+
entry.set_system_name
|
194
|
+
entry.set_service
|
195
|
+
entry.message = "Created client for #{entry.service}"
|
196
|
+
entry.set_credentials_fields credentials
|
197
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
198
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
199
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
##
|
204
|
+
# The logger used for request/response debug logging.
|
205
|
+
#
|
206
|
+
# @return [Logger]
|
207
|
+
#
|
208
|
+
def logger
|
209
|
+
@case_service_stub.logger
|
190
210
|
end
|
191
211
|
|
192
212
|
# Service calls
|
@@ -271,7 +291,6 @@ module Google
|
|
271
291
|
|
272
292
|
@case_service_stub.call_rpc :get_case, request, options: options do |response, operation|
|
273
293
|
yield response, operation if block_given?
|
274
|
-
return response
|
275
294
|
end
|
276
295
|
rescue ::GRPC::BadStatus => e
|
277
296
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -390,7 +409,7 @@ module Google
|
|
390
409
|
@case_service_stub.call_rpc :list_cases, request, options: options do |response, operation|
|
391
410
|
response = ::Gapic::PagedEnumerable.new @case_service_stub, :list_cases, request, response, operation, options
|
392
411
|
yield response, operation if block_given?
|
393
|
-
|
412
|
+
throw :response, response
|
394
413
|
end
|
395
414
|
rescue ::GRPC::BadStatus => e
|
396
415
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -523,7 +542,7 @@ module Google
|
|
523
542
|
@case_service_stub.call_rpc :search_cases, request, options: options do |response, operation|
|
524
543
|
response = ::Gapic::PagedEnumerable.new @case_service_stub, :search_cases, request, response, operation, options
|
525
544
|
yield response, operation if block_given?
|
526
|
-
|
545
|
+
throw :response, response
|
527
546
|
end
|
528
547
|
rescue ::GRPC::BadStatus => e
|
529
548
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -614,7 +633,6 @@ module Google
|
|
614
633
|
|
615
634
|
@case_service_stub.call_rpc :create_case, request, options: options do |response, operation|
|
616
635
|
yield response, operation if block_given?
|
617
|
-
return response
|
618
636
|
end
|
619
637
|
rescue ::GRPC::BadStatus => e
|
620
638
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -710,7 +728,6 @@ module Google
|
|
710
728
|
|
711
729
|
@case_service_stub.call_rpc :update_case, request, options: options do |response, operation|
|
712
730
|
yield response, operation if block_given?
|
713
|
-
return response
|
714
731
|
end
|
715
732
|
rescue ::GRPC::BadStatus => e
|
716
733
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -804,7 +821,6 @@ module Google
|
|
804
821
|
|
805
822
|
@case_service_stub.call_rpc :escalate_case, request, options: options do |response, operation|
|
806
823
|
yield response, operation if block_given?
|
807
|
-
return response
|
808
824
|
end
|
809
825
|
rescue ::GRPC::BadStatus => e
|
810
826
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -890,7 +906,6 @@ module Google
|
|
890
906
|
|
891
907
|
@case_service_stub.call_rpc :close_case, request, options: options do |response, operation|
|
892
908
|
yield response, operation if block_given?
|
893
|
-
return response
|
894
909
|
end
|
895
910
|
rescue ::GRPC::BadStatus => e
|
896
911
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -983,7 +998,7 @@ module Google
|
|
983
998
|
@case_service_stub.call_rpc :search_case_classifications, request, options: options do |response, operation|
|
984
999
|
response = ::Gapic::PagedEnumerable.new @case_service_stub, :search_case_classifications, request, response, operation, options
|
985
1000
|
yield response, operation if block_given?
|
986
|
-
|
1001
|
+
throw :response, response
|
987
1002
|
end
|
988
1003
|
rescue ::GRPC::BadStatus => e
|
989
1004
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -1072,6 +1087,11 @@ module Google
|
|
1072
1087
|
# default endpoint URL. The default value of nil uses the environment
|
1073
1088
|
# universe (usually the default "googleapis.com" universe).
|
1074
1089
|
# @return [::String,nil]
|
1090
|
+
# @!attribute [rw] logger
|
1091
|
+
# A custom logger to use for request/response debug logging, or the value
|
1092
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
1093
|
+
# explicitly disable logging.
|
1094
|
+
# @return [::Logger,:default,nil]
|
1075
1095
|
#
|
1076
1096
|
class Configuration
|
1077
1097
|
extend ::Gapic::Config
|
@@ -1096,6 +1116,7 @@ module Google
|
|
1096
1116
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
1097
1117
|
config_attr :quota_project, nil, ::String, nil
|
1098
1118
|
config_attr :universe_domain, nil, ::String, nil
|
1119
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
1099
1120
|
|
1100
1121
|
# @private
|
1101
1122
|
def initialize parent_config = nil
|
@@ -164,8 +164,28 @@ module Google
|
|
164
164
|
universe_domain: @config.universe_domain,
|
165
165
|
channel_args: @config.channel_args,
|
166
166
|
interceptors: @config.interceptors,
|
167
|
-
channel_pool_config: @config.channel_pool
|
167
|
+
channel_pool_config: @config.channel_pool,
|
168
|
+
logger: @config.logger
|
168
169
|
)
|
170
|
+
|
171
|
+
@comment_service_stub.stub_logger&.info do |entry|
|
172
|
+
entry.set_system_name
|
173
|
+
entry.set_service
|
174
|
+
entry.message = "Created client for #{entry.service}"
|
175
|
+
entry.set_credentials_fields credentials
|
176
|
+
entry.set "customEndpoint", @config.endpoint if @config.endpoint
|
177
|
+
entry.set "defaultTimeout", @config.timeout if @config.timeout
|
178
|
+
entry.set "quotaProject", @quota_project_id if @quota_project_id
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
##
|
183
|
+
# The logger used for request/response debug logging.
|
184
|
+
#
|
185
|
+
# @return [Logger]
|
186
|
+
#
|
187
|
+
def logger
|
188
|
+
@comment_service_stub.logger
|
169
189
|
end
|
170
190
|
|
171
191
|
# Service calls
|
@@ -261,7 +281,7 @@ module Google
|
|
261
281
|
@comment_service_stub.call_rpc :list_comments, request, options: options do |response, operation|
|
262
282
|
response = ::Gapic::PagedEnumerable.new @comment_service_stub, :list_comments, request, response, operation, options
|
263
283
|
yield response, operation if block_given?
|
264
|
-
|
284
|
+
throw :response, response
|
265
285
|
end
|
266
286
|
rescue ::GRPC::BadStatus => e
|
267
287
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -350,7 +370,6 @@ module Google
|
|
350
370
|
|
351
371
|
@comment_service_stub.call_rpc :create_comment, request, options: options do |response, operation|
|
352
372
|
yield response, operation if block_given?
|
353
|
-
return response
|
354
373
|
end
|
355
374
|
rescue ::GRPC::BadStatus => e
|
356
375
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -439,6 +458,11 @@ module Google
|
|
439
458
|
# default endpoint URL. The default value of nil uses the environment
|
440
459
|
# universe (usually the default "googleapis.com" universe).
|
441
460
|
# @return [::String,nil]
|
461
|
+
# @!attribute [rw] logger
|
462
|
+
# A custom logger to use for request/response debug logging, or the value
|
463
|
+
# `:default` (the default) to construct a default logger, or `nil` to
|
464
|
+
# explicitly disable logging.
|
465
|
+
# @return [::Logger,:default,nil]
|
442
466
|
#
|
443
467
|
class Configuration
|
444
468
|
extend ::Gapic::Config
|
@@ -463,6 +487,7 @@ module Google
|
|
463
487
|
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
464
488
|
config_attr :quota_project, nil, ::String, nil
|
465
489
|
config_attr :universe_domain, nil, ::String, nil
|
490
|
+
config_attr :logger, :default, ::Logger, nil, :default
|
466
491
|
|
467
492
|
# @private
|
468
493
|
def initialize parent_config = nil
|
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -196,9 +199,32 @@ module Google
|
|
196
199
|
# @!attribute [rw] common
|
197
200
|
# @return [::Google::Api::CommonLanguageSettings]
|
198
201
|
# Some settings.
|
202
|
+
# @!attribute [rw] experimental_features
|
203
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
204
|
+
# Experimental features to be included during client library generation.
|
199
205
|
class PythonSettings
|
200
206
|
include ::Google::Protobuf::MessageExts
|
201
207
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
208
|
+
|
209
|
+
# Experimental features to be included during client library generation.
|
210
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
211
|
+
# by default.
|
212
|
+
# @!attribute [rw] rest_async_io_enabled
|
213
|
+
# @return [::Boolean]
|
214
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
215
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
216
|
+
# This feature will be enabled by default 1 month after launching the
|
217
|
+
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
224
|
+
class ExperimentalFeatures
|
225
|
+
include ::Google::Protobuf::MessageExts
|
226
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
227
|
+
end
|
202
228
|
end
|
203
229
|
|
204
230
|
# Settings for Node client libraries.
|
@@ -280,9 +306,28 @@ module Google
|
|
280
306
|
# @!attribute [rw] common
|
281
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
282
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
283
319
|
class GoSettings
|
284
320
|
include ::Google::Protobuf::MessageExts
|
285
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
286
331
|
end
|
287
332
|
|
288
333
|
# Describes the generator configuration for a method.
|
@@ -290,6 +335,13 @@ module Google
|
|
290
335
|
# @return [::String]
|
291
336
|
# The fully qualified name of the method, for which the options below apply.
|
292
337
|
# This is used to find the method to apply the options.
|
338
|
+
#
|
339
|
+
# Example:
|
340
|
+
#
|
341
|
+
# publishing:
|
342
|
+
# method_settings:
|
343
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
344
|
+
# # method settings for CreateFolder...
|
293
345
|
# @!attribute [rw] long_running
|
294
346
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
295
347
|
# Describes settings to use for long-running operations when generating
|
@@ -298,17 +350,14 @@ module Google
|
|
298
350
|
#
|
299
351
|
# Example of a YAML configuration::
|
300
352
|
#
|
301
|
-
#
|
302
|
-
#
|
353
|
+
# publishing:
|
354
|
+
# method_settings:
|
303
355
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
304
356
|
# long_running:
|
305
|
-
# initial_poll_delay:
|
306
|
-
# seconds: 60 # 1 minute
|
357
|
+
# initial_poll_delay: 60s # 1 minute
|
307
358
|
# poll_delay_multiplier: 1.5
|
308
|
-
# max_poll_delay:
|
309
|
-
#
|
310
|
-
# total_poll_timeout:
|
311
|
-
# seconds: 54000 # 90 minutes
|
359
|
+
# max_poll_delay: 360s # 6 minutes
|
360
|
+
# total_poll_timeout: 54000s # 90 minutes
|
312
361
|
# @!attribute [rw] auto_populated_fields
|
313
362
|
# @return [::Array<::String>]
|
314
363
|
# List of top-level fields of the request message, that should be
|
@@ -317,8 +366,8 @@ module Google
|
|
317
366
|
#
|
318
367
|
# Example of a YAML configuration:
|
319
368
|
#
|
320
|
-
#
|
321
|
-
#
|
369
|
+
# publishing:
|
370
|
+
# method_settings:
|
322
371
|
# - selector: google.example.v1.ExampleService.CreateExample
|
323
372
|
# auto_populated_fields:
|
324
373
|
# - request_id
|
@@ -354,6 +403,17 @@ module Google
|
|
354
403
|
end
|
355
404
|
end
|
356
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
357
417
|
# The organization for which the client libraries are being published.
|
358
418
|
# Affects the url where generated docs are published, etc.
|
359
419
|
module ClientLibraryOrganization
|
@@ -124,8 +124,13 @@ module Google
|
|
124
124
|
# @return [::String]
|
125
125
|
# The plural name used in the resource name and permission names, such as
|
126
126
|
# 'projects' for the resource name of 'projects/\\{project}' and the permission
|
127
|
-
# name of 'cloudresourcemanager.googleapis.com/projects.get'.
|
128
|
-
#
|
127
|
+
# name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
|
128
|
+
# to this is for Nested Collections that have stuttering names, as defined
|
129
|
+
# in [AIP-122](https://google.aip.dev/122#nested-collections), where the
|
130
|
+
# collection ID in the resource name pattern does not necessarily directly
|
131
|
+
# match the `plural` value.
|
132
|
+
#
|
133
|
+
# It is the same concept of the `plural` field in k8s CRD spec
|
129
134
|
# https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
|
130
135
|
#
|
131
136
|
# Note: The plural form is required even for singleton resources. See
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-support-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.24.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.24.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
rubygems_version: 3.5.
|
121
|
+
rubygems_version: 3.5.23
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Manages Google Cloud technical support cases for Customer Care support offerings.
|