Initial commit

This commit is contained in:
Local Administrator
2025-04-18 10:32:42 +02:00
commit b83134aca3
29643 changed files with 3045897 additions and 0 deletions

View File

@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata;
class GoogleFirebaseFcmDataV1beta1AndroidDeliveryData extends \Google\Model
{
/**
* @var string
*/
public $analyticsLabel;
/**
* @var string
*/
public $appId;
protected $dataType = GoogleFirebaseFcmDataV1beta1Data::class;
protected $dataDataType = '';
protected $dateType = GoogleTypeDate::class;
protected $dateDataType = '';
/**
* @param string
*/
public function setAnalyticsLabel($analyticsLabel)
{
$this->analyticsLabel = $analyticsLabel;
}
/**
* @return string
*/
public function getAnalyticsLabel()
{
return $this->analyticsLabel;
}
/**
* @param string
*/
public function setAppId($appId)
{
$this->appId = $appId;
}
/**
* @return string
*/
public function getAppId()
{
return $this->appId;
}
/**
* @param GoogleFirebaseFcmDataV1beta1Data
*/
public function setData(GoogleFirebaseFcmDataV1beta1Data $data)
{
$this->data = $data;
}
/**
* @return GoogleFirebaseFcmDataV1beta1Data
*/
public function getData()
{
return $this->data;
}
/**
* @param GoogleTypeDate
*/
public function setDate(GoogleTypeDate $date)
{
$this->date = $date;
}
/**
* @return GoogleTypeDate
*/
public function getDate()
{
return $this->date;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseFcmDataV1beta1AndroidDeliveryData::class, 'Google_Service_Fcmdata_GoogleFirebaseFcmDataV1beta1AndroidDeliveryData');

View File

@@ -0,0 +1,126 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata;
class GoogleFirebaseFcmDataV1beta1Data extends \Google\Model
{
/**
* @var string
*/
public $countMessagesAccepted;
/**
* @var string
*/
public $countNotificationsAccepted;
protected $deliveryPerformancePercentsType = GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents::class;
protected $deliveryPerformancePercentsDataType = '';
protected $messageInsightPercentsType = GoogleFirebaseFcmDataV1beta1MessageInsightPercents::class;
protected $messageInsightPercentsDataType = '';
protected $messageOutcomePercentsType = GoogleFirebaseFcmDataV1beta1MessageOutcomePercents::class;
protected $messageOutcomePercentsDataType = '';
protected $proxyNotificationInsightPercentsType = GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents::class;
protected $proxyNotificationInsightPercentsDataType = '';
/**
* @param string
*/
public function setCountMessagesAccepted($countMessagesAccepted)
{
$this->countMessagesAccepted = $countMessagesAccepted;
}
/**
* @return string
*/
public function getCountMessagesAccepted()
{
return $this->countMessagesAccepted;
}
/**
* @param string
*/
public function setCountNotificationsAccepted($countNotificationsAccepted)
{
$this->countNotificationsAccepted = $countNotificationsAccepted;
}
/**
* @return string
*/
public function getCountNotificationsAccepted()
{
return $this->countNotificationsAccepted;
}
/**
* @param GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents
*/
public function setDeliveryPerformancePercents(GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents $deliveryPerformancePercents)
{
$this->deliveryPerformancePercents = $deliveryPerformancePercents;
}
/**
* @return GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents
*/
public function getDeliveryPerformancePercents()
{
return $this->deliveryPerformancePercents;
}
/**
* @param GoogleFirebaseFcmDataV1beta1MessageInsightPercents
*/
public function setMessageInsightPercents(GoogleFirebaseFcmDataV1beta1MessageInsightPercents $messageInsightPercents)
{
$this->messageInsightPercents = $messageInsightPercents;
}
/**
* @return GoogleFirebaseFcmDataV1beta1MessageInsightPercents
*/
public function getMessageInsightPercents()
{
return $this->messageInsightPercents;
}
/**
* @param GoogleFirebaseFcmDataV1beta1MessageOutcomePercents
*/
public function setMessageOutcomePercents(GoogleFirebaseFcmDataV1beta1MessageOutcomePercents $messageOutcomePercents)
{
$this->messageOutcomePercents = $messageOutcomePercents;
}
/**
* @return GoogleFirebaseFcmDataV1beta1MessageOutcomePercents
*/
public function getMessageOutcomePercents()
{
return $this->messageOutcomePercents;
}
/**
* @param GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
*/
public function setProxyNotificationInsightPercents(GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents $proxyNotificationInsightPercents)
{
$this->proxyNotificationInsightPercents = $proxyNotificationInsightPercents;
}
/**
* @return GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
*/
public function getProxyNotificationInsightPercents()
{
return $this->proxyNotificationInsightPercents;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseFcmDataV1beta1Data::class, 'Google_Service_Fcmdata_GoogleFirebaseFcmDataV1beta1Data');

View File

@@ -0,0 +1,116 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata;
class GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents extends \Google\Model
{
/**
* @var float
*/
public $delayedDeviceDoze;
/**
* @var float
*/
public $delayedDeviceOffline;
/**
* @var float
*/
public $delayedMessageThrottled;
/**
* @var float
*/
public $delayedUserStopped;
/**
* @var float
*/
public $deliveredNoDelay;
/**
* @param float
*/
public function setDelayedDeviceDoze($delayedDeviceDoze)
{
$this->delayedDeviceDoze = $delayedDeviceDoze;
}
/**
* @return float
*/
public function getDelayedDeviceDoze()
{
return $this->delayedDeviceDoze;
}
/**
* @param float
*/
public function setDelayedDeviceOffline($delayedDeviceOffline)
{
$this->delayedDeviceOffline = $delayedDeviceOffline;
}
/**
* @return float
*/
public function getDelayedDeviceOffline()
{
return $this->delayedDeviceOffline;
}
/**
* @param float
*/
public function setDelayedMessageThrottled($delayedMessageThrottled)
{
$this->delayedMessageThrottled = $delayedMessageThrottled;
}
/**
* @return float
*/
public function getDelayedMessageThrottled()
{
return $this->delayedMessageThrottled;
}
/**
* @param float
*/
public function setDelayedUserStopped($delayedUserStopped)
{
$this->delayedUserStopped = $delayedUserStopped;
}
/**
* @return float
*/
public function getDelayedUserStopped()
{
return $this->delayedUserStopped;
}
/**
* @param float
*/
public function setDeliveredNoDelay($deliveredNoDelay)
{
$this->deliveredNoDelay = $deliveredNoDelay;
}
/**
* @return float
*/
public function getDeliveredNoDelay()
{
return $this->deliveredNoDelay;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents::class, 'Google_Service_Fcmdata_GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata;
class GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse extends \Google\Collection
{
protected $collection_key = 'androidDeliveryData';
protected $androidDeliveryDataType = GoogleFirebaseFcmDataV1beta1AndroidDeliveryData::class;
protected $androidDeliveryDataDataType = 'array';
/**
* @var string
*/
public $nextPageToken;
/**
* @param GoogleFirebaseFcmDataV1beta1AndroidDeliveryData[]
*/
public function setAndroidDeliveryData($androidDeliveryData)
{
$this->androidDeliveryData = $androidDeliveryData;
}
/**
* @return GoogleFirebaseFcmDataV1beta1AndroidDeliveryData[]
*/
public function getAndroidDeliveryData()
{
return $this->androidDeliveryData;
}
/**
* @param string
*/
public function setNextPageToken($nextPageToken)
{
$this->nextPageToken = $nextPageToken;
}
/**
* @return string
*/
public function getNextPageToken()
{
return $this->nextPageToken;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse::class, 'Google_Service_Fcmdata_GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse');

View File

@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata;
class GoogleFirebaseFcmDataV1beta1MessageInsightPercents extends \Google\Model
{
/**
* @var float
*/
public $priorityLowered;
/**
* @param float
*/
public function setPriorityLowered($priorityLowered)
{
$this->priorityLowered = $priorityLowered;
}
/**
* @return float
*/
public function getPriorityLowered()
{
return $this->priorityLowered;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseFcmDataV1beta1MessageInsightPercents::class, 'Google_Service_Fcmdata_GoogleFirebaseFcmDataV1beta1MessageInsightPercents');

View File

@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata;
class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents extends \Google\Model
{
/**
* @var float
*/
public $collapsed;
/**
* @var float
*/
public $delivered;
/**
* @var float
*/
public $droppedAppForceStopped;
/**
* @var float
*/
public $droppedDeviceInactive;
/**
* @var float
*/
public $droppedTooManyPendingMessages;
/**
* @var float
*/
public $droppedTtlExpired;
/**
* @var float
*/
public $pending;
/**
* @param float
*/
public function setCollapsed($collapsed)
{
$this->collapsed = $collapsed;
}
/**
* @return float
*/
public function getCollapsed()
{
return $this->collapsed;
}
/**
* @param float
*/
public function setDelivered($delivered)
{
$this->delivered = $delivered;
}
/**
* @return float
*/
public function getDelivered()
{
return $this->delivered;
}
/**
* @param float
*/
public function setDroppedAppForceStopped($droppedAppForceStopped)
{
$this->droppedAppForceStopped = $droppedAppForceStopped;
}
/**
* @return float
*/
public function getDroppedAppForceStopped()
{
return $this->droppedAppForceStopped;
}
/**
* @param float
*/
public function setDroppedDeviceInactive($droppedDeviceInactive)
{
$this->droppedDeviceInactive = $droppedDeviceInactive;
}
/**
* @return float
*/
public function getDroppedDeviceInactive()
{
return $this->droppedDeviceInactive;
}
/**
* @param float
*/
public function setDroppedTooManyPendingMessages($droppedTooManyPendingMessages)
{
$this->droppedTooManyPendingMessages = $droppedTooManyPendingMessages;
}
/**
* @return float
*/
public function getDroppedTooManyPendingMessages()
{
return $this->droppedTooManyPendingMessages;
}
/**
* @param float
*/
public function setDroppedTtlExpired($droppedTtlExpired)
{
$this->droppedTtlExpired = $droppedTtlExpired;
}
/**
* @return float
*/
public function getDroppedTtlExpired()
{
return $this->droppedTtlExpired;
}
/**
* @param float
*/
public function setPending($pending)
{
$this->pending = $pending;
}
/**
* @return float
*/
public function getPending()
{
return $this->pending;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseFcmDataV1beta1MessageOutcomePercents::class, 'Google_Service_Fcmdata_GoogleFirebaseFcmDataV1beta1MessageOutcomePercents');

View File

@@ -0,0 +1,134 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata;
class GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents extends \Google\Model
{
/**
* @var float
*/
public $failed;
/**
* @var float
*/
public $proxied;
/**
* @var float
*/
public $skippedNotThrottled;
/**
* @var float
*/
public $skippedOptedOut;
/**
* @var float
*/
public $skippedUnconfigured;
/**
* @var float
*/
public $skippedUnsupported;
/**
* @param float
*/
public function setFailed($failed)
{
$this->failed = $failed;
}
/**
* @return float
*/
public function getFailed()
{
return $this->failed;
}
/**
* @param float
*/
public function setProxied($proxied)
{
$this->proxied = $proxied;
}
/**
* @return float
*/
public function getProxied()
{
return $this->proxied;
}
/**
* @param float
*/
public function setSkippedNotThrottled($skippedNotThrottled)
{
$this->skippedNotThrottled = $skippedNotThrottled;
}
/**
* @return float
*/
public function getSkippedNotThrottled()
{
return $this->skippedNotThrottled;
}
/**
* @param float
*/
public function setSkippedOptedOut($skippedOptedOut)
{
$this->skippedOptedOut = $skippedOptedOut;
}
/**
* @return float
*/
public function getSkippedOptedOut()
{
return $this->skippedOptedOut;
}
/**
* @param float
*/
public function setSkippedUnconfigured($skippedUnconfigured)
{
$this->skippedUnconfigured = $skippedUnconfigured;
}
/**
* @return float
*/
public function getSkippedUnconfigured()
{
return $this->skippedUnconfigured;
}
/**
* @param float
*/
public function setSkippedUnsupported($skippedUnsupported)
{
$this->skippedUnsupported = $skippedUnsupported;
}
/**
* @return float
*/
public function getSkippedUnsupported()
{
return $this->skippedUnsupported;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents::class, 'Google_Service_Fcmdata_GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents');

View File

@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata;
class GoogleTypeDate extends \Google\Model
{
/**
* @var int
*/
public $day;
/**
* @var int
*/
public $month;
/**
* @var int
*/
public $year;
/**
* @param int
*/
public function setDay($day)
{
$this->day = $day;
}
/**
* @return int
*/
public function getDay()
{
return $this->day;
}
/**
* @param int
*/
public function setMonth($month)
{
$this->month = $month;
}
/**
* @return int
*/
public function getMonth()
{
return $this->month;
}
/**
* @param int
*/
public function setYear($year)
{
$this->year = $year;
}
/**
* @return int
*/
public function getYear()
{
return $this->year;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleTypeDate::class, 'Google_Service_Fcmdata_GoogleTypeDate');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata\Resource;
/**
* The "projects" collection of methods.
* Typical usage is:
* <code>
* $fcmdataService = new Google\Service\Fcmdata(...);
* $projects = $fcmdataService->projects;
* </code>
*/
class Projects extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Projects::class, 'Google_Service_Fcmdata_Resource_Projects');

View File

@@ -0,0 +1,33 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata\Resource;
/**
* The "androidApps" collection of methods.
* Typical usage is:
* <code>
* $fcmdataService = new Google\Service\Fcmdata(...);
* $androidApps = $fcmdataService->projects_androidApps;
* </code>
*/
class ProjectsAndroidApps extends \Google\Service\Resource
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAndroidApps::class, 'Google_Service_Fcmdata_Resource_ProjectsAndroidApps');

View File

@@ -0,0 +1,61 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Fcmdata\Resource;
use Google\Service\Fcmdata\GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse;
/**
* The "deliveryData" collection of methods.
* Typical usage is:
* <code>
* $fcmdataService = new Google\Service\Fcmdata(...);
* $deliveryData = $fcmdataService->projects_androidApps_deliveryData;
* </code>
*/
class ProjectsAndroidAppsDeliveryData extends \Google\Service\Resource
{
/**
* List aggregate delivery data for the given Android application.
* (deliveryData.listProjectsAndroidAppsDeliveryData)
*
* @param string $parent Required. The application for which to list delivery
* data. Format: `projects/{project_id}/androidApps/{app_id}`
* @param array $optParams Optional parameters.
*
* @opt_param int pageSize The maximum number of entries to return. The service
* may return fewer than this value. If unspecified, at most 1,000 entries will
* be returned. The maximum value is 10,000; values above 10,000 will be capped
* to 10,000. This default may change over time.
* @opt_param string pageToken A page token, received from a previous
* `ListAndroidDeliveryDataRequest` call. Provide this to retrieve the
* subsequent page. When paginating, all other parameters provided to
* `ListAndroidDeliveryDataRequest` must match the call that provided the page
* token.
* @return GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse
* @throws \Google\Service\Exception
*/
public function listProjectsAndroidAppsDeliveryData($parent, $optParams = [])
{
$params = ['parent' => $parent];
$params = array_merge($params, $optParams);
return $this->call('list', [$params], GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ProjectsAndroidAppsDeliveryData::class, 'Google_Service_Fcmdata_Resource_ProjectsAndroidAppsDeliveryData');