google-cloud-vision_ai-v1 1.2.0 → 1.3.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/vision_ai/v1/app_platform/client.rb +20 -3
- data/lib/google/cloud/vision_ai/v1/app_platform/operations.rb +32 -4
- data/lib/google/cloud/vision_ai/v1/app_platform/rest/operations.rb +12 -1
- data/lib/google/cloud/vision_ai/v1/health_check_service/client.rb +20 -3
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/client.rb +20 -3
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/operations.rb +32 -4
- data/lib/google/cloud/vision_ai/v1/live_video_analytics/rest/operations.rb +12 -1
- data/lib/google/cloud/vision_ai/v1/streaming_service/client.rb +20 -3
- data/lib/google/cloud/vision_ai/v1/streams_service/client.rb +20 -3
- data/lib/google/cloud/vision_ai/v1/streams_service/operations.rb +32 -4
- data/lib/google/cloud/vision_ai/v1/streams_service/rest/operations.rb +12 -1
- data/lib/google/cloud/vision_ai/v1/version.rb +1 -1
- data/lib/google/cloud/vision_ai/v1/warehouse/client.rb +20 -3
- data/lib/google/cloud/vision_ai/v1/warehouse/operations.rb +32 -4
- data/lib/google/cloud/vision_ai/v1/warehouse/rest/operations.rb +12 -1
- 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: fc891d00294e453f765a4441e4609503d31772615a49b568202faa72415c9ccf
|
|
4
|
+
data.tar.gz: a9768c1341553588bdae4a4611fd24ddb298b9768edb4f7891334ea4a9768dfc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02e31886bdf235be2318da5c8974ef457f2690087203d234544f708141cfb1286d7975ded48f458cc711f33813c528b90f3446cfbe4952982f95e5257ea3b706
|
|
7
|
+
data.tar.gz: 373fa5e9d2d80bcb82f17e73d7228c482dbac44115f71009dbb60650d8652e8ef6c6855e9e32cc616c107bc59d6f1455c0d4ae4bf0608829de7e6648c3dd2144
|
|
@@ -3019,8 +3019,6 @@ module Google
|
|
|
3019
3019
|
# @return [::String,nil]
|
|
3020
3020
|
# @!attribute [rw] credentials
|
|
3021
3021
|
# Credentials to send with calls. You may provide any of the following types:
|
|
3022
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
3023
|
-
# * (`Hash`) A service account key as a Hash
|
|
3024
3022
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
3025
3023
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
3026
3024
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -3029,7 +3027,26 @@ module Google
|
|
|
3029
3027
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
3030
3028
|
# * (`nil`) indicating no credentials
|
|
3031
3029
|
#
|
|
3032
|
-
# Warning:
|
|
3030
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
3031
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
3032
|
+
# Google APIs can compromise the security of your systems and data.
|
|
3033
|
+
#
|
|
3034
|
+
# @example
|
|
3035
|
+
#
|
|
3036
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
3037
|
+
# # on the appropriate credentials class for your environment.
|
|
3038
|
+
#
|
|
3039
|
+
# require "googleauth"
|
|
3040
|
+
#
|
|
3041
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
3042
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
3043
|
+
# )
|
|
3044
|
+
#
|
|
3045
|
+
# client = ::Google::Cloud::VisionAI::V1::AppPlatform::Client.new do |config|
|
|
3046
|
+
# config.credentials = credentials
|
|
3047
|
+
# end
|
|
3048
|
+
#
|
|
3049
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
3033
3050
|
# external source for authentication to Google Cloud, you must validate it before
|
|
3034
3051
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
3035
3052
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -631,8 +642,6 @@ module Google
|
|
|
631
642
|
# @return [::String,nil]
|
|
632
643
|
# @!attribute [rw] credentials
|
|
633
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
634
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
635
|
-
# * (`Hash`) A service account key as a Hash
|
|
636
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
637
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
638
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -641,7 +650,26 @@ module Google
|
|
|
641
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
642
651
|
# * (`nil`) indicating no credentials
|
|
643
652
|
#
|
|
644
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
645
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
646
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
647
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -336,8 +336,6 @@ module Google
|
|
|
336
336
|
# @return [::String,nil]
|
|
337
337
|
# @!attribute [rw] credentials
|
|
338
338
|
# Credentials to send with calls. You may provide any of the following types:
|
|
339
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
340
|
-
# * (`Hash`) A service account key as a Hash
|
|
341
339
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
342
340
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
343
341
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -346,7 +344,26 @@ module Google
|
|
|
346
344
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
347
345
|
# * (`nil`) indicating no credentials
|
|
348
346
|
#
|
|
349
|
-
# Warning:
|
|
347
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
348
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
349
|
+
# Google APIs can compromise the security of your systems and data.
|
|
350
|
+
#
|
|
351
|
+
# @example
|
|
352
|
+
#
|
|
353
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
354
|
+
# # on the appropriate credentials class for your environment.
|
|
355
|
+
#
|
|
356
|
+
# require "googleauth"
|
|
357
|
+
#
|
|
358
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
359
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
360
|
+
# )
|
|
361
|
+
#
|
|
362
|
+
# client = ::Google::Cloud::VisionAI::V1::HealthCheckService::Client.new do |config|
|
|
363
|
+
# config.credentials = credentials
|
|
364
|
+
# end
|
|
365
|
+
#
|
|
366
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
350
367
|
# external source for authentication to Google Cloud, you must validate it before
|
|
351
368
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
352
369
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -2133,8 +2133,6 @@ module Google
|
|
|
2133
2133
|
# @return [::String,nil]
|
|
2134
2134
|
# @!attribute [rw] credentials
|
|
2135
2135
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2136
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2137
|
-
# * (`Hash`) A service account key as a Hash
|
|
2138
2136
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2139
2137
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2140
2138
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2143,7 +2141,26 @@ module Google
|
|
|
2143
2141
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2144
2142
|
# * (`nil`) indicating no credentials
|
|
2145
2143
|
#
|
|
2146
|
-
# Warning:
|
|
2144
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2145
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2146
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2147
|
+
#
|
|
2148
|
+
# @example
|
|
2149
|
+
#
|
|
2150
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2151
|
+
# # on the appropriate credentials class for your environment.
|
|
2152
|
+
#
|
|
2153
|
+
# require "googleauth"
|
|
2154
|
+
#
|
|
2155
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2156
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2157
|
+
# )
|
|
2158
|
+
#
|
|
2159
|
+
# client = ::Google::Cloud::VisionAI::V1::LiveVideoAnalytics::Client.new do |config|
|
|
2160
|
+
# config.credentials = credentials
|
|
2161
|
+
# end
|
|
2162
|
+
#
|
|
2163
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2147
2164
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2148
2165
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2149
2166
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -631,8 +642,6 @@ module Google
|
|
|
631
642
|
# @return [::String,nil]
|
|
632
643
|
# @!attribute [rw] credentials
|
|
633
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
634
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
635
|
-
# * (`Hash`) A service account key as a Hash
|
|
636
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
637
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
638
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -641,7 +650,26 @@ module Google
|
|
|
641
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
642
651
|
# * (`nil`) indicating no credentials
|
|
643
652
|
#
|
|
644
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
645
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
646
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
647
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -755,8 +755,6 @@ module Google
|
|
|
755
755
|
# @return [::String,nil]
|
|
756
756
|
# @!attribute [rw] credentials
|
|
757
757
|
# Credentials to send with calls. You may provide any of the following types:
|
|
758
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
759
|
-
# * (`Hash`) A service account key as a Hash
|
|
760
758
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
761
759
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
762
760
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -765,7 +763,26 @@ module Google
|
|
|
765
763
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
766
764
|
# * (`nil`) indicating no credentials
|
|
767
765
|
#
|
|
768
|
-
# Warning:
|
|
766
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
767
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
768
|
+
# Google APIs can compromise the security of your systems and data.
|
|
769
|
+
#
|
|
770
|
+
# @example
|
|
771
|
+
#
|
|
772
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
773
|
+
# # on the appropriate credentials class for your environment.
|
|
774
|
+
#
|
|
775
|
+
# require "googleauth"
|
|
776
|
+
#
|
|
777
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
778
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
779
|
+
# )
|
|
780
|
+
#
|
|
781
|
+
# client = ::Google::Cloud::VisionAI::V1::StreamingService::Client.new do |config|
|
|
782
|
+
# config.credentials = credentials
|
|
783
|
+
# end
|
|
784
|
+
#
|
|
785
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
769
786
|
# external source for authentication to Google Cloud, you must validate it before
|
|
770
787
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
771
788
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -2653,8 +2653,6 @@ module Google
|
|
|
2653
2653
|
# @return [::String,nil]
|
|
2654
2654
|
# @!attribute [rw] credentials
|
|
2655
2655
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2656
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2657
|
-
# * (`Hash`) A service account key as a Hash
|
|
2658
2656
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2659
2657
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2660
2658
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2663,7 +2661,26 @@ module Google
|
|
|
2663
2661
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2664
2662
|
# * (`nil`) indicating no credentials
|
|
2665
2663
|
#
|
|
2666
|
-
# Warning:
|
|
2664
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2665
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2666
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2667
|
+
#
|
|
2668
|
+
# @example
|
|
2669
|
+
#
|
|
2670
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2671
|
+
# # on the appropriate credentials class for your environment.
|
|
2672
|
+
#
|
|
2673
|
+
# require "googleauth"
|
|
2674
|
+
#
|
|
2675
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2676
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2677
|
+
# )
|
|
2678
|
+
#
|
|
2679
|
+
# client = ::Google::Cloud::VisionAI::V1::StreamsService::Client.new do |config|
|
|
2680
|
+
# config.credentials = credentials
|
|
2681
|
+
# end
|
|
2682
|
+
#
|
|
2683
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2667
2684
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2668
2685
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2669
2686
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -631,8 +642,6 @@ module Google
|
|
|
631
642
|
# @return [::String,nil]
|
|
632
643
|
# @!attribute [rw] credentials
|
|
633
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
634
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
635
|
-
# * (`Hash`) A service account key as a Hash
|
|
636
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
637
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
638
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -641,7 +650,26 @@ module Google
|
|
|
641
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
642
651
|
# * (`nil`) indicating no credentials
|
|
643
652
|
#
|
|
644
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
645
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
646
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
647
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -6377,8 +6377,6 @@ module Google
|
|
|
6377
6377
|
# @return [::String,nil]
|
|
6378
6378
|
# @!attribute [rw] credentials
|
|
6379
6379
|
# Credentials to send with calls. You may provide any of the following types:
|
|
6380
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
6381
|
-
# * (`Hash`) A service account key as a Hash
|
|
6382
6380
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
6383
6381
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
6384
6382
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -6387,7 +6385,26 @@ module Google
|
|
|
6387
6385
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
6388
6386
|
# * (`nil`) indicating no credentials
|
|
6389
6387
|
#
|
|
6390
|
-
# Warning:
|
|
6388
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
6389
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
6390
|
+
# Google APIs can compromise the security of your systems and data.
|
|
6391
|
+
#
|
|
6392
|
+
# @example
|
|
6393
|
+
#
|
|
6394
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
6395
|
+
# # on the appropriate credentials class for your environment.
|
|
6396
|
+
#
|
|
6397
|
+
# require "googleauth"
|
|
6398
|
+
#
|
|
6399
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
6400
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
6401
|
+
# )
|
|
6402
|
+
#
|
|
6403
|
+
# client = ::Google::Cloud::VisionAI::V1::Warehouse::Client.new do |config|
|
|
6404
|
+
# config.credentials = credentials
|
|
6405
|
+
# end
|
|
6406
|
+
#
|
|
6407
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
6391
6408
|
# external source for authentication to Google Cloud, you must validate it before
|
|
6392
6409
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
6393
6410
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -134,7 +134,7 @@ module Google
|
|
|
134
134
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
135
135
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
136
136
|
#
|
|
137
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
137
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
138
138
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
139
139
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
140
140
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -147,6 +147,17 @@ module Google
|
|
|
147
147
|
# The standard list page size.
|
|
148
148
|
# @param page_token [::String]
|
|
149
149
|
# The standard list page token.
|
|
150
|
+
# @param return_partial_success [::Boolean]
|
|
151
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
152
|
+
# and those that are unreachable are returned in the
|
|
153
|
+
# [ListOperationsResponse.unreachable] field.
|
|
154
|
+
#
|
|
155
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
156
|
+
# is set to `"projects/example/locations/-"`.
|
|
157
|
+
#
|
|
158
|
+
# This field is not by default supported and will result in an
|
|
159
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
160
|
+
# service or product specific documentation.
|
|
150
161
|
#
|
|
151
162
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
152
163
|
# @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
|
|
@@ -631,8 +642,6 @@ module Google
|
|
|
631
642
|
# @return [::String,nil]
|
|
632
643
|
# @!attribute [rw] credentials
|
|
633
644
|
# Credentials to send with calls. You may provide any of the following types:
|
|
634
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
635
|
-
# * (`Hash`) A service account key as a Hash
|
|
636
645
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
637
646
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
638
647
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -641,7 +650,26 @@ module Google
|
|
|
641
650
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
642
651
|
# * (`nil`) indicating no credentials
|
|
643
652
|
#
|
|
644
|
-
# Warning:
|
|
653
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
654
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
655
|
+
# Google APIs can compromise the security of your systems and data.
|
|
656
|
+
#
|
|
657
|
+
# @example
|
|
658
|
+
#
|
|
659
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
660
|
+
# # on the appropriate credentials class for your environment.
|
|
661
|
+
#
|
|
662
|
+
# require "googleauth"
|
|
663
|
+
#
|
|
664
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
665
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
666
|
+
# )
|
|
667
|
+
#
|
|
668
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
669
|
+
# config.credentials = credentials
|
|
670
|
+
# end
|
|
671
|
+
#
|
|
672
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
645
673
|
# external source for authentication to Google Cloud, you must validate it before
|
|
646
674
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
647
675
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -125,7 +125,7 @@ module Google
|
|
|
125
125
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
126
126
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
|
127
127
|
#
|
|
128
|
-
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
|
|
128
|
+
# @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
|
|
129
129
|
# Pass arguments to `list_operations` via keyword arguments. Note that at
|
|
130
130
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
131
131
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -138,6 +138,17 @@ module Google
|
|
|
138
138
|
# The standard list page size.
|
|
139
139
|
# @param page_token [::String]
|
|
140
140
|
# The standard list page token.
|
|
141
|
+
# @param return_partial_success [::Boolean]
|
|
142
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
143
|
+
# and those that are unreachable are returned in the
|
|
144
|
+
# [ListOperationsResponse.unreachable] field.
|
|
145
|
+
#
|
|
146
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
147
|
+
# is set to `"projects/example/locations/-"`.
|
|
148
|
+
#
|
|
149
|
+
# This field is not by default supported and will result in an
|
|
150
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
151
|
+
# service or product specific documentation.
|
|
141
152
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
|
142
153
|
# @yieldparam result [::Gapic::Operation]
|
|
143
154
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
|
@@ -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
|