Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ class GoogleFirebaseAppdistroV1ListReleasesResponse extends \Google\Collection
public $nextPageToken;
protected $releasesType = GoogleFirebaseAppdistroV1Release::class;
protected $releasesDataType = 'array';
/**
* The total number of releases.
*
* @var int
*/
public $totalSize;

/**
* A short-lived token, which can be sent as `pageToken` to retrieve the next
Expand Down Expand Up @@ -63,6 +69,22 @@ public function getReleases()
{
return $this->releases;
}
/**
* The total number of releases.
*
* @param int $totalSize
*/
public function setTotalSize($totalSize)
{
$this->totalSize = $totalSize;
}
/**
* @return int
*/
public function getTotalSize()
{
return $this->totalSize;
}
}

// Adding a class alias for backwards compatibility with the previous class name.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,28 @@

class GoogleFirebaseAppdistroV1Release extends \Google\Model
{
/**
* Default value.
*/
public const ANDROID_PACKAGE_REGISTRATION_STATE_ANDROID_PACKAGE_REGISTRATION_STATE_UNSPECIFIED = 'ANDROID_PACKAGE_REGISTRATION_STATE_UNSPECIFIED';
/**
* Package is registered with the release binary's certificate fingerprint.
*/
public const ANDROID_PACKAGE_REGISTRATION_STATE_REGISTERED = 'REGISTERED';
/**
* Package is not registered with any public certificate.
*/
public const ANDROID_PACKAGE_REGISTRATION_STATE_NOT_REGISTERED = 'NOT_REGISTERED';
/**
* Package is registered with another public certificate fingerprint.
*/
public const ANDROID_PACKAGE_REGISTRATION_STATE_REGISTERED_WITH_ANOTHER_CERTIFICATE_FINGERPRINT = 'REGISTERED_WITH_ANOTHER_CERTIFICATE_FINGERPRINT';
/**
* Output only. Registration state of the Android package (BinaryType.APK).
*
* @var string
*/
public $androidPackageRegistrationState;
/**
* Output only. A signed link (which expires in one hour) to directly download
* the app binary (IPA/APK/AAB) file.
Expand Down Expand Up @@ -84,6 +106,25 @@ class GoogleFirebaseAppdistroV1Release extends \Google\Model
*/
public $updateTime;

/**
* Output only. Registration state of the Android package (BinaryType.APK).
*
* Accepted values: ANDROID_PACKAGE_REGISTRATION_STATE_UNSPECIFIED,
* REGISTERED, NOT_REGISTERED, REGISTERED_WITH_ANOTHER_CERTIFICATE_FINGERPRINT
*
* @param self::ANDROID_PACKAGE_REGISTRATION_STATE_* $androidPackageRegistrationState
*/
public function setAndroidPackageRegistrationState($androidPackageRegistrationState)
{
$this->androidPackageRegistrationState = $androidPackageRegistrationState;
}
/**
* @return self::ANDROID_PACKAGE_REGISTRATION_STATE_*
*/
public function getAndroidPackageRegistrationState()
{
return $this->androidPackageRegistrationState;
}
/**
* Output only. A signed link (which expires in one hour) to directly download
* the app binary (IPA/APK/AAB) file.
Expand Down Expand Up @@ -203,7 +244,7 @@ public function getName()
return $this->name;
}
/**
* Notes of the release.
* Notes about the release.
*
* @param GoogleFirebaseAppdistroV1ReleaseNotes $releaseNotes
*/
Expand Down
27 changes: 18 additions & 9 deletions src/FirebaseAppDistribution/Resource/ProjectsAppsReleases.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,26 @@ public function get($name, $optParams = [])
* @param array $optParams Optional parameters.
*
* @opt_param string filter Optional. The expression to filter releases listed
* in the response. To learn more about filtering, refer to [Google's AIP-160
* standard](http://aip.dev/160). Supported fields: - `releaseNotes.text`
* supports `=` (can contain a wildcard character (`*`) at the beginning or end
* of the string) - `createTime` supports `<`, `<=`, `>` and `>=`, and expects
* an RFC-3339 formatted string Examples: - `createTime <=
* in the response. To learn more about filtering, refer to the [AIP-160
* standard](http://aip.dev/160). Supported fields: - Time fields supporting
* `<`, `<=`, `>` and `>=`; expecting an RFC-3339 formatted string: -
* `create_time` (or `createTime`) - `update_time` (or `updateTime`) -
* `expire_time` (or `expireTime`) - Text fields supporting `=`. The compared
* text can contain a wildcard character (`*`) at the beginning and/or end of
* the string which also enables case-insensitive matching: -
* `release_notes.text` (or `releaseNotes.text`) - `display_version` (or
* `displayVersion`) - `build_version` (or `buildVersion`). Examples: -
* `createTime <= "2021-09-08T00:00:00+04:00"` - `expire_time >
* "2021-09-08T00:00:00+04:00"` - `releaseNotes.text="fixes" AND createTime >=
* "2021-09-08T00:00:00.0Z"` - `releaseNotes.text="*v1.0.0-rc*"`
* "2021-09-08T00:00:00.0Z"` - `releaseNotes.text="*v1.0.0-rc*"` -
* `(display_version = "v1.0.0-rc2" AND `build_version = "123") OR release_notes
* = "*v1.0.0-rc2 (123)*"`
* @opt_param string orderBy Optional. The fields used to order releases.
* Supported fields: - `createTime` To specify descending order for a field,
* append a "desc" suffix, for example, `createTime desc`. If this parameter is
* not set, releases are ordered by `createTime` in descending order.
* Supported fields: - `create_time` (or `createTime`) - `update_time` (or
* `updateTime`) - `expire_time` (or `expireTime`) To specify descending order
* for a field, append a "desc" suffix, for example, `createTime desc`. If this
* parameter is not set, releases are ordered by `createTime` in descending
* order.
* @opt_param int pageSize Optional. The maximum number of releases to return.
* The service may return fewer than this value. The valid range is [1-100]; If
* unspecified (0), at most 25 releases are returned. Values above 100 are
Expand Down
Loading