Class: Google::Cloud::Speech::V2::Config

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

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

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}.

Returns:

  • (::String)

    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}.



1257
1258
1259
1260
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1257

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

#name::String (readonly)

Returns Output only. 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.

Returns:

  • (::String)

    Output only. 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.



1257
1258
1259
1260
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1257

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.

Returns:



1257
1258
1259
1260
# File 'proto_docs/google/cloud/speech/v2/cloud_speech.rb', line 1257

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