Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest

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

Overview

Request message for SiteSearchEngineService.BatchCreateTargetSites method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest

Returns a new instance of GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest.



1688
1689
1690
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1688

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

Instance Attribute Details

#requestsArray<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1CreateTargetSiteRequest>

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



1686
1687
1688
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1686

def requests
  @requests
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1693
1694
1695
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 1693

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