Class: Google::Apis::IapV1::AccessSettings

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

Access related settings for IAP protected apps.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AccessSettings

Returns a new instance of AccessSettings.



77
78
79
# File 'generated/google/apis/iap_v1/classes.rb', line 77

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

Instance Attribute Details

#cors_settingsGoogle::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



55
56
57
# File 'generated/google/apis/iap_v1/classes.rb', line 55

def cors_settings
  @cors_settings
end

#gcip_settingsGoogle::Apis::IapV1::GcipSettings

Allows customers to configure tenant_id for GCIP instance per-app. Corresponds to the JSON property gcipSettings



60
61
62
# File 'generated/google/apis/iap_v1/classes.rb', line 60

def gcip_settings
  @gcip_settings
end

#oauth_settingsGoogle::Apis::IapV1::OAuthSettings

Configuration for OAuth login&consent flow behavior as well as for OAuth Credentials. Corresponds to the JSON property oauthSettings



66
67
68
# File 'generated/google/apis/iap_v1/classes.rb', line 66

def oauth_settings
  @oauth_settings
end

#policy_delegation_settingsGoogle::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



75
76
77
# File 'generated/google/apis/iap_v1/classes.rb', line 75

def policy_delegation_settings
  @policy_delegation_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



82
83
84
85
86
87
# File 'generated/google/apis/iap_v1/classes.rb', line 82

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)
end