schemas_create: Creates a schema

View source: R/schemas.R

schemas_createR Documentation

Creates a schema

Description

Creates a schema

Usage

schemas_create(
  name,
  type = c("AVRO", "PROTOCOL_BUFFER", "TYPE_UNSPECIFIED"),
  definition,
  project = ps_project_get()
)

Arguments

name

character, Schema Required, schema name or instance of a schema object

type

character Type of the schema definition

definition

character Required, the definition of the schema

project

character GCP project id

Value

a Schema object

See Also

Other Schema functions: schemas_delete(), schemas_exists(), schemas_get(), schemas_list(), schemas_validate_message(), schemas_validate()


googlePubsubR documentation built on March 7, 2023, 6:38 p.m.