Cloud AI Platform v1 API - Class Context (2.25.0)

public sealed class Context : IMessage<Context>, IEquatable<Context>, IDeepCloneable<Context>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud AI Platform v1 API class Context.

Instance of a general context.

Inheritance

object > Context

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

Context()

public Context()

Context(Context)

public Context(Context other)
Parameter
NameDescription
otherContext

Properties

ContextName

public ContextName ContextName { get; set; }

ContextName-typed view over the Name resource name property.

Property Value
TypeDescription
ContextName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp when this Context was created.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

Description of the Context

Property Value
TypeDescription
string

DisplayName

public string DisplayName { get; set; }

User provided display name of the Context. May be up to 128 Unicode characters.

Property Value
TypeDescription
string

Etag

public string Etag { get; set; }

An eTag used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens.

Property Value
TypeDescription
string

Labels

public MapField<string, string> Labels { get; }

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).

Property Value
TypeDescription
MapFieldstringstring

Metadata

public Struct Metadata { get; set; }

Properties of the Context. Top level metadata keys' heading and trailing spaces will be trimmed. The size of this field should not exceed 200KB.

Property Value
TypeDescription
Struct

Name

public string Name { get; set; }

Immutable. The resource name of the Context.

Property Value
TypeDescription
string

ParentContexts

public RepeatedField<string> ParentContexts { get; }

Output only. A list of resource names of Contexts that are parents of this Context. A Context may have at most 10 parent_contexts.

Property Value
TypeDescription
RepeatedFieldstring

ParentContextsAsContextNames

public ResourceNameList<ContextName> ParentContextsAsContextNames { get; }

ContextName-typed view over the ParentContexts resource name property.

Property Value
TypeDescription
ResourceNameListContextName

SchemaTitle

public string SchemaTitle { get; set; }

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.

Property Value
TypeDescription
string

SchemaVersion

public string SchemaVersion { get; set; }

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.

Property Value
TypeDescription
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp when this Context was last updated.

Property Value
TypeDescription
Timestamp