com.google.pubsub.v1.schema.CreateSchemaRequest
See theCreateSchemaRequest companion object
final case class CreateSchemaRequest(parent: String, schema: Option[Schema], schemaId: String, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[CreateSchemaRequest]
Request for the CreateSchema method.
Attributes
- parent
Required. The name of the project in which to create the schema. Format is
projects/{project-id}
.- schema
Required. The schema object to create. This schema's
name
parameter is ignored. The schema object returned by CreateSchema will have aname
made using the givenparent
andschema_id
.- 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/admin#resource_names for resource name constraints.
- Companion:
- object
- Source:
- CreateSchemaRequest.scala
- Graph
- Supertypes
- trait Updatable[CreateSchemaRequest]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any