Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaImportCompletionDataRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb

Overview

Request message for ImportCompletionData methods.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudRetailV2betaImportCompletionDataRequest

Returns a new instance of GoogleCloudRetailV2betaImportCompletionDataRequest.



2133
2134
2135
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2133

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#input_configGoogle::Apis::RetailV2beta::GoogleCloudRetailV2betaCompletionDataInputConfig

The input config source for completion data. Corresponds to the JSON property inputConfig



2123
2124
2125
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2123

def input_config
  @input_config
end

#notification_pubsub_topicString

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`. Corresponds to the JSON propertynotificationPubsubTopic`

Returns:

  • (String)


2131
2132
2133
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2131

def notification_pubsub_topic
  @notification_pubsub_topic
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2138
2139
2140
2141
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2138

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