- [Resource: Source](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source)
  - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SCHEMA_REPRESENTATION)
  - [SourceMetadata](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceMetadata)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceMetadata.SCHEMA_REPRESENTATION)
  - [GoogleDocsSourceMetadata](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.GoogleDocsSourceMetadata)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.GoogleDocsSourceMetadata.SCHEMA_REPRESENTATION)
  - [YoutubeMetadata](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.YoutubeMetadata)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.YoutubeMetadata.SCHEMA_REPRESENTATION)
  - [AgentspaceMetadata](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.AgentspaceMetadata)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.AgentspaceMetadata.SCHEMA_REPRESENTATION)
  - [SourceSettings](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceSettings)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceSettings.SCHEMA_REPRESENTATION)
  - [SourceStatus](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceStatus)
  - [FailureReason](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.FailureReason)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.FailureReason.SCHEMA_REPRESENTATION)
  - [Unknown](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.Unknown)
  - [SourceTooLong](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceTooLong)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceTooLong.SCHEMA_REPRESENTATION)
  - [IngestionError](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.IngestionError)
  - [SourceEmpty](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceEmpty)
  - [UploadError](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.UploadError)
  - [PaywallError](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.PaywallError)
  - [SourceUnreachable](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceUnreachable)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceUnreachable.SCHEMA_REPRESENTATION)
  - [SourceUnreachableErrorReason](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceUnreachableErrorReason)
  - [GoogleDriveError](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.GoogleDriveError)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.GoogleDriveError.SCHEMA_REPRESENTATION)
  - [DownloadPrevented](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.DownloadPrevented)
  - [YoutubeError](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.YoutubeError)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.YoutubeError.SCHEMA_REPRESENTATION)
  - [VideoDeleted](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.VideoDeleted)
  - [AudioTranscriptionError](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.AudioTranscriptionError)
    - [JSON representation](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.AudioTranscriptionError.SCHEMA_REPRESENTATION)
  - [LanguageDetectionFailed](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.LanguageDetectionFailed)
  - [NoAudioDetected](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.NoAudioDetected)
  - [SourceLimitExceeded](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceLimitExceeded)
  - [DomainBlocked](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.DomainBlocked)
  - [MimeTypeBlocked](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.MimeTypeBlocked)
  - [PolicyCheckFailed](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.PolicyCheckFailed)
- [Methods](https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#METHODS_SUMMARY)

## Resource: Source

Source represents a single source of content.

| JSON representation |
|---|
| ``` { "name": string, "title": string, "sourceId": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/SourceId`) }, "metadata": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceMetadata`) }, "settings": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceSettings`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The full resource name of the source. Format: `projects/{project}/locations/{location}/notebooks/{notebook}/sources/{sourceId}`. This field must be a UTF-8 encoded string with a length limit of 1024 characters. |
| `title` | `string` Optional. Title of the source. |
| `sourceId` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/SourceId`)`` Optional. Output only. Source id, which is the last segment of the source's resource name. |
| `metadata` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceMetadata`)`` Output only. metadata about the source. |
| `settings` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceSettings`)`` Output only. status of the source, and any failure reasons. |

### SourceMetadata

Represents the metadata of a source and some additional information.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "googleDocsMetadata": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.GoogleDocsSourceMetadata`) }, "youtubeMetadata": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.YoutubeMetadata`) }, "agentspaceMetadata": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.AgentspaceMetadata`) } // End of mutually exclusive fields. "wordCount": integer, "tokenCount": integer, "sourceAddedTimestamp": string } ``` |

| Fields ||
|---|---|
| Metadata for the source. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `googleDocsMetadata` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.GoogleDocsSourceMetadata`)`` metadata for a google doc source. |
| `youtubeMetadata` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.YoutubeMetadata`)`` metadata for a youtube video source. |
| `agentspaceMetadata` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.AgentspaceMetadata`)`` metadata for an agentspace source. |
| End of mutually exclusive fields. ||
| `wordCount` | `integer` The word count of the source. |
| `tokenCount` | `integer` The number of tokens in the source. |
| `sourceAddedTimestamp` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The timestamp the source was added. 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"`. |

### GoogleDocsSourceMetadata

metadata about a google doc source.

| JSON representation |
|---|
| ``` { "documentId": string, "revisionId": string } ``` |

| Fields ||
|---|---|
| `documentId` | `string` Output only. The document ID of the google doc. |
| `revisionId` | `string` Output only. Revision ID for the doc. |

### YoutubeMetadata

metadata about a youtube video source.

| JSON representation |
|---|
| ``` { "videoId": string, "channelName": string } ``` |

| Fields ||
|---|---|
| `videoId` | `string` Output only. The ID of the youtube video. |
| `channelName` | `string` Output only. The channel name of the youtube video. |

### AgentspaceMetadata

metadata about an agentspace source.

| JSON representation |
|---|
| ``` { "documentName": string, "documentTitle": string } ``` |

| Fields ||
|---|---|
| `documentName` | `string` Output only. The full document name in Agentspace. |
| `documentTitle` | `string` Output only. The title of the document. |

### SourceSettings

Allows extension of Source Settings in the sources.batchCreate (Formerly AddSource request).

| JSON representation |
|---|
| ``` { "status": enum (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceStatus`), "failureReason": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.FailureReason`) } } ``` |

| Fields ||
|---|---|
| `status` | ``enum (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceStatus`)`` status of the source. |
| `failureReason` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.FailureReason`)`` Failure reason containing details about why a source failed to ingest. |

### SourceStatus

List of possible statuses for a source.

| Enums ||
|---|---|
| `SOURCE_STATUS_UNSPECIFIED` | Unspecified status. |
| `SOURCE_STATUS_PENDING` | The source is pending addition. |
| `SOURCE_STATUS_COMPLETE` | Source addition is complete and successful. |
| `SOURCE_STATUS_ERROR` | Source addition has permanently failed. |
| `SOURCE_STATUS_PENDING_DELETION` | The source is pending deletion. |
| `SOURCE_STATUS_TENTATIVE` | The user is attempting to add a source, but we have not yet uploaded it or checked user limits. Does not count towards the user's source limit. |

### FailureReason

Failure reason containing details about why a source failed to ingest.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "unknown": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.Unknown`) }, "sourceTooLong": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceTooLong`) }, "ingestionError": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.IngestionError`) }, "sourceEmpty": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceEmpty`) }, "uploadError": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.UploadError`) }, "paywallError": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.PaywallError`) }, "sourceUnreachable": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceUnreachable`) }, "googleDriveError": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.GoogleDriveError`) }, "youtubeError": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.YoutubeError`) }, "audioTranscriptionError": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.AudioTranscriptionError`) }, "sourceLimitExceeded": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceLimitExceeded`) }, "domainBlocked": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.DomainBlocked`) }, "mimeTypeBlocked": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.MimeTypeBlocked`) }, "policyCheckFailed": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.PolicyCheckFailed`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| The specific error. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `unknown` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.Unknown`)`` Indicates an unknown error occurred. |
| `sourceTooLong` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceTooLong`)`` Indicates source word count exceeded the user's limit. |
| `ingestionError` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.IngestionError`)`` Indicates an error occurred while ingesting the source. |
| `sourceEmpty` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceEmpty`)`` Indicates that the source is empty. |
| `uploadError` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.UploadError`)`` Indicates an error occurred while uploading the source. |
| `paywallError` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.PaywallError`)`` Indicates that the source is paywalled and cannot be ingested. |
| `sourceUnreachable` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceUnreachable`)`` Indicates that the source is unreachable. |
| `googleDriveError` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.GoogleDriveError`)`` A google drive specific error. |
| `youtubeError` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.YoutubeError`)`` A youtube specific error. |
| `audioTranscriptionError` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.AudioTranscriptionError`)`` An audio file transcription specific error. |
| `sourceLimitExceeded` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceLimitExceeded`)`` Error if the user tries to update beyond their limits. |
| `domainBlocked` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.DomainBlocked`)`` Error if the user tries to add a source from a blocked domain. |
| `mimeTypeBlocked` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.MimeTypeBlocked`)`` Indicates that the source MIME type is blocked. |
| `policyCheckFailed` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.PolicyCheckFailed`)`` Indicates that the policy check failed. |
| End of mutually exclusive fields. ||

### Unknown

This type has no fields.
Indicates an unknown error occurred.

### SourceTooLong

Indicates source word count exceeded the user's limit.

| JSON representation |
|---|
| ``` { "wordCount": integer, "wordLimit": integer } ``` |

| Fields ||
|---|---|
| `wordCount` | `integer` The number of words in the source. |
| `wordLimit` | `integer` The word count limit for the current user at the time of the upload. |

### IngestionError

This type has no fields.
Indicates an error occurred while ingesting the source.

### SourceEmpty

This type has no fields.
Indicates that the source is empty.

### UploadError

This type has no fields.
Indicates an error occurred while uploading the source.

### PaywallError

This type has no fields.
Indicates that the source is paywalled and cannot be ingested.

### SourceUnreachable

Indicates that the source is unreachable. This is primarily used for sources that are added via URL.

| JSON representation |
|---|
| ``` { "errorDetails": enum (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceUnreachableErrorReason`) } ``` |

| Fields ||
|---|---|
| `errorDetails` | ``enum (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.SourceUnreachableErrorReason`)`` Describes why the source is unreachable. |

### SourceUnreachableErrorReason

Details about why the source is unreachable. Used to display appropriate message to the user.

| Enums ||
|---|---|
| `ERROR_REASON_UNSPECIFIED` | Default |
| `ERROR_REASON_INVALID_URL` | The source URL is invalid. |
| `ERROR_REASON_NOT_ACCESSIBLE` | The source URL is not accessible. |
| `ERROR_REASON_NOT_REACHABLE` | The source URL is not reachable. |
| `ERROR_REASON_URL_NOT_FOUND` | The source URL returned 404. |
| `ERROR_REASON_TRANSIENT_ERROR` | The source URL not reachable due to a transient network error or host timeout etc. |
| `ERROR_REASON_FETCH_FAILED` | The source URL could not be fetched due to an internal error. |
| `ERROR_REASON_NOT_SUPPORTED` | The URL is not yet supported. Examples include: the fetched content exceeds the trawler fetch max size, the fetched content is a type we do not yet support, etc. |

### GoogleDriveError

A google drive specific error.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "downloadPrevented": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.DownloadPrevented`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| The Drive specific error. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `downloadPrevented` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.DownloadPrevented`)`` The user was prevented from downloading the file. |
| End of mutually exclusive fields. ||

### DownloadPrevented

This type has no fields.
The user was prevented from downloading the file.

### YoutubeError

A youtube specific error.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "videoDeleted": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.VideoDeleted`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| The youtube specific error. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `videoDeleted` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.VideoDeleted`)`` Error to indicate that the source was removed because the video was deleted. |
| End of mutually exclusive fields. ||

### VideoDeleted

This type has no fields.
Error to indicate that the source was removed because the video was deleted.

### AudioTranscriptionError

An audio file transcription specific error.

| JSON representation |
|---|
| ``` { // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "languageDetectionFailed": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.LanguageDetectionFailed`) }, "noAudioDetected": { object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.NoAudioDetected`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| The audio file transcription specific error. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `languageDetectionFailed` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.LanguageDetectionFailed`)`` Could not detect language of the file (it may not be speech). |
| `noAudioDetected` | ``object (`https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source.NoAudioDetected`)`` No audio was detected in the input file (it may have been a video). |
| End of mutually exclusive fields. ||

### LanguageDetectionFailed

This type has no fields.
Could not detect language of the file (it may not be speech).

### NoAudioDetected

This type has no fields.
No audio was detected in the input file.

### SourceLimitExceeded

This type has no fields.
Indicates that the user does not have space for this source.

### DomainBlocked

This type has no fields.
Error to indicate that the source was removed because the domain was blocked.

### MimeTypeBlocked

This type has no fields.
Indicates that the source MIME type is blocked.

### PolicyCheckFailed

This type has no fields.
Indicates that the policy check failed.

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources/batchCreate` | Creates a list of `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source`s. |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources/batchDelete` | Deletes multiple sources |
| ### `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources/get` | Gets a `https://docs.cloud.google.com/gemini/enterprise/docs/reference/rest/v1alpha/projects.locations.notebooks.sources#Source`. |