Reference documentation and code samples for the Google Cloud Retail V2 Client class UserEventInputConfig.
The input config source for user events.
Generated from protobuf message google.cloud.retail.v2.UserEventInputConfig
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ user_event_inline_source |
Google\Cloud\Retail\V2\UserEventInlineSource
Required. The Inline source for the input content for UserEvents. |
↳ gcs_source |
Google\Cloud\Retail\V2\GcsSource
Required. Google Cloud Storage location for the input content. |
↳ big_query_source |
Google\Cloud\Retail\V2\BigQuerySource
Required. BigQuery input source. |
getUserEventInlineSource
Required. The Inline source for the input content for UserEvents.
Generated from protobuf field .google.cloud.retail.v2.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Retail\V2\UserEventInlineSource|null |
hasUserEventInlineSource
setUserEventInlineSource
Required. The Inline source for the input content for UserEvents.
Generated from protobuf field .google.cloud.retail.v2.UserEventInlineSource user_event_inline_source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Retail\V2\UserEventInlineSource
|
Returns | |
---|---|
Type | Description |
$this |
getGcsSource
Required. Google Cloud Storage location for the input content.
Generated from protobuf field .google.cloud.retail.v2.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Retail\V2\GcsSource|null |
hasGcsSource
setGcsSource
Required. Google Cloud Storage location for the input content.
Generated from protobuf field .google.cloud.retail.v2.GcsSource gcs_source = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Retail\V2\GcsSource
|
Returns | |
---|---|
Type | Description |
$this |
getBigQuerySource
Required. BigQuery input source.
Generated from protobuf field .google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Google\Cloud\Retail\V2\BigQuerySource|null |
hasBigQuerySource
setBigQuerySource
Required. BigQuery input source.
Generated from protobuf field .google.cloud.retail.v2.BigQuerySource big_query_source = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Retail\V2\BigQuerySource
|
Returns | |
---|---|
Type | Description |
$this |
getSource
Returns | |
---|---|
Type | Description |
string |