google-cloud-talent-v4beta1 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 994ef852405810d906e0b7f8646e605ee69d0c6f31acb09e80730da252343535
4
- data.tar.gz: e6408088726a31b188faa249a5d015b86a3ec8989ed99512632c9fae23d8b340
3
+ metadata.gz: 38cd94ce4dd7bd5964a16e5d9c29d8587b490340e077e75795babed524a4179a
4
+ data.tar.gz: c5930a5152dc11480d724c5e784eef05f3facdcb2c848b022afd8b5c9ce06855
5
5
  SHA512:
6
- metadata.gz: 7fdf00f37890d373bde27c310f68db58b7b1248e69ef3a78c8cbc67058299a5e3cecb8f63c887e19f9c915251b7ce81e9d97c10b79ea987a65a44a3f657b7850
7
- data.tar.gz: 2aa22f752df4b8141f9fa0c74085572a5b4f886b969c3c91ca6f2e349fae4291f2e331c500ebfe6f2961de6bb1e1eea807722f517e1a525486075f3e80f2461d
6
+ metadata.gz: 27118da376ab8a91768687af4e7602af85787b738c0ea9cba7b41ee61dbc822298e75acda3d7650e9459bc512860e8474e3e493646eebb81356542a6e33d8bba
7
+ data.tar.gz: df090355c16b3596356cdb5e0a4e4707c8036ce6bc433fbf68d95b3e5753c979a02de81657131193d4c7292faef4079ce5ededb6fbd92926d05de59f4df2a468
data/AUTHENTICATION.md CHANGED
@@ -66,11 +66,11 @@ The environment variables that google-cloud-talent-v4beta1
66
66
  checks for credentials are configured on the service Credentials class (such as
67
67
  {::Google::Cloud::Talent::V4beta1::ApplicationService::Credentials}):
68
68
 
69
- 1. `TALENT_CREDENTIALS` - Path to JSON file, or JSON contents
70
- 2. `TALENT_KEYFILE` - Path to JSON file, or JSON contents
71
- 3. `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
- 4. `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
- 5. `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
69
+ * `TALENT_CREDENTIALS` - Path to JSON file, or JSON contents
70
+ * `TALENT_KEYFILE` - Path to JSON file, or JSON contents
71
+ * `GOOGLE_CLOUD_CREDENTIALS` - Path to JSON file, or JSON contents
72
+ * `GOOGLE_CLOUD_KEYFILE` - Path to JSON file, or JSON contents
73
+ * `GOOGLE_APPLICATION_CREDENTIALS` - Path to JSON file
74
74
 
75
75
  ```ruby
76
76
  require "google/cloud/talent/v4beta1"
@@ -82,8 +82,8 @@ client = ::Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
82
82
 
83
83
  ### Configuration
84
84
 
85
- The **Credentials JSON** can be configured instead of placing them in
86
- environment variables. Either on an individual client initialization:
85
+ The path to the **Credentials JSON** file can be configured instead of storing
86
+ it in an environment variable. Either on an individual client initialization:
87
87
 
88
88
  ```ruby
89
89
  require "google/cloud/talent/v4beta1"
@@ -93,7 +93,7 @@ client = ::Google::Cloud::Talent::V4beta1::ApplicationService::Client.new do |co
93
93
  end
94
94
  ```
95
95
 
96
- Or configured globally for all clients:
96
+ Or globally for all clients:
97
97
 
98
98
  ```ruby
99
99
  require "google/cloud/talent/v4beta1"
data/README.md CHANGED
@@ -33,7 +33,7 @@ In order to use this library, you first need to go through the following steps:
33
33
  require "google/cloud/talent/v4beta1"
34
34
 
35
35
  client = ::Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
36
- request = my_create_request
36
+ request = ::Google::Cloud::Talent::V4beta1::CreateApplicationRequest.new # (request fields as keyword arguments...)
37
37
  response = client.create_application request
38
38
  ```
39
39
 
@@ -70,28 +70,19 @@ module Google
70
70
 
71
71
  default_config.rpcs.get_application.timeout = 30.0
72
72
  default_config.rpcs.get_application.retry_policy = {
73
- initial_delay: 0.1,
74
- max_delay: 60.0,
75
- multiplier: 1.3,
76
- retry_codes: [4, 14]
73
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
77
74
  }
78
75
 
79
76
  default_config.rpcs.update_application.timeout = 30.0
80
77
 
81
78
  default_config.rpcs.delete_application.timeout = 30.0
82
79
  default_config.rpcs.delete_application.retry_policy = {
83
- initial_delay: 0.1,
84
- max_delay: 60.0,
85
- multiplier: 1.3,
86
- retry_codes: [4, 14]
80
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
87
81
  }
88
82
 
89
83
  default_config.rpcs.list_applications.timeout = 30.0
90
84
  default_config.rpcs.list_applications.retry_policy = {
91
- initial_delay: 0.1,
92
- max_delay: 60.0,
93
- multiplier: 1.3,
94
- retry_codes: [4, 14]
85
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
95
86
  }
96
87
 
97
88
  default_config
@@ -162,7 +153,7 @@ module Google
162
153
  !@config.endpoint.split(".").first.include?("-")
163
154
  credentials ||= Credentials.default scope: @config.scope,
164
155
  enable_self_signed_jwt: enable_self_signed_jwt
165
- if credentials.is_a?(String) || credentials.is_a?(Hash)
156
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
166
157
  credentials = Credentials.new credentials, scope: @config.scope
167
158
  end
168
159
  @quota_project_id = @config.quota_project
@@ -28,7 +28,7 @@ module Google
28
28
  # enumeration.
29
29
  class Service
30
30
 
31
- include ::GRPC::GenericService
31
+ include GRPC::GenericService
32
32
 
33
33
  self.marshal_class_method = :encode
34
34
  self.unmarshal_class_method = :decode
@@ -69,28 +69,19 @@ module Google
69
69
 
70
70
  default_config.rpcs.get_company.timeout = 30.0
71
71
  default_config.rpcs.get_company.retry_policy = {
72
- initial_delay: 0.1,
73
- max_delay: 60.0,
74
- multiplier: 1.3,
75
- retry_codes: [4, 14]
72
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
76
73
  }
77
74
 
78
75
  default_config.rpcs.update_company.timeout = 30.0
79
76
 
80
77
  default_config.rpcs.delete_company.timeout = 30.0
81
78
  default_config.rpcs.delete_company.retry_policy = {
82
- initial_delay: 0.1,
83
- max_delay: 60.0,
84
- multiplier: 1.3,
85
- retry_codes: [4, 14]
79
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
86
80
  }
87
81
 
88
82
  default_config.rpcs.list_companies.timeout = 30.0
89
83
  default_config.rpcs.list_companies.retry_policy = {
90
- initial_delay: 0.1,
91
- max_delay: 60.0,
92
- multiplier: 1.3,
93
- retry_codes: [4, 14]
84
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
94
85
  }
95
86
 
96
87
  default_config
@@ -161,7 +152,7 @@ module Google
161
152
  !@config.endpoint.split(".").first.include?("-")
162
153
  credentials ||= Credentials.default scope: @config.scope,
163
154
  enable_self_signed_jwt: enable_self_signed_jwt
164
- if credentials.is_a?(String) || credentials.is_a?(Hash)
155
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
165
156
  credentials = Credentials.new credentials, scope: @config.scope
166
157
  end
167
158
  @quota_project_id = @config.quota_project
@@ -27,7 +27,7 @@ module Google
27
27
  # A service that handles company management, including CRUD and enumeration.
28
28
  class Service
29
29
 
30
- include ::GRPC::GenericService
30
+ include GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -67,10 +67,7 @@ module Google
67
67
 
68
68
  default_config.rpcs.complete_query.timeout = 30.0
69
69
  default_config.rpcs.complete_query.retry_policy = {
70
- initial_delay: 0.1,
71
- max_delay: 60.0,
72
- multiplier: 1.3,
73
- retry_codes: [4, 14]
70
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
74
71
  }
75
72
 
76
73
  default_config
@@ -141,7 +138,7 @@ module Google
141
138
  !@config.endpoint.split(".").first.include?("-")
142
139
  credentials ||= Credentials.default scope: @config.scope,
143
140
  enable_self_signed_jwt: enable_self_signed_jwt
144
- if credentials.is_a?(String) || credentials.is_a?(Hash)
141
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
145
142
  credentials = Credentials.new credentials, scope: @config.scope
146
143
  end
147
144
  @quota_project_id = @config.quota_project
@@ -27,7 +27,7 @@ module Google
27
27
  # A service handles auto completion.
28
28
  class Service
29
29
 
30
- include ::GRPC::GenericService
30
+ include GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -135,7 +135,7 @@ module Google
135
135
  !@config.endpoint.split(".").first.include?("-")
136
136
  credentials ||= Credentials.default scope: @config.scope,
137
137
  enable_self_signed_jwt: enable_self_signed_jwt
138
- if credentials.is_a?(String) || credentials.is_a?(Hash)
138
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
139
139
  credentials = Credentials.new credentials, scope: @config.scope
140
140
  end
141
141
  @quota_project_id = @config.quota_project
@@ -27,7 +27,7 @@ module Google
27
27
  # A service handles client event report.
28
28
  class Service
29
29
 
30
- include ::GRPC::GenericService
30
+ include GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -71,10 +71,7 @@ module Google
71
71
 
72
72
  default_config.rpcs.get_job.timeout = 30.0
73
73
  default_config.rpcs.get_job.retry_policy = {
74
- initial_delay: 0.1,
75
- max_delay: 60.0,
76
- multiplier: 1.3,
77
- retry_codes: [4, 14]
74
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
78
75
  }
79
76
 
80
77
  default_config.rpcs.update_job.timeout = 30.0
@@ -83,20 +80,14 @@ module Google
83
80
 
84
81
  default_config.rpcs.delete_job.timeout = 30.0
85
82
  default_config.rpcs.delete_job.retry_policy = {
86
- initial_delay: 0.1,
87
- max_delay: 60.0,
88
- multiplier: 1.3,
89
- retry_codes: [4, 14]
83
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
90
84
  }
91
85
 
92
86
  default_config.rpcs.batch_delete_jobs.timeout = 30.0
93
87
 
94
88
  default_config.rpcs.list_jobs.timeout = 30.0
95
89
  default_config.rpcs.list_jobs.retry_policy = {
96
- initial_delay: 0.1,
97
- max_delay: 60.0,
98
- multiplier: 1.3,
99
- retry_codes: [4, 14]
90
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
100
91
  }
101
92
 
102
93
  default_config.rpcs.search_jobs.timeout = 30.0
@@ -171,7 +162,7 @@ module Google
171
162
  !@config.endpoint.split(".").first.include?("-")
172
163
  credentials ||= Credentials.default scope: @config.scope,
173
164
  enable_self_signed_jwt: enable_self_signed_jwt
174
- if credentials.is_a?(String) || credentials.is_a?(Hash)
165
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
175
166
  credentials = Credentials.new credentials, scope: @config.scope
176
167
  end
177
168
  @quota_project_id = @config.quota_project
@@ -82,7 +82,7 @@ module Google
82
82
  # Create credentials
83
83
  credentials = @config.credentials
84
84
  credentials ||= Credentials.default scope: @config.scope
85
- if credentials.is_a?(String) || credentials.is_a?(Hash)
85
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
86
86
  credentials = Credentials.new credentials, scope: @config.scope
87
87
  end
88
88
  @quota_project_id = @config.quota_project
@@ -396,9 +396,9 @@ module Google
396
396
  end
397
397
 
398
398
  ##
399
- # Waits for the specified long-running operation until it is done or reaches
400
- # at most a specified timeout, returning the latest state. If the operation
401
- # is already done, the latest state is immediately returned. If the timeout
399
+ # Waits until the specified long-running operation is done or reaches at most
400
+ # a specified timeout, returning the latest state. If the operation is
401
+ # already done, the latest state is immediately returned. If the timeout
402
402
  # specified is greater than the default HTTP/RPC timeout, the HTTP/RPC
403
403
  # timeout is used. If the server does not support this method, it returns
404
404
  # `google.rpc.Code.UNIMPLEMENTED`.
@@ -27,7 +27,7 @@ module Google
27
27
  # A service handles job management, including job CRUD, enumeration and search.
28
28
  class Service
29
29
 
30
- include ::GRPC::GenericService
30
+ include GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -68,30 +68,21 @@ module Google
68
68
 
69
69
  default_config.rpcs.list_profiles.timeout = 30.0
70
70
  default_config.rpcs.list_profiles.retry_policy = {
71
- initial_delay: 0.1,
72
- max_delay: 60.0,
73
- multiplier: 1.3,
74
- retry_codes: [4, 14]
71
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
75
72
  }
76
73
 
77
74
  default_config.rpcs.create_profile.timeout = 30.0
78
75
 
79
76
  default_config.rpcs.get_profile.timeout = 30.0
80
77
  default_config.rpcs.get_profile.retry_policy = {
81
- initial_delay: 0.1,
82
- max_delay: 60.0,
83
- multiplier: 1.3,
84
- retry_codes: [4, 14]
78
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
85
79
  }
86
80
 
87
81
  default_config.rpcs.update_profile.timeout = 30.0
88
82
 
89
83
  default_config.rpcs.delete_profile.timeout = 30.0
90
84
  default_config.rpcs.delete_profile.retry_policy = {
91
- initial_delay: 0.1,
92
- max_delay: 60.0,
93
- multiplier: 1.3,
94
- retry_codes: [4, 14]
85
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
95
86
  }
96
87
 
97
88
  default_config.rpcs.search_profiles.timeout = 30.0
@@ -164,7 +155,7 @@ module Google
164
155
  !@config.endpoint.split(".").first.include?("-")
165
156
  credentials ||= Credentials.default scope: @config.scope,
166
157
  enable_self_signed_jwt: enable_self_signed_jwt
167
- if credentials.is_a?(String) || credentials.is_a?(Hash)
158
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
168
159
  credentials = Credentials.new credentials, scope: @config.scope
169
160
  end
170
161
  @quota_project_id = @config.quota_project
@@ -28,7 +28,7 @@ module Google
28
28
  # enumeration and search.
29
29
  class Service
30
30
 
31
- include ::GRPC::GenericService
31
+ include GRPC::GenericService
32
32
 
33
33
  self.marshal_class_method = :encode
34
34
  self.unmarshal_class_method = :decode
@@ -69,28 +69,19 @@ module Google
69
69
 
70
70
  default_config.rpcs.get_tenant.timeout = 30.0
71
71
  default_config.rpcs.get_tenant.retry_policy = {
72
- initial_delay: 0.1,
73
- max_delay: 60.0,
74
- multiplier: 1.3,
75
- retry_codes: [4, 14]
72
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
76
73
  }
77
74
 
78
75
  default_config.rpcs.update_tenant.timeout = 30.0
79
76
 
80
77
  default_config.rpcs.delete_tenant.timeout = 30.0
81
78
  default_config.rpcs.delete_tenant.retry_policy = {
82
- initial_delay: 0.1,
83
- max_delay: 60.0,
84
- multiplier: 1.3,
85
- retry_codes: [4, 14]
79
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
86
80
  }
87
81
 
88
82
  default_config.rpcs.list_tenants.timeout = 30.0
89
83
  default_config.rpcs.list_tenants.retry_policy = {
90
- initial_delay: 0.1,
91
- max_delay: 60.0,
92
- multiplier: 1.3,
93
- retry_codes: [4, 14]
84
+ initial_delay: 0.1, max_delay: 60.0, multiplier: 1.3, retry_codes: [4, 14]
94
85
  }
95
86
 
96
87
  default_config
@@ -161,7 +152,7 @@ module Google
161
152
  !@config.endpoint.split(".").first.include?("-")
162
153
  credentials ||= Credentials.default scope: @config.scope,
163
154
  enable_self_signed_jwt: enable_self_signed_jwt
164
- if credentials.is_a?(String) || credentials.is_a?(Hash)
155
+ if credentials.is_a?(::String) || credentials.is_a?(::Hash)
165
156
  credentials = Credentials.new credentials, scope: @config.scope
166
157
  end
167
158
  @quota_project_id = @config.quota_project
@@ -27,7 +27,7 @@ module Google
27
27
  # A service that handles tenant management, including CRUD and enumeration.
28
28
  class Service
29
29
 
30
- include ::GRPC::GenericService
30
+ include GRPC::GenericService
31
31
 
32
32
  self.marshal_class_method = :encode
33
33
  self.unmarshal_class_method = :decode
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Talent
23
23
  module V4beta1
24
- VERSION = "0.4.1"
24
+ VERSION = "0.4.2"
25
25
  end
26
26
  end
27
27
  end
@@ -57,9 +57,15 @@ module Google
57
57
 
58
58
  # Denotes that a (repeated) field is an unordered list.
59
59
  # This indicates that the service may provide the elements of the list
60
- # in any arbitrary order, rather than the order the user originally
60
+ # in any arbitrary order, rather than the order the user originally
61
61
  # provided. Additionally, the list's order may or may not be stable.
62
62
  UNORDERED_LIST = 6
63
+
64
+ # Denotes that this field returns a non-empty default value if not set.
65
+ # This indicates that if the user provides the empty value in a request,
66
+ # a non-empty value will be returned. The user will not be aware of what
67
+ # non-empty value to expect.
68
+ NON_EMPTY_DEFAULT = 7
63
69
  end
64
70
  end
65
71
  end
@@ -19,28 +19,31 @@
19
19
 
20
20
  module Google
21
21
  module Type
22
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
23
- # and time zone are either specified elsewhere or are not significant. The date
24
- # is relative to the Proleptic Gregorian Calendar. This can represent:
22
+ # Represents a whole or partial calendar date, such as a birthday. The time of
23
+ # day and time zone are either specified elsewhere or are insignificant. The
24
+ # date is relative to the Gregorian Calendar. This can represent one of the
25
+ # following:
25
26
  #
26
- # * A full date, with non-zero year, month and day values
27
- # * A month and day value, with a zero year, e.g. an anniversary
27
+ # * A full date, with non-zero year, month, and day values
28
+ # * A month and day value, with a zero year, such as an anniversary
28
29
  # * A year on its own, with zero month and day values
29
- # * A year and month value, with a zero day, e.g. a credit card expiration date
30
+ # * A year and month value, with a zero day, such as a credit card expiration
31
+ # date
30
32
  #
31
- # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and `google.protobuf.Timestamp`.
33
+ # Related types are {::Google::Type::TimeOfDay google.type.TimeOfDay} and
34
+ # `google.protobuf.Timestamp`.
32
35
  # @!attribute [rw] year
33
36
  # @return [::Integer]
34
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without
37
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without
35
38
  # a year.
36
39
  # @!attribute [rw] month
37
40
  # @return [::Integer]
38
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a
41
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a
39
42
  # month and day.
40
43
  # @!attribute [rw] day
41
44
  # @return [::Integer]
42
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0
43
- # if specifying a year by itself or a year and month where the day is not
45
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
46
+ # to specify a year by itself or a year and month where the day isn't
44
47
  # significant.
45
48
  class Date
46
49
  include ::Google::Protobuf::MessageExts
@@ -22,7 +22,7 @@ module Google
22
22
  # Represents an amount of money with its currency type.
23
23
  # @!attribute [rw] currency_code
24
24
  # @return [::String]
25
- # The 3-letter currency code defined in ISO 4217.
25
+ # The three-letter currency code defined in ISO 4217.
26
26
  # @!attribute [rw] units
27
27
  # @return [::Integer]
28
28
  # The whole units of the amount.
@@ -21,7 +21,8 @@ module Google
21
21
  module Type
22
22
  # Represents a time of day. The date and time zone are either not significant
23
23
  # or are specified elsewhere. An API may choose to allow leap seconds. Related
24
- # types are {::Google::Type::Date google.type.Date} and `google.protobuf.Timestamp`.
24
+ # types are {::Google::Type::Date google.type.Date} and
25
+ # `google.protobuf.Timestamp`.
25
26
  # @!attribute [rw] hours
26
27
  # @return [::Integer]
27
28
  # Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-talent-v4beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-17 00:00:00.000000000 Z
11
+ date: 2021-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common