Cloud Speech-to-Text v2 API - Class Config (1.1.0)

public sealed class Config : IMessage<Config>, IEquatable<Config>, IDeepCloneable<Config>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Speech-to-Text v2 API class Config.

Message representing the config for the Speech-to-Text API. This includes an optional KMS key with which incoming data will be encrypted.

Inheritance

object > Config

Namespace

Google.Cloud.Speech.V2

Assembly

Google.Cloud.Speech.V2.dll

Constructors

Config()

public Config()

Config(Config)

public Config(Config other)
Parameter
Name Description
other Config

Properties

ConfigName

public ConfigName ConfigName { get; set; }

ConfigName-typed view over the Name resource name property.

Property Value
Type Description
ConfigName

KmsKeyName

public string KmsKeyName { get; set; }

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

Property Value
Type Description
string

KmsKeyNameAsCryptoKeyName

public CryptoKeyName KmsKeyNameAsCryptoKeyName { get; set; }

CryptoKeyName-typed view over the KmsKeyName resource name property.

Property Value
Type Description
CryptoKeyName

Name

public string Name { get; set; }

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.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The most recent time this resource was modified.

Property Value
Type Description
Timestamp