REST Resource: projects.locations.config

Resource: Config

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

JSON representation
 { 
 "name" 
 : 
 string 
 , 
 "kmsKeyName" 
 : 
 string 
 , 
 "updateTime" 
 : 
 string 
 } 
Fields
name

string

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 .

kmsKeyName

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

updateTime

string ( Timestamp format)

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

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z" , "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30" .

Methods

get

Returns the requested Config .

update

Updates the Config .
Create a Mobile Website
View Site in Mobile | Classic
Share by: