Class ProjectsResource
The "projects" collection of methods.
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource
Constructors
ProjectsResource(IClientService)
Constructs a new resource.
Declaration
public ProjectsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Locations
Gets the Locations resource.
Declaration
public virtual ProjectsResource.LocationsResource Locations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource |
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.OperationsResource Operations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.OperationsResource |
Methods
Get(string)
Gets a Project. Returns NOT_FOUND when the project is not yet created.
Declaration
public virtual ProjectsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Full resource name of a Project, such as |
Returns
Type | Description |
---|---|
ProjectsResource.GetRequest |
Provision(GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest, 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.ProvisionRequest Provision(GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaProvisionProjectRequest | body | The body of the request. |
string | name | Required. Full resource name of a Project, such as |
Returns
Type | Description |
---|---|
ProjectsResource.ProvisionRequest |
ReportConsentChange(GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest, string)
Updates service terms for this project. This method can be used to retroactively accept the latest terms. Terms available for update: * Terms for data use
Declaration
public virtual ProjectsResource.ReportConsentChangeRequest ReportConsentChange(GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest body, string project)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudDiscoveryengineV1alphaReportConsentChangeRequest | body | The body of the request. |
string | project | Required. Full resource name of a Project, such as |
Returns
Type | Description |
---|---|
ProjectsResource.ReportConsentChangeRequest |