Cloud AI Platform v1beta1 API - Class Context (1.0.0-beta08)

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

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

Instance of a general context.

Inheritance

object > Context

Namespace

Google.Cloud.AIPlatform.V1Beta1

Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

Constructors

Context()

public Context()

Context(Context)

public Context(Context other)
Parameter
Name Description
other Context

Properties

ContextName

public ContextName ContextName { get; set; }

ContextName-typed view over the Name resource name property.

Property Value
Type Description
ContextName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp when this Context was created.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Description of the Context

Property Value
Type Description
string

DisplayName

public string DisplayName { get; set; }

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

Property Value
Type Description
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
Type Description
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
Type Description
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
Type Description
Struct

Name

public string Name { get; set; }

Immutable. The resource name of the Context.

Property Value
Type Description
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
Type Description
RepeatedFieldstring

ParentContextsAsContextNames

public ResourceNameList<ContextName> ParentContextsAsContextNames { get; }

ContextName-typed view over the ParentContexts resource name property.

Property Value
Type Description
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
Type Description
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
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Timestamp when this Context was last updated.

Property Value
Type Description
Timestamp