Class: Google::Cloud::Speech::V2::UpdatePhraseSetRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/speech/v2/cloud_speech.rb

Overview

Request message for the UpdatePhraseSet method.

Instance Attribute Summary collapse

Instance Attribute Details

#phrase_set::Google::Cloud::Speech::V2::PhraseSet

Returns Required. The PhraseSet to update.

The PhraseSet's name field is used to identify the PhraseSet to update. Format: projects/{project}/locations/{location}/phraseSets/{phrase_set}.

Returns:

  • (::Google::Cloud::Speech::V2::PhraseSet)

    Required. The PhraseSet to update.

    The PhraseSet's name field is used to identify the PhraseSet to update. Format: projects/{project}/locations/{location}/phraseSets/{phrase_set}.



1752
1753
1754
1755
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1752

class UpdatePhraseSetRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#update_mask::Google::Protobuf::FieldMask

Returns The list of fields to update. If empty, all non-default valued fields are considered for update. Use * to update the entire PhraseSet resource.

Returns:

  • (::Google::Protobuf::FieldMask)

    The list of fields to update. If empty, all non-default valued fields are considered for update. Use * to update the entire PhraseSet resource.



1752
1753
1754
1755
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1752

class UpdatePhraseSetRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#validate_only::Boolean

Returns If set, validate the request and preview the updated PhraseSet, but do not actually update it.

Returns:

  • (::Boolean)

    If set, validate the request and preview the updated PhraseSet, but do not actually update it.



1752
1753
1754
1755
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1752

class UpdatePhraseSetRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end