Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class GcsSource.
Configuration for Cloud Storage bucket sources.
Generated from protobuf message google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource
Namespace
Google \ Cloud \ ContactCenterInsights \ V1 \ IngestConversationsRequest
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ bucket_uri
string
Required. The Cloud Storage bucket containing source objects.
↳ bucket_object_type
int
Optional. Specifies the type of the objects in bucket_uri.
↳ metadata_bucket_uri
string
Optional. The Cloud Storage path to the conversation metadata. Note that: [1] Metadata files are expected to be in JSON format. [2] Metadata and source files (transcripts or audio) must be in separate buckets. [3] A source file and its corresponding metadata file must share the same name to be properly ingested, E.g. gs://bucket/audio/conversation1.mp3 and gs://bucket/metadata/conversation1.json.
↳ custom_metadata_keys
array
Optional. Custom keys to extract as conversation labels from metadata files in metadata_bucket_uri. Keys not included in this field will be ignored. Note that there is a limit of 100 labels per conversation.
getBucketUri
Required. The Cloud Storage bucket containing source objects.
Returns
Type
Description
string
setBucketUri
Required. The Cloud Storage bucket containing source objects.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getBucketObjectType
Optional. Specifies the type of the objects in bucket_uri.
Returns
Type
Description
int
Enum of type BucketObjectType.
setBucketObjectType
Optional. Specifies the type of the objects in bucket_uri.
Parameter
Name
Description
var
int
Enum of type BucketObjectType.
Returns
Type
Description
$this
getMetadataBucketUri
Optional. The Cloud Storage path to the conversation metadata. Note that:
[1] Metadata files are expected to be in JSON format.
[2] Metadata and source files (transcripts or audio) must be in
separate buckets.
[3] A source file and its corresponding metadata file must share the same
name to
be properly ingested, E.g. gs://bucket/audio/conversation1.mp3 and
gs://bucket/metadata/conversation1.json.
Returns
Type
Description
string
hasMetadataBucketUri
clearMetadataBucketUri
setMetadataBucketUri
Optional. The Cloud Storage path to the conversation metadata. Note that:
[1] Metadata files are expected to be in JSON format.
[2] Metadata and source files (transcripts or audio) must be in
separate buckets.
[3] A source file and its corresponding metadata file must share the same
name to
be properly ingested, E.g. gs://bucket/audio/conversation1.mp3 and
gs://bucket/metadata/conversation1.json.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCustomMetadataKeys
Optional. Custom keys to extract as conversation labels from metadata
files in metadata_bucket_uri. Keys not included in this field will be
ignored. Note that there is a limit of 100 labels per conversation.
Optional. Custom keys to extract as conversation labels from metadata
files in metadata_bucket_uri. Keys not included in this field will be
ignored. Note that there is a limit of 100 labels per conversation.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Contact Center Insights V1 Client - Class GcsSource (2.3.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.3 (latest)](/php/docs/reference/cloud-contact-center-insights/latest/V1.IngestConversationsRequest.GcsSource)\n- [2.3.2](/php/docs/reference/cloud-contact-center-insights/2.3.2/V1.IngestConversationsRequest.GcsSource)\n- [2.2.1](/php/docs/reference/cloud-contact-center-insights/2.2.1/V1.IngestConversationsRequest.GcsSource)\n- [2.1.1](/php/docs/reference/cloud-contact-center-insights/2.1.1/V1.IngestConversationsRequest.GcsSource)\n- [2.0.1](/php/docs/reference/cloud-contact-center-insights/2.0.1/V1.IngestConversationsRequest.GcsSource)\n- [1.9.5](/php/docs/reference/cloud-contact-center-insights/1.9.5/V1.IngestConversationsRequest.GcsSource)\n- [1.8.0](/php/docs/reference/cloud-contact-center-insights/1.8.0/V1.IngestConversationsRequest.GcsSource)\n- [1.7.1](/php/docs/reference/cloud-contact-center-insights/1.7.1/V1.IngestConversationsRequest.GcsSource)\n- [1.6.2](/php/docs/reference/cloud-contact-center-insights/1.6.2/V1.IngestConversationsRequest.GcsSource)\n- [1.5.0](/php/docs/reference/cloud-contact-center-insights/1.5.0/V1.IngestConversationsRequest.GcsSource)\n- [1.4.1](/php/docs/reference/cloud-contact-center-insights/1.4.1/V1.IngestConversationsRequest.GcsSource)\n- [1.3.0](/php/docs/reference/cloud-contact-center-insights/1.3.0/V1.IngestConversationsRequest.GcsSource)\n- [1.2.1](/php/docs/reference/cloud-contact-center-insights/1.2.1/V1.IngestConversationsRequest.GcsSource)\n- [1.1.0](/php/docs/reference/cloud-contact-center-insights/1.1.0/V1.IngestConversationsRequest.GcsSource)\n- [1.0.3](/php/docs/reference/cloud-contact-center-insights/1.0.3/V1.IngestConversationsRequest.GcsSource) \nReference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class GcsSource.\n\nConfiguration for Cloud Storage bucket sources.\n\nGenerated from protobuf message `google.cloud.contactcenterinsights.v1.IngestConversationsRequest.GcsSource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ContactCenterInsights \\\\ V1 \\\\ IngestConversationsRequest\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBucketUri\n\nRequired. The Cloud Storage bucket containing source objects.\n\n### setBucketUri\n\nRequired. The Cloud Storage bucket containing source objects.\n\n### getBucketObjectType\n\nOptional. Specifies the type of the objects in `bucket_uri`.\n\n### setBucketObjectType\n\nOptional. Specifies the type of the objects in `bucket_uri`.\n\n### getMetadataBucketUri\n\nOptional. The Cloud Storage path to the conversation metadata. Note that:\n\\[1\\] Metadata files are expected to be in JSON format.\n\n\\[2\\] Metadata and source files (transcripts or audio) must be in\nseparate buckets.\n\\[3\\] A source file and its corresponding metadata file must share the same\nname to\nbe properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and\n`gs://bucket/metadata/conversation1.json`.\n\n### hasMetadataBucketUri\n\n### clearMetadataBucketUri\n\n### setMetadataBucketUri\n\nOptional. The Cloud Storage path to the conversation metadata. Note that:\n\\[1\\] Metadata files are expected to be in JSON format.\n\n\\[2\\] Metadata and source files (transcripts or audio) must be in\nseparate buckets.\n\\[3\\] A source file and its corresponding metadata file must share the same\nname to\nbe properly ingested, E.g. `gs://bucket/audio/conversation1.mp3` and\n`gs://bucket/metadata/conversation1.json`.\n\n### getCustomMetadataKeys\n\nOptional. Custom keys to extract as conversation labels from metadata\nfiles in `metadata_bucket_uri`. Keys not included in this field will be\nignored. Note that there is a limit of 100 labels per conversation.\n\n### setCustomMetadataKeys\n\nOptional. Custom keys to extract as conversation labels from metadata\nfiles in `metadata_bucket_uri`. Keys not included in this field will be\nignored. Note that there is a limit of 100 labels per conversation."]]