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.
5716 5717 5718 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5716 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
5714 5715 5716 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5714 def requests @requests end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5721 5722 5723 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 5721 def update!(**args) @requests = args[:requests] if args.key?(:requests) end |