GetSessionResult constructor

const GetSessionResult({
  1. required String approximateLastUseTime,
  2. required String createTime,
  3. required String creatorRole,
  4. required Map<String, String> labels,
  5. required String name,
})

Creates a new GetSessionResult. approximateLastUseTime The approximate timestamp when the session is last used. It is typically earlier than the actual last use time. createTime The timestamp when the session is created. creatorRole The database role which created this session. labels The labels for the session. * Label keys must be between 1 and 63 characters long and must conform to the following regular expression: [a-z]([-a-z0-9]*[a-z0-9])?. * Label values must be between 0 and 63 characters long and must conform to the regular expression ([a-z]([-a-z0-9]*[a-z0-9])?)?. * No more than 64 labels can be associated with a given session. See https://goo.gl/xmQnxf for more information on and examples of labels. name The name of the session. This is always system-assigned.

Implementation

const GetSessionResult({
  required this.approximateLastUseTime,
  required this.createTime,
  required this.creatorRole,
  required this.labels,
  required this.name,
});