SchemaArgs

data class SchemaArgs(val definition: Output<String>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val schemaId: Output<String>? = null, val type: Output<SchemaType>? = null) : ConvertibleToJava<SchemaArgs>

Creates a schema.

Constructors

Link copied to clipboard
fun SchemaArgs(definition: Output<String>? = null, name: Output<String>? = null, project: Output<String>? = null, schemaId: Output<String>? = null, type: Output<SchemaType>? = null)

Functions

Link copied to clipboard
open override fun toJava(): SchemaArgs

Properties

Link copied to clipboard
val definition: Output<String>? = null

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.

Link copied to clipboard
val name: Output<String>? = null

Name of the schema. Format is projects/{project}/schemas/{schema}.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val schemaId: Output<String>? = null

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/admin#resource_names for resource name constraints.

Link copied to clipboard
val type: Output<SchemaType>? = null

The type of the schema definition.