SchemaArgs class
The set of arguments for Schema. The set of arguments for Schema.
Constructors
-
SchemaArgs({Input<
String> ? definition, Input<String> ? name, Input<String> ? project, Input<String> ? schemaId, Input<SchemaType> ? type}) -
Creates a new SchemaArgs.
definitionThe 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 intype.nameName of the schema. Format isprojects/{project}/schemas/{schema}.projectOptional.schemaIdThe 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/pubsub-basics#resource_names for resource name constraints.typeThe type of the schema definition.const -
SchemaArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
definition
→ Input<
String> ? -
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.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String> ? -
Name of the schema. Format is
projects/{project}/schemas/{schema}.final -
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
schemaId
→ Input<
String> ? -
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/pubsub-basics#resource_names for resource name constraints.
final
-
type
→ Input<
SchemaType> ? -
The type of the schema definition.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited