Class ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource
The "targetSites" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource
Constructors
TargetSitesResource(IClientService)
Constructs a new resource.
Declaration
public TargetSitesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
BatchCreate(GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest, string)
Creates TargetSite in a batch.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.BatchCreateRequest BatchCreate(GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaBatchCreateTargetSitesRequest | body | The body of the request. |
string | parent | Required. The parent resource shared by all TargetSites being created.
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.BatchCreateRequest |
Create(GoogleCloudDiscoveryengineV1alphaTargetSite, string)
Creates a TargetSite.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.CreateRequest Create(GoogleCloudDiscoveryengineV1alphaTargetSite body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaTargetSite | body | The body of the request. |
string | parent | Required. Parent resource name of TargetSite, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.CreateRequest |
Delete(string)
Deletes a TargetSite.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Full resource name of TargetSite, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.DeleteRequest |
Get(string)
Gets a TargetSite.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Full resource name of TargetSite, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.GetRequest |
List(string)
Gets a list of TargetSites.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent site search engine resource name, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.ListRequest |
Patch(GoogleCloudDiscoveryengineV1alphaTargetSite, string)
Updates a TargetSite.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1alphaTargetSite body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaTargetSite | body | The body of the request. |
string | name | Output only. The fully qualified resource name of the target site.
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.PatchRequest |