Autogenerated update (2017-10-21)
Update: - bigquery_v2 - cloudtasks_v2beta2 - firebaserules_v1 - speech_v1
This commit is contained in:
parent
ba9e6d373a
commit
436b8fb274
|
@ -41921,6 +41921,9 @@
|
|||
"/firebaserules:v1/TestSuite": test_suite
|
||||
"/firebaserules:v1/TestSuite/testCases": test_cases
|
||||
"/firebaserules:v1/TestSuite/testCases/test_case": test_case
|
||||
"/firebaserules:v1/UpdateReleaseRequest": update_release_request
|
||||
"/firebaserules:v1/UpdateReleaseRequest/release": release
|
||||
"/firebaserules:v1/UpdateReleaseRequest/updateMask": update_mask
|
||||
"/firebaserules:v1/fields": fields
|
||||
"/firebaserules:v1/firebaserules.projects.releases.create": create_project_release
|
||||
"/firebaserules:v1/firebaserules.projects.releases.create/name": name
|
||||
|
@ -41936,6 +41939,8 @@
|
|||
"/firebaserules:v1/firebaserules.projects.releases.list/name": name
|
||||
"/firebaserules:v1/firebaserules.projects.releases.list/pageSize": page_size
|
||||
"/firebaserules:v1/firebaserules.projects.releases.list/pageToken": page_token
|
||||
"/firebaserules:v1/firebaserules.projects.releases.patch": patch_project_release
|
||||
"/firebaserules:v1/firebaserules.projects.releases.patch/name": name
|
||||
"/firebaserules:v1/firebaserules.projects.releases.update": update_project_release
|
||||
"/firebaserules:v1/firebaserules.projects.releases.update/name": name
|
||||
"/firebaserules:v1/firebaserules.projects.rulesets.create": create_project_ruleset
|
||||
|
@ -56069,6 +56074,7 @@
|
|||
"/speech:v1/SpeechRecognitionResult": speech_recognition_result
|
||||
"/speech:v1/SpeechRecognitionResult/alternatives": alternatives
|
||||
"/speech:v1/SpeechRecognitionResult/alternatives/alternative": alternative
|
||||
"/speech:v1/SpeechRecognitionResult/channelTag": channel_tag
|
||||
"/speech:v1/Status": status
|
||||
"/speech:v1/Status/code": code
|
||||
"/speech:v1/Status/details": details
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/bigquery/
|
||||
module BigqueryV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20170930'
|
||||
REVISION = '20171015'
|
||||
|
||||
# View and manage your data in Google BigQuery
|
||||
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
||||
|
|
|
@ -1403,15 +1403,15 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :schema_inline_format
|
||||
|
||||
# [Experimental] Allows the schema of the desitination table to be updated as a
|
||||
# side effect of the load job if a schema is autodetected or supplied in the job
|
||||
# configuration. Schema update options are supported in two cases: when
|
||||
# writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and
|
||||
# the destination table is a partition of a table, specified by partition
|
||||
# decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema.
|
||||
# One or more of the following values are specified: ALLOW_FIELD_ADDITION:
|
||||
# allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow
|
||||
# relaxing a required field in the original schema to nullable.
|
||||
# Allows the schema of the desitination table to be updated as a side effect of
|
||||
# the load job if a schema is autodetected or supplied in the job configuration.
|
||||
# Schema update options are supported in two cases: when writeDisposition is
|
||||
# WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and the destination
|
||||
# table is a partition of a table, specified by partition decorators. For normal
|
||||
# tables, WRITE_TRUNCATE will always overwrite the schema. One or more of the
|
||||
# following values are specified: ALLOW_FIELD_ADDITION: allow adding a nullable
|
||||
# field to the schema. ALLOW_FIELD_RELAXATION: allow relaxing a required field
|
||||
# in the original schema to nullable.
|
||||
# Corresponds to the JSON property `schemaUpdateOptions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :schema_update_options
|
||||
|
@ -1442,8 +1442,7 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :source_uris
|
||||
|
||||
# [Experimental] If specified, configures time-based partitioning for the
|
||||
# destination table.
|
||||
# If specified, configures time-based partitioning for the destination table.
|
||||
# Corresponds to the JSON property `timePartitioning`
|
||||
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
||||
attr_accessor :time_partitioning
|
||||
|
@ -1585,15 +1584,14 @@ module Google
|
|||
# @return [Array<Google::Apis::BigqueryV2::QueryParameter>]
|
||||
attr_accessor :query_parameters
|
||||
|
||||
# [Experimental] Allows the schema of the destination table to be updated as a
|
||||
# side effect of the query job. Schema update options are supported in two cases:
|
||||
# when writeDisposition is WRITE_APPEND; when writeDisposition is
|
||||
# WRITE_TRUNCATE and the destination table is a partition of a table, specified
|
||||
# by partition decorators. For normal tables, WRITE_TRUNCATE will always
|
||||
# overwrite the schema. One or more of the following values are specified:
|
||||
# ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema.
|
||||
# ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema
|
||||
# to nullable.
|
||||
# Allows the schema of the destination table to be updated as a side effect of
|
||||
# the query job. Schema update options are supported in two cases: when
|
||||
# writeDisposition is WRITE_APPEND; when writeDisposition is WRITE_TRUNCATE and
|
||||
# the destination table is a partition of a table, specified by partition
|
||||
# decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema.
|
||||
# One or more of the following values are specified: ALLOW_FIELD_ADDITION:
|
||||
# allow adding a nullable field to the schema. ALLOW_FIELD_RELAXATION: allow
|
||||
# relaxing a required field in the original schema to nullable.
|
||||
# Corresponds to the JSON property `schemaUpdateOptions`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :schema_update_options
|
||||
|
@ -1606,8 +1604,7 @@ module Google
|
|||
# @return [Hash<String,Google::Apis::BigqueryV2::ExternalDataConfiguration>]
|
||||
attr_accessor :table_definitions
|
||||
|
||||
# [Experimental] If specified, configures time-based partitioning for the
|
||||
# destination table.
|
||||
# If specified, configures time-based partitioning for the destination table.
|
||||
# Corresponds to the JSON property `timePartitioning`
|
||||
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
||||
attr_accessor :time_partitioning
|
||||
|
@ -2702,7 +2699,7 @@ module Google
|
|||
# @return [Google::Apis::BigqueryV2::TableReference]
|
||||
attr_accessor :table_reference
|
||||
|
||||
# [Experimental] If specified, configures time-based partitioning for this table.
|
||||
# If specified, configures time-based partitioning for this table.
|
||||
# Corresponds to the JSON property `timePartitioning`
|
||||
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
||||
attr_accessor :time_partitioning
|
||||
|
@ -3079,7 +3076,7 @@ module Google
|
|||
# @return [Google::Apis::BigqueryV2::TableReference]
|
||||
attr_accessor :table_reference
|
||||
|
||||
# [Experimental] The time-based partitioning for this table.
|
||||
# The time-based partitioning for this table.
|
||||
# Corresponds to the JSON property `timePartitioning`
|
||||
# @return [Google::Apis::BigqueryV2::TimePartitioning]
|
||||
attr_accessor :time_partitioning
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/cloud-tasks/
|
||||
module CloudtasksV2beta2
|
||||
VERSION = 'V2beta2'
|
||||
REVISION = '20171018'
|
||||
REVISION = '20171020'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -668,7 +668,6 @@ module Google
|
|||
# If the next_page_token is empty, there are no more results.
|
||||
# The page token is valid for only 2 hours.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
|
@ -698,7 +697,6 @@ module Google
|
|||
# ListTasksRequest.page_token.
|
||||
# If the next_page_token is empty, there are no more results.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
|
|
|
@ -361,7 +361,7 @@ module Google
|
|||
class ListQueuesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, :base64 => true, as: 'nextPageToken'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :queues, as: 'queues', class: Google::Apis::CloudtasksV2beta2::Queue, decorator: Google::Apis::CloudtasksV2beta2::Queue::Representation
|
||||
|
||||
end
|
||||
|
@ -370,7 +370,7 @@ module Google
|
|||
class ListTasksResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, :base64 => true, as: 'nextPageToken'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :tasks, as: 'tasks', class: Google::Apis::CloudtasksV2beta2::Task, decorator: Google::Apis::CloudtasksV2beta2::Task::Representation
|
||||
|
||||
end
|
||||
|
|
|
@ -814,7 +814,7 @@ module Google
|
|||
# @param [String] order_by
|
||||
# Sort order used for the query. The fields supported for sorting
|
||||
# are Task.schedule_time and PullMessage.tag. All results will be
|
||||
# returned in ascending order. The default ordering is by
|
||||
# returned in approximately ascending order. The default ordering is by
|
||||
# Task.schedule_time.
|
||||
# @param [Fixnum] page_size
|
||||
# Requested page size. Fewer tasks than requested might be returned.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://firebase.google.com/docs/storage/security
|
||||
module FirebaserulesV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20170925'
|
||||
REVISION = '20171018'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -661,6 +661,32 @@ module Google
|
|||
@test_cases = args[:test_cases] if args.key?(:test_cases)
|
||||
end
|
||||
end
|
||||
|
||||
# The request for FirebaseRulesService.UpdateReleasePatch.
|
||||
class UpdateReleaseRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a
|
||||
# `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.
|
||||
# Corresponds to the JSON property `release`
|
||||
# @return [Google::Apis::FirebaserulesV1::Release]
|
||||
attr_accessor :release
|
||||
|
||||
# Specifies which fields to update.
|
||||
# Corresponds to the JSON property `updateMask`
|
||||
# @return [String]
|
||||
attr_accessor :update_mask
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@release = args[:release] if args.key?(:release)
|
||||
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -136,6 +136,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UpdateReleaseRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Arg
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -314,6 +320,15 @@ module Google
|
|||
|
||||
end
|
||||
end
|
||||
|
||||
class UpdateReleaseRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :release, as: 'release', class: Google::Apis::FirebaserulesV1::Release, decorator: Google::Apis::FirebaserulesV1::Release::Representation
|
||||
|
||||
property :update_mask, as: 'updateMask'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -314,6 +314,43 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update a `Release` via PATCH.
|
||||
# Only updates to the `ruleset_name` and `test_suite_name` fields will be
|
||||
# honored. `Release` rename is not supported. To create a `Release` use the
|
||||
# CreateRelease method.
|
||||
# @param [String] name
|
||||
# Resource name for the project which owns this `Release`.
|
||||
# Format: `projects/`project_id``
|
||||
# @param [Google::Apis::FirebaserulesV1::UpdateReleaseRequest] update_release_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::FirebaserulesV1::Release] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirebaserulesV1::Release]
|
||||
#
|
||||
# @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_project_release(name, update_release_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, 'v1/{+name}', options)
|
||||
command.request_representation = Google::Apis::FirebaserulesV1::UpdateReleaseRequest::Representation
|
||||
command.request_object = update_release_request_object
|
||||
command.response_representation = Google::Apis::FirebaserulesV1::Release::Representation
|
||||
command.response_class = Google::Apis::FirebaserulesV1::Release
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Update a `Release`.
|
||||
# Only updates to the `ruleset_name` and `test_suite_name` fields will be
|
||||
# honored. `Release` rename is not supported. To create a `Release` use the
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech/
|
||||
module SpeechV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20171010'
|
||||
REVISION = '20171018'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -444,6 +444,13 @@ module Google
|
|||
# @return [Array<Google::Apis::SpeechV1::SpeechRecognitionAlternative>]
|
||||
attr_accessor :alternatives
|
||||
|
||||
# For multi-channel audio, this is the channel number corresponding to the
|
||||
# recognized result for the audio from that channel.
|
||||
# For audio_channel_count = N, its output values can range from '0' to 'N-1'.
|
||||
# Corresponds to the JSON property `channelTag`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :channel_tag
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -451,6 +458,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@alternatives = args[:alternatives] if args.key?(:alternatives)
|
||||
@channel_tag = args[:channel_tag] if args.key?(:channel_tag)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -211,6 +211,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :alternatives, as: 'alternatives', class: Google::Apis::SpeechV1::SpeechRecognitionAlternative, decorator: Google::Apis::SpeechV1::SpeechRecognitionAlternative::Representation
|
||||
|
||||
property :channel_tag, as: 'channelTag'
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue