class Google::Apis::ContentV2_1::AccountCredentials
Credentials allowing Google
to call a partner's API on behalf of a merchant.
Attributes
access_token[RW]
An OAuth access token. Corresponds to the JSON property `accessToken` @return [String]
expires_in[RW]
The amount of time, in seconds, after which the access token is no longer valid. Corresponds to the JSON property `expiresIn` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 275 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 280 def update!(**args) @access_token = args[:access_token] if args.key?(:access_token) @expires_in = args[:expires_in] if args.key?(:expires_in) @purpose = args[:purpose] if args.key?(:purpose) end