Class: Google::Apis::IntegrationsV1::GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims

Inherits:
Object
  • Object
show all
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

JWT claims used for the jwt-bearer authorization grant.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims

Returns a new instance of GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims.



5295
5296
5297
# File 'lib/google/apis/integrations_v1/classes.rb', line 5295

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

Instance Attribute Details

#audienceString

Value for the "aud" claim. Corresponds to the JSON property audience

Returns:

  • (String)


5283
5284
5285
# File 'lib/google/apis/integrations_v1/classes.rb', line 5283

def audience
  @audience
end

#issuerString

Value for the "iss" claim. Corresponds to the JSON property issuer

Returns:

  • (String)


5288
5289
5290
# File 'lib/google/apis/integrations_v1/classes.rb', line 5288

def issuer
  @issuer
end

#subjectString

Value for the "sub" claim. Corresponds to the JSON property subject

Returns:

  • (String)


5293
5294
5295
# File 'lib/google/apis/integrations_v1/classes.rb', line 5293

def subject
  @subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5300
5301
5302
5303
5304
# File 'lib/google/apis/integrations_v1/classes.rb', line 5300

def update!(**args)
  @audience = args[:audience] if args.key?(:audience)
  @issuer = args[:issuer] if args.key?(:issuer)
  @subject = args[:subject] if args.key?(:subject)
end