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 service mesh workloads protected by IAP. RCTokens 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.



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

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)


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

def rctoken_aud
  @rctoken_aud
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



294
295
296
# File 'lib/google/apis/iap_v1/classes.rb', line 294

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