# Vision AI V1 API - Class Google::Cloud::VisionAI::V1::GenerateStreamHlsTokenResponse (v1.5.0)

1.5.0 (latest) 1.4.1 1.3.1 1.2.0 1.1.1 1.0.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::GenerateStreamHlsTokenResponse.

Response message for GenerateStreamHlsToken.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #expiration_time

    def expiration_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- The expiration time of the token.

### #expiration_time=

    def expiration_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- The expiration time of the token.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vision_ai-v1/latest/Google-Protobuf-Timestamp)) --- The expiration time of the token.

### #token

    def token() -> ::String

**Returns**

- (::String) --- The generated JWT token.

  The caller should insert this token to the authorization header of the HTTP
  requests to get the HLS playlist manifest and the video chunks.
  eg: curl -H "Authorization: Bearer $TOKEN"
  https://domain.com/test-stream.playback/master.m3u8

### #token=

    def token=(value) -> ::String

**Parameter**

- **value** (::String) --- The generated JWT token.


  The caller should insert this token to the authorization header of the HTTP
  requests to get the HLS playlist manifest and the video chunks.
  eg: curl -H "Authorization: Bearer $TOKEN"
  https://domain.com/test-stream.playback/master.m3u8
**Returns**

- (::String) --- The generated JWT token.

  The caller should insert this token to the authorization header of the HTTP
  requests to get the HLS playlist manifest and the video chunks.
  eg: curl -H "Authorization: Bearer $TOKEN"
  https://domain.com/test-stream.playback/master.m3u8