Required. The name of the schema that messages published should be
validated against. Format is projects/{project}/schemas/{schema}. The
value of this field will be _deleted-schema_ if the schema has been
deleted.
Property Value
Type
Description
System.String
SchemaAsSchemaName
public SchemaName SchemaAsSchemaName { get; set; }
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eSchemaSettings\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.PubSub.V1\u003c/code\u003e namespace, detailing its properties and inheritance structure.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSchemaSettings\u003c/code\u003e class is designed for configuring how messages are validated against a schema, including the encoding and the schema name for validation.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers multiple versions, from 2.3.0 up to 3.23.0, with the latest being 3.23.0, all of which can be accessed through the provided links.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class include \u003ccode\u003eEncoding\u003c/code\u003e, \u003ccode\u003eSchema\u003c/code\u003e, and \u003ccode\u003eSchemaAsSchemaName\u003c/code\u003e, which define the message encoding, schema name, and a schema name type, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSchemaSettings\u003c/code\u003e class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities within the Google Protocol Buffers ecosystem.\u003c/p\u003e\n"]]],[],null,[]]