Cloud AI Platform v1 API - Class Context (2.8.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
MapField<String, String>

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; }

Output only. 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
RepeatedField<String>

ParentContextsAsContextNames

public ResourceNameList<ContextName> ParentContextsAsContextNames { get; }

ContextName-typed view over the ParentContexts resource name property.

Property Value
TypeDescription
ResourceNameList<ContextName>

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