Show / Hide Table of Contents

Class ProjectsResource.LocationsResource

The "locations" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource
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.v1
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource

Constructors

LocationsResource(IClientService)

Constructs a new resource.

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

Properties

CmekConfigs

Gets the CmekConfigs resource.

Declaration
public virtual ProjectsResource.LocationsResource.CmekConfigsResource CmekConfigs { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.CmekConfigsResource

Collections

Gets the Collections resource.

Declaration
public virtual ProjectsResource.LocationsResource.CollectionsResource Collections { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.CollectionsResource

DataStores

Gets the DataStores resource.

Declaration
public virtual ProjectsResource.LocationsResource.DataStoresResource DataStores { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.DataStoresResource

GroundingConfigs

Gets the GroundingConfigs resource.

Declaration
public virtual ProjectsResource.LocationsResource.GroundingConfigsResource GroundingConfigs { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.GroundingConfigsResource

IdentityMappingStores

Gets the IdentityMappingStores resource.

Declaration
public virtual ProjectsResource.LocationsResource.IdentityMappingStoresResource IdentityMappingStores { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.IdentityMappingStoresResource

LicenseConfigs

Gets the LicenseConfigs resource.

Declaration
public virtual ProjectsResource.LocationsResource.LicenseConfigsResource LicenseConfigs { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.LicenseConfigsResource

Operations

Gets the Operations resource.

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

Podcasts

Gets the Podcasts resource.

Declaration
public virtual ProjectsResource.LocationsResource.PodcastsResource Podcasts { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.PodcastsResource

RankingConfigs

Gets the RankingConfigs resource.

Declaration
public virtual ProjectsResource.LocationsResource.RankingConfigsResource RankingConfigs { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.RankingConfigsResource

UserEvents

Gets the UserEvents resource.

Declaration
public virtual ProjectsResource.LocationsResource.UserEventsResource UserEvents { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.UserEventsResource

UserStores

Gets the UserStores resource.

Declaration
public virtual ProjectsResource.LocationsResource.UserStoresResource UserStores { get; }
Property Value
Type Description
ProjectsResource.LocationsResource.UserStoresResource

Methods

GetAclConfig(string)

Gets the AclConfig.

Declaration
public virtual ProjectsResource.LocationsResource.GetAclConfigRequest GetAclConfig(string name)
Parameters
Type Name Description
string name

Required. Resource name of AclConfig, such as projects/*/locations/*/aclConfig. If the caller does not have permission to access the AclConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.GetAclConfigRequest

GetCmekConfig(string)

Gets the CmekConfig.

Declaration
public virtual ProjectsResource.LocationsResource.GetCmekConfigRequest GetCmekConfig(string name)
Parameters
Type Name Description
string name

Required. Resource name of CmekConfig, such as projects/*/locations/*/cmekConfig or projects/*/locations/*/cmekConfigs/*. If the caller does not have permission to access the CmekConfig, regardless of whether or not it exists, a PERMISSION_DENIED error is returned.

Returns
Type Description
ProjectsResource.LocationsResource.GetCmekConfigRequest

Provision(GoogleCloudDiscoveryengineV1ProvisionProjectRequest, string)

Provisions the project resource. During the process, related systems will get prepared and initialized. Caller must read the Terms for data use, and optionally specify in request to provide consent to that service terms.

Declaration
public virtual ProjectsResource.LocationsResource.ProvisionRequest Provision(GoogleCloudDiscoveryengineV1ProvisionProjectRequest body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1ProvisionProjectRequest body

The body of the request.

string name

Required. Full resource name of a Project, such as projects/{project_id_or_number}.

Returns
Type Description
ProjectsResource.LocationsResource.ProvisionRequest

SetUpDataConnector(GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest, string)

Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method.

Declaration
public virtual ProjectsResource.LocationsResource.SetUpDataConnectorRequest SetUpDataConnector(GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest body, string parent)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1SetUpDataConnectorRequest body

The body of the request.

string parent

Required. The parent of Collection, in the format of projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.SetUpDataConnectorRequest

SetUpDataConnectorV2(GoogleCloudDiscoveryengineV1DataConnector, string)

Creates a Collection and sets up the DataConnector for it. To stop a DataConnector after setup, use the CollectionService.DeleteCollection method.

Declaration
public virtual ProjectsResource.LocationsResource.SetUpDataConnectorV2Request SetUpDataConnectorV2(GoogleCloudDiscoveryengineV1DataConnector body, string parent)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1DataConnector body

The body of the request.

string parent

Required. The parent of Collection, in the format of projects/{project}/locations/{location}.

Returns
Type Description
ProjectsResource.LocationsResource.SetUpDataConnectorV2Request

UpdateAclConfig(GoogleCloudDiscoveryengineV1AclConfig, string)

Default ACL configuration for use in a location of a customer's project. Updates will only reflect to new data stores. Existing data stores will still use the old value.

Declaration
public virtual ProjectsResource.LocationsResource.UpdateAclConfigRequest UpdateAclConfig(GoogleCloudDiscoveryengineV1AclConfig body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1AclConfig body

The body of the request.

string name

Immutable. The full resource name of the acl configuration. Format: projects/{project}/locations/{location}/aclConfig. This field must be a UTF-8 encoded string with a length limit of 1024 characters.

Returns
Type Description
ProjectsResource.LocationsResource.UpdateAclConfigRequest

UpdateCmekConfig(GoogleCloudDiscoveryengineV1CmekConfig, string)

Provisions a CMEK key for use in a location of a customer's project. This method will also conduct location validation on the provided cmekConfig to make sure the key is valid and can be used in the selected location.

Declaration
public virtual ProjectsResource.LocationsResource.UpdateCmekConfigRequest UpdateCmekConfig(GoogleCloudDiscoveryengineV1CmekConfig body, string name)
Parameters
Type Name Description
GoogleCloudDiscoveryengineV1CmekConfig body

The body of the request.

string name

Required. The name of the CmekConfig of the form projects/{project}/locations/{location}/cmekConfig or projects/{project}/locations/{location}/cmekConfigs/{cmek_config}.

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