google-api-client 0.28.1 → 0.28.2
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/.kokoro/build.sh +1 -1
- data/CHANGELOG.md +28 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +9 -8
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/service.rb +81 -6
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +3 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +30 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +28 -0
- data/generated/google/apis/dlp_v2/representations.rb +15 -0
- data/generated/google/apis/dlp_v2/service.rb +23 -1
- data/generated/google/apis/docs_v1.rb +46 -0
- data/generated/google/apis/docs_v1/classes.rb +5383 -0
- data/generated/google/apis/docs_v1/representations.rb +2209 -0
- data/generated/google/apis/docs_v1/service.rb +176 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -193
- data/generated/google/apis/file_v1/representations.rb +0 -70
- data/generated/google/apis/file_v1/service.rb +0 -190
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +8 -0
- data/generated/google/apis/jobs_v3/classes.rb +130 -3
- data/generated/google/apis/jobs_v3/representations.rb +47 -0
- data/generated/google/apis/jobs_v3/service.rb +40 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +44 -0
- data/generated/google/apis/ml_v1/representations.rb +21 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +5 -4
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +3 -2
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +3 -2
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +35 -0
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2872 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +1221 -0
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +93 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +100 -13
- data/generated/google/apis/youtube_v3/representations.rb +38 -1
- data/lib/google/apis/core/http_command.rb +9 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -3
- data/.travis.yml +0 -26
@@ -116,196 +116,6 @@ module Google
|
|
116
116
|
execute_or_queue_command(command, &block)
|
117
117
|
end
|
118
118
|
|
119
|
-
# Creates an instance.
|
120
|
-
# @param [String] parent
|
121
|
-
# The instance's project and location, in the format
|
122
|
-
# projects/`project_id`/locations/`location`. In Cloud Filestore,
|
123
|
-
# locations map to GCP zones, for example **us-west1-b**.
|
124
|
-
# @param [Google::Apis::FileV1::Instance] instance_object
|
125
|
-
# @param [String] instance_id
|
126
|
-
# The name of the instance to create.
|
127
|
-
# The name must be unique for the specified project and location.
|
128
|
-
# @param [String] fields
|
129
|
-
# Selector specifying which fields to include in a partial response.
|
130
|
-
# @param [String] quota_user
|
131
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
132
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
133
|
-
# @param [Google::Apis::RequestOptions] options
|
134
|
-
# Request-specific options
|
135
|
-
#
|
136
|
-
# @yield [result, err] Result & error if block supplied
|
137
|
-
# @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
|
138
|
-
# @yieldparam err [StandardError] error object if request failed
|
139
|
-
#
|
140
|
-
# @return [Google::Apis::FileV1::Operation]
|
141
|
-
#
|
142
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
143
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
144
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
145
|
-
def create_project_location_instance(parent, instance_object = nil, instance_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
146
|
-
command = make_simple_command(:post, 'v1/{+parent}/instances', options)
|
147
|
-
command.request_representation = Google::Apis::FileV1::Instance::Representation
|
148
|
-
command.request_object = instance_object
|
149
|
-
command.response_representation = Google::Apis::FileV1::Operation::Representation
|
150
|
-
command.response_class = Google::Apis::FileV1::Operation
|
151
|
-
command.params['parent'] = parent unless parent.nil?
|
152
|
-
command.query['instanceId'] = instance_id unless instance_id.nil?
|
153
|
-
command.query['fields'] = fields unless fields.nil?
|
154
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
155
|
-
execute_or_queue_command(command, &block)
|
156
|
-
end
|
157
|
-
|
158
|
-
# Deletes an instance.
|
159
|
-
# @param [String] name
|
160
|
-
# The instance resource name, in the format
|
161
|
-
# projects/`project_id`/locations/`location`/instances/`instance_id`
|
162
|
-
# @param [String] fields
|
163
|
-
# Selector specifying which fields to include in a partial response.
|
164
|
-
# @param [String] quota_user
|
165
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
166
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
167
|
-
# @param [Google::Apis::RequestOptions] options
|
168
|
-
# Request-specific options
|
169
|
-
#
|
170
|
-
# @yield [result, err] Result & error if block supplied
|
171
|
-
# @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
|
172
|
-
# @yieldparam err [StandardError] error object if request failed
|
173
|
-
#
|
174
|
-
# @return [Google::Apis::FileV1::Operation]
|
175
|
-
#
|
176
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
177
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
178
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
179
|
-
def delete_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
180
|
-
command = make_simple_command(:delete, 'v1/{+name}', options)
|
181
|
-
command.response_representation = Google::Apis::FileV1::Operation::Representation
|
182
|
-
command.response_class = Google::Apis::FileV1::Operation
|
183
|
-
command.params['name'] = name unless name.nil?
|
184
|
-
command.query['fields'] = fields unless fields.nil?
|
185
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
186
|
-
execute_or_queue_command(command, &block)
|
187
|
-
end
|
188
|
-
|
189
|
-
# Gets the details of a specific instance.
|
190
|
-
# @param [String] name
|
191
|
-
# The instance resource name, in the format
|
192
|
-
# projects/`project_id`/locations/`location`/instances/`instance_id`.
|
193
|
-
# @param [String] fields
|
194
|
-
# Selector specifying which fields to include in a partial response.
|
195
|
-
# @param [String] quota_user
|
196
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
197
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
198
|
-
# @param [Google::Apis::RequestOptions] options
|
199
|
-
# Request-specific options
|
200
|
-
#
|
201
|
-
# @yield [result, err] Result & error if block supplied
|
202
|
-
# @yieldparam result [Google::Apis::FileV1::Instance] parsed result object
|
203
|
-
# @yieldparam err [StandardError] error object if request failed
|
204
|
-
#
|
205
|
-
# @return [Google::Apis::FileV1::Instance]
|
206
|
-
#
|
207
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
208
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
209
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
210
|
-
def get_project_location_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
211
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
212
|
-
command.response_representation = Google::Apis::FileV1::Instance::Representation
|
213
|
-
command.response_class = Google::Apis::FileV1::Instance
|
214
|
-
command.params['name'] = name unless name.nil?
|
215
|
-
command.query['fields'] = fields unless fields.nil?
|
216
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
217
|
-
execute_or_queue_command(command, &block)
|
218
|
-
end
|
219
|
-
|
220
|
-
# Lists all instances in a project for either a specified location
|
221
|
-
# or for all locations.
|
222
|
-
# @param [String] parent
|
223
|
-
# The project and location for which to retrieve instance information,
|
224
|
-
# in the format projects/`project_id`/locations/`location`. In Cloud
|
225
|
-
# Filestore, locations map to GCP zones, for example **us-west1-b**. To
|
226
|
-
# retrieve instance information for all locations, use "-" for the `location`
|
227
|
-
# value.
|
228
|
-
# @param [String] filter
|
229
|
-
# List filter.
|
230
|
-
# @param [String] order_by
|
231
|
-
# Sort results. Supported values are "name", "name desc" or "" (unsorted).
|
232
|
-
# @param [Fixnum] page_size
|
233
|
-
# The maximum number of items to return.
|
234
|
-
# @param [String] page_token
|
235
|
-
# The next_page_token value to use if there are additional
|
236
|
-
# results to retrieve for this list request.
|
237
|
-
# @param [String] fields
|
238
|
-
# Selector specifying which fields to include in a partial response.
|
239
|
-
# @param [String] quota_user
|
240
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
241
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
242
|
-
# @param [Google::Apis::RequestOptions] options
|
243
|
-
# Request-specific options
|
244
|
-
#
|
245
|
-
# @yield [result, err] Result & error if block supplied
|
246
|
-
# @yieldparam result [Google::Apis::FileV1::ListInstancesResponse] parsed result object
|
247
|
-
# @yieldparam err [StandardError] error object if request failed
|
248
|
-
#
|
249
|
-
# @return [Google::Apis::FileV1::ListInstancesResponse]
|
250
|
-
#
|
251
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
252
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
253
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
254
|
-
def list_project_location_instances(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
255
|
-
command = make_simple_command(:get, 'v1/{+parent}/instances', options)
|
256
|
-
command.response_representation = Google::Apis::FileV1::ListInstancesResponse::Representation
|
257
|
-
command.response_class = Google::Apis::FileV1::ListInstancesResponse
|
258
|
-
command.params['parent'] = parent unless parent.nil?
|
259
|
-
command.query['filter'] = filter unless filter.nil?
|
260
|
-
command.query['orderBy'] = order_by unless order_by.nil?
|
261
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
262
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
263
|
-
command.query['fields'] = fields unless fields.nil?
|
264
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
265
|
-
execute_or_queue_command(command, &block)
|
266
|
-
end
|
267
|
-
|
268
|
-
# Updates the settings of a specific instance.
|
269
|
-
# @param [String] name
|
270
|
-
# Output only.
|
271
|
-
# The resource name of the instance, in the format
|
272
|
-
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
|
273
|
-
# @param [Google::Apis::FileV1::Instance] instance_object
|
274
|
-
# @param [String] update_mask
|
275
|
-
# Mask of fields to update. At least one path must be supplied in this
|
276
|
-
# field. The elements of the repeated paths field may only include these
|
277
|
-
# fields:
|
278
|
-
# "description"
|
279
|
-
# @param [String] fields
|
280
|
-
# Selector specifying which fields to include in a partial response.
|
281
|
-
# @param [String] quota_user
|
282
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
283
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
284
|
-
# @param [Google::Apis::RequestOptions] options
|
285
|
-
# Request-specific options
|
286
|
-
#
|
287
|
-
# @yield [result, err] Result & error if block supplied
|
288
|
-
# @yieldparam result [Google::Apis::FileV1::Operation] parsed result object
|
289
|
-
# @yieldparam err [StandardError] error object if request failed
|
290
|
-
#
|
291
|
-
# @return [Google::Apis::FileV1::Operation]
|
292
|
-
#
|
293
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
294
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
295
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
296
|
-
def patch_project_location_instance(name, instance_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
297
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
298
|
-
command.request_representation = Google::Apis::FileV1::Instance::Representation
|
299
|
-
command.request_object = instance_object
|
300
|
-
command.response_representation = Google::Apis::FileV1::Operation::Representation
|
301
|
-
command.response_class = Google::Apis::FileV1::Operation
|
302
|
-
command.params['name'] = name unless name.nil?
|
303
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
304
|
-
command.query['fields'] = fields unless fields.nil?
|
305
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
306
|
-
execute_or_queue_command(command, &block)
|
307
|
-
end
|
308
|
-
|
309
119
|
# Starts asynchronous cancellation on a long-running operation. The server
|
310
120
|
# makes a best effort to cancel the operation, but success is not
|
311
121
|
# guaranteed. If the server doesn't support this method, it returns
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/iam/
|
28
28
|
module IamV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20190125'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -871,6 +871,10 @@ module Google
|
|
871
871
|
execute_or_queue_command(command, &block)
|
872
872
|
end
|
873
873
|
|
874
|
+
# **Note**: This method is in the process of being deprecated. Call the
|
875
|
+
# [`signBlob()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/
|
876
|
+
# signBlob)
|
877
|
+
# method of the Cloud IAM Service Account Credentials API instead.
|
874
878
|
# Signs a blob using a service account's system-managed private key.
|
875
879
|
# @param [String] name
|
876
880
|
# The resource name of the service account in the following format:
|
@@ -908,6 +912,10 @@ module Google
|
|
908
912
|
execute_or_queue_command(command, &block)
|
909
913
|
end
|
910
914
|
|
915
|
+
# **Note**: This method is in the process of being deprecated. Call the
|
916
|
+
# [`signJwt()`](/iam/credentials/reference/rest/v1/projects.serviceAccounts/
|
917
|
+
# signJwt)
|
918
|
+
# method of the Cloud IAM Service Account Credentials API instead.
|
911
919
|
# Signs a JWT using a service account's system-managed private key.
|
912
920
|
# If no expiry time (`exp`) is provided in the `SignJwtRequest`, IAM sets an
|
913
921
|
# an expiry time of one hour by default. If you request an expiry time of
|
@@ -147,6 +147,78 @@ module Google
|
|
147
147
|
end
|
148
148
|
end
|
149
149
|
|
150
|
+
# An event issued when an end user interacts with the application that
|
151
|
+
# implements Cloud Talent Solution. Providing this information improves the
|
152
|
+
# quality of search and recommendation for the API clients, enabling the
|
153
|
+
# service to perform optimally. The number of events sent must be consistent
|
154
|
+
# with other calls, such as job searches, issued to the service by the client.
|
155
|
+
class ClientEvent
|
156
|
+
include Google::Apis::Core::Hashable
|
157
|
+
|
158
|
+
# Required.
|
159
|
+
# The timestamp of the event.
|
160
|
+
# Corresponds to the JSON property `createTime`
|
161
|
+
# @return [String]
|
162
|
+
attr_accessor :create_time
|
163
|
+
|
164
|
+
# Required.
|
165
|
+
# A unique identifier, generated by the client application. This `event_id`
|
166
|
+
# is used to establish the relationship between different events
|
167
|
+
# (see parent_event_id).
|
168
|
+
# Corresponds to the JSON property `eventId`
|
169
|
+
# @return [String]
|
170
|
+
attr_accessor :event_id
|
171
|
+
|
172
|
+
# Optional.
|
173
|
+
# Extra information about this event. Used for storing information with no
|
174
|
+
# matching field in event payload, for example, user application specific
|
175
|
+
# context or details.
|
176
|
+
# At most 20 keys are supported. The maximum total size of all keys and
|
177
|
+
# values is 2 KB.
|
178
|
+
# Corresponds to the JSON property `extraInfo`
|
179
|
+
# @return [Hash<String,String>]
|
180
|
+
attr_accessor :extra_info
|
181
|
+
|
182
|
+
# An event issued when a job seeker interacts with the application that
|
183
|
+
# implements Cloud Talent Solution.
|
184
|
+
# Corresponds to the JSON property `jobEvent`
|
185
|
+
# @return [Google::Apis::JobsV3::JobEvent]
|
186
|
+
attr_accessor :job_event
|
187
|
+
|
188
|
+
# Required except the first event.
|
189
|
+
# The event_id of an event that resulted in the current event. For example, a
|
190
|
+
# Job view event usually follows a parent
|
191
|
+
# impression event: A job seeker first does a
|
192
|
+
# search where a list of jobs appears
|
193
|
+
# (impression). The job seeker then selects a
|
194
|
+
# result and views the description of a particular job (Job
|
195
|
+
# view).
|
196
|
+
# Corresponds to the JSON property `parentEventId`
|
197
|
+
# @return [String]
|
198
|
+
attr_accessor :parent_event_id
|
199
|
+
|
200
|
+
# Required.
|
201
|
+
# A unique ID generated in the API responses. It can be found in
|
202
|
+
# ResponseMetadata.request_id.
|
203
|
+
# Corresponds to the JSON property `requestId`
|
204
|
+
# @return [String]
|
205
|
+
attr_accessor :request_id
|
206
|
+
|
207
|
+
def initialize(**args)
|
208
|
+
update!(**args)
|
209
|
+
end
|
210
|
+
|
211
|
+
# Update properties of this object
|
212
|
+
def update!(**args)
|
213
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
214
|
+
@event_id = args[:event_id] if args.key?(:event_id)
|
215
|
+
@extra_info = args[:extra_info] if args.key?(:extra_info)
|
216
|
+
@job_event = args[:job_event] if args.key?(:job_event)
|
217
|
+
@parent_event_id = args[:parent_event_id] if args.key?(:parent_event_id)
|
218
|
+
@request_id = args[:request_id] if args.key?(:request_id)
|
219
|
+
end
|
220
|
+
end
|
221
|
+
|
150
222
|
# Input only.
|
151
223
|
# Parameters needed for commute search.
|
152
224
|
class CommuteFilter
|
@@ -682,6 +754,29 @@ module Google
|
|
682
754
|
end
|
683
755
|
end
|
684
756
|
|
757
|
+
# The report event request.
|
758
|
+
class CreateClientEventRequest
|
759
|
+
include Google::Apis::Core::Hashable
|
760
|
+
|
761
|
+
# An event issued when an end user interacts with the application that
|
762
|
+
# implements Cloud Talent Solution. Providing this information improves the
|
763
|
+
# quality of search and recommendation for the API clients, enabling the
|
764
|
+
# service to perform optimally. The number of events sent must be consistent
|
765
|
+
# with other calls, such as job searches, issued to the service by the client.
|
766
|
+
# Corresponds to the JSON property `clientEvent`
|
767
|
+
# @return [Google::Apis::JobsV3::ClientEvent]
|
768
|
+
attr_accessor :client_event
|
769
|
+
|
770
|
+
def initialize(**args)
|
771
|
+
update!(**args)
|
772
|
+
end
|
773
|
+
|
774
|
+
# Update properties of this object
|
775
|
+
def update!(**args)
|
776
|
+
@client_event = args[:client_event] if args.key?(:client_event)
|
777
|
+
end
|
778
|
+
end
|
779
|
+
|
685
780
|
# Input only.
|
686
781
|
# The Request of the CreateCompany method.
|
687
782
|
class CreateCompanyRequest
|
@@ -1211,9 +1306,9 @@ module Google
|
|
1211
1306
|
# The job PostingRegion (for example, state, country) throughout which
|
1212
1307
|
# the job is available. If this field is set, a
|
1213
1308
|
# LocationFilter in a search query within the job region
|
1214
|
-
# finds this job posting if an exact location match
|
1215
|
-
# If this field is set to PostingRegion.
|
1216
|
-
#
|
1309
|
+
# finds this job posting if an exact location match isn't specified.
|
1310
|
+
# If this field is set to PostingRegion.NATION or
|
1311
|
+
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
|
1217
1312
|
# to the same location level as this field is strongly recommended.
|
1218
1313
|
# Corresponds to the JSON property `postingRegion`
|
1219
1314
|
# @return [String]
|
@@ -1355,6 +1450,38 @@ module Google
|
|
1355
1450
|
end
|
1356
1451
|
end
|
1357
1452
|
|
1453
|
+
# An event issued when a job seeker interacts with the application that
|
1454
|
+
# implements Cloud Talent Solution.
|
1455
|
+
class JobEvent
|
1456
|
+
include Google::Apis::Core::Hashable
|
1457
|
+
|
1458
|
+
# Required.
|
1459
|
+
# The job name(s) associated with this event.
|
1460
|
+
# For example, if this is an impression event,
|
1461
|
+
# this field contains the identifiers of all jobs shown to the job seeker.
|
1462
|
+
# If this was a view event, this field contains the
|
1463
|
+
# identifier of the viewed job.
|
1464
|
+
# Corresponds to the JSON property `jobs`
|
1465
|
+
# @return [Array<String>]
|
1466
|
+
attr_accessor :jobs
|
1467
|
+
|
1468
|
+
# Required.
|
1469
|
+
# The type of the event (see JobEventType).
|
1470
|
+
# Corresponds to the JSON property `type`
|
1471
|
+
# @return [String]
|
1472
|
+
attr_accessor :type
|
1473
|
+
|
1474
|
+
def initialize(**args)
|
1475
|
+
update!(**args)
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
# Update properties of this object
|
1479
|
+
def update!(**args)
|
1480
|
+
@jobs = args[:jobs] if args.key?(:jobs)
|
1481
|
+
@type = args[:type] if args.key?(:type)
|
1482
|
+
end
|
1483
|
+
end
|
1484
|
+
|
1358
1485
|
# Input only.
|
1359
1486
|
# The query required to perform a search query.
|
1360
1487
|
class JobQuery
|
@@ -46,6 +46,12 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class ClientEvent
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
49
55
|
class CommuteFilter
|
50
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
57
|
|
@@ -118,6 +124,12 @@ module Google
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
127
|
+
class CreateClientEventRequest
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
121
133
|
class CreateCompanyRequest
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
@@ -190,6 +202,12 @@ module Google
|
|
190
202
|
include Google::Apis::Core::JsonObjectSupport
|
191
203
|
end
|
192
204
|
|
205
|
+
class JobEvent
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
193
211
|
class JobQuery
|
194
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
213
|
|
@@ -349,6 +367,19 @@ module Google
|
|
349
367
|
end
|
350
368
|
end
|
351
369
|
|
370
|
+
class ClientEvent
|
371
|
+
# @private
|
372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
373
|
+
property :create_time, as: 'createTime'
|
374
|
+
property :event_id, as: 'eventId'
|
375
|
+
hash :extra_info, as: 'extraInfo'
|
376
|
+
property :job_event, as: 'jobEvent', class: Google::Apis::JobsV3::JobEvent, decorator: Google::Apis::JobsV3::JobEvent::Representation
|
377
|
+
|
378
|
+
property :parent_event_id, as: 'parentEventId'
|
379
|
+
property :request_id, as: 'requestId'
|
380
|
+
end
|
381
|
+
end
|
382
|
+
|
352
383
|
class CommuteFilter
|
353
384
|
# @private
|
354
385
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -484,6 +515,14 @@ module Google
|
|
484
515
|
end
|
485
516
|
end
|
486
517
|
|
518
|
+
class CreateClientEventRequest
|
519
|
+
# @private
|
520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
521
|
+
property :client_event, as: 'clientEvent', class: Google::Apis::JobsV3::ClientEvent, decorator: Google::Apis::JobsV3::ClientEvent::Representation
|
522
|
+
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
487
526
|
class CreateCompanyRequest
|
488
527
|
# @private
|
489
528
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -624,6 +663,14 @@ module Google
|
|
624
663
|
end
|
625
664
|
end
|
626
665
|
|
666
|
+
class JobEvent
|
667
|
+
# @private
|
668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
669
|
+
collection :jobs, as: 'jobs'
|
670
|
+
property :type, as: 'type'
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
627
674
|
class JobQuery
|
628
675
|
# @private
|
629
676
|
class Representation < Google::Apis::Core::JsonRepresentation
|