google-cloud-storage-control-v2 1.7.0 → 1.8.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/lib/google/cloud/storage/control/v2/storage_control/client.rb +20 -3
- data/lib/google/cloud/storage/control/v2/storage_control/operations.rb +32 -4
- data/lib/google/cloud/storage/control/v2/version.rb +1 -1
- data/lib/google/iam/v1/iam_policy/client.rb +20 -3
- data/proto_docs/google/longrunning/operations.rb +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 865f040634d8a47df225d57963ec2707c24fe90817c2977cc52b863bae4e29ec
|
|
4
|
+
data.tar.gz: efc4aac08e86c4dca82c3aaa539d4bf45f86b7dd5cf730d746a68d3f465dd4a4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 45a72e2563b0326f9f37242ff3d2f53d4980f3f73a4fcf7ee3213a82aecbafd3f2a9d009992d73603e0886275c16f146ef3aa3316f06ff1cd4ecc9f8f90eedd0
|
|
7
|
+
data.tar.gz: ba15113896b751104b23fd0ee43dca19836d3b44e856c8a4a759ed62f191ead9850527579d6c48b9fb04affe4c6ef7712beff512791004388ab03febf1bc6fab
|
|
@@ -2911,8 +2911,6 @@ module Google
|
|
|
2911
2911
|
# @return [::String,nil]
|
|
2912
2912
|
# @!attribute [rw] credentials
|
|
2913
2913
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2914
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2915
|
-
# * (`Hash`) A service account key as a Hash
|
|
2916
2914
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2917
2915
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2918
2916
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2921,7 +2919,26 @@ module Google
|
|
|
2921
2919
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2922
2920
|
# * (`nil`) indicating no credentials
|
|
2923
2921
|
#
|
|
2924
|
-
# Warning:
|
|
2922
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2923
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2924
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2925
|
+
#
|
|
2926
|
+
# @example
|
|
2927
|
+
#
|
|
2928
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2929
|
+
# # on the appropriate credentials class for your environment.
|
|
2930
|
+
#
|
|
2931
|
+
# require "googleauth"
|
|
2932
|
+
#
|
|
2933
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2934
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2935
|
+
# )
|
|
2936
|
+
#
|
|
2937
|
+
# client = ::Google::Cloud::Storage::Control::V2::StorageControl::Client.new do |config|
|
|
2938
|
+
# config.credentials = credentials
|
|
2939
|
+
# end
|
|
2940
|
+
#
|
|
2941
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2925
2942
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2926
2943
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2927
2944
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -135,7 +135,7 @@ module Google
|
|
|
135
135
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
136
136
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
137
137
|
#
|
|
138
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
138
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
139
139
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
140
140
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
141
141
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -148,6 +148,17 @@ module Google
|
|
|
148
148
|
# The standard list page size.
|
|
149
149
|
# @param page_token [::String]
|
|
150
150
|
# The standard list page token.
|
|
151
|
+
# @param return_partial_success [::Boolean]
|
|
152
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
153
|
+
# and those that are unreachable are returned in the
|
|
154
|
+
# [ListOperationsResponse.unreachable] field.
|
|
155
|
+
#
|
|
156
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
157
|
+
# is set to `"projects/example/locations/-"`.
|
|
158
|
+
#
|
|
159
|
+
# This field is not by default supported and will result in an
|
|
160
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
161
|
+
# service or product specific documentation.
|
|
151
162
|
#
|
|
152
163
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
153
164
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -632,8 +643,6 @@ module Google
|
|
|
632
643
|
# @return [::String,nil]
|
|
633
644
|
# @!attribute [rw] credentials
|
|
634
645
|
# Credentials to send with calls. You may provide any of the following types:
|
|
635
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
636
|
-
# * (`Hash`) A service account key as a Hash
|
|
637
646
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
638
647
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
639
648
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -642,7 +651,26 @@ module Google
|
|
|
642
651
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
643
652
|
# * (`nil`) indicating no credentials
|
|
644
653
|
#
|
|
645
|
-
# Warning:
|
|
654
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
655
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
656
|
+
# Google APIs can compromise the security of your systems and data.
|
|
657
|
+
#
|
|
658
|
+
# @example
|
|
659
|
+
#
|
|
660
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
661
|
+
# # on the appropriate credentials class for your environment.
|
|
662
|
+
#
|
|
663
|
+
# require "googleauth"
|
|
664
|
+
#
|
|
665
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
666
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
667
|
+
# )
|
|
668
|
+
#
|
|
669
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
670
|
+
# config.credentials = credentials
|
|
671
|
+
# end
|
|
672
|
+
#
|
|
673
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
646
674
|
# external source for authentication to Google Cloud, you must validate it before
|
|
647
675
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
648
676
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -527,8 +527,6 @@ module Google
|
|
|
527
527
|
# @return [::String,nil]
|
|
528
528
|
# @!attribute [rw] credentials
|
|
529
529
|
# Credentials to send with calls. You may provide any of the following types:
|
|
530
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
531
|
-
# * (`Hash`) A service account key as a Hash
|
|
532
530
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
533
531
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
534
532
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -537,7 +535,26 @@ module Google
|
|
|
537
535
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
538
536
|
# * (`nil`) indicating no credentials
|
|
539
537
|
#
|
|
540
|
-
# Warning:
|
|
538
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
539
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
540
|
+
# Google APIs can compromise the security of your systems and data.
|
|
541
|
+
#
|
|
542
|
+
# @example
|
|
543
|
+
#
|
|
544
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
545
|
+
# # on the appropriate credentials class for your environment.
|
|
546
|
+
#
|
|
547
|
+
# require "googleauth"
|
|
548
|
+
#
|
|
549
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
550
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
551
|
+
# )
|
|
552
|
+
#
|
|
553
|
+
# client = ::Google::Iam::V1::IAMPolicy::Client.new do |config|
|
|
554
|
+
# config.credentials = credentials
|
|
555
|
+
# end
|
|
556
|
+
#
|
|
557
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
541
558
|
# external source for authentication to Google Cloud, you must validate it before
|
|
542
559
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
543
560
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -83,6 +83,18 @@ module Google
|
|
|
83
83
|
# @!attribute [rw] page_token
|
|
84
84
|
# @return [::String]
|
|
85
85
|
# The standard list page token.
|
|
86
|
+
# @!attribute [rw] return_partial_success
|
|
87
|
+
# @return [::Boolean]
|
|
88
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
89
|
+
# and those that are unreachable are returned in the
|
|
90
|
+
# [ListOperationsResponse.unreachable] field.
|
|
91
|
+
#
|
|
92
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
93
|
+
# is set to `"projects/example/locations/-"`.
|
|
94
|
+
#
|
|
95
|
+
# This field is not by default supported and will result in an
|
|
96
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
97
|
+
# service or product specific documentation.
|
|
86
98
|
class ListOperationsRequest
|
|
87
99
|
include ::Google::Protobuf::MessageExts
|
|
88
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -96,6 +108,12 @@ module Google
|
|
|
96
108
|
# @!attribute [rw] next_page_token
|
|
97
109
|
# @return [::String]
|
|
98
110
|
# The standard List next-page token.
|
|
111
|
+
# @!attribute [rw] unreachable
|
|
112
|
+
# @return [::Array<::String>]
|
|
113
|
+
# Unordered list. Unreachable resources. Populated when the request sets
|
|
114
|
+
# `ListOperationsRequest.return_partial_success` and reads across
|
|
115
|
+
# collections e.g. when attempting to list all resources across all supported
|
|
116
|
+
# locations.
|
|
99
117
|
class ListOperationsResponse
|
|
100
118
|
include ::Google::Protobuf::MessageExts
|
|
101
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|