Skip to content

Commit dc2aa3e

Browse files
1 parent cbd22e5 commit dc2aa3e

1 file changed

Lines changed: 26 additions & 3 deletions

File tree

src/AndroidManagement/ApplicationReport.php

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class ApplicationReport extends \Google\Collection
6565
* App is user facing.
6666
*/
6767
public const USER_FACING_TYPE_USER_FACING = 'USER_FACING';
68-
protected $collection_key = 'signingKeyCertFingerprints';
68+
protected $collection_key = 'signingKeyCerts';
6969
/**
7070
* The source of the package.
7171
*
@@ -103,14 +103,18 @@ class ApplicationReport extends \Google\Collection
103103
*/
104104
public $packageSha256Hash;
105105
/**
106-
* The SHA-1 hash of each android.content.pm.Signature
106+
* Deprecated. Use signingKeyCerts instead. The SHA-1 hash of each
107+
* android.content.pm.Signature
107108
* (https://developer.android.com/reference/android/content/pm/Signature.html)
108109
* associated with the app package. Each byte of each hash value is
109110
* represented as a two-digit hexadecimal number.
110111
*
112+
* @deprecated
111113
* @var string[]
112114
*/
113115
public $signingKeyCertFingerprints;
116+
protected $signingKeyCertsType = ApplicationSigningKeyCert::class;
117+
protected $signingKeyCertsDataType = 'array';
114118
/**
115119
* Application state.
116120
*
@@ -256,24 +260,43 @@ public function getPackageSha256Hash()
256260
return $this->packageSha256Hash;
257261
}
258262
/**
259-
* The SHA-1 hash of each android.content.pm.Signature
263+
* Deprecated. Use signingKeyCerts instead. The SHA-1 hash of each
264+
* android.content.pm.Signature
260265
* (https://developer.android.com/reference/android/content/pm/Signature.html)
261266
* associated with the app package. Each byte of each hash value is
262267
* represented as a two-digit hexadecimal number.
263268
*
269+
* @deprecated
264270
* @param string[] $signingKeyCertFingerprints
265271
*/
266272
public function setSigningKeyCertFingerprints($signingKeyCertFingerprints)
267273
{
268274
$this->signingKeyCertFingerprints = $signingKeyCertFingerprints;
269275
}
270276
/**
277+
* @deprecated
271278
* @return string[]
272279
*/
273280
public function getSigningKeyCertFingerprints()
274281
{
275282
return $this->signingKeyCertFingerprints;
276283
}
284+
/**
285+
* Output only. Signing key certificates of the app.
286+
*
287+
* @param ApplicationSigningKeyCert[] $signingKeyCerts
288+
*/
289+
public function setSigningKeyCerts($signingKeyCerts)
290+
{
291+
$this->signingKeyCerts = $signingKeyCerts;
292+
}
293+
/**
294+
* @return ApplicationSigningKeyCert[]
295+
*/
296+
public function getSigningKeyCerts()
297+
{
298+
return $this->signingKeyCerts;
299+
}
277300
/**
278301
* Application state.
279302
*

0 commit comments

Comments
 (0)