Class ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource
The "targetSites" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta
Assembly: Google.Apis.DiscoveryEngine.v1beta.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(GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest, string)
Creates TargetSite in a batch.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.BatchCreateRequest BatchCreate(GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1betaBatchCreateTargetSitesRequest | 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(GoogleCloudDiscoveryengineV1betaTargetSite, string)
Creates a TargetSite.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.CreateRequest Create(GoogleCloudDiscoveryengineV1betaTargetSite body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1betaTargetSite | 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(GoogleCloudDiscoveryengineV1betaTargetSite, string)
Updates a TargetSite.
Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource.SiteSearchEngineResource.TargetSitesResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1betaTargetSite body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1betaTargetSite | 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 |