SchemaArgs constructor
const
SchemaArgs({
- Input<
String> ? definition, - Input<
String> ? name, - Input<
String> ? project, - Input<
String> ? schemaId, - Input<
SchemaType> ? type,
Creates a new SchemaArgs.
definition The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type.
name Name of the schema. Format is projects/{project}/schemas/{schema}.
project Optional.
schemaId The ID to use for the schema, which will become the final component of the schema's resource name. See https://cloud.google.com/pubsub/docs/pubsub-basics#resource_names for resource name constraints.
type The type of the schema definition.
Implementation
const SchemaArgs({
this.definition,
this.name,
this.project,
this.schemaId,
this.type,
});