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
27523 27524 27525 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27523 def initialize(**args) update!(**args) end |
Instance Attribute Details
#json_key ⇒ String
Service account key.
Corresponds to the JSON property jsonKey
27516 27517 27518 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27516 def json_key @json_key end |
#token_lifetime_seconds ⇒ Fixnum
The token lifetime seconds.
Corresponds to the JSON property tokenLifetimeSeconds
27521 27522 27523 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27521 def token_lifetime_seconds @token_lifetime_seconds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27528 27529 27530 27531 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27528 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 |