Autogenerated update (2019-08-01)
Update: - firebase_v1beta1 - ml_v1 - speech_v1p1beta1 - storagetransfer_v1
This commit is contained in:
parent
1811cf5c70
commit
e40350236d
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://firebase.google.com
|
||||
module FirebaseV1beta1
|
||||
VERSION = 'V1beta1'
|
||||
REVISION = '20190703'
|
||||
REVISION = '20190730'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -65,6 +65,38 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class AddGoogleAnalyticsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The ID for the existing
|
||||
# [Google Analytics account](http://www.google.com/analytics/) that you
|
||||
# want to link with your `FirebaseProject`.
|
||||
# <br>
|
||||
# <br>Specifying this field will provision a new Google Analytics
|
||||
# property in your Google Analytics account and associate the new property
|
||||
# with your `FirebaseProject`.
|
||||
# Corresponds to the JSON property `analyticsAccountId`
|
||||
# @return [String]
|
||||
attr_accessor :analytics_account_id
|
||||
|
||||
# The ID for the existing Google Analytics property that you want to
|
||||
# associate with your `FirebaseProject`.
|
||||
# Corresponds to the JSON property `analyticsPropertyId`
|
||||
# @return [String]
|
||||
attr_accessor :analytics_property_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@analytics_account_id = args[:analytics_account_id] if args.key?(:analytics_account_id)
|
||||
@analytics_property_id = args[:analytics_property_id] if args.key?(:analytics_property_id)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class AdminSdkConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -110,6 +142,65 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class AnalyticsDetails
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Details of a Google Analytics property
|
||||
# Corresponds to the JSON property `analyticsProperty`
|
||||
# @return [Google::Apis::FirebaseV1beta1::AnalyticsProperty]
|
||||
attr_accessor :analytics_property
|
||||
|
||||
# A map of `AppId` to `StreamId` for each Firebase App in the specified
|
||||
# `FirebaseProject`. Each `AppId` and `StreamId` appears only once.
|
||||
# Corresponds to the JSON property `streamMappings`
|
||||
# @return [Array<Google::Apis::FirebaseV1beta1::StreamMapping>]
|
||||
attr_accessor :stream_mappings
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@analytics_property = args[:analytics_property] if args.key?(:analytics_property)
|
||||
@stream_mappings = args[:stream_mappings] if args.key?(:stream_mappings)
|
||||
end
|
||||
end
|
||||
|
||||
# Details of a Google Analytics property
|
||||
class AnalyticsProperty
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The display name of the Google Analytics property associated with the
|
||||
# specified `FirebaseProject`.
|
||||
# Corresponds to the JSON property `displayName`
|
||||
# @return [String]
|
||||
attr_accessor :display_name
|
||||
|
||||
# The globally unique, Google-assigned identifier of the Google Analytics
|
||||
# property associated with the specified `FirebaseProject`.
|
||||
# <br>
|
||||
# <br>If you called
|
||||
# [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) to link
|
||||
# your `FirebaseProject` with a Google Analytics account, the value in this
|
||||
# `id` field is the same as the ID of the property either specified or
|
||||
# provisioned with that call to `AddGoogleAnalytics`.
|
||||
# Corresponds to the JSON property `id`
|
||||
# @return [String]
|
||||
attr_accessor :id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@display_name = args[:display_name] if args.key?(:display_name)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
end
|
||||
end
|
||||
|
||||
# Details of a Firebase App for Android.
|
||||
class AndroidApp
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -828,6 +919,33 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class RemoveAnalyticsRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Optional. The ID of the Google Analytics property associated with the
|
||||
# specified `FirebaseProject`.
|
||||
# <ul>
|
||||
# <li>If not set, then the Google Analytics property that is currently
|
||||
# associated with the specified `FirebaseProject` is removed.</li>
|
||||
# <li>If set, and the specified `FirebaseProject` is currently associated
|
||||
# with a <em>different</em> Google Analytics property, then the response is a
|
||||
# `412 Precondition Failed` error.</li>
|
||||
# </ul>
|
||||
# Corresponds to the JSON property `analyticsPropertyId`
|
||||
# @return [String]
|
||||
attr_accessor :analytics_property_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@analytics_property_id = args[:analytics_property_id] if args.key?(:analytics_property_id)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class SearchFirebaseAppsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -996,6 +1114,40 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A mapping of a Firebase App to a Google Analytics data stream
|
||||
class StreamMapping
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The fully qualified resource name of the Firebase App associated with the
|
||||
# Google Analytics data stream, in the format:
|
||||
# <br><code>projects/<var>projectId</var>/iosApps/<var>appId</var></code>
|
||||
# or
|
||||
# <br><code>projects/<var>projectId</var>/androidApps/<var>appId</var></code>
|
||||
# Corresponds to the JSON property `app`
|
||||
# @return [String]
|
||||
attr_accessor :app
|
||||
|
||||
# The unique Google-assigned identifier of the Google Analytics data stream
|
||||
# associated with the Firebase App.
|
||||
# <br>
|
||||
# <br>Learn more about Google Analytics data streams in the
|
||||
# [Analytics
|
||||
# documentation](https://support.google.com/analytics/answer/9303323).
|
||||
# Corresponds to the JSON property `streamId`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :stream_id
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@app = args[:app] if args.key?(:app)
|
||||
@stream_id = args[:stream_id] if args.key?(:stream_id)
|
||||
end
|
||||
end
|
||||
|
||||
# Message that groups a protocol type_id (as defined by MessageSet),
|
||||
# with an encoded message of that type. Its use is similar to
|
||||
# MessageSet, except it represents a single (type, encoded message)
|
||||
|
|
|
@ -28,12 +28,30 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AddGoogleAnalyticsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AdminSdkConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AnalyticsDetails
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AnalyticsProperty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AndroidApp
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -154,6 +172,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class RemoveAnalyticsRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SearchFirebaseAppsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -178,6 +202,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StreamMapping
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TypedMessage
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -205,6 +235,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class AddGoogleAnalyticsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :analytics_account_id, as: 'analyticsAccountId'
|
||||
property :analytics_property_id, as: 'analyticsPropertyId'
|
||||
end
|
||||
end
|
||||
|
||||
class AdminSdkConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -215,6 +253,24 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class AnalyticsDetails
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :analytics_property, as: 'analyticsProperty', class: Google::Apis::FirebaseV1beta1::AnalyticsProperty, decorator: Google::Apis::FirebaseV1beta1::AnalyticsProperty::Representation
|
||||
|
||||
collection :stream_mappings, as: 'streamMappings', class: Google::Apis::FirebaseV1beta1::StreamMapping, decorator: Google::Apis::FirebaseV1beta1::StreamMapping::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class AnalyticsProperty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :display_name, as: 'displayName'
|
||||
property :id, as: 'id'
|
||||
end
|
||||
end
|
||||
|
||||
class AndroidApp
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -395,6 +451,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class RemoveAnalyticsRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :analytics_property_id, as: 'analyticsPropertyId'
|
||||
end
|
||||
end
|
||||
|
||||
class SearchFirebaseAppsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -436,6 +499,14 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class StreamMapping
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :app, as: 'app'
|
||||
property :stream_id, :numeric_string => true, as: 'streamId'
|
||||
end
|
||||
end
|
||||
|
||||
class TypedMessage
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
|
@ -198,6 +198,88 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Links a FirebaseProject with an existing
|
||||
# [Google Analytics account](http://www.google.com/analytics/).
|
||||
# <br>
|
||||
# <br>Using this call, you can either:
|
||||
# <ul>
|
||||
# <li>Provision a new Google Analytics property and associate the new
|
||||
# property with your `FirebaseProject`.</li>
|
||||
# <li>Associate an existing Google Analytics property with your
|
||||
# `FirebaseProject`.</li>
|
||||
# </ul>
|
||||
# <br>
|
||||
# Note that when you call `AddGoogleAnalytics`:
|
||||
# <ul>
|
||||
# <li>Any Firebase Apps already in your `FirebaseProject` are
|
||||
# automatically provisioned as new <em>data streams</em> in the Google
|
||||
# Analytics property.</li>
|
||||
# <li>Any <em>data streams</em> already in the Google Analytics property are
|
||||
# automatically associated with their corresponding Firebase Apps (only
|
||||
# applies when an app's `packageName` or `bundleId` match those for an
|
||||
# existing data stream).</li>
|
||||
# </ul>
|
||||
# Learn more about the hierarchy and structure of Google Analytics
|
||||
# accounts in the
|
||||
# [Analytics
|
||||
# documentation](https://support.google.com/analytics/answer/9303323).
|
||||
# <br>
|
||||
# <br>The result of this call is an [`Operation`](../../v1beta1/operations).
|
||||
# Poll the `Operation` to track the provisioning process by calling
|
||||
# GetOperation until
|
||||
# [`done`](../../v1beta1/operations#Operation.FIELDS.done) is `true`. When
|
||||
# `done` is `true`, the `Operation` has either succeeded or failed. If the
|
||||
# `Operation` succeeded, its
|
||||
# [`response`](../../v1beta1/operations#Operation.FIELDS.response) is set to
|
||||
# an AnalyticsDetails; if the `Operation` failed, its
|
||||
# [`error`](../../v1beta1/operations#Operation.FIELDS.error) is set to a
|
||||
# google.rpc.Status.
|
||||
# <br>
|
||||
# <br>To call `AddGoogleAnalytics`, a member must be an Owner for
|
||||
# the existing `FirebaseProject` and have the
|
||||
# [`Edit` permission](https://support.google.com/analytics/answer/2884495)
|
||||
# for the Google Analytics account.
|
||||
# <br>
|
||||
# <br>If a `FirebaseProject` already has Google Analytics enabled, and you
|
||||
# call `AddGoogleAnalytics` using an `analyticsPropertyId` that's different
|
||||
# from the currently associated property, then the call will fail. Analytics
|
||||
# may have already been enabled in the Firebase console or by specifying
|
||||
# `timeZone` and `regionCode` in the call to
|
||||
# [`AddFirebase`](../../v1beta1/projects/addFirebase).
|
||||
# @param [String] parent
|
||||
# The parent `FirebaseProject` to link to an existing Google Analytics
|
||||
# account, in the format:
|
||||
# <br><code>projects/<var>projectId</var></code>
|
||||
# @param [Google::Apis::FirebaseV1beta1::AddGoogleAnalyticsRequest] add_google_analytics_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::FirebaseV1beta1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirebaseV1beta1::Operation]
|
||||
#
|
||||
# @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 add_project_google_analytics(parent, add_google_analytics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+parent}:addGoogleAnalytics', options)
|
||||
command.request_representation = Google::Apis::FirebaseV1beta1::AddGoogleAnalyticsRequest::Representation
|
||||
command.request_object = add_google_analytics_request_object
|
||||
command.response_representation = Google::Apis::FirebaseV1beta1::Operation::Representation
|
||||
command.response_class = Google::Apis::FirebaseV1beta1::Operation
|
||||
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
|
||||
|
||||
# Gets the FirebaseProject identified by the specified resource name.
|
||||
# @param [String] name
|
||||
# The fully qualified resource name of the Project, in the format:
|
||||
|
@ -265,6 +347,41 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the Google Analytics details currently associated with a
|
||||
# FirebaseProject.
|
||||
# <br>
|
||||
# <br>If the `FirebaseProject` is not yet linked to Google Analytics, then
|
||||
# the response to `GetAnalyticsDetails` is NOT_FOUND.
|
||||
# @param [String] name
|
||||
# The fully qualified resource name, in the format:
|
||||
# <br><code>projects/<var>projectId</var>/analyticsDetails</code>
|
||||
# @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::FirebaseV1beta1::AnalyticsDetails] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirebaseV1beta1::AnalyticsDetails]
|
||||
#
|
||||
# @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_project_analytics_details(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
||||
command.response_representation = Google::Apis::FirebaseV1beta1::AnalyticsDetails::Representation
|
||||
command.response_class = Google::Apis::FirebaseV1beta1::AnalyticsDetails
|
||||
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
|
||||
|
||||
# Lists each FirebaseProject accessible to the caller.
|
||||
# <br>
|
||||
# <br>The elements are returned in no particular order, but they will be a
|
||||
|
@ -362,6 +479,54 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Unlinks the specified `FirebaseProject` from its Google Analytics account.
|
||||
# <br>
|
||||
# <br>This call removes the association of the specified `FirebaseProject`
|
||||
# with its current Google Analytics property. However, this call does not
|
||||
# delete the Google Analytics resources, such as the Google Analytics
|
||||
# property or any data streams.
|
||||
# <br>
|
||||
# <br>These resources may be re-associated later to the `FirebaseProject` by
|
||||
# calling
|
||||
# [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics) and
|
||||
# specifying the same `analyticsPropertyId`.
|
||||
# <br>
|
||||
# <br>To call `RemoveAnalytics`, a member must be an Owner for
|
||||
# the `FirebaseProject`.
|
||||
# @param [String] parent
|
||||
# The parent `FirebaseProject` to unlink from its Google Analytics account,
|
||||
# in the format:
|
||||
# <br><code>projects/<var>projectId</var></code>
|
||||
# @param [Google::Apis::FirebaseV1beta1::RemoveAnalyticsRequest] remove_analytics_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::FirebaseV1beta1::Empty] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::FirebaseV1beta1::Empty]
|
||||
#
|
||||
# @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 remove_project_analytics(parent, remove_analytics_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1beta1/{+parent}:removeAnalytics', options)
|
||||
command.request_representation = Google::Apis::FirebaseV1beta1::RemoveAnalyticsRequest::Representation
|
||||
command.request_object = remove_analytics_request_object
|
||||
command.response_representation = Google::Apis::FirebaseV1beta1::Empty::Representation
|
||||
command.response_class = Google::Apis::FirebaseV1beta1::Empty
|
||||
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
|
||||
|
||||
# A convenience method that lists all available Apps for the specified
|
||||
# FirebaseProject.
|
||||
# <br>
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/ml/
|
||||
module MlV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190704'
|
||||
REVISION = '20190727'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1186,9 +1186,20 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :image_uri
|
||||
|
||||
# TensorFlow version used in the custom container. This field is required if
|
||||
# the replica is a TPU worker that uses a custom container. Otherwise, do not
|
||||
# specify this field.
|
||||
# The AI Platform runtime version that includes a TensorFlow version matching
|
||||
# the one used in the custom container. This field is required if the replica
|
||||
# is a TPU worker that uses a custom container. Otherwise, do not specify
|
||||
# this field. This must be a [runtime version that currently supports
|
||||
# training with
|
||||
# TPUs](/ml-engine/docs/tensorflow/runtime-version-list#tpu-support).
|
||||
# Note that the version of TensorFlow included in a runtime version may
|
||||
# differ from the numbering of the runtime version itself, because it may
|
||||
# have a different [patch
|
||||
# version](https://www.tensorflow.org/guide/version_compat#
|
||||
# semantic_versioning_20).
|
||||
# In this field, you must specify the runtime version (TensorFlow minor
|
||||
# version). For example, if your custom container runs TensorFlow `1.x.y`,
|
||||
# specify `1.x`.
|
||||
# Corresponds to the JSON property `tpuTfVersion`
|
||||
# @return [String]
|
||||
attr_accessor :tpu_tf_version
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/speech-to-text/docs/quickstart-protocol
|
||||
module SpeechV1p1beta1
|
||||
VERSION = 'V1p1beta1'
|
||||
REVISION = '20190627'
|
||||
REVISION = '20190730'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -270,23 +270,15 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :audio_channel_count
|
||||
|
||||
# *Optional* Config to enable speaker diarization and set additional
|
||||
# parameters to make diarization better suited for your application.
|
||||
# Note: When this is enabled, we send all the words from the beginning of the
|
||||
# audio for the top alternative in every consecutive STREAMING responses.
|
||||
# This is done in order to improve our speaker tags as our models learn to
|
||||
# identify the speakers in the conversation over time.
|
||||
# For non-streaming requests, the diarization results will be provided only
|
||||
# in the top alternative of the FINAL SpeechRecognitionResult.
|
||||
# *Optional* Config to enable speaker diarization.
|
||||
# Corresponds to the JSON property `diarizationConfig`
|
||||
# @return [Google::Apis::SpeechV1p1beta1::SpeakerDiarizationConfig]
|
||||
attr_accessor :diarization_config
|
||||
|
||||
# *Optional*
|
||||
# If set, specifies the estimated number of speakers in the conversation.
|
||||
# If not set, defaults to '2'.
|
||||
# Ignored unless enable_speaker_diarization is set to true."
|
||||
# Note: Use diarization_config instead. This field will be DEPRECATED soon.
|
||||
# Defaults to '2'. Ignored unless enable_speaker_diarization is set to true.
|
||||
# Note: Use diarization_config instead.
|
||||
# Corresponds to the JSON property `diarizationSpeakerCount`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :diarization_speaker_count
|
||||
|
@ -317,7 +309,7 @@ module Google
|
|||
# *Optional* If 'true', enables speaker detection for each recognized word in
|
||||
# the top alternative of the recognition result using a speaker_tag provided
|
||||
# in the WordInfo.
|
||||
# Note: Use diarization_config instead. This field will be DEPRECATED soon.
|
||||
# Note: Use diarization_config instead.
|
||||
# Corresponds to the JSON property `enableSpeakerDiarization`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_speaker_diarization
|
||||
|
@ -607,7 +599,7 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
# *Optional* Config to enable speaker diarization.
|
||||
class SpeakerDiarizationConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -619,7 +611,7 @@ module Google
|
|||
attr_accessor :enable_speaker_diarization
|
||||
alias_method :enable_speaker_diarization?, :enable_speaker_diarization
|
||||
|
||||
# *Optional* Only used if diarization_speaker_count is not set.
|
||||
# *Optional*
|
||||
# Maximum number of speakers in the conversation. This range gives you more
|
||||
# flexibility by allowing the system to automatically determine the correct
|
||||
# number of speakers. If not set, the default value is 6.
|
||||
|
@ -627,7 +619,7 @@ module Google
|
|||
# @return [Fixnum]
|
||||
attr_accessor :max_speaker_count
|
||||
|
||||
# *Optional* Only used if diarization_speaker_count is not set.
|
||||
# *Optional*
|
||||
# Minimum number of speakers in the conversation. This range gives you more
|
||||
# flexibility by allowing the system to automatically determine the correct
|
||||
# number of speakers. If not set, the default value is 2.
|
||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
|||
# @see https://cloud.google.com/storage-transfer/docs
|
||||
module StoragetransferV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20190603'
|
||||
REVISION = '20190729'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -186,8 +186,8 @@ module Google
|
|||
attr_accessor :error_count
|
||||
|
||||
# Error samples.
|
||||
# No more than 100 error log entries may be recorded for a given
|
||||
# error code for a single task.
|
||||
# At most 5 error log entries will be recorded for a given
|
||||
# error code for a single transfer operation.
|
||||
# Corresponds to the JSON property `errorLogEntries`
|
||||
# @return [Array<Google::Apis::StoragetransferV1::ErrorLogEntry>]
|
||||
attr_accessor :error_log_entries
|
||||
|
|
Loading…
Reference in New Issue