google-cloud-dataproc-v1 1.8.0 → 1.9.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/dataproc/v1/autoscaling_policy_service/client.rb +20 -3
- data/lib/google/cloud/dataproc/v1/batch_controller/client.rb +20 -3
- data/lib/google/cloud/dataproc/v1/batch_controller/operations.rb +32 -4
- data/lib/google/cloud/dataproc/v1/batch_controller/rest/operations.rb +12 -1
- data/lib/google/cloud/dataproc/v1/cluster_controller/client.rb +20 -3
- data/lib/google/cloud/dataproc/v1/cluster_controller/operations.rb +32 -4
- data/lib/google/cloud/dataproc/v1/cluster_controller/rest/operations.rb +12 -1
- data/lib/google/cloud/dataproc/v1/job_controller/client.rb +20 -3
- data/lib/google/cloud/dataproc/v1/job_controller/operations.rb +32 -4
- data/lib/google/cloud/dataproc/v1/job_controller/rest/operations.rb +12 -1
- data/lib/google/cloud/dataproc/v1/node_group_controller/client.rb +20 -3
- data/lib/google/cloud/dataproc/v1/node_group_controller/operations.rb +32 -4
- data/lib/google/cloud/dataproc/v1/node_group_controller/rest/operations.rb +12 -1
- data/lib/google/cloud/dataproc/v1/session_controller/client.rb +20 -3
- data/lib/google/cloud/dataproc/v1/session_controller/operations.rb +32 -4
- data/lib/google/cloud/dataproc/v1/session_controller/rest/operations.rb +12 -1
- data/lib/google/cloud/dataproc/v1/session_template_controller/client.rb +20 -3
- data/lib/google/cloud/dataproc/v1/version.rb +1 -1
- data/lib/google/cloud/dataproc/v1/workflow_template_service/client.rb +20 -3
- data/lib/google/cloud/dataproc/v1/workflow_template_service/operations.rb +32 -4
- data/lib/google/cloud/dataproc/v1/workflow_template_service/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: 616aba998934a9ac437f00615249b981157f8ddc19f566d1cf66b17286edea3a
|
|
4
|
+
data.tar.gz: 2755856b15af1787461f3f4326aeccf002063edee90645dd42b424224c8abd76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 506e5154d250225d867853b80fb9fe5755fa994971bd4ec8191cb51f66256dfb8091f13b5a9a9e899a9a73e3d3ee9b1431f0738c2ae241dbfe83f16efdb9c6c8
|
|
7
|
+
data.tar.gz: 14353dc371498f4274c950c443b7f366bdc5f861f326179e1306dbb8765de2792234d636ec70a80420bc0c1da53783005be65212465aa832f5219960d8710cd9
|
|
@@ -733,8 +733,6 @@ module Google
|
|
|
733
733
|
# @return [::String,nil]
|
|
734
734
|
# @!attribute [rw] credentials
|
|
735
735
|
# Credentials to send with calls. You may provide any of the following types:
|
|
736
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
737
|
-
# * (`Hash`) A service account key as a Hash
|
|
738
736
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
739
737
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
740
738
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -743,7 +741,26 @@ module Google
|
|
|
743
741
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
744
742
|
# * (`nil`) indicating no credentials
|
|
745
743
|
#
|
|
746
|
-
# Warning:
|
|
744
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
745
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
746
|
+
# Google APIs can compromise the security of your systems and data.
|
|
747
|
+
#
|
|
748
|
+
# @example
|
|
749
|
+
#
|
|
750
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
751
|
+
# # on the appropriate credentials class for your environment.
|
|
752
|
+
#
|
|
753
|
+
# require "googleauth"
|
|
754
|
+
#
|
|
755
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
756
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
757
|
+
# )
|
|
758
|
+
#
|
|
759
|
+
# client = ::Google::Cloud::Dataproc::V1::AutoscalingPolicyService::Client.new do |config|
|
|
760
|
+
# config.credentials = credentials
|
|
761
|
+
# end
|
|
762
|
+
#
|
|
763
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
747
764
|
# external source for authentication to Google Cloud, you must validate it before
|
|
748
765
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
749
766
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -655,8 +655,6 @@ module Google
|
|
|
655
655
|
# @return [::String,nil]
|
|
656
656
|
# @!attribute [rw] credentials
|
|
657
657
|
# Credentials to send with calls. You may provide any of the following types:
|
|
658
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
659
|
-
# * (`Hash`) A service account key as a Hash
|
|
660
658
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
661
659
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
662
660
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -665,7 +663,26 @@ module Google
|
|
|
665
663
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
666
664
|
# * (`nil`) indicating no credentials
|
|
667
665
|
#
|
|
668
|
-
# Warning:
|
|
666
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
667
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
668
|
+
# Google APIs can compromise the security of your systems and data.
|
|
669
|
+
#
|
|
670
|
+
# @example
|
|
671
|
+
#
|
|
672
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
673
|
+
# # on the appropriate credentials class for your environment.
|
|
674
|
+
#
|
|
675
|
+
# require "googleauth"
|
|
676
|
+
#
|
|
677
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
678
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
679
|
+
# )
|
|
680
|
+
#
|
|
681
|
+
# client = ::Google::Cloud::Dataproc::V1::BatchController::Client.new do |config|
|
|
682
|
+
# config.credentials = credentials
|
|
683
|
+
# end
|
|
684
|
+
#
|
|
685
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
669
686
|
# external source for authentication to Google Cloud, you must validate it before
|
|
670
687
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
671
688
|
# 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]
|
|
@@ -1294,8 +1294,6 @@ module Google
|
|
|
1294
1294
|
# @return [::String,nil]
|
|
1295
1295
|
# @!attribute [rw] credentials
|
|
1296
1296
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1297
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1298
|
-
# * (`Hash`) A service account key as a Hash
|
|
1299
1297
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1300
1298
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1301
1299
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1304,7 +1302,26 @@ module Google
|
|
|
1304
1302
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1305
1303
|
# * (`nil`) indicating no credentials
|
|
1306
1304
|
#
|
|
1307
|
-
# Warning:
|
|
1305
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1306
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1307
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1308
|
+
#
|
|
1309
|
+
# @example
|
|
1310
|
+
#
|
|
1311
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1312
|
+
# # on the appropriate credentials class for your environment.
|
|
1313
|
+
#
|
|
1314
|
+
# require "googleauth"
|
|
1315
|
+
#
|
|
1316
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1317
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1318
|
+
# )
|
|
1319
|
+
#
|
|
1320
|
+
# client = ::Google::Cloud::Dataproc::V1::ClusterController::Client.new do |config|
|
|
1321
|
+
# config.credentials = credentials
|
|
1322
|
+
# end
|
|
1323
|
+
#
|
|
1324
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1308
1325
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1309
1326
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1310
1327
|
# 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]
|
|
@@ -1025,8 +1025,6 @@ module Google
|
|
|
1025
1025
|
# @return [::String,nil]
|
|
1026
1026
|
# @!attribute [rw] credentials
|
|
1027
1027
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1028
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1029
|
-
# * (`Hash`) A service account key as a Hash
|
|
1030
1028
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1031
1029
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1032
1030
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1035,7 +1033,26 @@ module Google
|
|
|
1035
1033
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1036
1034
|
# * (`nil`) indicating no credentials
|
|
1037
1035
|
#
|
|
1038
|
-
# Warning:
|
|
1036
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1037
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1038
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1039
|
+
#
|
|
1040
|
+
# @example
|
|
1041
|
+
#
|
|
1042
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1043
|
+
# # on the appropriate credentials class for your environment.
|
|
1044
|
+
#
|
|
1045
|
+
# require "googleauth"
|
|
1046
|
+
#
|
|
1047
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1048
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1049
|
+
# )
|
|
1050
|
+
#
|
|
1051
|
+
# client = ::Google::Cloud::Dataproc::V1::JobController::Client.new do |config|
|
|
1052
|
+
# config.credentials = credentials
|
|
1053
|
+
# end
|
|
1054
|
+
#
|
|
1055
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1039
1056
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1040
1057
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1041
1058
|
# 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]
|
|
@@ -583,8 +583,6 @@ module Google
|
|
|
583
583
|
# @return [::String,nil]
|
|
584
584
|
# @!attribute [rw] credentials
|
|
585
585
|
# Credentials to send with calls. You may provide any of the following types:
|
|
586
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
587
|
-
# * (`Hash`) A service account key as a Hash
|
|
588
586
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
589
587
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
590
588
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -593,7 +591,26 @@ module Google
|
|
|
593
591
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
594
592
|
# * (`nil`) indicating no credentials
|
|
595
593
|
#
|
|
596
|
-
# Warning:
|
|
594
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
595
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
596
|
+
# Google APIs can compromise the security of your systems and data.
|
|
597
|
+
#
|
|
598
|
+
# @example
|
|
599
|
+
#
|
|
600
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
601
|
+
# # on the appropriate credentials class for your environment.
|
|
602
|
+
#
|
|
603
|
+
# require "googleauth"
|
|
604
|
+
#
|
|
605
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
606
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
607
|
+
# )
|
|
608
|
+
#
|
|
609
|
+
# client = ::Google::Cloud::Dataproc::V1::NodeGroupController::Client.new do |config|
|
|
610
|
+
# config.credentials = credentials
|
|
611
|
+
# end
|
|
612
|
+
#
|
|
613
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
597
614
|
# external source for authentication to Google Cloud, you must validate it before
|
|
598
615
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
599
616
|
# 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]
|
|
@@ -772,8 +772,6 @@ module Google
|
|
|
772
772
|
# @return [::String,nil]
|
|
773
773
|
# @!attribute [rw] credentials
|
|
774
774
|
# Credentials to send with calls. You may provide any of the following types:
|
|
775
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
776
|
-
# * (`Hash`) A service account key as a Hash
|
|
777
775
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
778
776
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
779
777
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -782,7 +780,26 @@ module Google
|
|
|
782
780
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
783
781
|
# * (`nil`) indicating no credentials
|
|
784
782
|
#
|
|
785
|
-
# Warning:
|
|
783
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
784
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
785
|
+
# Google APIs can compromise the security of your systems and data.
|
|
786
|
+
#
|
|
787
|
+
# @example
|
|
788
|
+
#
|
|
789
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
790
|
+
# # on the appropriate credentials class for your environment.
|
|
791
|
+
#
|
|
792
|
+
# require "googleauth"
|
|
793
|
+
#
|
|
794
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
795
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
796
|
+
# )
|
|
797
|
+
#
|
|
798
|
+
# client = ::Google::Cloud::Dataproc::V1::SessionController::Client.new do |config|
|
|
799
|
+
# config.credentials = credentials
|
|
800
|
+
# end
|
|
801
|
+
#
|
|
802
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
786
803
|
# external source for authentication to Google Cloud, you must validate it before
|
|
787
804
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
788
805
|
# 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]
|
|
@@ -678,8 +678,6 @@ module Google
|
|
|
678
678
|
# @return [::String,nil]
|
|
679
679
|
# @!attribute [rw] credentials
|
|
680
680
|
# Credentials to send with calls. You may provide any of the following types:
|
|
681
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
682
|
-
# * (`Hash`) A service account key as a Hash
|
|
683
681
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
684
682
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
685
683
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -688,7 +686,26 @@ module Google
|
|
|
688
686
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
689
687
|
# * (`nil`) indicating no credentials
|
|
690
688
|
#
|
|
691
|
-
# Warning:
|
|
689
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
690
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
691
|
+
# Google APIs can compromise the security of your systems and data.
|
|
692
|
+
#
|
|
693
|
+
# @example
|
|
694
|
+
#
|
|
695
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
696
|
+
# # on the appropriate credentials class for your environment.
|
|
697
|
+
#
|
|
698
|
+
# require "googleauth"
|
|
699
|
+
#
|
|
700
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
701
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
702
|
+
# )
|
|
703
|
+
#
|
|
704
|
+
# client = ::Google::Cloud::Dataproc::V1::SessionTemplateController::Client.new do |config|
|
|
705
|
+
# config.credentials = credentials
|
|
706
|
+
# end
|
|
707
|
+
#
|
|
708
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
692
709
|
# external source for authentication to Google Cloud, you must validate it before
|
|
693
710
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
694
711
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1054,8 +1054,6 @@ module Google
|
|
|
1054
1054
|
# @return [::String,nil]
|
|
1055
1055
|
# @!attribute [rw] credentials
|
|
1056
1056
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1057
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1058
|
-
# * (`Hash`) A service account key as a Hash
|
|
1059
1057
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1060
1058
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1061
1059
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1064,7 +1062,26 @@ module Google
|
|
|
1064
1062
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1065
1063
|
# * (`nil`) indicating no credentials
|
|
1066
1064
|
#
|
|
1067
|
-
# Warning:
|
|
1065
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1066
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1067
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1068
|
+
#
|
|
1069
|
+
# @example
|
|
1070
|
+
#
|
|
1071
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1072
|
+
# # on the appropriate credentials class for your environment.
|
|
1073
|
+
#
|
|
1074
|
+
# require "googleauth"
|
|
1075
|
+
#
|
|
1076
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1077
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1078
|
+
# )
|
|
1079
|
+
#
|
|
1080
|
+
# client = ::Google::Cloud::Dataproc::V1::WorkflowTemplateService::Client.new do |config|
|
|
1081
|
+
# config.credentials = credentials
|
|
1082
|
+
# end
|
|
1083
|
+
#
|
|
1084
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1068
1085
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1069
1086
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1070
1087
|
# 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
|