Vision AI V1 API - Class Google::Cloud::VisionAI::V1::GenerateStreamHlsTokenResponse (v0.3.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

#expiration_time=

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

#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