Class GenerateAccessTokenRequest (0.5.5)

GenerateAccessTokenRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for GenerateAccessToken.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
expire_time google.protobuf.timestamp_pb2.Timestamp
Desired expiration time of the access token. This value must be at most 24 hours in the future. If a value is not specified, the token's expiration time will be set to a default value of 1 hour in the future. This field is a member of oneof_ expiration.
ttl google.protobuf.duration_pb2.Duration
Desired lifetime duration of the access token. This value must be at most 24 hours. If a value is not specified, the token's lifetime will be set to a default value of 1 hour. This field is a member of oneof_ expiration.
workstation str
Required. Name of the workstation for which the access token should be generated.