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.



92
93
94
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 92

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

Instance Attribute Details

#other_appsString

Required. 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)


83
84
85
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 83

def other_apps
  @other_apps
end

#play_or_system_appsString

Required. 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)


90
91
92
# File 'lib/google/apis/playintegrity_v1/classes.rb', line 90

def play_or_system_apps
  @play_or_system_apps
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @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