Class: Google::Apis::IapV1::AccessSettings
- Inherits:
-
Object
- Object
- Google::Apis::IapV1::AccessSettings
- 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
Access related settings for IAP protected apps.
Instance Attribute Summary collapse
-
#cors_settings ⇒ Google::Apis::IapV1::CorsSettings
Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS call to bypass authentication and authorization.
-
#gcip_settings ⇒ Google::Apis::IapV1::GcipSettings
Allows customers to configure tenant_id for GCIP instance per-app.
-
#oauth_settings ⇒ Google::Apis::IapV1::OAuthSettings
Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials.
-
#policy_delegation_settings ⇒ Google::Apis::IapV1::PolicyDelegationSettings
PolicyDelegationConfig allows google-internal teams to use IAP for apps hosted in a tenant project.
-
#reauth_settings ⇒ Google::Apis::IapV1::ReauthSettings
Configuration for IAP reauthentication policies.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AccessSettings
constructor
A new instance of AccessSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AccessSettings
Returns a new instance of AccessSettings.
90 91 92 |
# File 'lib/google/apis/iap_v1/classes.rb', line 90 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cors_settings ⇒ Google::Apis::IapV1::CorsSettings
Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS
call to bypass authentication and authorization.
Corresponds to the JSON property corsSettings
63 64 65 |
# File 'lib/google/apis/iap_v1/classes.rb', line 63 def cors_settings @cors_settings end |
#gcip_settings ⇒ Google::Apis::IapV1::GcipSettings
Allows customers to configure tenant_id for GCIP instance per-app.
Corresponds to the JSON property gcipSettings
68 69 70 |
# File 'lib/google/apis/iap_v1/classes.rb', line 68 def gcip_settings @gcip_settings end |
#oauth_settings ⇒ Google::Apis::IapV1::OAuthSettings
Configuration for OAuth login&consent flow behavior as well as for OAuth
Credentials.
Corresponds to the JSON property oauthSettings
74 75 76 |
# File 'lib/google/apis/iap_v1/classes.rb', line 74 def oauth_settings @oauth_settings end |
#policy_delegation_settings ⇒ Google::Apis::IapV1::PolicyDelegationSettings
PolicyDelegationConfig allows google-internal teams to use IAP for apps hosted
in a tenant project. Using these settings, the app can delegate permission
check to happen against the linked customer project. This is only ever
supposed to be used by google internal teams, hence the restriction on the
proto.
Corresponds to the JSON property policyDelegationSettings
83 84 85 |
# File 'lib/google/apis/iap_v1/classes.rb', line 83 def policy_delegation_settings @policy_delegation_settings end |
#reauth_settings ⇒ Google::Apis::IapV1::ReauthSettings
Configuration for IAP reauthentication policies.
Corresponds to the JSON property reauthSettings
88 89 90 |
# File 'lib/google/apis/iap_v1/classes.rb', line 88 def reauth_settings @reauth_settings end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
95 96 97 98 99 100 101 |
# File 'lib/google/apis/iap_v1/classes.rb', line 95 def update!(**args) @cors_settings = args[:cors_settings] if args.key?(:cors_settings) @gcip_settings = args[:gcip_settings] if args.key?(:gcip_settings) @oauth_settings = args[:oauth_settings] if args.key?(:oauth_settings) @policy_delegation_settings = args[:policy_delegation_settings] if args.key?(:policy_delegation_settings) @reauth_settings = args[:reauth_settings] if args.key?(:reauth_settings) end |