Autogenerated update (2019-03-01)
Update: - cloudfunctions_v1 - cloudshell_v1alpha1 - containeranalysis_v1beta1 - dlp_v2 - iam_v1 - reseller_v1 - serviceconsumermanagement_v1 - servicenetworking_v1beta - serviceusage_v1 - serviceusage_v1beta1 - storagetransfer_v1
This commit is contained in:
1 parent
463abfaad2
commit
13932b93ec
27 files changed
+141
-513
No files matched your search
@@ -31,6 +31,12 @@ module Google
|
||||
# @return [String]
|
||||
attr_accessor :access_token
|
||||
|
||||
# The time when the token expires. If not set, defaults to one hour from when
|
||||
# the server received the request.
|
||||
# Corresponds to the JSON property `expireTime`
|
||||
# @return [String]
|
||||
attr_accessor :expire_time
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
@@ -38,6 +44,7 @@ module Google
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@access_token = args[:access_token] if args.key?(:access_token)
|
||||
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user