Autogenerated update (2019-08-05)
Update: - dialogflow_v2 - dialogflow_v2beta1 - remotebuildexecution_v1
This commit is contained in:
parent
87cdb2df03
commit
9bb6979900
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dialogflow/
|
# @see https://cloud.google.com/dialogflow/
|
||||||
module DialogflowV2
|
module DialogflowV2
|
||||||
VERSION = 'V2'
|
VERSION = 'V2'
|
||||||
REVISION = '20190717'
|
REVISION = '20190801'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -4673,6 +4673,40 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# The status update for performing NLU model evaluation given a dataset.
|
||||||
|
# Metadata of the returned long running operation for
|
||||||
|
# ModelEvaluations.EvaluateModel.
|
||||||
|
class GoogleCloudDialogflowV2beta1ModelEvaluationMetadata
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. Number of samples that have already received the predicted
|
||||||
|
# intents from Dialogflow server.
|
||||||
|
# Corresponds to the JSON property `samplesWithIntentDetected`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :samples_with_intent_detected
|
||||||
|
|
||||||
|
# Required. Represents the job that the batch worker is currently working on.
|
||||||
|
# Corresponds to the JSON property `state`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :state
|
||||||
|
|
||||||
|
# Required. Total number of samples in the dataset.
|
||||||
|
# Corresponds to the JSON property `totalSamples`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :total_samples
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@samples_with_intent_detected = args[:samples_with_intent_detected] if args.key?(:samples_with_intent_detected)
|
||||||
|
@state = args[:state] if args.key?(:state)
|
||||||
|
@total_samples = args[:total_samples] if args.key?(:total_samples)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Represents the contents of the original request that was passed to
|
# Represents the contents of the original request that was passed to
|
||||||
# the `[Streaming]DetectIntent` call.
|
# the `[Streaming]DetectIntent` call.
|
||||||
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
||||||
|
|
|
@ -742,6 +742,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDialogflowV2beta1ModelEvaluationMetadata
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -2037,6 +2043,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDialogflowV2beta1ModelEvaluationMetadata
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :samples_with_intent_detected, as: 'samplesWithIntentDetected'
|
||||||
|
property :state, as: 'state'
|
||||||
|
property :total_samples, as: 'totalSamples'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -26,7 +26,7 @@ module Google
|
||||||
# @see https://cloud.google.com/dialogflow/
|
# @see https://cloud.google.com/dialogflow/
|
||||||
module DialogflowV2beta1
|
module DialogflowV2beta1
|
||||||
VERSION = 'V2beta1'
|
VERSION = 'V2beta1'
|
||||||
REVISION = '20190717'
|
REVISION = '20190801'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -2629,6 +2629,15 @@ module Google
|
||||||
attr_accessor :single_utterance
|
attr_accessor :single_utterance
|
||||||
alias_method :single_utterance?, :single_utterance
|
alias_method :single_utterance?, :single_utterance
|
||||||
|
|
||||||
|
# Optional. Context information to assist speech recognition.
|
||||||
|
# See [the Cloud Speech
|
||||||
|
# documentation](https://cloud.google.com/speech-to-text/docs/basics#phrase-
|
||||||
|
# hints)
|
||||||
|
# for more details.
|
||||||
|
# Corresponds to the JSON property `speechContexts`
|
||||||
|
# @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechContext>]
|
||||||
|
attr_accessor :speech_contexts
|
||||||
|
|
||||||
def initialize(**args)
|
def initialize(**args)
|
||||||
update!(**args)
|
update!(**args)
|
||||||
end
|
end
|
||||||
|
@ -2643,6 +2652,7 @@ module Google
|
||||||
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
|
@phrase_hints = args[:phrase_hints] if args.key?(:phrase_hints)
|
||||||
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
@sample_rate_hertz = args[:sample_rate_hertz] if args.key?(:sample_rate_hertz)
|
||||||
@single_utterance = args[:single_utterance] if args.key?(:single_utterance)
|
@single_utterance = args[:single_utterance] if args.key?(:single_utterance)
|
||||||
|
@speech_contexts = args[:speech_contexts] if args.key?(:speech_contexts)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -4466,6 +4476,40 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# The status update for performing NLU model evaluation given a dataset.
|
||||||
|
# Metadata of the returned long running operation for
|
||||||
|
# ModelEvaluations.EvaluateModel.
|
||||||
|
class GoogleCloudDialogflowV2beta1ModelEvaluationMetadata
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. Number of samples that have already received the predicted
|
||||||
|
# intents from Dialogflow server.
|
||||||
|
# Corresponds to the JSON property `samplesWithIntentDetected`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :samples_with_intent_detected
|
||||||
|
|
||||||
|
# Required. Represents the job that the batch worker is currently working on.
|
||||||
|
# Corresponds to the JSON property `state`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :state
|
||||||
|
|
||||||
|
# Required. Total number of samples in the dataset.
|
||||||
|
# Corresponds to the JSON property `totalSamples`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :total_samples
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@samples_with_intent_detected = args[:samples_with_intent_detected] if args.key?(:samples_with_intent_detected)
|
||||||
|
@state = args[:state] if args.key?(:state)
|
||||||
|
@total_samples = args[:total_samples] if args.key?(:total_samples)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Represents the contents of the original request that was passed to
|
# Represents the contents of the original request that was passed to
|
||||||
# the `[Streaming]DetectIntent` call.
|
# the `[Streaming]DetectIntent` call.
|
||||||
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
||||||
|
@ -5006,6 +5050,47 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Hints for the speech recognizer to help with recognition in a specific
|
||||||
|
# conversation state.
|
||||||
|
class GoogleCloudDialogflowV2beta1SpeechContext
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# Optional. Boost for this context compared to other contexts:
|
||||||
|
# * If the boost is positive, Dialogflow will increase the probability that
|
||||||
|
# the phrases in this context are recognized over similar sounding phrases.
|
||||||
|
# * If the boost is unspecified or non-positive, Dialogflow will not apply
|
||||||
|
# any boost.
|
||||||
|
# Dialogflow recommends that you use boosts in the range (0, 20] and that you
|
||||||
|
# find a value that fits your use case with binary search.
|
||||||
|
# Corresponds to the JSON property `boost`
|
||||||
|
# @return [Float]
|
||||||
|
attr_accessor :boost
|
||||||
|
|
||||||
|
# Optional. A list of strings containing words and phrases that the speech
|
||||||
|
# recognizer should recognize with higher likelihood.
|
||||||
|
# This list can be used to:
|
||||||
|
# * improve accuracy for words and phrases you expect the user to say,
|
||||||
|
# e.g. typical commands for your Dialogflow agent
|
||||||
|
# * add additional words to the speech recognizer vocabulary
|
||||||
|
# * ...
|
||||||
|
# See the [Cloud Speech
|
||||||
|
# documentation](https://cloud.google.com/speech-to-text/quotas) for usage
|
||||||
|
# limits.
|
||||||
|
# Corresponds to the JSON property `phrases`
|
||||||
|
# @return [Array<String>]
|
||||||
|
attr_accessor :phrases
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@boost = args[:boost] if args.key?(:boost)
|
||||||
|
@phrases = args[:phrases] if args.key?(:phrases)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# Configuration of how speech should be synthesized.
|
# Configuration of how speech should be synthesized.
|
||||||
class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
|
class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
|
@ -700,6 +700,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDialogflowV2beta1ModelEvaluationMetadata
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -772,6 +778,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDialogflowV2beta1SpeechContext
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
|
class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -1492,6 +1504,8 @@ module Google
|
||||||
collection :phrase_hints, as: 'phraseHints'
|
collection :phrase_hints, as: 'phraseHints'
|
||||||
property :sample_rate_hertz, as: 'sampleRateHertz'
|
property :sample_rate_hertz, as: 'sampleRateHertz'
|
||||||
property :single_utterance, as: 'singleUtterance'
|
property :single_utterance, as: 'singleUtterance'
|
||||||
|
collection :speech_contexts, as: 'speechContexts', class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechContext, decorator: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SpeechContext::Representation
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -2003,6 +2017,15 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDialogflowV2beta1ModelEvaluationMetadata
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :samples_with_intent_detected, as: 'samplesWithIntentDetected'
|
||||||
|
property :state, as: 'state'
|
||||||
|
property :total_samples, as: 'totalSamples'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
class GoogleCloudDialogflowV2beta1OriginalDetectIntentRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -2135,6 +2158,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleCloudDialogflowV2beta1SpeechContext
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :boost, as: 'boost'
|
||||||
|
collection :phrases, as: 'phrases'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
|
class GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
||||||
# @see https://cloud.google.com/remote-build-execution/docs/
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
||||||
module RemotebuildexecutionV1
|
module RemotebuildexecutionV1
|
||||||
VERSION = 'V1'
|
VERSION = 'V1'
|
||||||
REVISION = '20190723'
|
REVISION = '20190731'
|
||||||
|
|
||||||
# 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'
|
||||||
|
|
|
@ -1592,6 +1592,32 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# AcceleratorConfig defines the accelerator cards to attach to the VM.
|
||||||
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# The number of the guest accelerator cards exposed to this VM.
|
||||||
|
# Corresponds to the JSON property `acceleratorCount`
|
||||||
|
# @return [Fixnum]
|
||||||
|
attr_accessor :accelerator_count
|
||||||
|
|
||||||
|
# The type of accelerator to attach to this VM, e.g. "nvidia-tesla-k80" for
|
||||||
|
# nVidia Tesla K80.
|
||||||
|
# Corresponds to the JSON property `acceleratorType`
|
||||||
|
# @return [String]
|
||||||
|
attr_accessor :accelerator_type
|
||||||
|
|
||||||
|
def initialize(**args)
|
||||||
|
update!(**args)
|
||||||
|
end
|
||||||
|
|
||||||
|
# Update properties of this object
|
||||||
|
def update!(**args)
|
||||||
|
@accelerator_count = args[:accelerator_count] if args.key?(:accelerator_count)
|
||||||
|
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
# The request used for `CreateInstance`.
|
# The request used for `CreateInstance`.
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
@ -1939,6 +1965,11 @@ module Google
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
|
||||||
include Google::Apis::Core::Hashable
|
include Google::Apis::Core::Hashable
|
||||||
|
|
||||||
|
# AcceleratorConfig defines the accelerator cards to attach to the VM.
|
||||||
|
# Corresponds to the JSON property `accelerator`
|
||||||
|
# @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig]
|
||||||
|
attr_accessor :accelerator
|
||||||
|
|
||||||
# Required. Size of the disk attached to the worker, in GB.
|
# Required. Size of the disk attached to the worker, in GB.
|
||||||
# See https://cloud.google.com/compute/docs/disks/
|
# See https://cloud.google.com/compute/docs/disks/
|
||||||
# Corresponds to the JSON property `diskSizeGb`
|
# Corresponds to the JSON property `diskSizeGb`
|
||||||
|
@ -1992,6 +2023,7 @@ module Google
|
||||||
|
|
||||||
# Update properties of this object
|
# Update properties of this object
|
||||||
def update!(**args)
|
def update!(**args)
|
||||||
|
@accelerator = args[:accelerator] if args.key?(:accelerator)
|
||||||
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
||||||
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
||||||
@labels = args[:labels] if args.key?(:labels)
|
@labels = args[:labels] if args.key?(:labels)
|
||||||
|
|
|
@ -172,6 +172,12 @@ module Google
|
||||||
include Google::Apis::Core::JsonObjectSupport
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
include Google::Apis::Core::JsonObjectSupport
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||||
|
|
||||||
|
@ -737,6 +743,14 @@ module Google
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig
|
||||||
|
# @private
|
||||||
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :accelerator_count, :numeric_string => true, as: 'acceleratorCount'
|
||||||
|
property :accelerator_type, as: 'acceleratorType'
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
@ -838,6 +852,8 @@ module Google
|
||||||
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
|
||||||
# @private
|
# @private
|
||||||
class Representation < Google::Apis::Core::JsonRepresentation
|
class Representation < Google::Apis::Core::JsonRepresentation
|
||||||
|
property :accelerator, as: 'accelerator', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig::Representation
|
||||||
|
|
||||||
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
||||||
property :disk_type, as: 'diskType'
|
property :disk_type, as: 'diskType'
|
||||||
hash :labels, as: 'labels'
|
hash :labels, as: 'labels'
|
||||||
|
|
Loading…
Reference in New Issue