Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest

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

Overview

Request message for SiteSearchEngineService.BatchCreateTargetSites method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest

Returns a new instance of GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest.



3895
3896
3897
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3895

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

Instance Attribute Details

#requestsArray<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaCreateTargetSiteRequest>

Required. The request message specifying the resources to create. A maximum of 20 TargetSites can be created in a batch. Corresponds to the JSON property requests



3893
3894
3895
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3893

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3900
3901
3902
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 3900

def update!(**args)
  @requests = args[:requests] if args.key?(:requests)
end