Interface PubsubTopicSchemaSettings

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    PubsubTopicSchemaSettings.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:22.497Z")
    @Stability(Stable)
    public interface PubsubTopicSchemaSettings
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getSchema

        @Stability(Stable)
        @NotNull
        String getSchema()
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_topic#schema PubsubTopic#schema}

      • getEncoding

        @Stability(Stable)
        @Nullable
        default String getEncoding()
        The encoding of messages validated against schema. Default value: "ENCODING_UNSPECIFIED" Possible values: ["ENCODING_UNSPECIFIED", "JSON", "BINARY"].

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/pubsub_topic#encoding PubsubTopic#encoding}