Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaOidcToken
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaOidcToken
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/representations.rb
Overview
OIDC Token
Instance Attribute Summary collapse
-
#audience ⇒ String
Audience to be used when generating OIDC token.
-
#service_account_email ⇒ String
The service account email to be used as the identity for the token.
-
#token ⇒ String
ID token obtained for the service account Corresponds to the JSON property
token
. -
#token_expire_time ⇒ String
The approximate time until the token retrieved is valid.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaOidcToken
constructor
A new instance of GoogleCloudIntegrationsV1alphaOidcToken.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaOidcToken
Returns a new instance of GoogleCloudIntegrationsV1alphaOidcToken.
9666 9667 9668 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9666 def initialize(**args) update!(**args) end |
Instance Attribute Details
#audience ⇒ String
Audience to be used when generating OIDC token. The audience claim identifies
the recipients that the JWT is intended for.
Corresponds to the JSON property audience
9649 9650 9651 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9649 def audience @audience end |
#service_account_email ⇒ String
The service account email to be used as the identity for the token.
Corresponds to the JSON property serviceAccountEmail
9654 9655 9656 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9654 def service_account_email @service_account_email end |
#token ⇒ String
ID token obtained for the service account
Corresponds to the JSON property token
9659 9660 9661 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9659 def token @token end |
#token_expire_time ⇒ String
The approximate time until the token retrieved is valid.
Corresponds to the JSON property tokenExpireTime
9664 9665 9666 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9664 def token_expire_time @token_expire_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9671 9672 9673 9674 9675 9676 |
# File 'lib/google/apis/integrations_v1/classes.rb', line 9671 def update!(**args) @audience = args[:audience] if args.key?(:audience) @service_account_email = args[:service_account_email] if args.key?(:service_account_email) @token = args[:token] if args.key?(:token) @token_expire_time = args[:token_expire_time] if args.key?(:token_expire_time) end |