Class: Google::Apis::IapV1::ApplicationSettings

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

Wrapper over application specific settings for IAP.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ApplicationSettings

Returns a new instance of ApplicationSettings.



192
193
194
# File 'lib/google/apis/iap_v1/classes.rb', line 192

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

Instance Attribute Details

#access_denied_page_settingsGoogle::Apis::IapV1::AccessDeniedPageSettings

Custom content configuration for access denied page. IAP allows customers to define a custom URI to use as the error page when access is denied to users. If IAP prevents access to this page, the default IAP error page will be displayed instead. Corresponds to the JSON property accessDeniedPageSettings



171
172
173
# File 'lib/google/apis/iap_v1/classes.rb', line 171

def access_denied_page_settings
  @access_denied_page_settings
end

#attribute_propagation_settingsGoogle::Apis::IapV1::AttributePropagationSettings

Configuration for propagating attributes to applications protected by IAP. Corresponds to the JSON property attributePropagationSettings



176
177
178
# File 'lib/google/apis/iap_v1/classes.rb', line 176

def attribute_propagation_settings
  @attribute_propagation_settings
end

The Domain value to set for cookies generated by IAP. This value is not validated by the API, but will be ignored at runtime if invalid. Corresponds to the JSON property cookieDomain

Returns:

  • (String)


182
183
184
# File 'lib/google/apis/iap_v1/classes.rb', line 182

def cookie_domain
  @cookie_domain
end

#csm_settingsGoogle::Apis::IapV1::CsmSettings

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. Corresponds to the JSON property csmSettings



190
191
192
# File 'lib/google/apis/iap_v1/classes.rb', line 190

def csm_settings
  @csm_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



197
198
199
200
201
202
# File 'lib/google/apis/iap_v1/classes.rb', line 197

def update!(**args)
  @access_denied_page_settings = args[:access_denied_page_settings] if args.key?(:access_denied_page_settings)
  @attribute_propagation_settings = args[:attribute_propagation_settings] if args.key?(:attribute_propagation_settings)
  @cookie_domain = args[:cookie_domain] if args.key?(:cookie_domain)
  @csm_settings = args[:csm_settings] if args.key?(:csm_settings)
end