Google Native

v0.26.0 published on Friday, Sep 16, 2022 by Pulumi

CustomClass

Create a custom class.

Create a CustomClass Resource

new CustomClass(name: string, args: CustomClassArgs, opts?: CustomResourceOptions);
@overload
def CustomClass(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                custom_class_id: Optional[str] = None,
                items: Optional[Sequence[ClassItemArgs]] = None,
                location: Optional[str] = None,
                name: Optional[str] = None,
                project: Optional[str] = None)
@overload
def CustomClass(resource_name: str,
                args: CustomClassArgs,
                opts: Optional[ResourceOptions] = None)
func NewCustomClass(ctx *Context, name string, args CustomClassArgs, opts ...ResourceOption) (*CustomClass, error)
public CustomClass(string name, CustomClassArgs args, CustomResourceOptions? opts = null)
public CustomClass(String name, CustomClassArgs args)
public CustomClass(String name, CustomClassArgs args, CustomResourceOptions options)
type: google-native:speech/v1:CustomClass
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CustomClassArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CustomClassArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CustomClassArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CustomClassArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CustomClassArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CustomClass Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CustomClass resource accepts the following input properties:

CustomClassId string

The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.

Items List<Pulumi.GoogleNative.Speech.V1.Inputs.ClassItemArgs>

A collection of class items.

Location string
Name string

The resource name of the custom class.

Project string
CustomClassId string

The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.

Items []ClassItemArgs

A collection of class items.

Location string
Name string

The resource name of the custom class.

Project string
customClassId String

The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.

items List<ClassItemArgs>

A collection of class items.

location String
name String

The resource name of the custom class.

project String
customClassId string

The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.

items ClassItemArgs[]

A collection of class items.

location string
name string

The resource name of the custom class.

project string
custom_class_id str

The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.

items Sequence[ClassItemArgs]

A collection of class items.

location str
name str

The resource name of the custom class.

project str
customClassId String

The ID to use for the custom class, which will become the final component of the custom class' resource name. This value should restrict to letters, numbers, and hyphens, with the first character a letter, the last a letter or a number, and be 4-63 characters.

items List<Property Map>

A collection of class items.

location String
name String

The resource name of the custom class.

project String

Outputs

All input properties are implicitly available as output properties. Additionally, the CustomClass resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

ClassItem

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.

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
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0