Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaOidcToken

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb

Overview

OIDC Token

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaOidcToken

Returns a new instance of GoogleCloudIntegrationsV1alphaOidcToken.



7584
7585
7586
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7584

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#audienceString

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

Returns:

  • (String)


7567
7568
7569
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7567

def audience
  @audience
end

#service_account_emailString

The service account email to be used as the identity for the token. Corresponds to the JSON property serviceAccountEmail

Returns:

  • (String)


7572
7573
7574
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7572

def 
  @service_account_email
end

#tokenString

ID token obtained for the service account Corresponds to the JSON property token

Returns:

  • (String)


7577
7578
7579
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7577

def token
  @token
end

#token_expire_timeString

The approximate time until the token retrieved is valid. Corresponds to the JSON property tokenExpireTime

Returns:

  • (String)


7582
7583
7584
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7582

def token_expire_time
  @token_expire_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7589
7590
7591
7592
7593
7594
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7589

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