Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.speech/v1.getCustomClass
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Get a custom class.
Using getCustomClass
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCustomClass(args: GetCustomClassArgs, opts?: InvokeOptions): Promise<GetCustomClassResult>
function getCustomClassOutput(args: GetCustomClassOutputArgs, opts?: InvokeOptions): Output<GetCustomClassResult>
def get_custom_class(custom_class_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomClassResult
def get_custom_class_output(custom_class_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomClassResult]
func LookupCustomClass(ctx *Context, args *LookupCustomClassArgs, opts ...InvokeOption) (*LookupCustomClassResult, error)
func LookupCustomClassOutput(ctx *Context, args *LookupCustomClassOutputArgs, opts ...InvokeOption) LookupCustomClassResultOutput
> Note: This function is named LookupCustomClass
in the Go SDK.
public static class GetCustomClass
{
public static Task<GetCustomClassResult> InvokeAsync(GetCustomClassArgs args, InvokeOptions? opts = null)
public static Output<GetCustomClassResult> Invoke(GetCustomClassInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomClassResult> getCustomClass(GetCustomClassArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:speech/v1:getCustomClass
arguments:
# arguments dictionary
The following arguments are supported:
- Custom
Class stringId - Location string
- Project string
- Custom
Class stringId - Location string
- Project string
- custom
Class StringId - location String
- project String
- custom
Class stringId - location string
- project string
- custom_
class_ strid - location str
- project str
- custom
Class StringId - location String
- project String
getCustomClass Result
The following output properties are available:
- Annotations Dictionary<string, string>
- Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
- Custom
Class stringId - If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- Delete
Time string - The time at which this resource was requested for deletion. This field is not used.
- Display
Name string - User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
- Etag string
- This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
- Expire
Time string - The time at which this resource will be purged. This field is not used.
- Items
List<Pulumi.
Google Native. Speech. V1. Outputs. Class Item Response> - A collection of class items.
- Kms
Key stringName - The KMS key name with which the content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
. - Kms
Key stringVersion Name - The KMS key version name with which content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
. - Name string
- The resource name of the custom class.
- Reconciling bool
- Whether or not this CustomClass is in the process of being updated. This field is not used.
- State string
- The CustomClass lifecycle state. This field is not used.
- Uid string
- System-assigned unique identifier for the CustomClass. This field is not used.
- Annotations map[string]string
- Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
- Custom
Class stringId - If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- Delete
Time string - The time at which this resource was requested for deletion. This field is not used.
- Display
Name string - User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
- Etag string
- This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
- Expire
Time string - The time at which this resource will be purged. This field is not used.
- Items
[]Class
Item Response - A collection of class items.
- Kms
Key stringName - The KMS key name with which the content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
. - Kms
Key stringVersion Name - The KMS key version name with which content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
. - Name string
- The resource name of the custom class.
- Reconciling bool
- Whether or not this CustomClass is in the process of being updated. This field is not used.
- State string
- The CustomClass lifecycle state. This field is not used.
- Uid string
- System-assigned unique identifier for the CustomClass. This field is not used.
- annotations Map<String,String>
- Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
- custom
Class StringId - If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- delete
Time String - The time at which this resource was requested for deletion. This field is not used.
- display
Name String - User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
- etag String
- This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
- expire
Time String - The time at which this resource will be purged. This field is not used.
- items
List<Class
Item Response> - A collection of class items.
- kms
Key StringName - The KMS key name with which the content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
. - kms
Key StringVersion Name - The KMS key version name with which content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
. - name String
- The resource name of the custom class.
- reconciling Boolean
- Whether or not this CustomClass is in the process of being updated. This field is not used.
- state String
- The CustomClass lifecycle state. This field is not used.
- uid String
- System-assigned unique identifier for the CustomClass. This field is not used.
- annotations {[key: string]: string}
- Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
- custom
Class stringId - If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- delete
Time string - The time at which this resource was requested for deletion. This field is not used.
- display
Name string - User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
- etag string
- This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
- expire
Time string - The time at which this resource will be purged. This field is not used.
- items
Class
Item Response[] - A collection of class items.
- kms
Key stringName - The KMS key name with which the content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
. - kms
Key stringVersion Name - The KMS key version name with which content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
. - name string
- The resource name of the custom class.
- reconciling boolean
- Whether or not this CustomClass is in the process of being updated. This field is not used.
- state string
- The CustomClass lifecycle state. This field is not used.
- uid string
- System-assigned unique identifier for the CustomClass. This field is not used.
- annotations Mapping[str, str]
- Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
- custom_
class_ strid - If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- delete_
time str - The time at which this resource was requested for deletion. This field is not used.
- display_
name str - User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
- etag str
- This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
- expire_
time str - The time at which this resource will be purged. This field is not used.
- items
Sequence[Class
Item Response] - A collection of class items.
- kms_
key_ strname - The KMS key name with which the content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
. - kms_
key_ strversion_ name - The KMS key version name with which content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
. - name str
- The resource name of the custom class.
- reconciling bool
- Whether or not this CustomClass is in the process of being updated. This field is not used.
- state str
- The CustomClass lifecycle state. This field is not used.
- uid str
- System-assigned unique identifier for the CustomClass. This field is not used.
- annotations Map<String>
- Allows users to store small amounts of arbitrary data. Both the key and the value must be 63 characters or less each. At most 100 annotations. This field is not used.
- custom
Class StringId - If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- delete
Time String - The time at which this resource was requested for deletion. This field is not used.
- display
Name String - User-settable, human-readable name for the CustomClass. Must be 63 characters or less. This field is not used.
- etag String
- This checksum is computed by the server based on the value of other fields. This may be sent on update, undelete, and delete requests to ensure the client has an up-to-date value before proceeding. This field is not used.
- expire
Time String - The time at which this resource will be purged. This field is not used.
- items List<Property Map>
- A collection of class items.
- kms
Key StringName - The KMS key name with which the content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
. - kms
Key StringVersion Name - The KMS key version name with which content of the ClassItem is encrypted. The expected format is
projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}
. - name String
- The resource name of the custom class.
- reconciling Boolean
- Whether or not this CustomClass is in the process of being updated. This field is not used.
- state String
- The CustomClass lifecycle state. This field is not used.
- uid String
- System-assigned unique identifier for the CustomClass. This field is not used.
Supporting Types
ClassItemResponse
- Value string
- The class item's value.
- Value string
- The class item's value.
- value String
- The class item's value.
- value string
- The class item's value.
- value str
- The class item's value.
- value String
- The class item's value.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi