Class: Google::Apis::IapV1::CsmSettings

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

Overview

Configuration for RCToken generated for service mesh workloads protected by IAP. RCToken are IAP generated JWTs that can be verified at the application. The RCToken is primarily used for service mesh deployments, and can be scoped to a single mesh by configuring the audience field accordingly.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CsmSettings

Returns a new instance of CsmSettings.



384
385
386
# File 'lib/google/apis/iap_v1/classes.rb', line 384

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

Instance Attribute Details

#rctoken_audString

Audience claim set in the generated RCToken. This value is not validated by IAP. Corresponds to the JSON property rctokenAud

Returns:

  • (String)


382
383
384
# File 'lib/google/apis/iap_v1/classes.rb', line 382

def rctoken_aud
  @rctoken_aud
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



389
390
391
# File 'lib/google/apis/iap_v1/classes.rb', line 389

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