google-cloud-automl-v1beta1 0.15.0 → 0.16.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/automl/v1beta1/automl/client.rb +20 -3
- data/lib/google/cloud/automl/v1beta1/automl/operations.rb +32 -4
- data/lib/google/cloud/automl/v1beta1/automl/rest/operations.rb +12 -1
- data/lib/google/cloud/automl/v1beta1/prediction_service/client.rb +20 -3
- data/lib/google/cloud/automl/v1beta1/prediction_service/operations.rb +32 -4
- data/lib/google/cloud/automl/v1beta1/prediction_service/rest/operations.rb +12 -1
- data/lib/google/cloud/automl/v1beta1/version.rb +1 -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: 3efbac6b7339819207aab1252a3bbf2500948c6aec4d105f43cb2d794fe7966a
|
|
4
|
+
data.tar.gz: 124d026e0d4b4dbc8df4231f5193c8d16c364b0d2b64711182cf458c36321937
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5dda350f2d615c98262891d8ecd7509becaf42521702446db9af48be1744071516ae4c6810f5ad9a510a7f61ec6f287234703e6617fd5eaef8e52af1d6318e5f
|
|
7
|
+
data.tar.gz: 1f17b231cfc7eafe740f55dbed5c28767591747acb41ed2dcc4ce19840f9ee6c4c02b19beaab3f5cd8843a2cbbde54b56f3e574a2d62fe1e758097c706082164
|
|
@@ -2651,8 +2651,6 @@ module Google
|
|
|
2651
2651
|
# @return [::String,nil]
|
|
2652
2652
|
# @!attribute [rw] credentials
|
|
2653
2653
|
# Credentials to send with calls. You may provide any of the following types:
|
|
2654
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
2655
|
-
# * (`Hash`) A service account key as a Hash
|
|
2656
2654
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
2657
2655
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
2658
2656
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -2661,7 +2659,26 @@ module Google
|
|
|
2661
2659
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
2662
2660
|
# * (`nil`) indicating no credentials
|
|
2663
2661
|
#
|
|
2664
|
-
# Warning:
|
|
2662
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
2663
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
2664
|
+
# Google APIs can compromise the security of your systems and data.
|
|
2665
|
+
#
|
|
2666
|
+
# @example
|
|
2667
|
+
#
|
|
2668
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
2669
|
+
# # on the appropriate credentials class for your environment.
|
|
2670
|
+
#
|
|
2671
|
+
# require "googleauth"
|
|
2672
|
+
#
|
|
2673
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
2674
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
2675
|
+
# )
|
|
2676
|
+
#
|
|
2677
|
+
# client = ::Google::Cloud::AutoML::V1beta1::AutoML::Client.new do |config|
|
|
2678
|
+
# config.credentials = credentials
|
|
2679
|
+
# end
|
|
2680
|
+
#
|
|
2681
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
2665
2682
|
# external source for authentication to Google Cloud, you must validate it before
|
|
2666
2683
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
2667
2684
|
# 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>]
|
|
@@ -639,8 +650,6 @@ module Google
|
|
|
639
650
|
# @return [::String,nil]
|
|
640
651
|
# @!attribute [rw] credentials
|
|
641
652
|
# Credentials to send with calls. You may provide any of the following types:
|
|
642
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
643
|
-
# * (`Hash`) A service account key as a Hash
|
|
644
653
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
645
654
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
646
655
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -649,7 +658,26 @@ module Google
|
|
|
649
658
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
650
659
|
# * (`nil`) indicating no credentials
|
|
651
660
|
#
|
|
652
|
-
# Warning:
|
|
661
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
662
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
663
|
+
# Google APIs can compromise the security of your systems and data.
|
|
664
|
+
#
|
|
665
|
+
# @example
|
|
666
|
+
#
|
|
667
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
668
|
+
# # on the appropriate credentials class for your environment.
|
|
669
|
+
#
|
|
670
|
+
# require "googleauth"
|
|
671
|
+
#
|
|
672
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
673
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
674
|
+
# )
|
|
675
|
+
#
|
|
676
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
677
|
+
# config.credentials = credentials
|
|
678
|
+
# end
|
|
679
|
+
#
|
|
680
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
653
681
|
# external source for authentication to Google Cloud, you must validate it before
|
|
654
682
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
655
683
|
# 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]
|
|
@@ -547,8 +547,6 @@ module Google
|
|
|
547
547
|
# @return [::String,nil]
|
|
548
548
|
# @!attribute [rw] credentials
|
|
549
549
|
# Credentials to send with calls. You may provide any of the following types:
|
|
550
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
551
|
-
# * (`Hash`) A service account key as a Hash
|
|
552
550
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
553
551
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
554
552
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -557,7 +555,26 @@ module Google
|
|
|
557
555
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
558
556
|
# * (`nil`) indicating no credentials
|
|
559
557
|
#
|
|
560
|
-
# Warning:
|
|
558
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
559
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
560
|
+
# Google APIs can compromise the security of your systems and data.
|
|
561
|
+
#
|
|
562
|
+
# @example
|
|
563
|
+
#
|
|
564
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
565
|
+
# # on the appropriate credentials class for your environment.
|
|
566
|
+
#
|
|
567
|
+
# require "googleauth"
|
|
568
|
+
#
|
|
569
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
570
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
571
|
+
# )
|
|
572
|
+
#
|
|
573
|
+
# client = ::Google::Cloud::AutoML::V1beta1::PredictionService::Client.new do |config|
|
|
574
|
+
# config.credentials = credentials
|
|
575
|
+
# end
|
|
576
|
+
#
|
|
577
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
561
578
|
# external source for authentication to Google Cloud, you must validate it before
|
|
562
579
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
563
580
|
# 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>]
|
|
@@ -639,8 +650,6 @@ module Google
|
|
|
639
650
|
# @return [::String,nil]
|
|
640
651
|
# @!attribute [rw] credentials
|
|
641
652
|
# Credentials to send with calls. You may provide any of the following types:
|
|
642
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
643
|
-
# * (`Hash`) A service account key as a Hash
|
|
644
653
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
645
654
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
646
655
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -649,7 +658,26 @@ module Google
|
|
|
649
658
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
650
659
|
# * (`nil`) indicating no credentials
|
|
651
660
|
#
|
|
652
|
-
# Warning:
|
|
661
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
662
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
663
|
+
# Google APIs can compromise the security of your systems and data.
|
|
664
|
+
#
|
|
665
|
+
# @example
|
|
666
|
+
#
|
|
667
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
668
|
+
# # on the appropriate credentials class for your environment.
|
|
669
|
+
#
|
|
670
|
+
# require "googleauth"
|
|
671
|
+
#
|
|
672
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
673
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
674
|
+
# )
|
|
675
|
+
#
|
|
676
|
+
# client = ::Google::Longrunning::Operations::Client.new do |config|
|
|
677
|
+
# config.credentials = credentials
|
|
678
|
+
# end
|
|
679
|
+
#
|
|
680
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
653
681
|
# external source for authentication to Google Cloud, you must validate it before
|
|
654
682
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
655
683
|
# 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
|