Autogenerated update (2019-02-27)
Update: - cloudkms_v1 - fitness_v1 - tasks_v1
This commit is contained in:
parent
597e9c7606
commit
ca22914882
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/kms/
|
# @see https://cloud.google.com/kms/
|
||||||
module CloudkmsV1
|
module CloudkmsV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190104'
|
REVISION = '20190222'
|
||||||
|
|
||||||
# View and manage your data across Google Cloud Platform services
|
# View and manage your data across Google Cloud Platform services
|
||||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||||
|
|
|
@ -242,7 +242,7 @@ module Google
|
||||||
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
||||||
# * `group:`emailid``: An email address that represents a Google group.
|
# * `group:`emailid``: An email address that represents a Google group.
|
||||||
# For example, `admins@example.com`.
|
# For example, `admins@example.com`.
|
||||||
# * `domain:`domain``: A Google Apps domain name that represents all the
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
||||||
# users of that domain. For example, `google.com` or `example.com`.
|
# users of that domain. For example, `google.com` or `example.com`.
|
||||||
# Corresponds to the JSON property `members`
|
# Corresponds to the JSON property `members`
|
||||||
# @return [Array<String>]
|
# @return [Array<String>]
|
||||||
|
@ -373,7 +373,9 @@ module Google
|
||||||
# @return [String]
|
# @return [String]
|
||||||
attr_accessor :algorithm
|
attr_accessor :algorithm
|
||||||
|
|
||||||
# Contains an HSM-generated attestation about a key operation.
|
# Contains an HSM-generated attestation about a key operation. For more
|
||||||
|
# information, see [Verifying attestations]
|
||||||
|
# (https://cloud.google.com/kms/docs/attest-key).
|
||||||
# Corresponds to the JSON property `attestation`
|
# Corresponds to the JSON property `attestation`
|
||||||
# @return [Google::Apis::CloudkmsV1::KeyOperationAttestation]
|
# @return [Google::Apis::CloudkmsV1::KeyOperationAttestation]
|
||||||
attr_accessor :attestation
|
attr_accessor :attestation
|
||||||
|
@ -680,7 +682,9 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
# Contains an HSM-generated attestation about a key operation.
|
# Contains an HSM-generated attestation about a key operation. For more
|
||||||
|
# information, see [Verifying attestations]
|
||||||
|
# (https://cloud.google.com/kms/docs/attest-key).
|
||||||
class KeyOperationAttestation
|
class KeyOperationAttestation
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://developers.google.com/fit/rest/
|
# @see https://developers.google.com/fit/rest/
|
||||||
module FitnessV1
|
module FitnessV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190218'
|
REVISION = '20190225'
|
||||||
|
|
||||||
# View your activity information in Google Fit
|
# View your activity information in Google Fit
|
||||||
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
AUTH_FITNESS_ACTIVITY_READ = 'https://www.googleapis.com/auth/fitness.activity.read'
|
||||||
|
|
|
@ -210,50 +210,6 @@ module Google
|
||||||
execute_or_queue_command(command, &block)
|
execute_or_queue_command(command, &block)
|
||||||
end
|
end
|
||||||
|
|
||||||
# Updates the specified data source. The dataStreamId, dataType, type,
|
|
||||||
# dataStreamName, and device properties with the exception of version, cannot be
|
|
||||||
# modified.
|
|
||||||
# Data sources are identified by their dataStreamId. This method supports patch
|
|
||||||
# semantics.
|
|
||||||
# @param [String] user_id
|
|
||||||
# Update the data source for the person identified. Use me to indicate the
|
|
||||||
# authenticated user. Only me is supported at this time.
|
|
||||||
# @param [String] data_source_id
|
|
||||||
# The data stream ID of the data source to update.
|
|
||||||
# @param [Google::Apis::FitnessV1::DataSource] data_source_object
|
|
||||||
# @param [String] fields
|
|
||||||
# Selector specifying which fields to include in a partial response.
|
|
||||||
# @param [String] quota_user
|
|
||||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
||||||
# characters.
|
|
||||||
# @param [String] user_ip
|
|
||||||
# Deprecated. Please use quotaUser instead.
|
|
||||||
# @param [Google::Apis::RequestOptions] options
|
|
||||||
# Request-specific options
|
|
||||||
#
|
|
||||||
# @yield [result, err] Result & error if block supplied
|
|
||||||
# @yieldparam result [Google::Apis::FitnessV1::DataSource] parsed result object
|
|
||||||
# @yieldparam err [StandardError] error object if request failed
|
|
||||||
#
|
|
||||||
# @return [Google::Apis::FitnessV1::DataSource]
|
|
||||||
#
|
|
||||||
# @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 patch_user_data_source(user_id, data_source_id, data_source_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
||||||
command = make_simple_command(:patch, '{userId}/dataSources/{dataSourceId}', options)
|
|
||||||
command.request_representation = Google::Apis::FitnessV1::DataSource::Representation
|
|
||||||
command.request_object = data_source_object
|
|
||||||
command.response_representation = Google::Apis::FitnessV1::DataSource::Representation
|
|
||||||
command.response_class = Google::Apis::FitnessV1::DataSource
|
|
||||||
command.params['userId'] = user_id unless user_id.nil?
|
|
||||||
command.params['dataSourceId'] = data_source_id unless data_source_id.nil?
|
|
||||||
command.query['fields'] = fields unless fields.nil?
|
|
||||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
||||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
||||||
execute_or_queue_command(command, &block)
|
|
||||||
end
|
|
||||||
|
|
||||||
# Updates the specified data source. The dataStreamId, dataType, type,
|
# Updates the specified data source. The dataStreamId, dataType, type,
|
||||||
# dataStreamName, and device properties with the exception of version, cannot be
|
# dataStreamName, and device properties with the exception of version, cannot be
|
||||||
# modified.
|
# modified.
|
||||||
|
|
|
@ -20,12 +20,12 @@ module Google
|
||||||
module Apis
|
module Apis
|
||||||
# Tasks API
|
# Tasks API
|
||||||
#
|
#
|
||||||
# Lets you manage your tasks and task lists.
|
# Manages your tasks and task lists.
|
||||||
#
|
#
|
||||||
# @see https://developers.google.com/google-apps/tasks/firstapp
|
# @see https://developers.google.com/google-apps/tasks/firstapp
|
||||||
module TasksV1
|
module TasksV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20141121'
|
REVISION = '20190222'
|
||||||
|
|
||||||
# Create, edit, organize, and delete all your tasks
|
# Create, edit, organize, and delete all your tasks
|
||||||
AUTH_TASKS = 'https://www.googleapis.com/auth/tasks'
|
AUTH_TASKS = 'https://www.googleapis.com/auth/tasks'
|
||||||
|
|
|
@ -22,7 +22,7 @@ module Google
|
||||||
module TasksV1
|
module TasksV1
|
||||||
# Tasks API
|
# Tasks API
|
||||||
#
|
#
|
||||||
# Lets you manage your tasks and task lists.
|
# Manages your tasks and task lists.
|
||||||
#
|
#
|
||||||
# @example
|
# @example
|
||||||
# require 'google/apis/tasks_v1'
|
# require 'google/apis/tasks_v1'
|
||||||
|
@ -150,8 +150,8 @@ module Google
|
||||||
|
|
||||||
# Returns all the authenticated user's task lists.
|
# Returns all the authenticated user's task lists.
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of task lists returned on one page. Optional. The default is
|
# Maximum number of task lists returned on one page. Optional. The default is 20
|
||||||
# 100.
|
# (max allowed: 100).
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Token specifying the result page to return. Optional.
|
# Token specifying the result page to return. Optional.
|
||||||
# @param [String] fields
|
# @param [String] fields
|
||||||
|
@ -421,8 +421,8 @@ module Google
|
||||||
# Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by.
|
# Lower bound for a task's due date (as a RFC 3339 timestamp) to filter by.
|
||||||
# Optional. The default is not to filter by due date.
|
# Optional. The default is not to filter by due date.
|
||||||
# @param [Fixnum] max_results
|
# @param [Fixnum] max_results
|
||||||
# Maximum number of task lists returned on one page. Optional. The default is
|
# Maximum number of task lists returned on one page. Optional. The default is 20
|
||||||
# 100.
|
# (max allowed: 100).
|
||||||
# @param [String] page_token
|
# @param [String] page_token
|
||||||
# Token specifying the result page to return. Optional.
|
# Token specifying the result page to return. Optional.
|
||||||
# @param [Boolean] show_completed
|
# @param [Boolean] show_completed
|
||||||
|
|
Loading…
Reference in New Issue