Autogenerated update (2019-01-29)
Update: - admin_reports_v1 - androidenterprise_v1 - cloudbuild_v1alpha1 - remotebuildexecution_v1 - remotebuildexecution_v1alpha - remotebuildexecution_v2 - vision_v1 - vision_v1p1beta1 - vision_v1p2beta1
This commit is contained in:
1 parent
960a8aa5d3
commit
7a5a40dde8
26 files changed
+8747
-33
No files matched your search
@@ -26,7 +26,7 @@ module Google
|
||||
# @see https://developers.google.com/admin-sdk/reports/
|
||||
module AdminReportsV1
|
||||
VERSION = 'ReportsV1'
|
||||
REVISION = '20181219'
|
||||
REVISION = '20190117'
|
||||
|
||||
# View audit reports for your G Suite domain
|
||||
AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://developers.google.com/android/work/play/emm-api
|
||||
module AndroidenterpriseV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190117'
|
||||
REVISION = '20190123'
|
||||
|
||||
# Manage corporate Android devices
|
||||
AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
|
||||
|
||||
@@ -534,17 +534,17 @@ module Google
|
||||
class AutoInstallConstraint
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Charging state to constrain on.
|
||||
# Charging state constraint.
|
||||
# Corresponds to the JSON property `chargingStateConstraint`
|
||||
# @return [String]
|
||||
attr_accessor :charging_state_constraint
|
||||
|
||||
# The idle state of the device to constrain on.
|
||||
# Device idle state constraint.
|
||||
# Corresponds to the JSON property `deviceIdleStateConstraint`
|
||||
# @return [String]
|
||||
attr_accessor :device_idle_state_constraint
|
||||
|
||||
# Network type to constrain on.
|
||||
# Network type constraint.
|
||||
# Corresponds to the JSON property `networkTypeConstraint`
|
||||
# @return [String]
|
||||
attr_accessor :network_type_constraint
|
||||
@@ -565,23 +565,24 @@ module Google
|
||||
class AutoInstallPolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The constraints for the install. Currently there can be at most one constraint.
|
||||
# Constraints for auto-installing the app. You can specify a maximum of one
|
||||
# constraint.
|
||||
# Corresponds to the JSON property `autoInstallConstraint`
|
||||
# @return [Array<Google::Apis::AndroidenterpriseV1::AutoInstallConstraint>]
|
||||
attr_accessor :auto_install_constraint
|
||||
|
||||
# The auto install mode. If unset defaults to "doNotAutoInstall".
|
||||
# The auto-install mode. If unset defaults to "doNotAutoInstall".
|
||||
# Corresponds to the JSON property `autoInstallMode`
|
||||
# @return [String]
|
||||
attr_accessor :auto_install_mode
|
||||
|
||||
# The priority of the install, as an unsigned integer. Lower number means higher
|
||||
# priority.
|
||||
# The priority of the install, as an unsigned integer. A lower number means
|
||||
# higher priority.
|
||||
# Corresponds to the JSON property `autoInstallPriority`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :auto_install_priority
|
||||
|
||||
# The minimum version of the app. If a lower version of the app is installed
|
||||
# The minimum version of the app. If a lower version of the app is installed,
|
||||
# then the app will be auto-updated according to the auto-install constraints,
|
||||
# instead of waiting for the regular auto-update.
|
||||
# Corresponds to the JSON property `minimumVersionCode`
|
||||
|
||||
@@ -2146,7 +2146,7 @@ module Google
|
||||
# approved apps will be returned (using the pagination parameters), including
|
||||
# apps that are not available in the store (e.g. unpublished apps).
|
||||
# @param [String] token
|
||||
# A pagination token is contained in a request''s response when there are more
|
||||
# A pagination token is contained in a request's response when there are more
|
||||
# products. The token can be used in a subsequent request to obtain more
|
||||
# products, and so forth. This parameter cannot be used in the initial request.
|
||||
# @param [String] fields
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/cloud-build/docs/
|
||||
module CloudbuildV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20190116'
|
||||
REVISION = '20190127'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -691,7 +691,7 @@ module Google
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Network on which the workers are created.
|
||||
# “default” network is used if empty.
|
||||
# "default" network is used if empty.
|
||||
# Corresponds to the JSON property `network`
|
||||
# @return [String]
|
||||
attr_accessor :network
|
||||
@@ -706,7 +706,7 @@ module Google
|
||||
attr_accessor :project_id
|
||||
|
||||
# Subnetwork on which the workers are created.
|
||||
# “default” subnetwork is used if empty.
|
||||
# "default" subnetwork is used if empty.
|
||||
# Corresponds to the JSON property `subnetwork`
|
||||
# @return [String]
|
||||
attr_accessor :subnetwork
|
||||
@@ -1097,7 +1097,7 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :project_id
|
||||
|
||||
# List of regions to create the `WorkerPool`. Regions can’t be empty.
|
||||
# List of regions to create the `WorkerPool`. Regions can't be empty.
|
||||
# If Cloud Build adds a new GCP region in the future, the existing
|
||||
# `WorkerPool` will not be enabled in the new region automatically;
|
||||
# you must add the new region to the `regions` field to enable the
|
||||
|
||||
@@ -0,0 +1,46 @@
|
||||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/docs_v1/service.rb'
|
||||
require 'google/apis/docs_v1/classes.rb'
|
||||
require 'google/apis/docs_v1/representations.rb'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
# Google Docs API
|
||||
#
|
||||
# An API for creating and editing Google Docs documents.
|
||||
#
|
||||
# @see https://developers.google.com/docs/
|
||||
module DocsV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190125'
|
||||
|
||||
# View and manage your Google Docs documents
|
||||
AUTH_DOCUMENTS = 'https://www.googleapis.com/auth/documents'
|
||||
|
||||
# View your Google Docs documents
|
||||
AUTH_DOCUMENTS_READONLY = 'https://www.googleapis.com/auth/documents.readonly'
|
||||
|
||||
# See, edit, create, and delete all of your Google Drive files
|
||||
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
||||
|
||||
# View and manage Google Drive files and folders that you have opened or created with this app
|
||||
AUTH_DRIVE_FILE = 'https://www.googleapis.com/auth/drive.file'
|
||||
|
||||
# See and download all your Google Drive files
|
||||
AUTH_DRIVE_READONLY = 'https://www.googleapis.com/auth/drive.readonly'
|
||||
end
|
||||
end
|
||||
end
|
||||
File diff suppressed because it is too large.
Load diff
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,176 @@
|
||||
# Copyright 2015 Google Inc.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
require 'google/apis/core/base_service'
|
||||
require 'google/apis/core/json_representation'
|
||||
require 'google/apis/core/hashable'
|
||||
require 'google/apis/errors'
|
||||
|
||||
module Google
|
||||
module Apis
|
||||
module DocsV1
|
||||
# Google Docs API
|
||||
#
|
||||
# An API for creating and editing Google Docs documents.
|
||||
#
|
||||
# @example
|
||||
# require 'google/apis/docs_v1'
|
||||
#
|
||||
# Docs = Google::Apis::DocsV1 # Alias the module
|
||||
# service = Docs::DocsService.new
|
||||
#
|
||||
# @see https://developers.google.com/docs/
|
||||
class DocsService < Google::Apis::Core::BaseService
|
||||
# @return [String]
|
||||
# API key. Your API key identifies your project and provides you with API access,
|
||||
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||
attr_accessor :key
|
||||
|
||||
# @return [String]
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
attr_accessor :quota_user
|
||||
|
||||
def initialize
|
||||
super('https://docs.googleapis.com/', '')
|
||||
@batch_path = 'batch'
|
||||
end
|
||||
|
||||
# Applies one or more updates to the document.
|
||||
# Each request is validated before
|
||||
# being applied. If any request is not valid, then the entire request will
|
||||
# fail and nothing will be applied.
|
||||
# Some requests have replies to
|
||||
# give you some information about how they are applied. Other requests do
|
||||
# not need to return information; these each return an empty reply.
|
||||
# The order of replies matches that of the requests.
|
||||
# For example, suppose you call batchUpdate with four updates, and only the
|
||||
# third one returns information. The response would have two empty replies,
|
||||
# the reply to the third request, and another empty reply, in that order.
|
||||
# Because other users may be editing the document, the document
|
||||
# might not exactly reflect your changes: your changes may
|
||||
# be altered with respect to collaborator changes. If there are no
|
||||
# collaborators, the document should reflect your changes. In any case,
|
||||
# the updates in your request are guaranteed to be applied together
|
||||
# atomically.
|
||||
# @param [String] document_id
|
||||
# The ID of the document to update.
|
||||
# @param [Google::Apis::DocsV1::BatchUpdateDocumentRequest] batch_update_document_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DocsV1::BatchUpdateDocumentResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DocsV1::BatchUpdateDocumentResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def batch_update_document(document_id, batch_update_document_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/documents/{documentId}:batchUpdate', options)
|
||||
command.request_representation = Google::Apis::DocsV1::BatchUpdateDocumentRequest::Representation
|
||||
command.request_object = batch_update_document_request_object
|
||||
command.response_representation = Google::Apis::DocsV1::BatchUpdateDocumentResponse::Representation
|
||||
command.response_class = Google::Apis::DocsV1::BatchUpdateDocumentResponse
|
||||
command.params['documentId'] = document_id unless document_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a blank document using the title given in the request. Other fields
|
||||
# in the request, including any provided content, are ignored.
|
||||
# Returns the created document.
|
||||
# @param [Google::Apis::DocsV1::Document] document_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DocsV1::Document] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DocsV1::Document]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_document(document_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/documents', options)
|
||||
command.request_representation = Google::Apis::DocsV1::Document::Representation
|
||||
command.request_object = document_object
|
||||
command.response_representation = Google::Apis::DocsV1::Document::Representation
|
||||
command.response_class = Google::Apis::DocsV1::Document
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the latest version of the specified document.
|
||||
# @param [String] document_id
|
||||
# The ID of the document to retrieve.
|
||||
# @param [String] suggestions_view_mode
|
||||
# The suggestions view mode to apply to the document. This allows viewing the
|
||||
# document with all suggestions inline, accepted or rejected. If one is not
|
||||
# specified, DEFAULT_FOR_CURRENT_ACCESS is
|
||||
# used.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::DocsV1::Document] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::DocsV1::Document]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_document(document_id, suggestions_view_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/documents/{documentId}', options)
|
||||
command.response_representation = Google::Apis::DocsV1::Document::Representation
|
||||
command.response_class = Google::Apis::DocsV1::Document
|
||||
command.params['documentId'] = document_id unless document_id.nil?
|
||||
command.query['suggestionsViewMode'] = suggestions_view_mode unless suggestions_view_mode.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def apply_command_defaults(command)
|
||||
command.query['key'] = key unless key.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -147,6 +147,78 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# An event issued when an end user interacts with the application that
|
||||
# implements Cloud Talent Solution. Providing this information improves the
|
||||
# quality of search and recommendation for the API clients, enabling the
|
||||
# service to perform optimally. The number of events sent must be consistent
|
||||
# with other calls, such as job searches, issued to the service by the client.
|
||||
class ClientEvent
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required.
|
||||
# The timestamp of the event.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# Required.
|
||||
# A unique identifier, generated by the client application. This `event_id`
|
||||
# is used to establish the relationship between different events
|
||||
# (see parent_event_id).
|
||||
# Corresponds to the JSON property `eventId`
|
||||
# @return [String]
|
||||
attr_accessor :event_id
|
||||
|
||||
# Optional.
|
||||
# Extra information about this event. Used for storing information with no
|
||||
# matching field in event payload, for example, user application specific
|
||||
# context or details.
|
||||
# At most 20 keys are supported. The maximum total size of all keys and
|
||||
# values is 2 KB.
|
||||
# Corresponds to the JSON property `extraInfo`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :extra_info
|
||||
|
||||
# An event issued when a job seeker interacts with the application that
|
||||
# implements Cloud Talent Solution.
|
||||
# Corresponds to the JSON property `jobEvent`
|
||||
# @return [Google::Apis::JobsV3::JobEvent]
|
||||
attr_accessor :job_event
|
||||
|
||||
# Required except the first event.
|
||||
# The event_id of an event that resulted in the current event. For example, a
|
||||
# Job view event usually follows a parent
|
||||
# impression event: A job seeker first does a
|
||||
# search where a list of jobs appears
|
||||
# (impression). The job seeker then selects a
|
||||
# result and views the description of a particular job (Job
|
||||
# view).
|
||||
# Corresponds to the JSON property `parentEventId`
|
||||
# @return [String]
|
||||
attr_accessor :parent_event_id
|
||||
|
||||
# Required.
|
||||
# A unique ID generated in the API responses. It can be found in
|
||||
# ResponseMetadata.request_id.
|
||||
# Corresponds to the JSON property `requestId`
|
||||
# @return [String]
|
||||
attr_accessor :request_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@event_id = args[:event_id] if args.key?(:event_id)
|
||||
@extra_info = args[:extra_info] if args.key?(:extra_info)
|
||||
@job_event = args[:job_event] if args.key?(:job_event)
|
||||
@parent_event_id = args[:parent_event_id] if args.key?(:parent_event_id)
|
||||
@request_id = args[:request_id] if args.key?(:request_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Input only.
|
||||
# Parameters needed for commute search.
|
||||
class CommuteFilter
|
||||
@@ -682,6 +754,29 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# The report event request.
|
||||
class CreateClientEventRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# An event issued when an end user interacts with the application that
|
||||
# implements Cloud Talent Solution. Providing this information improves the
|
||||
# quality of search and recommendation for the API clients, enabling the
|
||||
# service to perform optimally. The number of events sent must be consistent
|
||||
# with other calls, such as job searches, issued to the service by the client.
|
||||
# Corresponds to the JSON property `clientEvent`
|
||||
# @return [Google::Apis::JobsV3::ClientEvent]
|
||||
attr_accessor :client_event
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@client_event = args[:client_event] if args.key?(:client_event)
|
||||
end
|
||||
end
|
||||
|
||||
# Input only.
|
||||
# The Request of the CreateCompany method.
|
||||
class CreateCompanyRequest
|
||||
@@ -1211,9 +1306,9 @@ module Google
|
||||
# The job PostingRegion (for example, state, country) throughout which
|
||||
# the job is available. If this field is set, a
|
||||
# LocationFilter in a search query within the job region
|
||||
# finds this job posting if an exact location match is not specified.
|
||||
# If this field is set to PostingRegion.NATION_WIDE or
|
||||
# [PostingRegion.ADMINISTRATIVE_AREA], setting job addresses
|
||||
# finds this job posting if an exact location match isn't specified.
|
||||
# If this field is set to PostingRegion.NATION or
|
||||
# PostingRegion.ADMINISTRATIVE_AREA, setting job Job.addresses
|
||||
# to the same location level as this field is strongly recommended.
|
||||
# Corresponds to the JSON property `postingRegion`
|
||||
# @return [String]
|
||||
@@ -1355,6 +1450,38 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
# An event issued when a job seeker interacts with the application that
|
||||
# implements Cloud Talent Solution.
|
||||
class JobEvent
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Required.
|
||||
# The job name(s) associated with this event.
|
||||
# For example, if this is an impression event,
|
||||
# this field contains the identifiers of all jobs shown to the job seeker.
|
||||
# If this was a view event, this field contains the
|
||||
# identifier of the viewed job.
|
||||
# Corresponds to the JSON property `jobs`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :jobs
|
||||
|
||||
# Required.
|
||||
# The type of the event (see JobEventType).
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@jobs = args[:jobs] if args.key?(:jobs)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# Input only.
|
||||
# The query required to perform a search query.
|
||||
class JobQuery
|
||||
|
||||
@@ -46,6 +46,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ClientEvent
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CommuteFilter
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -118,6 +124,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateClientEventRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class CreateCompanyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -190,6 +202,12 @@ module Google
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class JobEvent
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class JobQuery
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
@@ -349,6 +367,19 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class ClientEvent
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :create_time, as: 'createTime'
|
||||
property :event_id, as: 'eventId'
|
||||
hash :extra_info, as: 'extraInfo'
|
||||
property :job_event, as: 'jobEvent', class: Google::Apis::JobsV3::JobEvent, decorator: Google::Apis::JobsV3::JobEvent::Representation
|
||||
|
||||
property :parent_event_id, as: 'parentEventId'
|
||||
property :request_id, as: 'requestId'
|
||||
end
|
||||
end
|
||||
|
||||
class CommuteFilter
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -484,6 +515,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class CreateClientEventRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :client_event, as: 'clientEvent', class: Google::Apis::JobsV3::ClientEvent, decorator: Google::Apis::JobsV3::ClientEvent::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class CreateCompanyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
@@ -624,6 +663,14 @@ module Google
|
||||
end
|
||||
end
|
||||
|
||||
class JobEvent
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :jobs, as: 'jobs'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class JobQuery
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
||||
@@ -139,6 +139,46 @@ module Google
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Report events issued when end user interacts with customer's application
|
||||
# that uses Cloud Talent Solution. You may inspect the created events in
|
||||
# [self service
|
||||
# tools](https://console.cloud.google.com/talent-solution/overview).
|
||||
# [Learn
|
||||
# more](https://cloud.google.com/talent-solution/job-search/docs/management-
|
||||
# tools)
|
||||
# about self service tools.
|
||||
# @param [String] parent
|
||||
# Parent project name.
|
||||
# @param [Google::Apis::JobsV3::CreateClientEventRequest] create_client_event_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::JobsV3::ClientEvent] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::JobsV3::ClientEvent]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_client_event(parent, create_client_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v3/{+parent}/clientEvents', options)
|
||||
command.request_representation = Google::Apis::JobsV3::CreateClientEventRequest::Representation
|
||||
command.request_object = create_client_event_request_object
|
||||
command.response_representation = Google::Apis::JobsV3::ClientEvent::Representation
|
||||
command.response_class = Google::Apis::JobsV3::ClientEvent
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a new company entity.
|
||||
# @param [String] parent
|
||||
# Required.
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||
module RemotebuildexecutionV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190116'
|
||||
REVISION = '20190122'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -1894,9 +1894,10 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :disk_type
|
||||
|
||||
# Required. Machine type of the worker, such as n1-standard-2.
|
||||
# Required. Machine type of the worker, such as `n1-standard-2`.
|
||||
# See https://cloud.google.com/compute/docs/machine-types for a list of
|
||||
# supported machine types.
|
||||
# supported machine types. Note that `f1-micro` and `g1-small` are not yet
|
||||
# supported.
|
||||
# Corresponds to the JSON property `machineType`
|
||||
# @return [String]
|
||||
attr_accessor :machine_type
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||
module RemotebuildexecutionV1alpha
|
||||
VERSION = 'V1alpha'
|
||||
REVISION = '20190116'
|
||||
REVISION = '20190122'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -1875,9 +1875,10 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :disk_type
|
||||
|
||||
# Required. Machine type of the worker, such as n1-standard-2.
|
||||
# Required. Machine type of the worker, such as `n1-standard-2`.
|
||||
# See https://cloud.google.com/compute/docs/machine-types for a list of
|
||||
# supported machine types.
|
||||
# supported machine types. Note that `f1-micro` and `g1-small` are not yet
|
||||
# supported.
|
||||
# Corresponds to the JSON property `machineType`
|
||||
# @return [String]
|
||||
attr_accessor :machine_type
|
||||
|
||||
@@ -25,7 +25,7 @@ module Google
|
||||
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||
module RemotebuildexecutionV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20190116'
|
||||
REVISION = '20190122'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -2628,9 +2628,10 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :disk_type
|
||||
|
||||
# Required. Machine type of the worker, such as n1-standard-2.
|
||||
# Required. Machine type of the worker, such as `n1-standard-2`.
|
||||
# See https://cloud.google.com/compute/docs/machine-types for a list of
|
||||
# supported machine types.
|
||||
# supported machine types. Note that `f1-micro` and `g1-small` are not yet
|
||||
# supported.
|
||||
# Corresponds to the JSON property `machineType`
|
||||
# @return [String]
|
||||
attr_accessor :machine_type
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190119'
|
||||
REVISION = '20190125'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -70,7 +70,7 @@ module Google
|
||||
end
|
||||
|
||||
# Request for performing Google Cloud Vision API tasks over a user-provided
|
||||
# image, with user-requested features.
|
||||
# image, with user-requested features, and with context information.
|
||||
class AnnotateImageRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20190119'
|
||||
REVISION = '20190125'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -999,7 +999,7 @@ module Google
|
||||
end
|
||||
|
||||
# Request for performing Google Cloud Vision API tasks over a user-provided
|
||||
# image, with user-requested features.
|
||||
# image, with user-requested features, and with context information.
|
||||
class GoogleCloudVisionV1p1beta1AnnotateImageRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ module Google
|
||||
# @see https://cloud.google.com/vision/
|
||||
module VisionV1p2beta1
|
||||
VERSION = 'V1p2beta1'
|
||||
REVISION = '20190119'
|
||||
REVISION = '20190125'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
||||
@@ -2746,7 +2746,7 @@ module Google
|
||||
end
|
||||
|
||||
# Request for performing Google Cloud Vision API tasks over a user-provided
|
||||
# image, with user-requested features.
|
||||
# image, with user-requested features, and with context information.
|
||||
class GoogleCloudVisionV1p2beta1AnnotateImageRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
||||
Reference in new issue
Block a user