google-cloud-storage_insights-v1 0.7.0 → 1.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 294d1f996098f348f5da7ca48ef302b041a992388aa79467abddcf3971cf3b68
4
- data.tar.gz: 057a39456e0bcdd95b3e6879d650f78ad3626d735802274b5df861fbee3edb5c
3
+ metadata.gz: 66322e36307f36d8e7dabc3cd267dbb26273e3229b04e38249cff333a68c35b8
4
+ data.tar.gz: 9d15503a7a58a094f6ff303f359899db15d42596e28ff7e652cb61e9f3ddfecf
5
5
  SHA512:
6
- metadata.gz: 4d563d5a48b88aa679cfc94b9eeb4418d71caffc3a595cbcc3102356220673cd07ac809a7e9f57a8ad8bd2f06d6b132b82eb199919f35f1998899760fb2f0bd1
7
- data.tar.gz: d51343394915a624d8d65f4af781c7aa0f9882c3b773a7560020524911db52938e1f3b52d703ebcae6cb94c1d68d11b4624e800633c420d7d9988c6c87126b25
6
+ metadata.gz: 1be449ee9e52dcb5a5520687979fa0d362c366a150fe4865926df2f2406d0029d3c3f995e5347c100489fabaac4ccaffffec1210fc5c035fce608f68545023cc
7
+ data.tar.gz: 05fbb0b6d7c8145884b66ed6b257170e9f86f37b545379c6b336398d0881b2e8af00487a9b9667bedcd7af045c25000d20ca46ea40a618c661ad1c7bd0385695
@@ -1003,8 +1003,8 @@ module Google
1003
1003
 
1004
1004
  config_attr :endpoint, nil, ::String, nil
1005
1005
  config_attr :credentials, nil do |value|
1006
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1007
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1006
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1007
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1008
1008
  allowed.any? { |klass| klass === value }
1009
1009
  end
1010
1010
  config_attr :scope, nil, ::String, ::Array, nil
@@ -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::ListReportConfigsResponse]
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::ListReportConfigsResponse]
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::ListReportDetailsResponse]
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::ListReportDetailsResponse]
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)
@@ -935,7 +939,7 @@ module Google
935
939
 
936
940
  config_attr :endpoint, nil, ::String, nil
937
941
  config_attr :credentials, nil do |value|
938
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
942
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
939
943
  allowed.any? { |klass| klass === value }
940
944
  end
941
945
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module StorageInsights
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "1.0.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +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.7.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.6.2
125
+ rubygems_version: 3.6.8
126
126
  specification_version: 4
127
127
  summary: Provides insights capability on Google Cloud Storage.
128
128
  test_files: []