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.



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

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

Instance Attribute Details

#audienceString

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

Returns:

  • (String)


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

def audience
  @audience
end

#issuerString

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

Returns:

  • (String)


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

def issuer
  @issuer
end

#subjectString

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

Returns:

  • (String)


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

def subject
  @subject
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4898
4899
4900
4901
4902
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 4898

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