Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::BatchCreateTargetSitesRequest.
Request message for SiteSearchEngineService.BatchCreateTargetSites method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The parent resource shared by all TargetSites being created.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
. The parent field in the CreateBookRequest messages must either be empty or match this field.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent resource shared by all TargetSites being created.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
. The parent field in the CreateBookRequest messages must either be empty or match this field.
Returns
-
(::String) — Required. The parent resource shared by all TargetSites being created.
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine
. The parent field in the CreateBookRequest messages must either be empty or match this field.
#requests
def requests() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::CreateTargetSiteRequest>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::CreateTargetSiteRequest>) — Required. The request message specifying the resources to create. A maximum of 20 TargetSites can be created in a batch.
#requests=
def requests=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::CreateTargetSiteRequest>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::CreateTargetSiteRequest>) — Required. The request message specifying the resources to create. A maximum of 20 TargetSites can be created in a batch.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::CreateTargetSiteRequest>) — Required. The request message specifying the resources to create. A maximum of 20 TargetSites can be created in a batch.