Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1AuthConfigOauth2JwtBearerJwtClaims

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

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.



4887
4888
4889
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4887

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

Instance Attribute Details

#audienceString

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

Returns:

  • (String)


4875
4876
4877
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4875

def audience
  @audience
end

#issuerString

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

Returns:

  • (String)


4880
4881
4882
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4880

def issuer
  @issuer
end

#subjectString

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

Returns:

  • (String)


4885
4886
4887
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4885

def subject
  @subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4892
4893
4894
4895
4896
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4892

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