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.



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

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

Instance Attribute Details

#audienceString

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

Returns:

  • (String)


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

def audience
  @audience
end

#issuerString

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

Returns:

  • (String)


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

def issuer
  @issuer
end

#subjectString

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

Returns:

  • (String)


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

def subject
  @subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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