Class ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.CreateRequest
Creates a Context associated with a MetadataStore.
Inheritance
Inherited Members
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.MetadataStoresResource.ContextsResource.CreateRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1Context>, IClientServiceRequest<GoogleCloudAiplatformV1Context>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudAiplatformV1Context, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudAiplatformV1Context body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1Context | body | |
string | parent |
Properties
ContextId
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-/
. 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.)
Declaration
[RequestParameter("contextId", RequestParameterType.Query)]
public virtual string ContextId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The resource name of the MetadataStore where the Context should be created.
Format: projects/{project}/locations/{location}/metadataStores/{metadatastore}
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()