Class: Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportCompletionDataRequest
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaImportCompletionDataRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2alpha/classes.rb,
lib/google/apis/retail_v2alpha/representations.rb,
lib/google/apis/retail_v2alpha/representations.rb
Overview
Request message for ImportCompletionData methods.
Instance Attribute Summary collapse
-
#input_config ⇒ Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompletionDataInputConfig
The input config source for completion data.
-
#notification_pubsub_topic ⇒ String
Pub/Sub topic for receiving notification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2alphaImportCompletionDataRequest
constructor
A new instance of GoogleCloudRetailV2alphaImportCompletionDataRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2alphaImportCompletionDataRequest
Returns a new instance of GoogleCloudRetailV2alphaImportCompletionDataRequest.
3308 3309 3310 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3308 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_config ⇒ Google::Apis::RetailV2alpha::GoogleCloudRetailV2alphaCompletionDataInputConfig
The input config source for completion data.
Corresponds to the JSON property inputConfig
3298 3299 3300 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3298 def input_config @input_config end |
#notification_pubsub_topic ⇒ 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`.
Corresponds to the JSON property
notificationPubsubTopic`
3306 3307 3308 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3306 def notification_pubsub_topic @notification_pubsub_topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3313 3314 3315 3316 |
# File 'lib/google/apis/retail_v2alpha/classes.rb', line 3313 def update!(**args) @input_config = args[:input_config] if args.key?(:input_config) @notification_pubsub_topic = args[:notification_pubsub_topic] if args.key?(:notification_pubsub_topic) end |