class Google::Apis::IamcredentialsV1::GenerateAccessTokenResponse

Attributes

access_token[RW]

The OAuth 2.0 access token. Corresponds to the JSON property `accessToken` @return [String]

expire_time[RW]

Token expiration time. The expiration time is always set. Corresponds to the JSON property `expireTime` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/iamcredentials_v1/classes.rb, line 93
def update!(**args)
  @access_token = args[:access_token] if args.key?(:access_token)
  @expire_time = args[:expire_time] if args.key?(:expire_time)
end