Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest
- 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
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest
Returns a new instance of GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest.
1564 1565 1566 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1564 def initialize(**args) update!(**args) end |
Instance Attribute Details
#requests ⇒ Array<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
1562 1563 1564 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1562 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1569 1570 1571 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 1569 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |