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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AccessSettings

Returns a new instance of AccessSettings.



46
47
48
# File 'generated/google/apis/iap_v1/classes.rb', line 46

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



33
34
35
# File 'generated/google/apis/iap_v1/classes.rb', line 33

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



38
39
40
# File 'generated/google/apis/iap_v1/classes.rb', line 38

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



44
45
46
# File 'generated/google/apis/iap_v1/classes.rb', line 44

def oauth_settings
  @oauth_settings
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



51
52
53
54
55
# File 'generated/google/apis/iap_v1/classes.rb', line 51

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