ContextArgs class

The set of arguments for Context. The set of arguments for Context.

Constructors

ContextArgs({Input<String>? contextId, Input<String>? description, Input<String>? displayName, Input<String>? etag, Input<Map<String, String>>? labels, Input<String>? location, Input<Map<String, String>>? metadata, required Input<String> metadataStoreId, Input<String>? name, Input<String>? project, Input<String>? schemaTitle, Input<String>? schemaVersion})
Creates a new ContextArgs. contextId The {context} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}. If not provided, the Context's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are /a-z-/. Must be unique across all Contexts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Context.) description Description of the Context displayName User provided display name of the Context. May be up to 128 Unicode characters. etag An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. labels The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded). location Optional. metadata Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB. metadataStoreId Required. name Immutable. The resource name of the Context. project Optional. schemaTitle The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store. schemaVersion The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
const
ContextArgs.fromMap(Map<String, dynamic> map)
factory

Properties

contextId → Input<String>?
The {context} portion of the resource name with the format: projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}. If not provided, the Context's ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are /a-z-/. Must be unique across all Contexts in the parent MetadataStore. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting Context.)
final
description → Input<String>?
Description of the Context
final
displayName → Input<String>?
User provided display name of the Context. May be up to 128 Unicode characters.
final
etag → Input<String>?
An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>?
The labels with user-defined metadata to organize your Contexts. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Context (System labels are excluded).
final
location → Input<String>?
final
metadata → Input<Map<String, String>>?
Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.
final
metadataStoreId → Input<String>
final
name → Input<String>?
Immutable. The resource name of the Context.
final
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemaTitle → Input<String>?
The title of the schema describing the metadata. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
final
schemaVersion → Input<String>?
The version of the schema in schema_name to use. Schema title and version is expected to be registered in earlier Create Schema calls. And both are used together as unique identifiers to identify schemas within the local metadata store.
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