Package com.pulumi.gcp.pubsub
Class SchemaArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.pubsub.SchemaArgs
-
public final class SchemaArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SchemaArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static SchemaArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchemaArgs.Builder
builder()
static SchemaArgs.Builder
builder(SchemaArgs defaults)
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
definition()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
type()
-
-
-
Field Detail
-
Empty
public static final SchemaArgs Empty
-
-
Method Detail
-
definition
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> definition()
- Returns:
- The definition of the schema. This should contain a string representing the full definition of the schema that is a valid schema definition of the type specified in type. Changes to the definition commit new [schema revisions](https://cloud.google.com/pubsub/docs/commit-schema-revision). A schema can only have up to 20 revisions, so updates that fail with an error indicating that the limit has been reached require manually [deleting old revisions](https://cloud.google.com/pubsub/docs/delete-schema-revision).
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- The ID to use for the schema, which will become the final component of the schema's resource name. ***
-
project
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
- Returns:
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
type
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> type()
- Returns:
- The type of the schema definition Default value is `TYPE_UNSPECIFIED`. Possible values are: `TYPE_UNSPECIFIED`, `PROTOCOL_BUFFER`, `AVRO`.
-
builder
public static SchemaArgs.Builder builder()
-
builder
public static SchemaArgs.Builder builder(SchemaArgs defaults)
-
-