Cloud AI Platform v1 API - Class CreateContextRequest (2.13.0)

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

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

Request message for [MetadataService.CreateContext][google.cloud.aiplatform.v1.MetadataService.CreateContext].

Inheritance

object > CreateContextRequest

Namespace

GoogleCloudGoogle.Cloud.AIPlatformV1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

CreateContextRequest()

public CreateContextRequest()

CreateContextRequest(CreateContextRequest)

public CreateContextRequest(CreateContextRequest other)
Parameter
NameDescription
otherCreateContextRequest

Properties

Context

public Context Context { get; set; }

Required. The Context to create.

Property Value
TypeDescription
Context

ContextId

public string ContextId { get; set; }

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][0-9]-/. 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.)

Property Value
TypeDescription
string

Parent

public string Parent { get; set; }

Required. The resource name of the MetadataStore where the Context should be created. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}

Property Value
TypeDescription
string

ParentAsMetadataStoreName

public MetadataStoreName ParentAsMetadataStoreName { get; set; }

MetadataStoreName-typed view over the Parent resource name property.

Property Value
TypeDescription
MetadataStoreName