Retail V2 API - Class Google::Cloud::Retail::V2::ImportCompletionDataRequest (v0.21.0)

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

#input_config=

def input_config=(value) -> ::Google::Cloud::Retail::V2::CompletionDataInputConfig
Parameter
Returns

#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 is sent to specified Pub/Sub topic. The message data is 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 is sent to specified Pub/Sub topic. The message data is 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 is sent to specified Pub/Sub topic. The message data is 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.