Reference documentation and code samples for the Google Cloud Video Stitcher V1 Client class TokenConfig.
Configuration for a Media CDN token.
Generated from protobuf message google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig
Namespace
Google \ Cloud \ Video \ Stitcher \ V1 \ MediaCdnKey
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ query_parameter
string
Optional. The query parameter in which to find the token. The name must be 1-64 characters long and match the regular expression [a-zA-Z]([a-zA-Z0-9_-])* which means the first character must be a letter, and all following characters must be a dash, underscore, letter or digit. Defaults to edge-cache-token.
getQueryParameter
Optional. The query parameter in which to find the token.
The name must be 1-64 characters long and match
the regular expression [a-zA-Z]([a-zA-Z0-9_-])* which means the
first character must be a letter, and all following characters
must be a dash, underscore, letter or digit.
Defaults to edge-cache-token.
Returns
Type
Description
string
setQueryParameter
Optional. The query parameter in which to find the token.
The name must be 1-64 characters long and match
the regular expression [a-zA-Z]([a-zA-Z0-9_-])* which means the
first character must be a letter, and all following characters
must be a dash, underscore, letter or digit.
Defaults to edge-cache-token.
[[["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-04 UTC."],[],[],null,["# Google Cloud Video Stitcher V1 Client - Class TokenConfig (1.0.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.4 (latest)](/php/docs/reference/cloud-video-stitcher/latest/V1.MediaCdnKey.TokenConfig)\n- [1.0.3](/php/docs/reference/cloud-video-stitcher/1.0.3/V1.MediaCdnKey.TokenConfig)\n- [0.9.1](/php/docs/reference/cloud-video-stitcher/0.9.1/V1.MediaCdnKey.TokenConfig)\n- [0.8.4](/php/docs/reference/cloud-video-stitcher/0.8.4/V1.MediaCdnKey.TokenConfig)\n- [0.7.3](/php/docs/reference/cloud-video-stitcher/0.7.3/V1.MediaCdnKey.TokenConfig)\n- [0.6.2](/php/docs/reference/cloud-video-stitcher/0.6.2/V1.MediaCdnKey.TokenConfig)\n- [0.5.1](/php/docs/reference/cloud-video-stitcher/0.5.1/V1.MediaCdnKey.TokenConfig)\n- [0.3.4](/php/docs/reference/cloud-video-stitcher/0.3.4/V1.MediaCdnKey.TokenConfig) \nReference documentation and code samples for the Google Cloud Video Stitcher V1 Client class TokenConfig.\n\nConfiguration for a Media CDN token.\n\nGenerated from protobuf message `google.cloud.video.stitcher.v1.MediaCdnKey.TokenConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ Stitcher \\\\ V1 \\\\ MediaCdnKey\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getQueryParameter\n\nOptional. The query parameter in which to find the token.\n\nThe name must be 1-64 characters long and match\nthe regular expression `[a-zA-Z]([a-zA-Z0-9_-])*` which means the\nfirst character must be a letter, and all following characters\nmust be a dash, underscore, letter or digit.\nDefaults to `edge-cache-token`.\n\n### setQueryParameter\n\nOptional. The query parameter in which to find the token.\n\nThe name must be 1-64 characters long and match\nthe regular expression `[a-zA-Z]([a-zA-Z0-9_-])*` which means the\nfirst character must be a letter, and all following characters\nmust be a dash, underscore, letter or digit.\nDefaults to `edge-cache-token`."]]