Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CreateFeatureRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CreateFeatureRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Request message for FeaturestoreService.CreateFeature. Request message for FeatureRegistryService.CreateFeature.
Instance Attribute Summary collapse
-
#feature ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature
Feature Metadata information.
-
#feature_id ⇒ String
Required.
-
#parent ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CreateFeatureRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1CreateFeatureRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CreateFeatureRequest
Returns a new instance of GoogleCloudAiplatformV1beta1CreateFeatureRequest.
3967 3968 3969 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3967 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feature ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature
Feature Metadata information. For example, color is a feature that describes
an apple.
Corresponds to the JSON property feature
3948 3949 3950 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3948 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/FeatureGroup.
Corresponds to the JSON property featureId
3956 3957 3958 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3956 def feature_id @feature_id end |
#parent ⇒ String
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_typeFormat for
feature_group as parent: `projects/`project`/locations/`location`/
featureGroups/`feature_group
Corresponds to the JSON property parent
3965 3966 3967 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3965 def parent @parent end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3972 3973 3974 3975 3976 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 3972 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 |