# Video Stitcher V1 API - Class Google::Cloud::Video::Stitcher::V1::MediaCdnKey (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.0 0.8.2 0.7.0 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Video Stitcher V1 API class Google::Cloud::Video::Stitcher::V1::MediaCdnKey.

Configuration for a Media CDN key.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #key_name

    def key_name() -> ::String

**Returns**

- (::String) --- The keyset name of the Media CDN key.

### #key_name=

    def key_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The keyset name of the Media CDN key.
**Returns**

- (::String) --- The keyset name of the Media CDN key.

### #private_key

    def private_key() -> ::String

**Returns**

- (::String) --- Input only. 64-byte ed25519 private key for this Media CDN key.

### #private_key=

    def private_key=(value) -> ::String

**Parameter**

- **value** (::String) --- Input only. 64-byte ed25519 private key for this Media CDN key.
**Returns**

- (::String) --- Input only. 64-byte ed25519 private key for this Media CDN key.

### #token_config

    def token_config() -> ::Google::Cloud::Video::Stitcher::V1::MediaCdnKey::TokenConfig

**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::MediaCdnKey::TokenConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-MediaCdnKey-TokenConfig)) --- Optional. If set, the URL will be signed using the Media CDN token. Otherwise, the URL would be signed using the standard Media CDN signature.

### #token_config=

    def token_config=(value) -> ::Google::Cloud::Video::Stitcher::V1::MediaCdnKey::TokenConfig

**Parameter**

- **value** ([::Google::Cloud::Video::Stitcher::V1::MediaCdnKey::TokenConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-MediaCdnKey-TokenConfig)) --- Optional. If set, the URL will be signed using the Media CDN token. Otherwise, the URL would be signed using the standard Media CDN signature.
**Returns**

- ([::Google::Cloud::Video::Stitcher::V1::MediaCdnKey::TokenConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-video-stitcher-v1/latest/Google-Cloud-Video-Stitcher-V1-MediaCdnKey-TokenConfig)) --- Optional. If set, the URL will be signed using the Media CDN token. Otherwise, the URL would be signed using the standard Media CDN signature.