Class ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource
The "sampleQueries" collection of methods.
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource
Constructors
SampleQueriesResource(IClientService)
Constructs a new resource.
Declaration
public SampleQueriesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleCloudDiscoveryengineV1alphaSampleQuery, string)
Creates a SampleQuery
Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.CreateRequest Create(GoogleCloudDiscoveryengineV1alphaSampleQuery body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaSampleQuery | body | The body of the request. |
string | parent | Required. The parent resource name, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.CreateRequest |
Delete(string)
Deletes a SampleQuery.
Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Full resource name of SampleQuery, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.DeleteRequest |
Get(string)
Gets a SampleQuery.
Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Full resource name of SampleQuery, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.GetRequest |
Import(GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest, string)
Bulk import of multiple SampleQuerys. Sample queries that already exist may be deleted. Note: It is possible for a subset of the SampleQuerys to be successfully imported.
Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.ImportRequest Import(GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaImportSampleQueriesRequest | body | The body of the request. |
string | parent | Required. The parent sample query set resource name, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.ImportRequest |
List(string)
Gets a list of SampleQuerys.
Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent sample query set resource name, such as
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.ListRequest |
Patch(GoogleCloudDiscoveryengineV1alphaSampleQuery, string)
Updates a SampleQuery.
Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1alphaSampleQuery body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaSampleQuery | body | The body of the request. |
string | name | Identifier. The full resource name of the sample query, in the format of
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.PatchRequest |