google-cloud-storage_insights-v1 0.5.0 → 0.5.1
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/README.md +0 -1
- data/lib/google/cloud/storage_insights/v1/storage_insights/client.rb +17 -7
- data/lib/google/cloud/storage_insights/v1/storage_insights/rest/client.rb +17 -7
- data/lib/google/cloud/storage_insights/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +35 -10
- data/proto_docs/google/api/resource.rb +7 -2
- 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: 6f7a5d1d6a5c3c188b1e4e998fc12494595869283658320c3399c9cdf40d6c14
|
|
4
|
+
data.tar.gz: fce79b8431beb01926c794ad4fdd5228a671e5e7baea64c6f0f265242d34770a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 63e895f29a549690705be64855813b1313ac843b7a04b7dd27aaceed65da22519080f3ba57be1528ce530a69cd22cf94adc129822a163fac261936917d75939f
|
|
7
|
+
data.tar.gz: 4b5457fde15cabcf83c46cd67744c8f207915b8d89d7418f2c6777219cff177cc0a9ebc6da33f2655d67254b80fdb53055dcfd1d79ec8b932a9cf106db10e8a0
|
data/README.md
CHANGED
|
@@ -31,6 +31,9 @@ module Google
|
|
|
31
31
|
# Service describing handlers for resources
|
|
32
32
|
#
|
|
33
33
|
class Client
|
|
34
|
+
# @private
|
|
35
|
+
API_VERSION = ""
|
|
36
|
+
|
|
34
37
|
# @private
|
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "storageinsights.$UNIVERSE_DOMAIN$"
|
|
36
39
|
|
|
@@ -265,10 +268,11 @@ module Google
|
|
|
265
268
|
# Customize the options with defaults
|
|
266
269
|
metadata = @config.rpcs.list_report_configs.metadata.to_h
|
|
267
270
|
|
|
268
|
-
# Set x-goog-api-client
|
|
271
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
269
272
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
270
273
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
271
274
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION
|
|
275
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
272
276
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
273
277
|
|
|
274
278
|
header_params = {}
|
|
@@ -351,10 +355,11 @@ module Google
|
|
|
351
355
|
# Customize the options with defaults
|
|
352
356
|
metadata = @config.rpcs.get_report_config.metadata.to_h
|
|
353
357
|
|
|
354
|
-
# Set x-goog-api-client
|
|
358
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
355
359
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
356
360
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
357
361
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION
|
|
362
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
358
363
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
359
364
|
|
|
360
365
|
header_params = {}
|
|
@@ -452,10 +457,11 @@ module Google
|
|
|
452
457
|
# Customize the options with defaults
|
|
453
458
|
metadata = @config.rpcs.create_report_config.metadata.to_h
|
|
454
459
|
|
|
455
|
-
# Set x-goog-api-client
|
|
460
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
456
461
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
457
462
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
458
463
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION
|
|
464
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
459
465
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
460
466
|
|
|
461
467
|
header_params = {}
|
|
@@ -557,10 +563,11 @@ module Google
|
|
|
557
563
|
# Customize the options with defaults
|
|
558
564
|
metadata = @config.rpcs.update_report_config.metadata.to_h
|
|
559
565
|
|
|
560
|
-
# Set x-goog-api-client
|
|
566
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
561
567
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
562
568
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
563
569
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION
|
|
570
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
564
571
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
565
572
|
|
|
566
573
|
header_params = {}
|
|
@@ -658,10 +665,11 @@ module Google
|
|
|
658
665
|
# Customize the options with defaults
|
|
659
666
|
metadata = @config.rpcs.delete_report_config.metadata.to_h
|
|
660
667
|
|
|
661
|
-
# Set x-goog-api-client
|
|
668
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
662
669
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
663
670
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
664
671
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION
|
|
672
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
665
673
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
666
674
|
|
|
667
675
|
header_params = {}
|
|
@@ -756,10 +764,11 @@ module Google
|
|
|
756
764
|
# Customize the options with defaults
|
|
757
765
|
metadata = @config.rpcs.list_report_details.metadata.to_h
|
|
758
766
|
|
|
759
|
-
# Set x-goog-api-client
|
|
767
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
760
768
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
761
769
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
762
770
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION
|
|
771
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
763
772
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
764
773
|
|
|
765
774
|
header_params = {}
|
|
@@ -842,10 +851,11 @@ module Google
|
|
|
842
851
|
# Customize the options with defaults
|
|
843
852
|
metadata = @config.rpcs.get_report_detail.metadata.to_h
|
|
844
853
|
|
|
845
|
-
# Set x-goog-api-client
|
|
854
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
846
855
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
847
856
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
848
857
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION
|
|
858
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
849
859
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
850
860
|
|
|
851
861
|
header_params = {}
|
|
@@ -33,6 +33,9 @@ module Google
|
|
|
33
33
|
# Service describing handlers for resources
|
|
34
34
|
#
|
|
35
35
|
class Client
|
|
36
|
+
# @private
|
|
37
|
+
API_VERSION = ""
|
|
38
|
+
|
|
36
39
|
# @private
|
|
37
40
|
DEFAULT_ENDPOINT_TEMPLATE = "storageinsights.$UNIVERSE_DOMAIN$"
|
|
38
41
|
|
|
@@ -258,12 +261,13 @@ module Google
|
|
|
258
261
|
# Customize the options with defaults
|
|
259
262
|
call_metadata = @config.rpcs.list_report_configs.metadata.to_h
|
|
260
263
|
|
|
261
|
-
# Set x-goog-api-client
|
|
264
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
262
265
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
263
266
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
264
267
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION,
|
|
265
268
|
transports_version_send: [:rest]
|
|
266
269
|
|
|
270
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
267
271
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
268
272
|
|
|
269
273
|
options.apply_defaults timeout: @config.rpcs.list_report_configs.timeout,
|
|
@@ -336,12 +340,13 @@ module Google
|
|
|
336
340
|
# Customize the options with defaults
|
|
337
341
|
call_metadata = @config.rpcs.get_report_config.metadata.to_h
|
|
338
342
|
|
|
339
|
-
# Set x-goog-api-client
|
|
343
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
340
344
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
341
345
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
342
346
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION,
|
|
343
347
|
transports_version_send: [:rest]
|
|
344
348
|
|
|
349
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
345
350
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
346
351
|
|
|
347
352
|
options.apply_defaults timeout: @config.rpcs.get_report_config.timeout,
|
|
@@ -430,12 +435,13 @@ module Google
|
|
|
430
435
|
# Customize the options with defaults
|
|
431
436
|
call_metadata = @config.rpcs.create_report_config.metadata.to_h
|
|
432
437
|
|
|
433
|
-
# Set x-goog-api-client
|
|
438
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
434
439
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
435
440
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
436
441
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION,
|
|
437
442
|
transports_version_send: [:rest]
|
|
438
443
|
|
|
444
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
439
445
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
440
446
|
|
|
441
447
|
options.apply_defaults timeout: @config.rpcs.create_report_config.timeout,
|
|
@@ -528,12 +534,13 @@ module Google
|
|
|
528
534
|
# Customize the options with defaults
|
|
529
535
|
call_metadata = @config.rpcs.update_report_config.metadata.to_h
|
|
530
536
|
|
|
531
|
-
# Set x-goog-api-client
|
|
537
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
532
538
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
533
539
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
534
540
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION,
|
|
535
541
|
transports_version_send: [:rest]
|
|
536
542
|
|
|
543
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
537
544
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
538
545
|
|
|
539
546
|
options.apply_defaults timeout: @config.rpcs.update_report_config.timeout,
|
|
@@ -622,12 +629,13 @@ module Google
|
|
|
622
629
|
# Customize the options with defaults
|
|
623
630
|
call_metadata = @config.rpcs.delete_report_config.metadata.to_h
|
|
624
631
|
|
|
625
|
-
# Set x-goog-api-client
|
|
632
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
626
633
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
627
634
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
628
635
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION,
|
|
629
636
|
transports_version_send: [:rest]
|
|
630
637
|
|
|
638
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
631
639
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
632
640
|
|
|
633
641
|
options.apply_defaults timeout: @config.rpcs.delete_report_config.timeout,
|
|
@@ -713,12 +721,13 @@ module Google
|
|
|
713
721
|
# Customize the options with defaults
|
|
714
722
|
call_metadata = @config.rpcs.list_report_details.metadata.to_h
|
|
715
723
|
|
|
716
|
-
# Set x-goog-api-client
|
|
724
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
717
725
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
718
726
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
719
727
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION,
|
|
720
728
|
transports_version_send: [:rest]
|
|
721
729
|
|
|
730
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
722
731
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
723
732
|
|
|
724
733
|
options.apply_defaults timeout: @config.rpcs.list_report_details.timeout,
|
|
@@ -791,12 +800,13 @@ module Google
|
|
|
791
800
|
# Customize the options with defaults
|
|
792
801
|
call_metadata = @config.rpcs.get_report_detail.metadata.to_h
|
|
793
802
|
|
|
794
|
-
# Set x-goog-api-client
|
|
803
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
795
804
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
796
805
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
797
806
|
gapic_version: ::Google::Cloud::StorageInsights::V1::VERSION,
|
|
798
807
|
transports_version_send: [:rest]
|
|
799
808
|
|
|
809
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
800
810
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
801
811
|
|
|
802
812
|
options.apply_defaults timeout: @config.rpcs.get_report_detail.timeout,
|
|
@@ -118,6 +118,10 @@ module Google
|
|
|
118
118
|
# @return [::String]
|
|
119
119
|
# Optional link to proto reference documentation. Example:
|
|
120
120
|
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
121
|
+
# @!attribute [rw] rest_reference_documentation_uri
|
|
122
|
+
# @return [::String]
|
|
123
|
+
# Optional link to REST reference documentation. Example:
|
|
124
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rest
|
|
121
125
|
class Publishing
|
|
122
126
|
include ::Google::Protobuf::MessageExts
|
|
123
127
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -192,9 +196,26 @@ module Google
|
|
|
192
196
|
# @!attribute [rw] common
|
|
193
197
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
194
198
|
# Some settings.
|
|
199
|
+
# @!attribute [rw] experimental_features
|
|
200
|
+
# @return [::Google::Api::PythonSettings::ExperimentalFeatures]
|
|
201
|
+
# Experimental features to be included during client library generation.
|
|
195
202
|
class PythonSettings
|
|
196
203
|
include ::Google::Protobuf::MessageExts
|
|
197
204
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
205
|
+
|
|
206
|
+
# Experimental features to be included during client library generation.
|
|
207
|
+
# These fields will be deprecated once the feature graduates and is enabled
|
|
208
|
+
# by default.
|
|
209
|
+
# @!attribute [rw] rest_async_io_enabled
|
|
210
|
+
# @return [::Boolean]
|
|
211
|
+
# Enables generation of asynchronous REST clients if `rest` transport is
|
|
212
|
+
# enabled. By default, asynchronous REST clients will not be generated.
|
|
213
|
+
# This feature will be enabled by default 1 month after launching the
|
|
214
|
+
# feature in preview packages.
|
|
215
|
+
class ExperimentalFeatures
|
|
216
|
+
include ::Google::Protobuf::MessageExts
|
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
218
|
+
end
|
|
198
219
|
end
|
|
199
220
|
|
|
200
221
|
# Settings for Node client libraries.
|
|
@@ -286,6 +307,13 @@ module Google
|
|
|
286
307
|
# @return [::String]
|
|
287
308
|
# The fully qualified name of the method, for which the options below apply.
|
|
288
309
|
# This is used to find the method to apply the options.
|
|
310
|
+
#
|
|
311
|
+
# Example:
|
|
312
|
+
#
|
|
313
|
+
# publishing:
|
|
314
|
+
# method_settings:
|
|
315
|
+
# - selector: google.storage.control.v2.StorageControl.CreateFolder
|
|
316
|
+
# # method settings for CreateFolder...
|
|
289
317
|
# @!attribute [rw] long_running
|
|
290
318
|
# @return [::Google::Api::MethodSettings::LongRunning]
|
|
291
319
|
# Describes settings to use for long-running operations when generating
|
|
@@ -294,17 +322,14 @@ module Google
|
|
|
294
322
|
#
|
|
295
323
|
# Example of a YAML configuration::
|
|
296
324
|
#
|
|
297
|
-
#
|
|
298
|
-
#
|
|
325
|
+
# publishing:
|
|
326
|
+
# method_settings:
|
|
299
327
|
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
300
328
|
# long_running:
|
|
301
|
-
# initial_poll_delay:
|
|
302
|
-
# seconds: 60 # 1 minute
|
|
329
|
+
# initial_poll_delay: 60s # 1 minute
|
|
303
330
|
# poll_delay_multiplier: 1.5
|
|
304
|
-
# max_poll_delay:
|
|
305
|
-
#
|
|
306
|
-
# total_poll_timeout:
|
|
307
|
-
# seconds: 54000 # 90 minutes
|
|
331
|
+
# max_poll_delay: 360s # 6 minutes
|
|
332
|
+
# total_poll_timeout: 54000s # 90 minutes
|
|
308
333
|
# @!attribute [rw] auto_populated_fields
|
|
309
334
|
# @return [::Array<::String>]
|
|
310
335
|
# List of top-level fields of the request message, that should be
|
|
@@ -313,8 +338,8 @@ module Google
|
|
|
313
338
|
#
|
|
314
339
|
# Example of a YAML configuration:
|
|
315
340
|
#
|
|
316
|
-
#
|
|
317
|
-
#
|
|
341
|
+
# publishing:
|
|
342
|
+
# method_settings:
|
|
318
343
|
# - selector: google.example.v1.ExampleService.CreateExample
|
|
319
344
|
# auto_populated_fields:
|
|
320
345
|
# - request_id
|
|
@@ -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-storage_insights-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.1
|
|
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-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|