google-cloud-talent-v4 1.5.0 → 1.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86fd43e79f7a4ae6e5cd95c0c3e2352f7cd97476c1f68c3de6932c7dcbf61a54
4
- data.tar.gz: 72a70eba46b3056bb203608296a9e57b93b14260e95495b48da0a7f959a2ff0d
3
+ metadata.gz: a77068e80e39a37369b18a3b12869ebc1a694523ef9705a07d69623f01a9f3f3
4
+ data.tar.gz: 2aa0ac0f7b38e898f1364979072e286ec11771866ca09923f0aa527099cd6905
5
5
  SHA512:
6
- metadata.gz: 36fc846c8f5075a48701ec6891e7f283d6c9a71093df28b7c199309f7672d413320e617205e7a84ab3b7e5930175bb805723b076af97fad6d341fc24093c6007
7
- data.tar.gz: 831ebea203bb59689af436a416e3dbac66aacf0faa057a388660f7d725635829c4917a9b3a8bcd910fb8277b959bb1230d6316a81a63b11dcef6c27722f9f40d
6
+ metadata.gz: 340fb846f76363a4bb59b868a495024d607124663f4b30cafc5aa3eca13c95de15544ae52c50f11da6d0ab9dbdc434cedfb9abbfd93c94b32c4f1e398fdf1d33
7
+ data.tar.gz: c6512e10b1f6147163bb0362f9de12ba2e3756a80ecc66583d329ddfae7515a2785778589c782b792441adbaab4b69b07598b38bd8c685256a9346c20b3478a7
@@ -710,8 +710,6 @@ module Google
710
710
  # @return [::String,nil]
711
711
  # @!attribute [rw] credentials
712
712
  # Credentials to send with calls. You may provide any of the following types:
713
- # * (`String`) The path to a service account key file in JSON format
714
- # * (`Hash`) A service account key as a Hash
715
713
  # * (`Google::Auth::Credentials`) A googleauth credentials object
716
714
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
717
715
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -720,7 +718,26 @@ module Google
720
718
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
721
719
  # * (`nil`) indicating no credentials
722
720
  #
723
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
721
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
722
+ # is deprecated. Providing an unvalidated credential configuration to
723
+ # Google APIs can compromise the security of your systems and data.
724
+ #
725
+ # @example
726
+ #
727
+ # # The recommended way to provide credentials is to use the `make_creds` method
728
+ # # on the appropriate credentials class for your environment.
729
+ #
730
+ # require "googleauth"
731
+ #
732
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
733
+ # json_key_io: ::File.open("/path/to/keyfile.json")
734
+ # )
735
+ #
736
+ # client = ::Google::Cloud::Talent::V4::CompanyService::Client.new do |config|
737
+ # config.credentials = credentials
738
+ # end
739
+ #
740
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
724
741
  # external source for authentication to Google Cloud, you must validate it before
725
742
  # providing it to a Google API client library. Providing an unvalidated credential
726
743
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -339,8 +339,6 @@ module Google
339
339
  # @return [::String,nil]
340
340
  # @!attribute [rw] credentials
341
341
  # Credentials to send with calls. You may provide any of the following types:
342
- # * (`String`) The path to a service account key file in JSON format
343
- # * (`Hash`) A service account key as a Hash
344
342
  # * (`Google::Auth::Credentials`) A googleauth credentials object
345
343
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
346
344
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -349,7 +347,26 @@ module Google
349
347
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
350
348
  # * (`nil`) indicating no credentials
351
349
  #
352
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
350
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
351
+ # is deprecated. Providing an unvalidated credential configuration to
352
+ # Google APIs can compromise the security of your systems and data.
353
+ #
354
+ # @example
355
+ #
356
+ # # The recommended way to provide credentials is to use the `make_creds` method
357
+ # # on the appropriate credentials class for your environment.
358
+ #
359
+ # require "googleauth"
360
+ #
361
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
362
+ # json_key_io: ::File.open("/path/to/keyfile.json")
363
+ # )
364
+ #
365
+ # client = ::Google::Cloud::Talent::V4::Completion::Client.new do |config|
366
+ # config.credentials = credentials
367
+ # end
368
+ #
369
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
353
370
  # external source for authentication to Google Cloud, you must validate it before
354
371
  # providing it to a Google API client library. Providing an unvalidated credential
355
372
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -317,8 +317,6 @@ module Google
317
317
  # @return [::String,nil]
318
318
  # @!attribute [rw] credentials
319
319
  # Credentials to send with calls. You may provide any of the following types:
320
- # * (`String`) The path to a service account key file in JSON format
321
- # * (`Hash`) A service account key as a Hash
322
320
  # * (`Google::Auth::Credentials`) A googleauth credentials object
323
321
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
324
322
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -327,7 +325,26 @@ module Google
327
325
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
328
326
  # * (`nil`) indicating no credentials
329
327
  #
330
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
328
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
329
+ # is deprecated. Providing an unvalidated credential configuration to
330
+ # Google APIs can compromise the security of your systems and data.
331
+ #
332
+ # @example
333
+ #
334
+ # # The recommended way to provide credentials is to use the `make_creds` method
335
+ # # on the appropriate credentials class for your environment.
336
+ #
337
+ # require "googleauth"
338
+ #
339
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
340
+ # json_key_io: ::File.open("/path/to/keyfile.json")
341
+ # )
342
+ #
343
+ # client = ::Google::Cloud::Talent::V4::EventService::Client.new do |config|
344
+ # config.credentials = credentials
345
+ # end
346
+ #
347
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
331
348
  # external source for authentication to Google Cloud, you must validate it before
332
349
  # providing it to a Google API client library. Providing an unvalidated credential
333
350
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1828,8 +1828,6 @@ module Google
1828
1828
  # @return [::String,nil]
1829
1829
  # @!attribute [rw] credentials
1830
1830
  # Credentials to send with calls. You may provide any of the following types:
1831
- # * (`String`) The path to a service account key file in JSON format
1832
- # * (`Hash`) A service account key as a Hash
1833
1831
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1834
1832
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1835
1833
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1838,7 +1836,26 @@ module Google
1838
1836
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1839
1837
  # * (`nil`) indicating no credentials
1840
1838
  #
1841
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1839
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1840
+ # is deprecated. Providing an unvalidated credential configuration to
1841
+ # Google APIs can compromise the security of your systems and data.
1842
+ #
1843
+ # @example
1844
+ #
1845
+ # # The recommended way to provide credentials is to use the `make_creds` method
1846
+ # # on the appropriate credentials class for your environment.
1847
+ #
1848
+ # require "googleauth"
1849
+ #
1850
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1851
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1852
+ # )
1853
+ #
1854
+ # client = ::Google::Cloud::Talent::V4::JobService::Client.new do |config|
1855
+ # config.credentials = credentials
1856
+ # end
1857
+ #
1858
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1842
1859
  # external source for authentication to Google Cloud, you must validate it before
1843
1860
  # providing it to a Google API client library. Providing an unvalidated credential
1844
1861
  # 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: If you accept a credential configuration (JSON file or Hash) from an
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]
@@ -698,8 +698,6 @@ module Google
698
698
  # @return [::String,nil]
699
699
  # @!attribute [rw] credentials
700
700
  # Credentials to send with calls. You may provide any of the following types:
701
- # * (`String`) The path to a service account key file in JSON format
702
- # * (`Hash`) A service account key as a Hash
703
701
  # * (`Google::Auth::Credentials`) A googleauth credentials object
704
702
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
705
703
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -708,7 +706,26 @@ module Google
708
706
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
709
707
  # * (`nil`) indicating no credentials
710
708
  #
711
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
709
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
710
+ # is deprecated. Providing an unvalidated credential configuration to
711
+ # Google APIs can compromise the security of your systems and data.
712
+ #
713
+ # @example
714
+ #
715
+ # # The recommended way to provide credentials is to use the `make_creds` method
716
+ # # on the appropriate credentials class for your environment.
717
+ #
718
+ # require "googleauth"
719
+ #
720
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
721
+ # json_key_io: ::File.open("/path/to/keyfile.json")
722
+ # )
723
+ #
724
+ # client = ::Google::Cloud::Talent::V4::TenantService::Client.new do |config|
725
+ # config.credentials = credentials
726
+ # end
727
+ #
728
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
712
729
  # external source for authentication to Google Cloud, you must validate it before
713
730
  # providing it to a Google API client library. Providing an unvalidated credential
714
731
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Talent
23
23
  module V4
24
- VERSION = "1.5.0"
24
+ VERSION = "1.6.1"
25
25
  end
26
26
  end
27
27
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-talent-v4
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC