Class: Google::Cloud::Speech::V2::Config
- Inherits:
-
Object
- Object
- Google::Cloud::Speech::V2::Config
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/speech/v2/cloud_speech.rb
Overview
Message representing the config for the Speech-to-Text API. This includes an optional KMS key with which incoming data will be encrypted.
Instance Attribute Summary collapse
-
#kms_key_name ⇒ ::String
Optional.
-
#name ⇒ ::String
readonly
Output only.
-
#update_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
Instance Attribute Details
#kms_key_name ⇒ ::String
Returns Optional. An optional KMS key
name that if
present, will be used to encrypt Speech-to-Text resources at-rest. Updating
this key will not encrypt existing resources using this key; only new
resources will be encrypted using this key. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
.
1418 1419 1420 1421 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1418 class Config include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String (readonly)
Returns Output only. Identifier. The name of the config resource. There is exactly
one config resource per project per location. The expected format is
projects/{project}/locations/{location}/config
.
1418 1419 1420 1421 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1418 class Config include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. The most recent time this resource was modified.
1418 1419 1420 1421 |
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1418 class Config include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |