Google Cloud Ai Platform V1 Client - Class CreateFeatureViewRequest (1.12.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class CreateFeatureViewRequest.

Request message for FeatureOnlineStoreAdminService.CreateFeatureView.

Generated from protobuf message google.cloud.aiplatform.v1.CreateFeatureViewRequest

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

↳ feature_view FeatureView

Required. The FeatureView to create.

↳ feature_view_id string

Required. The ID to use for the FeatureView, which will become the final component of the FeatureView'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 FeatureOnlineStore.

↳ run_sync_immediately bool

Immutable. If set to true, one on demand sync will be run immediately, regardless whether the FeatureView.sync_config is configured or not.

getParent

Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

Returns
Type Description
string

setParent

Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store}

Parameter
Name Description
var string
Returns
Type Description
$this

getFeatureView

Required. The FeatureView to create.

Returns
Type Description
FeatureView|null

hasFeatureView

clearFeatureView

setFeatureView

Required. The FeatureView to create.

Parameter
Name Description
var FeatureView
Returns
Type Description
$this

getFeatureViewId

Required. The ID to use for the FeatureView, which will become the final component of the FeatureView'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 FeatureOnlineStore.

Returns
Type Description
string

setFeatureViewId

Required. The ID to use for the FeatureView, which will become the final component of the FeatureView'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 FeatureOnlineStore.

Parameter
Name Description
var string
Returns
Type Description
$this

getRunSyncImmediately

Immutable. If set to true, one on demand sync will be run immediately, regardless whether the FeatureView.sync_config is configured or not.

Returns
Type Description
bool

setRunSyncImmediately

Immutable. If set to true, one on demand sync will be run immediately, regardless whether the FeatureView.sync_config is configured or not.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The resource name of the FeatureOnlineStore to create FeatureViews. Format: projects/{project}/locations/{location}/featureOnlineStores/{feature_online_store} Please see FeatureOnlineStoreAdminServiceClient::featureOnlineStoreName() for help formatting this field.

featureView FeatureView

Required. The FeatureView to create.

featureViewId string

Required. The ID to use for the FeatureView, which will become the final component of the FeatureView'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 FeatureOnlineStore.

Returns
Type Description
CreateFeatureViewRequest