Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.speech/v1.getCustomClass
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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:
- Custom
Class stringId If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- Items
List<Pulumi.
Google Native. Speech. V1. Outputs. Class Item Response> A collection of class items.
- Name string
The resource name of the custom class.
- Custom
Class stringId If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- Items
[]Class
Item Response A collection of class items.
- Name string
The resource name of the custom class.
- custom
Class StringId If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- items
List<Class
Item Response> A collection of class items.
- name String
The resource name of the custom class.
- custom
Class stringId If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- items
Class
Item Response[] A collection of class items.
- name string
The resource name of the custom class.
- custom_
class_ strid If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- items
Sequence[Class
Item Response] A collection of class items.
- name str
The resource name of the custom class.
- custom
Class StringId If this custom class is a resource, the custom_class_id is the resource id of the CustomClass. Case sensitive.
- items List<Property Map>
A collection of class items.
- name String
The resource name of the custom class.
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.