Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.SampleQuerySetsResource

The "sampleQuerySets" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.SampleQuerySetsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1beta
Assembly: Google.Apis.DiscoveryEngine.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.SampleQuerySetsResource

Constructors

SampleQuerySetsResource(IClientService)

Constructs a new resource.

Declaration
public SampleQuerySetsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Properties

Operations

Gets the Operations resource.

Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.OperationsResource Operations { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.SampleQuerySetsResource.OperationsResource

SampleQueries

Gets the SampleQueries resource.

Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource SampleQueries { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.SampleQuerySetsResource.SampleQueriesResource

Methods

Create(GoogleCloudDiscoveryengineV1betaSampleQuerySet, string)

Creates a SampleQuerySet

Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.CreateRequest Create(GoogleCloudDiscoveryengineV1betaSampleQuerySet body, string parent)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1betaSampleQuerySet body

The body of the request.

string parent

Required. The parent resource name, such as projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.SampleQuerySetsResource.CreateRequest

Delete(string)

Deletes a SampleQuerySet.

Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.DeleteRequest Delete(string name)
Parameters
Type Name Description
string name

Required. Full resource name of SampleQuerySet, such as projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}. If the caller does not have permission to delete the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the SampleQuerySet to delete does not exist, a NOT_FOUND error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.SampleQuerySetsResource.DeleteRequest

Get(string)

Gets a SampleQuerySet.

Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.GetRequest Get(string name)
Parameters
Type Name Description
string name

Required. Full resource name of SampleQuerySet, such as projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}. If the caller does not have permission to access the SampleQuerySet, regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the requested SampleQuerySet does not exist, a NOT_FOUND error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.SampleQuerySetsResource.GetRequest

List(string)

Gets a list of SampleQuerySets.

Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.ListRequest List(string parent)
Parameters
Type Name Description
string parent

Required. The parent location resource name, such as projects/{project}/locations/{location}. If the caller does not have permission to list SampleQuerySets under this location, regardless of whether or not this location exists, a PERMISSION_DENIED error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.SampleQuerySetsResource.ListRequest

Patch(GoogleCloudDiscoveryengineV1betaSampleQuerySet, string)

Updates a SampleQuerySet.

Declaration
public virtual ProjectsResource.LocationsResource.SampleQuerySetsResource.PatchRequest Patch(GoogleCloudDiscoveryengineV1betaSampleQuerySet body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1betaSampleQuerySet body

The body of the request.

string name

Identifier. The full resource name of the SampleQuerySet, in the format of projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

Returns
Type Description
ProjectsResource.LocationsResource.SampleQuerySetsResource.PatchRequest
In this article
Back to top Generated by DocFX