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 # @see https://developers.google.com/shopping-content
module ContentV2 module ContentV2
VERSION = 'V2' VERSION = 'V2'
REVISION = '20190503' REVISION = '20190513'
# Manage your product listings and accounts for Google Shopping # Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content' 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 # 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 # default value is 25 orders per page, and the maximum allowed value is 250
# orders per page. # 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 # @param [String] order_by
# The ordering of the returned list. The only supported value are placedDate # Order results by placement date in descending or ascending order.
# desc and placedDate asc for now, which returns orders sorted by placement date. # Acceptable values are:
# "placedDate desc" stands for listing orders by placement date, from oldest to # - placedDateAsc
# most recent. "placedDate asc" stands for listing orders by placement date, # - placedDateDesc
# from most recent to oldest. In future releases we'll support other sorting
# criteria.
# @param [String] page_token # @param [String] page_token
# The token returned by the previous request. # The token returned by the previous request.
# @param [String] placed_date_end # @param [String] placed_date_end
@ -2703,7 +2699,7 @@ module Google
# Obtains orders that match any of the specified statuses. Multiple values can # Obtains orders that match any of the specified statuses. Multiple values can
# be specified with comma separation. Additionally, please note that active is a # be specified with comma separation. Additionally, please note that active is a
# shortcut for pendingShipment and partiallyShipped, and completed is a shortcut # 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. # canceled.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # 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 # @see https://developers.google.com/shopping-content
module ContentV2_1 module ContentV2_1
VERSION = 'V2_1' VERSION = 'V2_1'
REVISION = '20190503' REVISION = '20190513'
# Manage your product listings and accounts for Google Shopping # Manage your product listings and accounts for Google Shopping
AUTH_CONTENT = 'https://www.googleapis.com/auth/content' 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 # 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 # default value is 25 orders per page, and the maximum allowed value is 250
# orders per page. # 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 # @param [String] order_by
# The ordering of the returned list. The only supported value are placedDate # Order results by placement date in descending or ascending order.
# desc and placedDate asc for now, which returns orders sorted by placement date. # Acceptable values are:
# "placedDate desc" stands for listing orders by placement date, from oldest to # - placedDateAsc
# most recent. "placedDate asc" stands for listing orders by placement date, # - placedDateDesc
# from most recent to oldest. In future releases we'll support other sorting
# criteria.
# @param [String] page_token # @param [String] page_token
# The token returned by the previous request. # The token returned by the previous request.
# @param [String] placed_date_end # @param [String] placed_date_end
@ -2192,7 +2188,7 @@ module Google
# Obtains orders that match any of the specified statuses. Multiple values can # Obtains orders that match any of the specified statuses. Multiple values can
# be specified with comma separation. Additionally, please note that active is a # be specified with comma separation. Additionally, please note that active is a
# shortcut for pendingShipment and partiallyShipped, and completed is a shortcut # 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. # canceled.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # 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/ # @see https://cloud.google.com/dialogflow-enterprise/
module DialogflowV2beta1 module DialogflowV2beta1
VERSION = 'V2beta1' VERSION = 'V2beta1'
REVISION = '20190506' REVISION = '20190514'
# 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'

View File

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

View File

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

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/natural-language/ # @see https://cloud.google.com/natural-language/
module LanguageV1 module LanguageV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190423' REVISION = '20190514'
# Apply machine learning models to reveal the structure and meaning of text # Apply machine learning models to reveal the structure and meaning of text
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' 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/ # @see https://cloud.google.com/natural-language/
module LanguageV1beta2 module LanguageV1beta2
VERSION = 'V1beta2' VERSION = 'V1beta2'
REVISION = '20190423' REVISION = '20190514'
# Apply machine learning models to reveal the structure and meaning of text # Apply machine learning models to reveal the structure and meaning of text
AUTH_CLOUD_LANGUAGE = 'https://www.googleapis.com/auth/cloud-language' 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 # @see https://cloud.google.com/storage-transfer/docs
module StoragetransferV1 module StoragetransferV1
VERSION = 'V1' VERSION = 'V1'
REVISION = '20190429' REVISION = '20190513'
# 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'

View File

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

View File

@ -57,9 +57,8 @@ module Google
# account is created and owned by Storage Transfer Service and can # account is created and owned by Storage Transfer Service and can
# only be used by Storage Transfer Service. # only be used by Storage Transfer Service.
# @param [String] project_id # @param [String] project_id
# The ID of the Google Cloud Platform Console project that the Google service # Required. The ID of the Google Cloud Platform Console project that the
# account is associated with. # Google service account is associated with.
# Required.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -119,11 +118,10 @@ module Google
# Gets a transfer job. # Gets a transfer job.
# @param [String] job_name # @param [String] job_name
# The job to get. # Required. The job to get.
# Required.
# @param [String] project_id # @param [String] project_id
# The ID of the Google Cloud Platform Console project that owns the job. # Required. The ID of the Google Cloud Platform Console project that owns the
# Required. # job.
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
# @param [String] quota_user # @param [String] quota_user
@ -154,7 +152,7 @@ module Google
# Lists transfer jobs. # Lists transfer jobs.
# @param [String] filter # @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", # `"project_id":"my_project_id",
# "job_names":["jobid1","jobid2",...], # "job_names":["jobid1","jobid2",...],
# "job_statuses":["status1","status2",...]`. # "job_statuses":["status1","status2",...]`.
@ -199,8 +197,7 @@ module Google
# transfer operations that are running already. Updating the scheduling # transfer operations that are running already. Updating the scheduling
# of a job is not allowed. # of a job is not allowed.
# @param [String] job_name # @param [String] job_name
# The name of job to update. # Required. The name of job to update.
# Required.
# @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object # @param [Google::Apis::StoragetransferV1::UpdateTransferJobRequest] update_transfer_job_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # 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 # collection id, however overriding users must ensure the name binding
# is the parent resource, without the operations collection id. # is the parent resource, without the operations collection id.
# @param [String] name # @param [String] name
# The value `transferOperations`. # Required. The value `transferOperations`.
# @param [String] filter # @param [String] filter
# A list of query parameters specified as JSON text in the form of `\"project_id\ # Required. A list of query parameters specified as JSON text in the form of: `"
# " : \"my_project_id\", \"job_names\" : [\"jobid1\", \"jobid2\",...], \" # project_id":"my_project_id",
# operation_names\" : [\"opid1\", \"opid2\",...], \"transfer_statuses\":[\" # "job_names":["jobid1","jobid2",...],
# status1\", \"status2\",...]`. Since `job_names`, `operation_names`, and ` # "operation_names":["opid1","opid2",...],
# transfer_statuses` support multiple values, they must be specified with array # "transfer_statuses":["status1","status2",...]`.
# notation. `job_names`, `operation_names`, and `transfer_statuses` are optional. # 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 # @param [Fixnum] page_size
# The list page size. The max allowed value is 256. # The list page size. The max allowed value is 256.
# @param [String] page_token # @param [String] page_token
@ -378,8 +379,7 @@ module Google
# Pauses a transfer operation. # Pauses a transfer operation.
# @param [String] name # @param [String] name
# The name of the transfer operation. # Required. The name of the transfer operation.
# Required.
# @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_request_object # @param [Google::Apis::StoragetransferV1::PauseTransferOperationRequest] pause_transfer_operation_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # Selector specifying which fields to include in a partial response.
@ -412,8 +412,7 @@ module Google
# Resumes a transfer operation that is paused. # Resumes a transfer operation that is paused.
# @param [String] name # @param [String] name
# The name of the transfer operation. # Required. The name of the transfer operation.
# Required.
# @param [Google::Apis::StoragetransferV1::ResumeTransferOperationRequest] resume_transfer_operation_request_object # @param [Google::Apis::StoragetransferV1::ResumeTransferOperationRequest] resume_transfer_operation_request_object
# @param [String] fields # @param [String] fields
# Selector specifying which fields to include in a partial response. # 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 # @see https://developers.google.com/youtube/v3
module YoutubeV3 module YoutubeV3
VERSION = 'V3' VERSION = 'V3'
REVISION = '20190415' REVISION = '20190513'
# Manage your YouTube account # Manage your YouTube account
AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube' AUTH_YOUTUBE = 'https://www.googleapis.com/auth/youtube'