GetContextResult constructor

const GetContextResult({
  1. required String createTime,
  2. required String description,
  3. required String displayName,
  4. required String etag,
  5. required Map<String, String> labels,
  6. required Map<String, String> metadata,
  7. required String name,
  8. required List<String> parentContexts,
  9. required String schemaTitle,
  10. required String schemaVersion,
  11. required String updateTime,
})

Creates a new GetContextResult. createTime Timestamp when this Context was created. 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). 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. name Immutable. The resource name of the Context. parentContexts A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts. 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. updateTime Timestamp when this Context was last updated.

Implementation

const GetContextResult({
  required this.createTime,
  required this.description,
  required this.displayName,
  required this.etag,
  required this.labels,
  required this.metadata,
  required this.name,
  required this.parentContexts,
  required this.schemaTitle,
  required this.schemaVersion,
  required this.updateTime,
});