class Google::Apis::AdminDirectoryV1::Tokens

JSON response template for List tokens operation in Directory API.

Attributes

etag[RW]

ETag of the resource. Corresponds to the JSON property `etag` @return [String]

items[RW]

A list of Token resources. Corresponds to the JSON property `items` @return [Array<Google::Apis::AdminDirectoryV1::Token>]

kind[RW]

The type of the API resource. This is always `admin#directory#tokenList`. Corresponds to the JSON property `kind` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_directory_v1/classes.rb, line 3593
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_directory_v1/classes.rb, line 3598
def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
end