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
- (::Google::Protobuf::Timestamp) — The expiration time of the token.
#expiration_time=
def expiration_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — The expiration time of the token.
- (::Google::Protobuf::Timestamp) — The expiration time of the token.
#token
def token() -> ::String
-
(::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
-
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
-
(::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