Class ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource
The "sampleQueries" collection of methods.
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1beta
Assembly: Google.Apis.DiscoveryEngine.v1beta.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(GoogleCloudDiscoveryengineV1betaSampleQuery, string)
Creates a SampleQuery
Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.CreateRequest Create(GoogleCloudDiscoveryengineV1betaSampleQuery body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1betaSampleQuery | 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(GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest, 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(GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1betaImportSampleQueriesRequest | 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(GoogleCloudDiscoveryengineV1betaSampleQuery, string)
Updates a SampleQuery.
Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1betaSampleQuery body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1betaSampleQuery | 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 |