- Resource: Project
- ServiceTerms
- State
- CustomerProvidedConfig
- NotebooklmConfig
- ModelArmorConfig
- DataProtectionPolicy
- SensitiveDataProtectionPolicy
- ConfigurableBillingStatus
- UpdateType
- AgentSearchTokenSubscriptionStatus
- Methods
Resource: Project
Metadata and configurations for a Google Cloud project in the service.
| JSON representation |
|---|
{ "name": string, "createTime": string, "provisionCompletionTime": string, "serviceTermsMap": { string: { object ( |
| Fields | |
|---|---|
name |
Output only. Full resource name of the project, for example |
createTime |
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: |
provisionCompletionTime |
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: |
serviceTermsMap |
Output only. A map of terms of services. The key is the |
customerProvidedConfig |
Optional. Customer provided configurations. |
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 ( |
| Fields | |
|---|---|
id |
The unique identifier of this terms of service. Available terms:
|
version |
The version string of the terms of service. For acceptable values, see the comments for |
state |
Whether the project has accepted/rejected the service terms or it is still pending. |
acceptTime |
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: |
declineTime |
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: |
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 ( |
| Fields | |
|---|---|
notebooklmConfig |
Optional. Configuration for NotebookLM settings. |
NotebooklmConfig
Configuration for NotebookLM.
| JSON representation |
|---|
{ "modelArmorConfig": { object ( |
| Fields | |
|---|---|
modelArmorConfig |
Model Armor configuration to be used for sanitizing user prompts and LLM responses. |
optOutNotebookSharing |
Optional. Whether to disable the notebook sharing feature for the project. Default to false if not specified. |
dataProtectionPolicy |
Optional. Specifies the data protection policy for NotebookLM. |
observabilityConfig |
Optional. Observability config for NotebookLM. |
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 |
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 |
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. |
DataProtectionPolicy
data protection policy config for NotebookLM.
| JSON representation |
|---|
{
"sensitiveDataProtectionPolicy": {
object ( |
| Fields | |
|---|---|
sensitiveDataProtectionPolicy |
Optional. The sensitive data protection policy. |
SensitiveDataProtectionPolicy
Specifies a Sensitive data Protection (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview) policy.
| JSON representation |
|---|
{ "policy": string } |
| Fields | |
|---|---|
policy |
Optional. The Sensitive data Protection policy resource name. |
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). We also include the update type to indicate the type of update performed on the configurable billing configuration in the projects.patch operation.
| JSON representation |
|---|
{ "effectiveSearchQpmThreshold": string, "effectiveIndexingCoreThreshold": string, "startTime": string, "terminateTime": string, "searchQpmThresholdNextUpdateTime": string, "indexingCoreThresholdNextUpdateTime": string, "updateType": enum ( |
| Fields | |
|---|---|
effectiveSearchQpmThreshold |
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 |
Optional. The currently effective Indexing Core threshold. This is the threshold against which Indexing Core usage is compared for overage calculations. |
startTime |
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: |
terminateTime |
Output only. The latest terminate effective time of search qpm and indexing core subscriptions. 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: |
searchQpmThresholdNextUpdateTime |
Output only. The earliest next update time for the search QPM subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update QPM subscription threshold request is succeeded. 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: |
indexingCoreThresholdNextUpdateTime |
Output only. The earliest next update time for the indexing core subscription threshold. This is based on the next_update_time returned by the underlying Cloud Billing Subscription V3 API. This field is populated only if an update indexing core subscription threshold request is succeeded. 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: |
updateType |
Output only. The type of update performed in this operation. This field is populated in the response of projects.patch. |
agentSearchTokenSubscriptionStatuses[] |
Output only. Per-model Agent Search TPM subscription status. |
UpdateType
The type of update performed on the configurable billing configuration.
| Enums | |
|---|---|
UPDATE_TYPE_UNSPECIFIED |
Unspecified update type. |
CREATE |
Configurable billing was created/enabled. |
DELETE |
Configurable billing was deleted/disabled. |
SCALE_UP |
Subscription was scaled up (thresholds increased). |
SCALE_DOWN |
Subscription was scaled down (thresholds decreased). |
AgentSearchTokenSubscriptionStatus
Per-model Agent Search TPM subscription status. One entry per active coreSubscription.agent_search_token_subscriptions[*] entry in the customer-provided config; populated by projects.patch and projects.get.
The lifecycle scalars on this message (startTime, terminateTime, updateType, tpmThresholdNextUpdateTime) are per (project, modelVersion) — siblings of the whole-relationship startTime / terminateTime / updateType on the enclosing ConfigurableBillingStatus, but scoped to this specific Agent Search TPM subscription instead of to the overall customer-configurable- pricing relationship. This per-instance granularity is intentional: the underlying SubV3 storage is per-(project, modelVersion), so each model has its own activation, termination, and deferred-update clock; surfacing that on the response gives customers the granularity they need to manage per-model commitments independently. QPM / IndexingCore differ — their storage is one row per (project, location), so their lifecycle is represented only by the whole- relationship scalars on ConfigurableBillingStatus.
| JSON representation |
|---|
{
"modelVersion": string,
"effectiveTpmThreshold": string,
"tpmThresholdNextUpdateTime": string,
"startTime": string,
"terminateTime": string,
"updateType": enum ( |
| Fields | |
|---|---|
modelVersion |
Output only. The Gemini model version this status corresponds to. Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a stable Gemini model version from the Gemini Enterprise Agent Platform model-versions registry; see https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models). |
effectiveTpmThreshold |
Output only. The currently effective TPM threshold. Reflects scale-up immediately and scale-down at the next billing cycle, matching |
tpmThresholdNextUpdateTime |
Output only. The earliest next update time for the TPM subscription threshold for this (project, modelVersion). Populated only after a successful update. 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: |
startTime |
Output only. When this (project, modelVersion) Agent Search TPM subscription was first activated. Set once on first activation of this model version and never moved by subsequent threshold updates; on termination + re-activation a new value is recorded. Does NOT move the whole-relationship 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: |
terminateTime |
Output only. If set, the scheduled effective time at which this (project, modelVersion) Agent Search TPM subscription will terminate. Populated when the customer removes this entry from 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: |
updateType |
Output only. The type of the most recent update to this (project, modelVersion) subscription, as performed by the most recent projects.patch call. |
Methods |
|
|---|---|
|
Gets a Project. |
|
Updates the editable settings of a Discovery Engine Project. |
|
Provisions the project resource. |
|
Updates service terms for this project. |