Class: Google::Apis::CloudbuildV2::FetchReadWriteTokenResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::FetchReadWriteTokenResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v2/classes.rb,
lib/google/apis/cloudbuild_v2/representations.rb,
lib/google/apis/cloudbuild_v2/representations.rb
Overview
Message for responding to get read/write token.
Instance Attribute Summary collapse
-
#expiration_time ⇒ String
Expiration timestamp.
-
#token ⇒ String
The token content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FetchReadWriteTokenResponse
constructor
A new instance of FetchReadWriteTokenResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FetchReadWriteTokenResponse
Returns a new instance of FetchReadWriteTokenResponse.
822 823 824 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 822 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expiration_time ⇒ String
Expiration timestamp. Can be empty if unknown or non-expiring.
Corresponds to the JSON property expirationTime
815 816 817 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 815 def expiration_time @expiration_time end |
#token ⇒ String
The token content.
Corresponds to the JSON property token
820 821 822 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 820 def token @token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
827 828 829 830 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 827 def update!(**args) @expiration_time = args[:expiration_time] if args.key?(:expiration_time) @token = args[:token] if args.key?(:token) end |