Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateFeatureRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateFeatureRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Overview
Request message for FeaturestoreService.CreateFeature.
Instance Attribute Summary collapse
-
#feature ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature
Feature Metadata information that describes an attribute of an entity type.
-
#feature_id ⇒ String
Required.
-
#parent ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1CreateFeatureRequest
constructor
A new instance of GoogleCloudAiplatformV1CreateFeatureRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1CreateFeatureRequest
Returns a new instance of GoogleCloudAiplatformV1CreateFeatureRequest.
2317 2318 2319 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2317 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feature ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Feature
Feature Metadata information that describes an attribute of an entity type.
For example, apple is an entity type, and color is a feature that describes
apple.
Corresponds to the JSON property feature
2300 2301 2302 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2300 def feature @feature end |
#feature_id ⇒ String
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 .
Corresponds to the JSON property featureId
2308 2309 2310 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2308 def feature_id @feature_id end |
#parent ⇒ String
Required. The resource name of the EntityType to create a Feature. Format:
projects/project/locations/location/featurestores/featurestore/
entityTypes/entity_type`
Corresponds to the JSON propertyparent`
2315 2316 2317 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2315 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2322 2323 2324 2325 2326 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2322 def update!(**args) @feature = args[:feature] if args.key?(:feature) @feature_id = args[:feature_id] if args.key?(:feature_id) @parent = args[:parent] if args.key?(:parent) end |