REST Resource: projects

Resource: Project

Metadata and configurations for a Google Cloud project in the service.

JSON representation
{
  "name": string,
  "createTime": string,
  "provisionCompletionTime": string,
  "serviceTermsMap": {
    string: {
      object (ServiceTerms)
    },
    ...
  },
  "customerProvidedConfig": {
    object (CustomerProvidedConfig)
  },
  "configurableBillingStatus": {
    object (ConfigurableBillingStatus)
  }
}
Fields
name

string

Output only. Full resource name of the project, for example projects/{project}. Note that when making requests, project number and project id are both acceptable, but the server will always respond in project number.

createTime

string (Timestamp format)

Output only. The timestamp when this project is created.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

provisionCompletionTime

string (Timestamp format)

Output only. The timestamp when this project is successfully provisioned. Empty value means this project is still provisioning and is not ready for use.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

serviceTermsMap

map (key: string, value: object (ServiceTerms))

Output only. A map of terms of services. The key is the id of ServiceTerms.

customerProvidedConfig

object (CustomerProvidedConfig)

Optional. Customer provided configurations.

configurableBillingStatus

object (ConfigurableBillingStatus)

Output only. The current status of the project's configurable billing.

ServiceTerms

Metadata about the terms of service.

JSON representation
{
  "id": string,
  "version": string,
  "state": enum (State),
  "acceptTime": string,
  "declineTime": string
}
Fields
id

string

The unique identifier of this terms of service. Available terms:

version

string

The version string of the terms of service. For acceptable values, see the comments for id above.

state

enum (State)

Whether the project has accepted/rejected the service terms or it is still pending.

acceptTime

string (Timestamp format)

The last time when the project agreed to the terms of service.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

declineTime

string (Timestamp format)

The last time when the project declined or revoked the agreement to terms of service.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

State

The agreement states this terms of service.

Enums
STATE_UNSPECIFIED The default value of the enum. This value is not actually used.
TERMS_ACCEPTED The project has given consent to the terms of service.
TERMS_PENDING The project is pending to review and accept the terms of service.
TERMS_DECLINED The project has declined or revoked the agreement to terms of service.

CustomerProvidedConfig

Customer provided configurations.

JSON representation
{
  "notebooklmConfig": {
    object (NotebooklmConfig)
  }
}
Fields
notebooklmConfig

object (NotebooklmConfig)

Optional. Configuration for NotebookLM settings.

NotebooklmConfig

Configuration for NotebookLM.

JSON representation
{
  "modelArmorConfig": {
    object (ModelArmorConfig)
  },
  "optOutNotebookSharing": boolean
}
Fields
modelArmorConfig

object (ModelArmorConfig)

Model Armor configuration to be used for sanitizing user prompts and LLM responses.

optOutNotebookSharing

boolean

Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified.

ModelArmorConfig

Configuration for customer defined Model Armor templates to be used for sanitizing user prompts and LLM responses.

JSON representation
{
  "userPromptTemplate": string,
  "responseTemplate": string
}
Fields
userPromptTemplate

string

Optional. The resource name of the Model Armor Template for sanitizing user prompts. Format: projects/{project}/locations/{location}/templates/{templateId} If not specified, no sanitization will be applied to the user prompt.

responseTemplate

string

Optional. The resource name of the Model Armor Template for sanitizing LLM responses. Format: projects/{project}/locations/{location}/templates/{templateId} If not specified, no sanitization will be applied to the LLM response.

ConfigurableBillingStatus

Represents the currently effective configurable billing parameters. These values are derived from the customer's subscription history stored internally and reflect the thresholds actively being used for billing purposes at the time of the projects.get call. This includes the startTime of the subscription and may differ from the values in customerProvidedConfig due to billing rules (e.g., scale-downs taking effect only at the start of a new month).

JSON representation
{
  "effectiveSearchQpmThreshold": string,
  "effectiveIndexingCoreThreshold": string,
  "startTime": string
}
Fields
effectiveSearchQpmThreshold

string (int64 format)

Optional. The currently effective Search QPM threshold in queries per minute. This is the threshold against which QPM usage is compared for overage calculations.

effectiveIndexingCoreThreshold

string (int64 format)

Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations.

startTime

string (Timestamp format)

Optional. The start time of the currently active billing subscription.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

Methods

get

Gets a Project.

patch

Updates the editable settings of a Discovery Engine Project.

provision

Provisions the project resource.

reportConsentChange

Updates service terms for this project.