Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::ImportCompletionDataRequest.
Request message for ImportCompletionData methods.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#input_config
def input_config() -> ::Google::Cloud::Retail::V2::CompletionDataInputConfig
Returns
- (::Google::Cloud::Retail::V2::CompletionDataInputConfig) — Required. The desired input location of the data.
#input_config=
def input_config=(value) -> ::Google::Cloud::Retail::V2::CompletionDataInputConfig
Parameter
- value (::Google::Cloud::Retail::V2::CompletionDataInputConfig) — Required. The desired input location of the data.
Returns
- (::Google::Cloud::Retail::V2::CompletionDataInputConfig) — Required. The desired input location of the data.
#notification_pubsub_topic
def notification_pubsub_topic() -> ::String
Returns
-
(::String) — Pub/Sub topic for receiving notification. If this field is set,
when the import is finished, a notification will be sent to
specified Pub/Sub topic. The message data will be JSON string of a
Operation.
Format of the Pub/Sub topic is
projects/{project}/topics/{topic}
.
#notification_pubsub_topic=
def notification_pubsub_topic=(value) -> ::String
Parameter
-
value (::String) — Pub/Sub topic for receiving notification. If this field is set,
when the import is finished, a notification will be sent to
specified Pub/Sub topic. The message data will be JSON string of a
Operation.
Format of the Pub/Sub topic is
projects/{project}/topics/{topic}
.
Returns
-
(::String) — Pub/Sub topic for receiving notification. If this field is set,
when the import is finished, a notification will be sent to
specified Pub/Sub topic. The message data will be JSON string of a
Operation.
Format of the Pub/Sub topic is
projects/{project}/topics/{topic}
.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The catalog which the suggestions dataset belongs to.
Format:
projects/1234/locations/global/catalogs/default_catalog
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The catalog which the suggestions dataset belongs to.
Format:
projects/1234/locations/global/catalogs/default_catalog
.
Returns
-
(::String) — Required. The catalog which the suggestions dataset belongs to.
Format:
projects/1234/locations/global/catalogs/default_catalog
.