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 RCTokens generated for CSM workloads protected by IAP. RCTokens are IAP generated JWTs that can be verified at the application. The RCToken is primarily used for ISTIO 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.



283
284
285
# File 'lib/google/apis/iap_v1/classes.rb', line 283

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)


281
282
283
# File 'lib/google/apis/iap_v1/classes.rb', line 281

def rctoken_aud
  @rctoken_aud
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



288
289
290
# File 'lib/google/apis/iap_v1/classes.rb', line 288

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