Class CreateContextRequest (1.3.0)

CreateContextRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for MetadataService.CreateContext.

Attributes

NameDescription
parent str
Required. The resource name of the MetadataStore where the Context should be created. Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}
context google.cloud.aiplatform_v1beta1.types.Context
Required. The Context to create.
context_id str
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.)

Inheritance

builtins.object > proto.message.Message > CreateContextRequest