google-apis-playintegrity_v1 0.19.0 → 0.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d75fd6116651a6f902d58cf558b89dfd0053cde31f80e87f84bb02c1d66c5db8
4
- data.tar.gz: e6ae767dc3b731056a65080bf433d5d7c111ce25cc451863477a17b0c1b24558
3
+ metadata.gz: afd69d123a485a8c00d636109cc2648941ec7b1415d3044595d07f27b3833c1e
4
+ data.tar.gz: 83fd0cb6028cf42f3bdb5dc2c14ca58930e5fb20f5197220f0a19b006f704a98
5
5
  SHA512:
6
- metadata.gz: 583310c50ba027545db11dae0412549a97ff2aa18a6a9d561dfd184151bfdc76e3703a833f487ee4ca7b1c4ad91ab4a8fdff9f618e2d90d92fc3f5259cc073d4
7
- data.tar.gz: 997ff81f916faa655eb9cadc996143c853ef5764c2da917c9b00ee8f94d210f90e95a3a5c1f132c918ed16e43864d0ae64b2bc4e6a39c4d10286152f70e38f91
6
+ metadata.gz: 5c8c3d69639ac3a0bf63e0deb57da60ae25a145afe7c3ef63165e29b89d77de235aa09265b0d7d7bc4ef1ff739480ef15dffe02ee2dcbfae1a61f84d3f8d6f9c
7
+ data.tar.gz: 597d7a0e29eff4ebdeef65e95da90d73ab58ca01c58a69b2f1fdd00691a969fae6dff29f554526b713deb5e40fa4903c69153fbd9fd30df35b023ec7ee610b38
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-playintegrity_v1
2
2
 
3
+ ### v0.20.0 (2023-11-12)
4
+
5
+ * Regenerated from discovery document revision 20231109
6
+
3
7
  ### v0.19.0 (2023-10-22)
4
8
 
5
9
  * Regenerated from discovery document revision 20231018
@@ -70,6 +70,36 @@ module Google
70
70
  end
71
71
  end
72
72
 
73
+ # Contains signals about others apps on the device which could be used to access
74
+ # or control the requesting app.
75
+ class AppAccessRiskVerdict
76
+ include Google::Apis::Core::Hashable
77
+
78
+ # Required. App access risk verdict related to apps that are not installed by
79
+ # Google Play, and are not preloaded on the system image by the device
80
+ # manufacturer.
81
+ # Corresponds to the JSON property `otherApps`
82
+ # @return [String]
83
+ attr_accessor :other_apps
84
+
85
+ # Required. App access risk verdict related to apps that are not installed by
86
+ # the Google Play Store, and are not preloaded on the system image by the device
87
+ # manufacturer.
88
+ # Corresponds to the JSON property `playOrSystemApps`
89
+ # @return [String]
90
+ attr_accessor :play_or_system_apps
91
+
92
+ def initialize(**args)
93
+ update!(**args)
94
+ end
95
+
96
+ # Update properties of this object
97
+ def update!(**args)
98
+ @other_apps = args[:other_apps] if args.key?(:other_apps)
99
+ @play_or_system_apps = args[:play_or_system_apps] if args.key?(:play_or_system_apps)
100
+ end
101
+ end
102
+
73
103
  # Contains the application integrity information.
74
104
  class AppIntegrity
75
105
  include Google::Apis::Core::Hashable
@@ -168,16 +198,21 @@ module Google
168
198
  end
169
199
  end
170
200
 
171
- # Contains guidance details about the Integrity API response, providing
172
- # additional context to the integrity verdicts.
173
- class GuidanceDetails
201
+ # Contains information about the environment Play Integrity API runs in, e.g.
202
+ # Play Protect verdict.
203
+ class EnvironmentDetails
174
204
  include Google::Apis::Core::Hashable
175
205
 
176
- # This shows when there is an issue with at least one of the integrity verdicts,
177
- # which can be remedied by the user and provides additional details.
178
- # Corresponds to the JSON property `userRemediationDetails`
179
- # @return [Array<Google::Apis::PlayintegrityV1::UserRemediationDetails>]
180
- attr_accessor :user_remediation_details
206
+ # Contains signals about others apps on the device which could be used to access
207
+ # or control the requesting app.
208
+ # Corresponds to the JSON property `appAccessRiskVerdict`
209
+ # @return [Google::Apis::PlayintegrityV1::AppAccessRiskVerdict]
210
+ attr_accessor :app_access_risk_verdict
211
+
212
+ # The evaluation of Play Protect verdict.
213
+ # Corresponds to the JSON property `playProtectVerdict`
214
+ # @return [String]
215
+ attr_accessor :play_protect_verdict
181
216
 
182
217
  def initialize(**args)
183
218
  update!(**args)
@@ -185,7 +220,8 @@ module Google
185
220
 
186
221
  # Update properties of this object
187
222
  def update!(**args)
188
- @user_remediation_details = args[:user_remediation_details] if args.key?(:user_remediation_details)
223
+ @app_access_risk_verdict = args[:app_access_risk_verdict] if args.key?(:app_access_risk_verdict)
224
+ @play_protect_verdict = args[:play_protect_verdict] if args.key?(:play_protect_verdict)
189
225
  end
190
226
  end
191
227
 
@@ -270,11 +306,11 @@ module Google
270
306
  # @return [Google::Apis::PlayintegrityV1::DeviceIntegrity]
271
307
  attr_accessor :device_integrity
272
308
 
273
- # Contains guidance details about the Integrity API response, providing
274
- # additional context to the integrity verdicts.
275
- # Corresponds to the JSON property `guidanceDetails`
276
- # @return [Google::Apis::PlayintegrityV1::GuidanceDetails]
277
- attr_accessor :guidance_details
309
+ # Contains information about the environment Play Integrity API runs in, e.g.
310
+ # Play Protect verdict.
311
+ # Corresponds to the JSON property `environmentDetails`
312
+ # @return [Google::Apis::PlayintegrityV1::EnvironmentDetails]
313
+ attr_accessor :environment_details
278
314
 
279
315
  # Contains the integrity request information.
280
316
  # Corresponds to the JSON property `requestDetails`
@@ -295,30 +331,11 @@ module Google
295
331
  @account_details = args[:account_details] if args.key?(:account_details)
296
332
  @app_integrity = args[:app_integrity] if args.key?(:app_integrity)
297
333
  @device_integrity = args[:device_integrity] if args.key?(:device_integrity)
298
- @guidance_details = args[:guidance_details] if args.key?(:guidance_details)
334
+ @environment_details = args[:environment_details] if args.key?(:environment_details)
299
335
  @request_details = args[:request_details] if args.key?(:request_details)
300
336
  @testing_details = args[:testing_details] if args.key?(:testing_details)
301
337
  end
302
338
  end
303
-
304
- # Contains details of remediation guidance that the user can perform.
305
- class UserRemediationDetails
306
- include Google::Apis::Core::Hashable
307
-
308
- # Description of the user remediation action.
309
- # Corresponds to the JSON property `remediation`
310
- # @return [String]
311
- attr_accessor :remediation
312
-
313
- def initialize(**args)
314
- update!(**args)
315
- end
316
-
317
- # Update properties of this object
318
- def update!(**args)
319
- @remediation = args[:remediation] if args.key?(:remediation)
320
- end
321
- end
322
339
  end
323
340
  end
324
341
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PlayintegrityV1
18
18
  # Version of the google-apis-playintegrity_v1 gem
19
- GEM_VERSION = "0.19.0"
19
+ GEM_VERSION = "0.20.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231018"
25
+ REVISION = "20231109"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class AppAccessRiskVerdict
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class AppIntegrity
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -58,7 +64,7 @@ module Google
58
64
  include Google::Apis::Core::JsonObjectSupport
59
65
  end
60
66
 
61
- class GuidanceDetails
67
+ class EnvironmentDetails
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
64
70
  include Google::Apis::Core::JsonObjectSupport
@@ -82,12 +88,6 @@ module Google
82
88
  include Google::Apis::Core::JsonObjectSupport
83
89
  end
84
90
 
85
- class UserRemediationDetails
86
- class Representation < Google::Apis::Core::JsonRepresentation; end
87
-
88
- include Google::Apis::Core::JsonObjectSupport
89
- end
90
-
91
91
  class AccountActivity
92
92
  # @private
93
93
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -104,6 +104,14 @@ module Google
104
104
  end
105
105
  end
106
106
 
107
+ class AppAccessRiskVerdict
108
+ # @private
109
+ class Representation < Google::Apis::Core::JsonRepresentation
110
+ property :other_apps, as: 'otherApps'
111
+ property :play_or_system_apps, as: 'playOrSystemApps'
112
+ end
113
+ end
114
+
107
115
  class AppIntegrity
108
116
  # @private
109
117
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -136,11 +144,12 @@ module Google
136
144
  end
137
145
  end
138
146
 
139
- class GuidanceDetails
147
+ class EnvironmentDetails
140
148
  # @private
141
149
  class Representation < Google::Apis::Core::JsonRepresentation
142
- collection :user_remediation_details, as: 'userRemediationDetails', class: Google::Apis::PlayintegrityV1::UserRemediationDetails, decorator: Google::Apis::PlayintegrityV1::UserRemediationDetails::Representation
150
+ property :app_access_risk_verdict, as: 'appAccessRiskVerdict', class: Google::Apis::PlayintegrityV1::AppAccessRiskVerdict, decorator: Google::Apis::PlayintegrityV1::AppAccessRiskVerdict::Representation
143
151
 
152
+ property :play_protect_verdict, as: 'playProtectVerdict'
144
153
  end
145
154
  end
146
155
 
@@ -170,7 +179,7 @@ module Google
170
179
 
171
180
  property :device_integrity, as: 'deviceIntegrity', class: Google::Apis::PlayintegrityV1::DeviceIntegrity, decorator: Google::Apis::PlayintegrityV1::DeviceIntegrity::Representation
172
181
 
173
- property :guidance_details, as: 'guidanceDetails', class: Google::Apis::PlayintegrityV1::GuidanceDetails, decorator: Google::Apis::PlayintegrityV1::GuidanceDetails::Representation
182
+ property :environment_details, as: 'environmentDetails', class: Google::Apis::PlayintegrityV1::EnvironmentDetails, decorator: Google::Apis::PlayintegrityV1::EnvironmentDetails::Representation
174
183
 
175
184
  property :request_details, as: 'requestDetails', class: Google::Apis::PlayintegrityV1::RequestDetails, decorator: Google::Apis::PlayintegrityV1::RequestDetails::Representation
176
185
 
@@ -178,13 +187,6 @@ module Google
178
187
 
179
188
  end
180
189
  end
181
-
182
- class UserRemediationDetails
183
- # @private
184
- class Representation < Google::Apis::Core::JsonRepresentation
185
- property :remediation, as: 'remediation'
186
- end
187
- end
188
190
  end
189
191
  end
190
192
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-playintegrity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.19.0
4
+ version: 0.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-29 00:00:00.000000000 Z
11
+ date: 2023-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-playintegrity_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-playintegrity_v1/v0.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-playintegrity_v1/v0.20.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-playintegrity_v1
63
63
  post_install_message:
64
64
  rdoc_options: []