Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CreateEntityTypeRequest.
Request message for FeaturestoreService.CreateEntityType.
Generated from protobuf message google.cloud.aiplatform.v1.CreateEntityTypeRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The resource name of the Featurestore to create EntityTypes. Format: |
↳ entity_type |
Google\Cloud\AIPlatform\V1\EntityType
The EntityType to create. |
↳ entity_type_id |
string
Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name. This value may be up to 60 characters, and valid characters are |
getParent
Required. The resource name of the Featurestore to create EntityTypes.
Format:
projects/{project}/locations/{location}/featurestores/{featurestore}
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The resource name of the Featurestore to create EntityTypes.
Format:
projects/{project}/locations/{location}/featurestores/{featurestore}
Generated from protobuf field string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEntityType
The EntityType to create.
Generated from protobuf field .google.cloud.aiplatform.v1.EntityType entity_type = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\EntityType|null |
hasEntityType
clearEntityType
setEntityType
The EntityType to create.
Generated from protobuf field .google.cloud.aiplatform.v1.EntityType entity_type = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\EntityType
|
Returns | |
---|---|
Type | Description |
$this |
getEntityTypeId
Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.
This value may be up to 60 characters, and valid characters are
[a-z0-9_]
. The first character cannot be a number.
The value must be unique within a featurestore.
Generated from protobuf field string entity_type_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setEntityTypeId
Required. The ID to use for the EntityType, which will become the final component of the EntityType's resource name.
This value may be up to 60 characters, and valid characters are
[a-z0-9_]
. The first character cannot be a number.
The value must be unique within a featurestore.
Generated from protobuf field string entity_type_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |