Class: Google::Cloud::VisionAI::V1::GenerateStreamHlsTokenResponse
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::GenerateStreamHlsTokenResponse
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/streams_service.rb
Overview
Response message for GenerateStreamHlsToken.
Instance Attribute Summary collapse
-
#expiration_time ⇒ ::Google::Protobuf::Timestamp
The expiration time of the token.
-
#token ⇒ ::String
The generated JWT token.
Instance Attribute Details
#expiration_time ⇒ ::Google::Protobuf::Timestamp
Returns The expiration time of the token.
345 346 347 348 |
# File 'proto_docs/google/cloud/visionai/v1/streams_service.rb', line 345 class GenerateStreamHlsTokenResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#token ⇒ ::String
Returns 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.
345 346 347 348 |
# File 'proto_docs/google/cloud/visionai/v1/streams_service.rb', line 345 class GenerateStreamHlsTokenResponse include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |