Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CreateFeatureRequest

Inherits:
Object
  • Object
show all
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.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1CreateFeatureRequest

Returns a new instance of GoogleCloudAiplatformV1beta1CreateFeatureRequest.



2472
2473
2474
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2472

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#featureGoogle::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature

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



2455
2456
2457
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2455

def feature
  @feature
end

#feature_idString

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

Returns:

  • (String)


2463
2464
2465
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2463

def feature_id
  @feature_id
end

#parentString

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`

Returns:

  • (String)


2470
2471
2472
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2470

def parent
  @parent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2477
2478
2479
2480
2481
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 2477

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