Autogenerated update (2019-05-16)

Update:
- content_v2
- content_v2_1
- dialogflow_v2beta1
- language_v1
- language_v1beta2
- storagetransfer_v1
- youtube_v3
This commit is contained in:
Google APIs 2019-05-16 00:37:23 +00:00
parent ad7ce6e120
commit 4dc7b90293
13 changed files with 102 additions and 74 deletions

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2
VERSION = 'V2'
REVISION = '20190503'
REVISION = '20190513'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -2684,15 +2684,11 @@ module Google
# The maximum number of orders to return in the response, used for paging. The
# default value is 25 orders per page, and the maximum allowed value is 250
# orders per page.
# Known issue: All List calls will return all Orders without limit regardless of
# the value of this field.
# @param [String] order_by
# The ordering of the returned list. The only supported value are placedDate
# desc and placedDate asc for now, which returns orders sorted by placement date.
# "placedDate desc" stands for listing orders by placement date, from oldest to
# most recent. "placedDate asc" stands for listing orders by placement date,
# from most recent to oldest. In future releases we'll support other sorting
# criteria.
# Order results by placement date in descending or ascending order.
# Acceptable values are:
# - placedDateAsc
# - placedDateDesc
# @param [String] page_token
# The token returned by the previous request.
# @param [String] placed_date_end
@ -2703,7 +2699,7 @@ module Google
# Obtains orders that match any of the specified statuses. Multiple values can
# be specified with comma separation. Additionally, please note that active is a
# shortcut for pendingShipment and partiallyShipped, and completed is a shortcut
# for shipped , partiallyDelivered, delivered, partiallyReturned, returned, and
# for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and
# canceled.
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/shopping-content
module ContentV2_1
VERSION = 'V2_1'
REVISION = '20190503'
REVISION = '20190513'
# Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content'

View File

@ -2173,15 +2173,11 @@ module Google
# The maximum number of orders to return in the response, used for paging. The
# default value is 25 orders per page, and the maximum allowed value is 250
# orders per page.
# Known issue: All List calls will return all Orders without limit regardless of
# the value of this field.
# @param [String] order_by
# The ordering of the returned list. The only supported value are placedDate
# desc and placedDate asc for now, which returns orders sorted by placement date.
# "placedDate desc" stands for listing orders by placement date, from oldest to
# most recent. "placedDate asc" stands for listing orders by placement date,
# from most recent to oldest. In future releases we'll support other sorting
# criteria.
# Order results by placement date in descending or ascending order.
# Acceptable values are:
# - placedDateAsc
# - placedDateDesc
# @param [String] page_token
# The token returned by the previous request.
# @param [String] placed_date_end
@ -2192,7 +2188,7 @@ module Google
# Obtains orders that match any of the specified statuses. Multiple values can
# be specified with comma separation. Additionally, please note that active is a
# shortcut for pendingShipment and partiallyShipped, and completed is a shortcut
# for shipped , partiallyDelivered, delivered, partiallyReturned, returned, and
# for shipped, partiallyDelivered, delivered, partiallyReturned, returned, and
# canceled.
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2beta1
VERSION = 'V2beta1'
REVISION = '20190506'
REVISION = '20190514'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -277,8 +277,8 @@ module Google
# @return [String]
attr_accessor :action
# Optional. The list of platforms for which the first response will be
# taken from among the messages assigned to the DEFAULT_PLATFORM.
# Optional. The list of platforms for which the first responses will be
# copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
# Corresponds to the JSON property `defaultResponsePlatforms`
# @return [Array<String>]
attr_accessor :default_response_platforms
@ -2117,8 +2117,8 @@ module Google
end
# A document resource.
# Note: resource `projects.agent.knowledgeBases.documents` is deprecated,
# please use `projects.knowledgeBases.documents` instead.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
class GoogleCloudDialogflowV2beta1Document
include Google::Apis::Core::Hashable
@ -2521,8 +2521,8 @@ module Google
# @return [String]
attr_accessor :action
# Optional. The list of platforms for which the first response will be
# taken from among the messages assigned to the DEFAULT_PLATFORM.
# Optional. The list of platforms for which the first responses will be
# copied from the messages in PLATFORM_UNSPECIFIED (i.e. default platform).
# Corresponds to the JSON property `defaultResponsePlatforms`
# @return [Array<String>]
attr_accessor :default_response_platforms
@ -3672,8 +3672,8 @@ module Google
end
# Represents knowledge base resource.
# Note: resource `projects.agent.knowledgeBases` is deprecated, please use
# `projects.knowledgeBases` instead.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
class GoogleCloudDialogflowV2beta1KnowledgeBase
include Google::Apis::Core::Hashable

View File

@ -1415,6 +1415,8 @@ module Google
end
# Creates a knowledge base.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
# @param [String] parent
# Required. The project to create a knowledge base for.
# Format: `projects/<Project ID>`.
@ -1449,6 +1451,8 @@ module Google
end
# Deletes the specified knowledge base.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
# @param [String] name
# Required. The name of the knowledge base to delete.
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@ -1484,6 +1488,8 @@ module Google
end
# Retrieves the specified knowledge base.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
# @param [String] name
# Required. The name of the knowledge base to retrieve.
# Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@ -1515,6 +1521,8 @@ module Google
end
# Returns the list of all knowledge bases of the specified agent.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
# @param [String] parent
# Required. The project to list of knowledge bases for.
# Format: `projects/<Project ID>`.
@ -1553,6 +1561,8 @@ module Google
end
# Updates the specified knowledge base.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
# @param [String] name
# The knowledge base resource name.
# The name must be empty when creating a knowledge base.
@ -1593,6 +1603,8 @@ module Google
end
# Creates a new document.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# Operation <response: Document,
# metadata: KnowledgeOperationMetadata>
# @param [String] parent
@ -1629,6 +1641,8 @@ module Google
end
# Deletes the specified document.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# Operation <response: google.protobuf.Empty,
# metadata: KnowledgeOperationMetadata>
# @param [String] name
@ -1663,6 +1677,8 @@ module Google
end
# Retrieves the specified document.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# @param [String] name
# Required. The name of the document to retrieve.
# Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
@ -1695,6 +1711,8 @@ module Google
end
# Returns the list of all documents of the knowledge base.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# @param [String] parent
# Required. The knowledge base to list all documents for.
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@ -1733,6 +1751,8 @@ module Google
end
# Updates the specified document.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# Operation <response: Document,
# metadata: KnowledgeOperationMetadata>
# @param [String] name
@ -1779,6 +1799,8 @@ module Google
# content. The previously loaded content of the document will be deleted.
# Note: Even when the content of the document has not changed, there still
# may be side effects because of internal implementation changes.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# Operation <response: Document,
# metadata: KnowledgeOperationMetadata>
# @param [String] name
@ -2284,6 +2306,8 @@ module Google
end
# Creates a knowledge base.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
# @param [String] parent
# Required. The project to create a knowledge base for.
# Format: `projects/<Project ID>`.
@ -2318,6 +2342,8 @@ module Google
end
# Deletes the specified knowledge base.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
# @param [String] name
# Required. The name of the knowledge base to delete.
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@ -2353,6 +2379,8 @@ module Google
end
# Retrieves the specified knowledge base.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
# @param [String] name
# Required. The name of the knowledge base to retrieve.
# Format `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@ -2384,6 +2412,8 @@ module Google
end
# Returns the list of all knowledge bases of the specified agent.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
# @param [String] parent
# Required. The project to list of knowledge bases for.
# Format: `projects/<Project ID>`.
@ -2422,6 +2452,8 @@ module Google
end
# Updates the specified knowledge base.
# Note: The `projects.agent.knowledgeBases` resource is deprecated;
# only use `projects.knowledgeBases`.
# @param [String] name
# The knowledge base resource name.
# The name must be empty when creating a knowledge base.
@ -2462,6 +2494,8 @@ module Google
end
# Creates a new document.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# Operation <response: Document,
# metadata: KnowledgeOperationMetadata>
# @param [String] parent
@ -2498,6 +2532,8 @@ module Google
end
# Deletes the specified document.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# Operation <response: google.protobuf.Empty,
# metadata: KnowledgeOperationMetadata>
# @param [String] name
@ -2532,6 +2568,8 @@ module Google
end
# Retrieves the specified document.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# @param [String] name
# Required. The name of the document to retrieve.
# Format `projects/<Project ID>/knowledgeBases/<Knowledge Base
@ -2564,6 +2602,8 @@ module Google
end
# Returns the list of all documents of the knowledge base.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# @param [String] parent
# Required. The knowledge base to list all documents for.
# Format: `projects/<Project ID>/knowledgeBases/<Knowledge Base ID>`.
@ -2602,6 +2642,8 @@ module Google
end
# Updates the specified document.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# Operation <response: Document,
# metadata: KnowledgeOperationMetadata>
# @param [String] name
@ -2648,6 +2690,8 @@ module Google
# content. The previously loaded content of the document will be deleted.
# Note: Even when the content of the document has not changed, there still
# may be side effects because of internal implementation changes.
# Note: The `projects.agent.knowledgeBases.documents` resource is deprecated;
# only use `projects.knowledgeBases.documents`.
# Operation <response: Document,
# metadata: KnowledgeOperationMetadata>
# @param [String] name

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/natural-language/
module LanguageV1
VERSION = 'V1'
REVISION = '20190423'
REVISION = '20190514'
# Apply machine learning models to reveal the structure and meaning of text
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/natural-language/
module LanguageV1beta2
VERSION = 'V1beta2'
REVISION = '20190423'
REVISION = '20190514'
# Apply machine learning models to reveal the structure and meaning of text
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language'

View File

@ -26,7 +26,7 @@ module Google
# @see https://cloud.google.com/storage-transfer/docs
module StoragetransferV1
VERSION = 'V1'
REVISION = '20190429'
REVISION = '20190513'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -29,14 +29,13 @@ module Google
class AwsAccessKey
include Google::Apis::Core::Hashable
# AWS access key ID.
# Required.
# Required. AWS access key ID.
# Corresponds to the JSON property `accessKeyId`
# @return [String]
attr_accessor :access_key_id
# AWS secret access key. This field is not returned in RPC responses.
# Required.
# Required. AWS secret access key. This field is not returned in RPC
# responses.
# Corresponds to the JSON property `secretAccessKey`
# @return [String]
attr_accessor :secret_access_key
@ -65,11 +64,10 @@ module Google
# @return [Google::Apis::StoragetransferV1::AwsAccessKey]
attr_accessor :aws_access_key
# S3 Bucket name (see
# Required. S3 Bucket name (see
# [Creating a
# bucket](http://docs.aws.amazon.com/AmazonS3/latest/dev/create-bucket-get-
# location-example.html)).
# Required.
# Corresponds to the JSON property `bucketName`
# @return [String]
attr_accessor :bucket_name
@ -155,9 +153,8 @@ module Google
# @return [Array<String>]
attr_accessor :error_details
# A URL that refers to the target (a data source, a data sink,
# Required. A URL that refers to the target (a data source, a data sink,
# or an object) with which the error is associated.
# Required.
# Corresponds to the JSON property `url`
# @return [String]
attr_accessor :url
@ -183,8 +180,7 @@ module Google
# @return [String]
attr_accessor :error_code
# Count of this type of error.
# Required.
# Required. Count of this type of error.
# Corresponds to the JSON property `errorCount`
# @return [Fixnum]
attr_accessor :error_count
@ -214,10 +210,9 @@ module Google
class GcsData
include Google::Apis::Core::Hashable
# Google Cloud Storage bucket name (see
# Required. Google Cloud Storage bucket name (see
# [Bucket Name
# Requirements](https://cloud.google.com/storage/docs/naming#requirements)).
# Required.
# Corresponds to the JSON property `bucketName`
# @return [String]
attr_accessor :bucket_name
@ -236,7 +231,7 @@ module Google
class GoogleServiceAccount
include Google::Apis::Core::Hashable
# Required.
# Email address of the service account.
# Corresponds to the JSON property `accountEmail`
# @return [String]
attr_accessor :account_email
@ -285,10 +280,9 @@ module Google
class HttpData
include Google::Apis::Core::Hashable
# The URL that points to the file that stores the object list entries.
# This file must allow public access. Currently, only URLs with HTTP and
# HTTPS schemes are supported.
# Required.
# Required. The URL that points to the file that stores the object list
# entries. This file must allow public access. Currently, only URLs with
# HTTP and HTTPS schemes are supported.
# Corresponds to the JSON property `listUrl`
# @return [String]
attr_accessor :list_url
@ -929,7 +923,6 @@ module Google
attr_accessor :name
# The ID of the Google Cloud Platform Project that owns the operation.
# Required.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id
@ -1101,8 +1094,8 @@ module Google
class UpdateTransferJobRequest
include Google::Apis::Core::Hashable
# The ID of the Google Cloud Platform Console project that owns the job.
# Required.
# Required. The ID of the Google Cloud Platform Console project that owns the
# job.
# Corresponds to the JSON property `projectId`
# @return [String]
attr_accessor :project_id

View File

@ -57,9 +57,8 @@ module Google
# account is created and owned by Storage Transfer Service and can
# only be used by Storage Transfer Service.
# @param [String] project_id
# The ID of the Google Cloud Platform Console project that the Google service
# account is associated with.
# Required.
# Required. The ID of the Google Cloud Platform Console project that the
# Google service account is associated with.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -119,11 +118,10 @@ module Google
# Gets a transfer job.
# @param [String] job_name
# The job to get.
# Required.
# Required. The job to get.
# @param [String] project_id
# The ID of the Google Cloud Platform Console project that owns the job.
# Required.
# Required. The ID of the Google Cloud Platform Console project that owns the
# job.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
@ -154,7 +152,7 @@ module Google
# Lists transfer jobs.
# @param [String] filter
# A list of query parameters specified as JSON text in the form of
# Required. A list of query parameters specified as JSON text in the form of:
# `"project_id":"my_project_id",
# "job_names":["jobid1","jobid2",...],
# "job_statuses":["status1","status2",...]`.
@ -199,8 +197,7 @@ module Google
# transfer operations that are running already. Updating the scheduling
# of a job is not allowed.
# @param [String] job_name
# The name of job to update.
# Required.
# Required. The name of job to update.
# @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -334,14 +331,18 @@ module Google
# collection id, however overriding users must ensure the name binding
# is the parent resource, without the operations collection id.
# @param [String] name
# The value `transferOperations`.
# Required. The value `transferOperations`.
# @param [String] filter
# A list of query parameters specified as JSON text in the form of `\"project_id\
# " : \"my_project_id\", \"job_names\" : [\"jobid1\", \"jobid2\",...], \"
# operation_names\" : [\"opid1\", \"opid2\",...], \"transfer_statuses\":[\"
# status1\", \"status2\",...]`. Since `job_names`, `operation_names`, and `
# transfer_statuses` support multiple values, they must be specified with array
# notation. `job_names`, `operation_names`, and `transfer_statuses` are optional.
# Required. A list of query parameters specified as JSON text in the form of: `"
# project_id":"my_project_id",
# "job_names":["jobid1","jobid2",...],
# "operation_names":["opid1","opid2",...],
# "transfer_statuses":["status1","status2",...]`.
# Since `job_names`, `operation_names`, and `transfer_statuses` support multiple
# values, they must be specified with array notation. `project_id` is required. `
# job_names`, `operation_names`, and `transfer_statuses` are optional. The valid
# values for `transfer_statuses` are case-insensitive: `IN_PROGRESS`, `PAUSED`, `
# SUCCESS`, `FAILED`, and `ABORTED`.
# @param [Fixnum] page_size
# The list page size. The max allowed value is 256.
# @param [String] page_token
@ -378,8 +379,7 @@ module Google
# Pauses a transfer operation.
# @param [String] name
# The name of the transfer operation.
# Required.
# Required. The name of the transfer operation.
# @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@ -412,8 +412,7 @@ module Google
# Resumes a transfer operation that is paused.
# @param [String] name
# The name of the transfer operation.
# Required.
# Required. The name of the transfer operation.
# @param [Google::Apis::StoragetransferV1::ResumeTransferOperationRequest] resume_transfer_operation_request_object
# @param [String] fields
# Selector specifying which fields to include in a partial response.

View File

@ -26,7 +26,7 @@ module Google
# @see https://developers.google.com/youtube/v3
module YoutubeV3
VERSION = 'V3'
REVISION = '20190415'
REVISION = '20190513'
# Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'