Class: Google::Apis::PlayintegrityV1::AppAccessRiskVerdict

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/playintegrity_v1/classes.rb,
lib/google/apis/playintegrity_v1/representations.rb,
lib/google/apis/playintegrity_v1/representations.rb

Overview

Contains signals about others apps on the device which could be used to access or control the requesting app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppAccessRiskVerdict

Returns a new instance of AppAccessRiskVerdict.



97
98
99
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 97

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

Instance Attribute Details

#apps_detectedArray<String>

List of detected app types signalled for App Access Risk. Corresponds to the JSON property appsDetected

Returns:

  • (Array<String>)


81
82
83
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 81

def apps_detected
  @apps_detected
end

#other_appsString

Deprecated: this field will be removed, please use apps_detected instead. App access risk verdict related to apps that are not installed by Google Play, and are not preloaded on the system image by the device manufacturer. Corresponds to the JSON property otherApps

Returns:

  • (String)


88
89
90
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 88

def other_apps
  @other_apps
end

#play_or_system_appsString

Deprecated: this field will be removed, please use apps_detected instead. App access risk verdict related to apps that are not installed by the Google Play Store, and are not preloaded on the system image by the device manufacturer. Corresponds to the JSON property playOrSystemApps

Returns:

  • (String)


95
96
97
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 95

def play_or_system_apps
  @play_or_system_apps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



102
103
104
105
106
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 102

def update!(**args)
  @apps_detected = args[:apps_detected] if args.key?(:apps_detected)
  @other_apps = args[:other_apps] if args.key?(:other_apps)
  @play_or_system_apps = args[:play_or_system_apps] if args.key?(:play_or_system_apps)
end