Class: Google::Apis::ComputeAlpha::ServiceAccountJwtAccessCredentials
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ServiceAccountJwtAccessCredentials
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
JWT credentials for a service account.
Instance Attribute Summary collapse
-
#json_key ⇒ String
Service account key.
-
#token_lifetime_seconds ⇒ Fixnum
The token lifetime seconds.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceAccountJwtAccessCredentials
constructor
A new instance of ServiceAccountJwtAccessCredentials.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ServiceAccountJwtAccessCredentials
Returns a new instance of ServiceAccountJwtAccessCredentials
27825 27826 27827 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27825 def initialize(**args) update!(**args) end |
Instance Attribute Details
#json_key ⇒ String
Service account key.
Corresponds to the JSON property jsonKey
27818 27819 27820 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27818 def json_key @json_key end |
#token_lifetime_seconds ⇒ Fixnum
The token lifetime seconds.
Corresponds to the JSON property tokenLifetimeSeconds
27823 27824 27825 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27823 def token_lifetime_seconds @token_lifetime_seconds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27830 27831 27832 27833 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27830 def update!(**args) @json_key = args[:json_key] if args.key?(:json_key) @token_lifetime_seconds = args[:token_lifetime_seconds] if args.key?(:token_lifetime_seconds) end |