Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
- 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
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest
Returns a new instance of GoogleCloudDiscoveryengineV1BatchCreateTargetSitesRequest.
2131 2132 2133 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<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
2129 2130 2131 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2129 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2136 2137 2138 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 2136 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |