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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/iap_v1/classes.rb,
generated/google/apis/iap_v1/representations.rb,
generated/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CsmSettings

Returns a new instance of CsmSettings.



240
241
242
# File 'generated/google/apis/iap_v1/classes.rb', line 240

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)


238
239
240
# File 'generated/google/apis/iap_v1/classes.rb', line 238

def rctoken_aud
  @rctoken_aud
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



245
246
247
# File 'generated/google/apis/iap_v1/classes.rb', line 245

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