Class ProjectsResource.LocationsResource.FeatureGroupsResource.FeaturesResource.CreateRequest
Creates a new Feature in a given FeatureGroup.
Inheritance
Inherited Members
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.FeatureGroupsResource.FeaturesResource.CreateRequest : AiplatformBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, GoogleCloudAiplatformV1beta1Feature, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, GoogleCloudAiplatformV1beta1Feature body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1beta1Feature | body | |
string | parent |
Properties
FeatureId
Required. The ID to use for the Feature, which will become the final component of the
Feature's resource name. This value may be up to 128 characters, and valid characters are
[a-z0-9_]
. The first character cannot be a number. The value must be unique within an
EntityType/FeatureGroup.
Declaration
[RequestParameter("featureId", RequestParameterType.Query)]
public virtual string FeatureId { 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 EntityType or FeatureGroup to create a Feature. Format
for entity_type as parent:
projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}
Format for feature_group as parent:
projects/{project}/locations/{location}/featureGroups/{feature_group}
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()