Class: Google::Apis::IapV1::IapSettings

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

The IAP configurable settings.

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) ⇒ IapSettings

Returns a new instance of IapSettings.



426
427
428
# File 'generated/google/apis/iap_v1/classes.rb', line 426

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

Instance Attribute Details

#access_settingsGoogle::Apis::IapV1::AccessSettings

Access related settings for IAP protected apps. Corresponds to the JSON property accessSettings



414
415
416
# File 'generated/google/apis/iap_v1/classes.rb', line 414

def access_settings
  @access_settings
end

#application_settingsGoogle::Apis::IapV1::ApplicationSettings

Wrapper over application specific settings for IAP. Corresponds to the JSON property applicationSettings



419
420
421
# File 'generated/google/apis/iap_v1/classes.rb', line 419

def application_settings
  @application_settings
end

#nameString

Required. The resource name of the IAP protected resource. Corresponds to the JSON property name

Returns:

  • (String)


424
425
426
# File 'generated/google/apis/iap_v1/classes.rb', line 424

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



431
432
433
434
435
# File 'generated/google/apis/iap_v1/classes.rb', line 431

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