public sealed class CreateSchemaRequest : IMessage<CreateSchemaRequest>, IEquatable<CreateSchemaRequest>, IDeepCloneable<CreateSchemaRequest>, IBufferMessage, IMessage
Request for the CreateSchema method.
Inheritance
System.Object > CreateSchemaRequestImplements
Google.Protobuf.IMessage<CreateSchemaRequest>, System.IEquatable<CreateSchemaRequest>, Google.Protobuf.IDeepCloneable<CreateSchemaRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
CreateSchemaRequest()
public CreateSchemaRequest()
CreateSchemaRequest(CreateSchemaRequest)
public CreateSchemaRequest(CreateSchemaRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateSchemaRequest |
Properties
Parent
public string Parent { get; set; }
Required. The name of the project in which to create the schema.
Format is projects/{project-id}
.
Property Value | |
---|---|
Type | Description |
System.String |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
Google.Api.Gax.ResourceNames.ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
Google.Api.Gax.ResourceNames.ProjectName |
Schema
public Schema Schema { get; set; }
Required. The schema object to create.
This schema's name
parameter is ignored. The schema object returned
by CreateSchema will have a name
made using the given parent
and
schema_id
.
Property Value | |
---|---|
Type | Description |
Schema |
SchemaId
public string SchemaId { get; set; }
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.
Property Value | |
---|---|
Type | Description |
System.String |