google-cloud-talent-v4beta1 0.16.0 → 0.17.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/talent/v4beta1/company_service/client.rb +20 -3
- data/lib/google/cloud/talent/v4beta1/completion/client.rb +20 -3
- data/lib/google/cloud/talent/v4beta1/event_service/client.rb +20 -3
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +20 -3
- data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +32 -4
- data/lib/google/cloud/talent/v4beta1/job_service/rest/operations.rb +12 -1
- data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +20 -3
- data/lib/google/cloud/talent/v4beta1/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: 8232fb832126a74a4c87cb15ada26ddd7d27567362395dfc0ea515e83fdaefe7
|
|
4
|
+
data.tar.gz: e26bddac834c3e9fc3375ea009559e0f2cad2f971847a1275e96028669e51082
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e3eeee747048e29042130440ca72a7ad19ee1da2bf371015da4cf0c15441d061967582af3862d5e9e9bbbec5223623a4b71a966e7691597fd699524b66273460
|
|
7
|
+
data.tar.gz: f8418d44f7dc7f72307fd2d4ae9f7451d50b9b918b8371b8afde357d7282107e3751a957fedb9bcd5faf5dc4a18fff6a65a251cc5a565b80f0935a1e6f4df2aa
|
|
@@ -721,8 +721,6 @@ module Google
|
|
|
721
721
|
# @return [::String,nil]
|
|
722
722
|
# @!attribute [rw] credentials
|
|
723
723
|
# Credentials to send with calls. You may provide any of the following types:
|
|
724
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
725
|
-
# * (`Hash`) A service account key as a Hash
|
|
726
724
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
727
725
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
728
726
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -731,7 +729,26 @@ module Google
|
|
|
731
729
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
732
730
|
# * (`nil`) indicating no credentials
|
|
733
731
|
#
|
|
734
|
-
# Warning:
|
|
732
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
733
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
734
|
+
# Google APIs can compromise the security of your systems and data.
|
|
735
|
+
#
|
|
736
|
+
# @example
|
|
737
|
+
#
|
|
738
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
739
|
+
# # on the appropriate credentials class for your environment.
|
|
740
|
+
#
|
|
741
|
+
# require "googleauth"
|
|
742
|
+
#
|
|
743
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
744
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
745
|
+
# )
|
|
746
|
+
#
|
|
747
|
+
# client = ::Google::Cloud::Talent::V4beta1::CompanyService::Client.new do |config|
|
|
748
|
+
# config.credentials = credentials
|
|
749
|
+
# end
|
|
750
|
+
#
|
|
751
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
735
752
|
# external source for authentication to Google Cloud, you must validate it before
|
|
736
753
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
737
754
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -345,8 +345,6 @@ module Google
|
|
|
345
345
|
# @return [::String,nil]
|
|
346
346
|
# @!attribute [rw] credentials
|
|
347
347
|
# Credentials to send with calls. You may provide any of the following types:
|
|
348
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
349
|
-
# * (`Hash`) A service account key as a Hash
|
|
350
348
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
351
349
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
352
350
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -355,7 +353,26 @@ module Google
|
|
|
355
353
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
356
354
|
# * (`nil`) indicating no credentials
|
|
357
355
|
#
|
|
358
|
-
# Warning:
|
|
356
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
357
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
358
|
+
# Google APIs can compromise the security of your systems and data.
|
|
359
|
+
#
|
|
360
|
+
# @example
|
|
361
|
+
#
|
|
362
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
363
|
+
# # on the appropriate credentials class for your environment.
|
|
364
|
+
#
|
|
365
|
+
# require "googleauth"
|
|
366
|
+
#
|
|
367
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
368
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
369
|
+
# )
|
|
370
|
+
#
|
|
371
|
+
# client = ::Google::Cloud::Talent::V4beta1::Completion::Client.new do |config|
|
|
372
|
+
# config.credentials = credentials
|
|
373
|
+
# end
|
|
374
|
+
#
|
|
375
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
359
376
|
# external source for authentication to Google Cloud, you must validate it before
|
|
360
377
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
361
378
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -318,8 +318,6 @@ module Google
|
|
|
318
318
|
# @return [::String,nil]
|
|
319
319
|
# @!attribute [rw] credentials
|
|
320
320
|
# Credentials to send with calls. You may provide any of the following types:
|
|
321
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
322
|
-
# * (`Hash`) A service account key as a Hash
|
|
323
321
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
324
322
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
325
323
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -328,7 +326,26 @@ module Google
|
|
|
328
326
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
329
327
|
# * (`nil`) indicating no credentials
|
|
330
328
|
#
|
|
331
|
-
# Warning:
|
|
329
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
330
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
331
|
+
# Google APIs can compromise the security of your systems and data.
|
|
332
|
+
#
|
|
333
|
+
# @example
|
|
334
|
+
#
|
|
335
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
336
|
+
# # on the appropriate credentials class for your environment.
|
|
337
|
+
#
|
|
338
|
+
# require "googleauth"
|
|
339
|
+
#
|
|
340
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
341
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
342
|
+
# )
|
|
343
|
+
#
|
|
344
|
+
# client = ::Google::Cloud::Talent::V4beta1::EventService::Client.new do |config|
|
|
345
|
+
# config.credentials = credentials
|
|
346
|
+
# end
|
|
347
|
+
#
|
|
348
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
332
349
|
# external source for authentication to Google Cloud, you must validate it before
|
|
333
350
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
334
351
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -1849,8 +1849,6 @@ module Google
|
|
|
1849
1849
|
# @return [::String,nil]
|
|
1850
1850
|
# @!attribute [rw] credentials
|
|
1851
1851
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1852
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1853
|
-
# * (`Hash`) A service account key as a Hash
|
|
1854
1852
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1855
1853
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1856
1854
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1859,7 +1857,26 @@ module Google
|
|
|
1859
1857
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1860
1858
|
# * (`nil`) indicating no credentials
|
|
1861
1859
|
#
|
|
1862
|
-
# Warning:
|
|
1860
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1861
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1862
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1863
|
+
#
|
|
1864
|
+
# @example
|
|
1865
|
+
#
|
|
1866
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1867
|
+
# # on the appropriate credentials class for your environment.
|
|
1868
|
+
#
|
|
1869
|
+
# require "googleauth"
|
|
1870
|
+
#
|
|
1871
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1872
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1873
|
+
# )
|
|
1874
|
+
#
|
|
1875
|
+
# client = ::Google::Cloud::Talent::V4beta1::JobService::Client.new do |config|
|
|
1876
|
+
# config.credentials = credentials
|
|
1877
|
+
# end
|
|
1878
|
+
#
|
|
1879
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1863
1880
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1864
1881
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1865
1882
|
# 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]
|
|
@@ -700,8 +700,6 @@ module Google
|
|
|
700
700
|
# @return [::String,nil]
|
|
701
701
|
# @!attribute [rw] credentials
|
|
702
702
|
# Credentials to send with calls. You may provide any of the following types:
|
|
703
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
704
|
-
# * (`Hash`) A service account key as a Hash
|
|
705
703
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
706
704
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
707
705
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -710,7 +708,26 @@ module Google
|
|
|
710
708
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
711
709
|
# * (`nil`) indicating no credentials
|
|
712
710
|
#
|
|
713
|
-
# Warning:
|
|
711
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
712
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
713
|
+
# Google APIs can compromise the security of your systems and data.
|
|
714
|
+
#
|
|
715
|
+
# @example
|
|
716
|
+
#
|
|
717
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
718
|
+
# # on the appropriate credentials class for your environment.
|
|
719
|
+
#
|
|
720
|
+
# require "googleauth"
|
|
721
|
+
#
|
|
722
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
723
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
724
|
+
# )
|
|
725
|
+
#
|
|
726
|
+
# client = ::Google::Cloud::Talent::V4beta1::TenantService::Client.new do |config|
|
|
727
|
+
# config.credentials = credentials
|
|
728
|
+
# end
|
|
729
|
+
#
|
|
730
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
714
731
|
# external source for authentication to Google Cloud, you must validate it before
|
|
715
732
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
716
733
|
# configuration to Google APIs can compromise the security of your systems and data.
|
|
@@ -83,6 +83,18 @@ module Google
|
|
|
83
83
|
# @!attribute [rw] page_token
|
|
84
84
|
# @return [::String]
|
|
85
85
|
# The standard list page token.
|
|
86
|
+
# @!attribute [rw] return_partial_success
|
|
87
|
+
# @return [::Boolean]
|
|
88
|
+
# When set to `true`, operations that are reachable are returned as normal,
|
|
89
|
+
# and those that are unreachable are returned in the
|
|
90
|
+
# [ListOperationsResponse.unreachable] field.
|
|
91
|
+
#
|
|
92
|
+
# This can only be `true` when reading across collections e.g. when `parent`
|
|
93
|
+
# is set to `"projects/example/locations/-"`.
|
|
94
|
+
#
|
|
95
|
+
# This field is not by default supported and will result in an
|
|
96
|
+
# `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
|
|
97
|
+
# service or product specific documentation.
|
|
86
98
|
class ListOperationsRequest
|
|
87
99
|
include ::Google::Protobuf::MessageExts
|
|
88
100
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -96,6 +108,12 @@ module Google
|
|
|
96
108
|
# @!attribute [rw] next_page_token
|
|
97
109
|
# @return [::String]
|
|
98
110
|
# The standard List next-page token.
|
|
111
|
+
# @!attribute [rw] unreachable
|
|
112
|
+
# @return [::Array<::String>]
|
|
113
|
+
# Unordered list. Unreachable resources. Populated when the request sets
|
|
114
|
+
# `ListOperationsRequest.return_partial_success` and reads across
|
|
115
|
+
# collections e.g. when attempting to list all resources across all supported
|
|
116
|
+
# locations.
|
|
99
117
|
class ListOperationsResponse
|
|
100
118
|
include ::Google::Protobuf::MessageExts
|
|
101
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|