Class ProjectsResource.LocationsResource.MetadataStoresResource.MetadataSchemasResource.CreateRequest
Creates a MetadataSchema.
Inheritance
Inherited Members
Namespace: Google.Apis.Aiplatform.v1
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class ProjectsResource.LocationsResource.MetadataStoresResource.MetadataSchemasResource.CreateRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1MetadataSchema>, IClientServiceRequest<GoogleCloudAiplatformV1MetadataSchema>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudAiplatformV1MetadataSchema, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudAiplatformV1MetadataSchema body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1MetadataSchema | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MetadataSchemaId
The {metadata_schema} portion of the resource name with the format:
projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}
If not provided, the MetadataStore'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
MetadataSchemas in the parent Location. (Otherwise the request will fail with
ALREADY_EXISTS, or PERMISSION_DENIED if the caller can't view the preexisting
MetadataSchema.)
Declaration
[RequestParameter("metadataSchemaId", RequestParameterType.Query)]
public virtual string MetadataSchemaId { get; set; }
Property Value
Type | Description |
---|---|
string |
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 MetadataSchema 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()