google-cloud-storage_insights-v1 0.6.0 → 1.0.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 +1 -1
- data/lib/google/cloud/storage_insights/v1/storage_insights/client.rb +7 -0
- data/lib/google/cloud/storage_insights/v1/storage_insights/rest/client.rb +15 -4
- data/lib/google/cloud/storage_insights/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +8 -0
- data/proto_docs/google/cloud/storageinsights/v1/storageinsights.rb +4 -0
- data/proto_docs/google/type/datetime.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e56dd2ef8fdd616c5336c3176b813be35d139d5f17df89c402ccfc354334c0b
|
4
|
+
data.tar.gz: 50f3e6b600e15e5d071477d6eb0417dedb957f0ff2a69ce0212d3c24ceb4b642
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 672a49a9cd872f61005961e58b8a97c323bc71f6607767373ac4a866530dcfdbc8ee7da61592e20286b67982c0fb405c65105651c771340eca3c831ec727fa5a
|
7
|
+
data.tar.gz: eb3bae1b7887bb6b9756c129214cd73c4f27cc505108649c285b74e236418fce41b03ddc0e6c938ad46ba72ee179bc26ddf402335864fc83d327a873607ef32d
|
data/README.md
CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
85
85
|
|
86
86
|
## Supported Ruby Versions
|
87
87
|
|
88
|
-
This library is supported on Ruby
|
88
|
+
This library is supported on Ruby 3.0+.
|
89
89
|
|
90
90
|
Google provides official support for Ruby versions that are actively supported
|
91
91
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -942,6 +942,13 @@ module Google
|
|
942
942
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
943
943
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
944
944
|
# * (`nil`) indicating no credentials
|
945
|
+
#
|
946
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
947
|
+
# external source for authentication to Google Cloud, you must validate it before
|
948
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
949
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
950
|
+
# For more information, refer to [Validate credential configurations from external
|
951
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
945
952
|
# @return [::Object]
|
946
953
|
# @!attribute [rw] scope
|
947
954
|
# The OAuth scopes
|
@@ -245,10 +245,10 @@ module Google
|
|
245
245
|
# @param order_by [::String]
|
246
246
|
# Hint for how to order the results
|
247
247
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
248
|
-
# @yieldparam result [::Google::Cloud::StorageInsights::V1::
|
248
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::StorageInsights::V1::ReportConfig>]
|
249
249
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
250
250
|
#
|
251
|
-
# @return [::Google::Cloud::StorageInsights::V1::
|
251
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::StorageInsights::V1::ReportConfig>]
|
252
252
|
#
|
253
253
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
254
254
|
#
|
@@ -300,7 +300,9 @@ module Google
|
|
300
300
|
retry_policy: @config.retry_policy
|
301
301
|
|
302
302
|
@storage_insights_stub.list_report_configs request, options do |result, operation|
|
303
|
+
result = ::Gapic::Rest::PagedEnumerable.new @storage_insights_stub, :list_report_configs, "report_configs", request, result, options
|
303
304
|
yield result, operation if block_given?
|
305
|
+
throw :response, result
|
304
306
|
end
|
305
307
|
rescue ::Gapic::Rest::Error => e
|
306
308
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -700,10 +702,10 @@ module Google
|
|
700
702
|
# @param order_by [::String]
|
701
703
|
# Hint for how to order the results
|
702
704
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
703
|
-
# @yieldparam result [::Google::Cloud::StorageInsights::V1::
|
705
|
+
# @yieldparam result [::Gapic::Rest::PagedEnumerable<::Google::Cloud::StorageInsights::V1::ReportDetail>]
|
704
706
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
705
707
|
#
|
706
|
-
# @return [::Google::Cloud::StorageInsights::V1::
|
708
|
+
# @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::StorageInsights::V1::ReportDetail>]
|
707
709
|
#
|
708
710
|
# @raise [::Google::Cloud::Error] if the REST call is aborted.
|
709
711
|
#
|
@@ -755,7 +757,9 @@ module Google
|
|
755
757
|
retry_policy: @config.retry_policy
|
756
758
|
|
757
759
|
@storage_insights_stub.list_report_details request, options do |result, operation|
|
760
|
+
result = ::Gapic::Rest::PagedEnumerable.new @storage_insights_stub, :list_report_details, "report_details", request, result, options
|
758
761
|
yield result, operation if block_given?
|
762
|
+
throw :response, result
|
759
763
|
end
|
760
764
|
rescue ::Gapic::Rest::Error => e
|
761
765
|
raise ::Google::Cloud::Error.from_error(e)
|
@@ -881,6 +885,13 @@ module Google
|
|
881
885
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
882
886
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
883
887
|
# * (`nil`) indicating no credentials
|
888
|
+
#
|
889
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
890
|
+
# external source for authentication to Google Cloud, you must validate it before
|
891
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
892
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
893
|
+
# For more information, refer to [Validate credential configurations from external
|
894
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
884
895
|
# @return [::Object]
|
885
896
|
# @!attribute [rw] scope
|
886
897
|
# The OAuth scopes
|
@@ -409,6 +409,14 @@ module Google
|
|
409
409
|
# @return [::Array<::String>]
|
410
410
|
# An allowlist of the fully qualified names of RPCs that should be included
|
411
411
|
# on public client surfaces.
|
412
|
+
# @!attribute [rw] generate_omitted_as_internal
|
413
|
+
# @return [::Boolean]
|
414
|
+
# Setting this to true indicates to the client generators that methods
|
415
|
+
# that would be excluded from the generation should instead be generated
|
416
|
+
# in a way that indicates these methods should not be consumed by
|
417
|
+
# end users. How this is expressed is up to individual language
|
418
|
+
# implementations to decide. Some examples may be: added annotations,
|
419
|
+
# obfuscated identifiers, or other language idiomatic patterns.
|
412
420
|
class SelectiveGapicGeneration
|
413
421
|
include ::Google::Protobuf::MessageExts
|
414
422
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -402,9 +402,13 @@ module Google
|
|
402
402
|
# @!attribute [rw] csv_options
|
403
403
|
# @return [::Google::Cloud::StorageInsights::V1::CSVOptions]
|
404
404
|
# Options for CSV formatted reports.
|
405
|
+
#
|
406
|
+
# Note: The following fields are mutually exclusive: `csv_options`, `parquet_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
405
407
|
# @!attribute [rw] parquet_options
|
406
408
|
# @return [::Google::Cloud::StorageInsights::V1::ParquetOptions]
|
407
409
|
# Options for Parquet formatted reports.
|
410
|
+
#
|
411
|
+
# Note: The following fields are mutually exclusive: `parquet_options`, `csv_options`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
408
412
|
# @!attribute [rw] object_metadata_report_options
|
409
413
|
# @return [::Google::Cloud::StorageInsights::V1::ObjectMetadataReportOptions]
|
410
414
|
# Report for exporting object metadata.
|
@@ -75,9 +75,13 @@ module Google
|
|
75
75
|
# UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
76
76
|
# For example, a UTC offset of -4:00 would be represented as
|
77
77
|
# { seconds: -14400 }.
|
78
|
+
#
|
79
|
+
# Note: The following fields are mutually exclusive: `utc_offset`, `time_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
78
80
|
# @!attribute [rw] time_zone
|
79
81
|
# @return [::Google::Type::TimeZone]
|
80
82
|
# Time zone.
|
83
|
+
#
|
84
|
+
# Note: The following fields are mutually exclusive: `time_zone`, `utc_offset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
81
85
|
class DateTime
|
82
86
|
include ::Google::Protobuf::MessageExts
|
83
87
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-storage_insights-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -109,7 +108,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
109
108
|
licenses:
|
110
109
|
- Apache-2.0
|
111
110
|
metadata: {}
|
112
|
-
post_install_message:
|
113
111
|
rdoc_options: []
|
114
112
|
require_paths:
|
115
113
|
- lib
|
@@ -117,15 +115,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
115
|
requirements:
|
118
116
|
- - ">="
|
119
117
|
- !ruby/object:Gem::Version
|
120
|
-
version: '
|
118
|
+
version: '3.0'
|
121
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
120
|
requirements:
|
123
121
|
- - ">="
|
124
122
|
- !ruby/object:Gem::Version
|
125
123
|
version: '0'
|
126
124
|
requirements: []
|
127
|
-
rubygems_version: 3.
|
128
|
-
signing_key:
|
125
|
+
rubygems_version: 3.6.3
|
129
126
|
specification_version: 4
|
130
127
|
summary: Provides insights capability on Google Cloud Storage.
|
131
128
|
test_files: []
|