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
27952 27953 27954 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27952 def initialize(**args) update!(**args) end |
Instance Attribute Details
#json_key ⇒ String
Service account key.
Corresponds to the JSON property jsonKey
27945 27946 27947 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27945 def json_key @json_key end |
#token_lifetime_seconds ⇒ Fixnum
The token lifetime seconds.
Corresponds to the JSON property tokenLifetimeSeconds
27950 27951 27952 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27950 def token_lifetime_seconds @token_lifetime_seconds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27957 27958 27959 27960 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 27957 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 |