gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,62 @@
<?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\FirebaseDynamicLinks;
class AnalyticsInfo extends \Google\Model
{
protected $googlePlayAnalyticsType = GooglePlayAnalytics::class;
protected $googlePlayAnalyticsDataType = '';
protected $itunesConnectAnalyticsType = ITunesConnectAnalytics::class;
protected $itunesConnectAnalyticsDataType = '';
/**
* Google Play Campaign Measurements.
*
* @param GooglePlayAnalytics $googlePlayAnalytics
*/
public function setGooglePlayAnalytics(GooglePlayAnalytics $googlePlayAnalytics)
{
$this->googlePlayAnalytics = $googlePlayAnalytics;
}
/**
* @return GooglePlayAnalytics
*/
public function getGooglePlayAnalytics()
{
return $this->googlePlayAnalytics;
}
/**
* iTunes Connect App Analytics.
*
* @param ITunesConnectAnalytics $itunesConnectAnalytics
*/
public function setItunesConnectAnalytics(ITunesConnectAnalytics $itunesConnectAnalytics)
{
$this->itunesConnectAnalytics = $itunesConnectAnalytics;
}
/**
* @return ITunesConnectAnalytics
*/
public function getItunesConnectAnalytics()
{
return $this->itunesConnectAnalytics;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AnalyticsInfo::class, 'Google_Service_FirebaseDynamicLinks_AnalyticsInfo');
@@ -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\FirebaseDynamicLinks;
class AndroidInfo extends \Google\Model
{
/**
* Link to open on Android if the app is not installed.
*
* @var string
*/
public $androidFallbackLink;
/**
* If specified, this overrides the link parameter on Android.
*
* @var string
*/
public $androidLink;
/**
* Minimum version code for the Android app. If the installed apps version
* code is lower, then the user is taken to the Play Store.
*
* @var string
*/
public $androidMinPackageVersionCode;
/**
* Android package name of the app.
*
* @var string
*/
public $androidPackageName;
/**
* Link to open on Android if the app is not installed.
*
* @param string $androidFallbackLink
*/
public function setAndroidFallbackLink($androidFallbackLink)
{
$this->androidFallbackLink = $androidFallbackLink;
}
/**
* @return string
*/
public function getAndroidFallbackLink()
{
return $this->androidFallbackLink;
}
/**
* If specified, this overrides the link parameter on Android.
*
* @param string $androidLink
*/
public function setAndroidLink($androidLink)
{
$this->androidLink = $androidLink;
}
/**
* @return string
*/
public function getAndroidLink()
{
return $this->androidLink;
}
/**
* Minimum version code for the Android app. If the installed apps version
* code is lower, then the user is taken to the Play Store.
*
* @param string $androidMinPackageVersionCode
*/
public function setAndroidMinPackageVersionCode($androidMinPackageVersionCode)
{
$this->androidMinPackageVersionCode = $androidMinPackageVersionCode;
}
/**
* @return string
*/
public function getAndroidMinPackageVersionCode()
{
return $this->androidMinPackageVersionCode;
}
/**
* Android package name of the app.
*
* @param string $androidPackageName
*/
public function setAndroidPackageName($androidPackageName)
{
$this->androidPackageName = $androidPackageName;
}
/**
* @return string
*/
public function getAndroidPackageName()
{
return $this->androidPackageName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(AndroidInfo::class, 'Google_Service_FirebaseDynamicLinks_AndroidInfo');
@@ -0,0 +1,142 @@
<?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\FirebaseDynamicLinks;
class CreateManagedShortLinkRequest extends \Google\Model
{
protected $dynamicLinkInfoType = DynamicLinkInfo::class;
protected $dynamicLinkInfoDataType = '';
/**
* Full long Dynamic Link URL with desired query parameters specified. For
* example,
* "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample",
* [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-
* shortener).
*
* @var string
*/
public $longDynamicLink;
/**
* Link name to associate with the link. It's used for marketer to identify
* manually-created links in the Firebase console
* (https://console.firebase.google.com/). Links must be named to be tracked.
*
* @var string
*/
public $name;
/**
* Google SDK version. Version takes the form "$major.$minor.$patch"
*
* @var string
*/
public $sdkVersion;
protected $suffixType = Suffix::class;
protected $suffixDataType = '';
/**
* Information about the Dynamic Link to be shortened. [Learn
* more](https://firebase.google.com/docs/reference/dynamic-links/link-
* shortener).
*
* @param DynamicLinkInfo $dynamicLinkInfo
*/
public function setDynamicLinkInfo(DynamicLinkInfo $dynamicLinkInfo)
{
$this->dynamicLinkInfo = $dynamicLinkInfo;
}
/**
* @return DynamicLinkInfo
*/
public function getDynamicLinkInfo()
{
return $this->dynamicLinkInfo;
}
/**
* Full long Dynamic Link URL with desired query parameters specified. For
* example,
* "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample",
* [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-
* shortener).
*
* @param string $longDynamicLink
*/
public function setLongDynamicLink($longDynamicLink)
{
$this->longDynamicLink = $longDynamicLink;
}
/**
* @return string
*/
public function getLongDynamicLink()
{
return $this->longDynamicLink;
}
/**
* Link name to associate with the link. It's used for marketer to identify
* manually-created links in the Firebase console
* (https://console.firebase.google.com/). Links must be named to be tracked.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Google SDK version. Version takes the form "$major.$minor.$patch"
*
* @param string $sdkVersion
*/
public function setSdkVersion($sdkVersion)
{
$this->sdkVersion = $sdkVersion;
}
/**
* @return string
*/
public function getSdkVersion()
{
return $this->sdkVersion;
}
/**
* Short Dynamic Link suffix. Optional.
*
* @param Suffix $suffix
*/
public function setSuffix(Suffix $suffix)
{
$this->suffix = $suffix;
}
/**
* @return Suffix
*/
public function getSuffix()
{
return $this->suffix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateManagedShortLinkRequest::class, 'Google_Service_FirebaseDynamicLinks_CreateManagedShortLinkRequest');
@@ -0,0 +1,85 @@
<?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\FirebaseDynamicLinks;
class CreateManagedShortLinkResponse extends \Google\Collection
{
protected $collection_key = 'warning';
protected $managedShortLinkType = ManagedShortLink::class;
protected $managedShortLinkDataType = '';
/**
* Preview link to show the link flow chart. (debug info.)
*
* @var string
*/
public $previewLink;
protected $warningType = DynamicLinkWarning::class;
protected $warningDataType = 'array';
/**
* Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz
*
* @param ManagedShortLink $managedShortLink
*/
public function setManagedShortLink(ManagedShortLink $managedShortLink)
{
$this->managedShortLink = $managedShortLink;
}
/**
* @return ManagedShortLink
*/
public function getManagedShortLink()
{
return $this->managedShortLink;
}
/**
* Preview link to show the link flow chart. (debug info.)
*
* @param string $previewLink
*/
public function setPreviewLink($previewLink)
{
$this->previewLink = $previewLink;
}
/**
* @return string
*/
public function getPreviewLink()
{
return $this->previewLink;
}
/**
* Information about potential warnings on link creation.
*
* @param DynamicLinkWarning[] $warning
*/
public function setWarning($warning)
{
$this->warning = $warning;
}
/**
* @return DynamicLinkWarning[]
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateManagedShortLinkResponse::class, 'Google_Service_FirebaseDynamicLinks_CreateManagedShortLinkResponse');
@@ -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\FirebaseDynamicLinks;
class CreateShortDynamicLinkRequest extends \Google\Model
{
protected $dynamicLinkInfoType = DynamicLinkInfo::class;
protected $dynamicLinkInfoDataType = '';
/**
* Full long Dynamic Link URL with desired query parameters specified. For
* example,
* "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample",
* [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-
* shortener).
*
* @var string
*/
public $longDynamicLink;
/**
* Google SDK version. Version takes the form "$major.$minor.$patch"
*
* @var string
*/
public $sdkVersion;
protected $suffixType = Suffix::class;
protected $suffixDataType = '';
/**
* Information about the Dynamic Link to be shortened. [Learn
* more](https://firebase.google.com/docs/reference/dynamic-links/link-
* shortener).
*
* @param DynamicLinkInfo $dynamicLinkInfo
*/
public function setDynamicLinkInfo(DynamicLinkInfo $dynamicLinkInfo)
{
$this->dynamicLinkInfo = $dynamicLinkInfo;
}
/**
* @return DynamicLinkInfo
*/
public function getDynamicLinkInfo()
{
return $this->dynamicLinkInfo;
}
/**
* Full long Dynamic Link URL with desired query parameters specified. For
* example,
* "https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample",
* [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-
* shortener).
*
* @param string $longDynamicLink
*/
public function setLongDynamicLink($longDynamicLink)
{
$this->longDynamicLink = $longDynamicLink;
}
/**
* @return string
*/
public function getLongDynamicLink()
{
return $this->longDynamicLink;
}
/**
* Google SDK version. Version takes the form "$major.$minor.$patch"
*
* @param string $sdkVersion
*/
public function setSdkVersion($sdkVersion)
{
$this->sdkVersion = $sdkVersion;
}
/**
* @return string
*/
public function getSdkVersion()
{
return $this->sdkVersion;
}
/**
* Short Dynamic Link suffix. Optional.
*
* @param Suffix $suffix
*/
public function setSuffix(Suffix $suffix)
{
$this->suffix = $suffix;
}
/**
* @return Suffix
*/
public function getSuffix()
{
return $this->suffix;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateShortDynamicLinkRequest::class, 'Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkRequest');
@@ -0,0 +1,89 @@
<?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\FirebaseDynamicLinks;
class CreateShortDynamicLinkResponse extends \Google\Collection
{
protected $collection_key = 'warning';
/**
* Preview link to show the link flow chart. (debug info.)
*
* @var string
*/
public $previewLink;
/**
* Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz
*
* @var string
*/
public $shortLink;
protected $warningType = DynamicLinkWarning::class;
protected $warningDataType = 'array';
/**
* Preview link to show the link flow chart. (debug info.)
*
* @param string $previewLink
*/
public function setPreviewLink($previewLink)
{
$this->previewLink = $previewLink;
}
/**
* @return string
*/
public function getPreviewLink()
{
return $this->previewLink;
}
/**
* Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz
*
* @param string $shortLink
*/
public function setShortLink($shortLink)
{
$this->shortLink = $shortLink;
}
/**
* @return string
*/
public function getShortLink()
{
return $this->shortLink;
}
/**
* Information about potential warnings on link creation.
*
* @param DynamicLinkWarning[] $warning
*/
public function setWarning($warning)
{
$this->warning = $warning;
}
/**
* @return DynamicLinkWarning[]
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CreateShortDynamicLinkResponse::class, 'Google_Service_FirebaseDynamicLinks_CreateShortDynamicLinkResponse');
@@ -0,0 +1,48 @@
<?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\FirebaseDynamicLinks;
class DesktopInfo extends \Google\Model
{
/**
* Link to open on desktop.
*
* @var string
*/
public $desktopFallbackLink;
/**
* Link to open on desktop.
*
* @param string $desktopFallbackLink
*/
public function setDesktopFallbackLink($desktopFallbackLink)
{
$this->desktopFallbackLink = $desktopFallbackLink;
}
/**
* @return string
*/
public function getDesktopFallbackLink()
{
return $this->desktopFallbackLink;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DesktopInfo::class, 'Google_Service_FirebaseDynamicLinks_DesktopInfo');
@@ -0,0 +1,192 @@
<?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\FirebaseDynamicLinks;
class DeviceInfo extends \Google\Model
{
/**
* Device model name.
*
* @var string
*/
public $deviceModelName;
/**
* Device language code setting.
*
* @deprecated
* @var string
*/
public $languageCode;
/**
* Device language code setting obtained by executing JavaScript code in
* WebView.
*
* @var string
*/
public $languageCodeFromWebview;
/**
* Device language code raw setting. iOS does returns language code in
* different format than iOS WebView. For example WebView returns en_US, but
* iOS returns en-US. Field below will return raw value returned by iOS.
*
* @deprecated
* @var string
*/
public $languageCodeRaw;
/**
* Device display resolution height.
*
* @var string
*/
public $screenResolutionHeight;
/**
* Device display resolution width.
*
* @var string
*/
public $screenResolutionWidth;
/**
* Device timezone setting.
*
* @var string
*/
public $timezone;
/**
* Device model name.
*
* @param string $deviceModelName
*/
public function setDeviceModelName($deviceModelName)
{
$this->deviceModelName = $deviceModelName;
}
/**
* @return string
*/
public function getDeviceModelName()
{
return $this->deviceModelName;
}
/**
* Device language code setting.
*
* @deprecated
* @param string $languageCode
*/
public function setLanguageCode($languageCode)
{
$this->languageCode = $languageCode;
}
/**
* @deprecated
* @return string
*/
public function getLanguageCode()
{
return $this->languageCode;
}
/**
* Device language code setting obtained by executing JavaScript code in
* WebView.
*
* @param string $languageCodeFromWebview
*/
public function setLanguageCodeFromWebview($languageCodeFromWebview)
{
$this->languageCodeFromWebview = $languageCodeFromWebview;
}
/**
* @return string
*/
public function getLanguageCodeFromWebview()
{
return $this->languageCodeFromWebview;
}
/**
* Device language code raw setting. iOS does returns language code in
* different format than iOS WebView. For example WebView returns en_US, but
* iOS returns en-US. Field below will return raw value returned by iOS.
*
* @deprecated
* @param string $languageCodeRaw
*/
public function setLanguageCodeRaw($languageCodeRaw)
{
$this->languageCodeRaw = $languageCodeRaw;
}
/**
* @deprecated
* @return string
*/
public function getLanguageCodeRaw()
{
return $this->languageCodeRaw;
}
/**
* Device display resolution height.
*
* @param string $screenResolutionHeight
*/
public function setScreenResolutionHeight($screenResolutionHeight)
{
$this->screenResolutionHeight = $screenResolutionHeight;
}
/**
* @return string
*/
public function getScreenResolutionHeight()
{
return $this->screenResolutionHeight;
}
/**
* Device display resolution width.
*
* @param string $screenResolutionWidth
*/
public function setScreenResolutionWidth($screenResolutionWidth)
{
$this->screenResolutionWidth = $screenResolutionWidth;
}
/**
* @return string
*/
public function getScreenResolutionWidth()
{
return $this->screenResolutionWidth;
}
/**
* Device timezone setting.
*
* @param string $timezone
*/
public function setTimezone($timezone)
{
$this->timezone = $timezone;
}
/**
* @return string
*/
public function getTimezone()
{
return $this->timezone;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DeviceInfo::class, 'Google_Service_FirebaseDynamicLinks_DeviceInfo');
@@ -0,0 +1,148 @@
<?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\FirebaseDynamicLinks;
class DynamicLinkEventStat extends \Google\Model
{
/**
* Unspecified type.
*/
public const EVENT_DYNAMIC_LINK_EVENT_UNSPECIFIED = 'DYNAMIC_LINK_EVENT_UNSPECIFIED';
/**
* Indicates that an FDL is clicked by users.
*/
public const EVENT_CLICK = 'CLICK';
/**
* Indicates that an FDL redirects users to fallback link.
*/
public const EVENT_REDIRECT = 'REDIRECT';
/**
* Indicates that an FDL triggers an app install from Play store, currently
* it's impossible to get stats from App store.
*/
public const EVENT_APP_INSTALL = 'APP_INSTALL';
/**
* Indicates that the app is opened for the first time after an install
* triggered by FDLs
*/
public const EVENT_APP_FIRST_OPEN = 'APP_FIRST_OPEN';
/**
* Indicates that the app is opened via an FDL for non-first time.
*/
public const EVENT_APP_RE_OPEN = 'APP_RE_OPEN';
/**
* Unspecified platform.
*/
public const PLATFORM_DYNAMIC_LINK_PLATFORM_UNSPECIFIED = 'DYNAMIC_LINK_PLATFORM_UNSPECIFIED';
/**
* Represents Android platform. All apps and browsers on Android are classfied
* in this category.
*/
public const PLATFORM_ANDROID = 'ANDROID';
/**
* Represents iOS platform. All apps and browsers on iOS are classfied in this
* category.
*/
public const PLATFORM_IOS = 'IOS';
/**
* Represents desktop.
*
* @deprecated
*/
public const PLATFORM_DESKTOP = 'DESKTOP';
/**
* Platforms are not categorized as Android/iOS/Destop fall into here.
*/
public const PLATFORM_OTHER = 'OTHER';
/**
* The number of times this event occurred.
*
* @var string
*/
public $count;
/**
* Link event.
*
* @var string
*/
public $event;
/**
* Requested platform.
*
* @var string
*/
public $platform;
/**
* The number of times this event occurred.
*
* @param string $count
*/
public function setCount($count)
{
$this->count = $count;
}
/**
* @return string
*/
public function getCount()
{
return $this->count;
}
/**
* Link event.
*
* Accepted values: DYNAMIC_LINK_EVENT_UNSPECIFIED, CLICK, REDIRECT,
* APP_INSTALL, APP_FIRST_OPEN, APP_RE_OPEN
*
* @param self::EVENT_* $event
*/
public function setEvent($event)
{
$this->event = $event;
}
/**
* @return self::EVENT_*
*/
public function getEvent()
{
return $this->event;
}
/**
* Requested platform.
*
* Accepted values: DYNAMIC_LINK_PLATFORM_UNSPECIFIED, ANDROID, IOS, DESKTOP,
* OTHER
*
* @param self::PLATFORM_* $platform
*/
public function setPlatform($platform)
{
$this->platform = $platform;
}
/**
* @return self::PLATFORM_*
*/
public function getPlatform()
{
return $this->platform;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicLinkEventStat::class, 'Google_Service_FirebaseDynamicLinks_DynamicLinkEventStat');
@@ -0,0 +1,232 @@
<?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\FirebaseDynamicLinks;
class DynamicLinkInfo extends \Google\Model
{
protected $analyticsInfoType = AnalyticsInfo::class;
protected $analyticsInfoDataType = '';
protected $androidInfoType = AndroidInfo::class;
protected $androidInfoDataType = '';
protected $desktopInfoType = DesktopInfo::class;
protected $desktopInfoDataType = '';
/**
* E.g. https://maps.app.goo.gl, https://maps.page.link, https://g.co/maps
* More examples can be found in description of getNormalizedUriPrefix in
* j/c/g/firebase/dynamiclinks/uri/DdlDomain.java Will fallback to
* dynamic_link_domain is this field is missing
*
* @var string
*/
public $domainUriPrefix;
/**
* Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl [Learn
* more](https://firebase.google.com/docs/dynamic-links/android/receive) on
* how to set up Dynamic Link domain associated with your Firebase project.
* Required if missing domain_uri_prefix.
*
* @deprecated
* @var string
*/
public $dynamicLinkDomain;
protected $iosInfoType = IosInfo::class;
protected $iosInfoDataType = '';
/**
* The link your app will open, You can specify any URL your app can handle.
* This link must be a well-formatted URL, be properly URL-encoded, and use
* the HTTP or HTTPS scheme. See 'link' parameters in the
* [documentation](https://firebase.google.com/docs/dynamic-links/create-
* manually). Required.
*
* @var string
*/
public $link;
protected $navigationInfoType = NavigationInfo::class;
protected $navigationInfoDataType = '';
protected $socialMetaTagInfoType = SocialMetaTagInfo::class;
protected $socialMetaTagInfoDataType = '';
/**
* Parameters used for tracking. See all tracking parameters in the
* [documentation](https://firebase.google.com/docs/dynamic-links/create-
* manually).
*
* @param AnalyticsInfo $analyticsInfo
*/
public function setAnalyticsInfo(AnalyticsInfo $analyticsInfo)
{
$this->analyticsInfo = $analyticsInfo;
}
/**
* @return AnalyticsInfo
*/
public function getAnalyticsInfo()
{
return $this->analyticsInfo;
}
/**
* Android related information. See Android related parameters in the
* [documentation](https://firebase.google.com/docs/dynamic-links/create-
* manually).
*
* @param AndroidInfo $androidInfo
*/
public function setAndroidInfo(AndroidInfo $androidInfo)
{
$this->androidInfo = $androidInfo;
}
/**
* @return AndroidInfo
*/
public function getAndroidInfo()
{
return $this->androidInfo;
}
/**
* Desktop related information. See desktop related parameters in the
* [documentation](https://firebase.google.com/docs/dynamic-links/create-
* manually).
*
* @param DesktopInfo $desktopInfo
*/
public function setDesktopInfo(DesktopInfo $desktopInfo)
{
$this->desktopInfo = $desktopInfo;
}
/**
* @return DesktopInfo
*/
public function getDesktopInfo()
{
return $this->desktopInfo;
}
/**
* E.g. https://maps.app.goo.gl, https://maps.page.link, https://g.co/maps
* More examples can be found in description of getNormalizedUriPrefix in
* j/c/g/firebase/dynamiclinks/uri/DdlDomain.java Will fallback to
* dynamic_link_domain is this field is missing
*
* @param string $domainUriPrefix
*/
public function setDomainUriPrefix($domainUriPrefix)
{
$this->domainUriPrefix = $domainUriPrefix;
}
/**
* @return string
*/
public function getDomainUriPrefix()
{
return $this->domainUriPrefix;
}
/**
* Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl [Learn
* more](https://firebase.google.com/docs/dynamic-links/android/receive) on
* how to set up Dynamic Link domain associated with your Firebase project.
* Required if missing domain_uri_prefix.
*
* @deprecated
* @param string $dynamicLinkDomain
*/
public function setDynamicLinkDomain($dynamicLinkDomain)
{
$this->dynamicLinkDomain = $dynamicLinkDomain;
}
/**
* @deprecated
* @return string
*/
public function getDynamicLinkDomain()
{
return $this->dynamicLinkDomain;
}
/**
* iOS related information. See iOS related parameters in the
* [documentation](https://firebase.google.com/docs/dynamic-links/create-
* manually).
*
* @param IosInfo $iosInfo
*/
public function setIosInfo(IosInfo $iosInfo)
{
$this->iosInfo = $iosInfo;
}
/**
* @return IosInfo
*/
public function getIosInfo()
{
return $this->iosInfo;
}
/**
* The link your app will open, You can specify any URL your app can handle.
* This link must be a well-formatted URL, be properly URL-encoded, and use
* the HTTP or HTTPS scheme. See 'link' parameters in the
* [documentation](https://firebase.google.com/docs/dynamic-links/create-
* manually). Required.
*
* @param string $link
*/
public function setLink($link)
{
$this->link = $link;
}
/**
* @return string
*/
public function getLink()
{
return $this->link;
}
/**
* Information of navigation behavior of a Firebase Dynamic Links.
*
* @param NavigationInfo $navigationInfo
*/
public function setNavigationInfo(NavigationInfo $navigationInfo)
{
$this->navigationInfo = $navigationInfo;
}
/**
* @return NavigationInfo
*/
public function getNavigationInfo()
{
return $this->navigationInfo;
}
/**
* Parameters for social meta tag params. Used to set meta tag data for link
* previews on social sites.
*
* @param SocialMetaTagInfo $socialMetaTagInfo
*/
public function setSocialMetaTagInfo(SocialMetaTagInfo $socialMetaTagInfo)
{
$this->socialMetaTagInfo = $socialMetaTagInfo;
}
/**
* @return SocialMetaTagInfo
*/
public function getSocialMetaTagInfo()
{
return $this->socialMetaTagInfo;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicLinkInfo::class, 'Google_Service_FirebaseDynamicLinks_DynamicLinkInfo');
@@ -0,0 +1,63 @@
<?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\FirebaseDynamicLinks;
class DynamicLinkStats extends \Google\Collection
{
protected $collection_key = 'warnings';
protected $linkEventStatsType = DynamicLinkEventStat::class;
protected $linkEventStatsDataType = 'array';
protected $warningsType = DynamicLinkWarning::class;
protected $warningsDataType = 'array';
/**
* Dynamic Link event stats.
*
* @param DynamicLinkEventStat[] $linkEventStats
*/
public function setLinkEventStats($linkEventStats)
{
$this->linkEventStats = $linkEventStats;
}
/**
* @return DynamicLinkEventStat[]
*/
public function getLinkEventStats()
{
return $this->linkEventStats;
}
/**
* Optional warnings associated this API request.
*
* @param DynamicLinkWarning[] $warnings
*/
public function setWarnings($warnings)
{
$this->warnings = $warnings;
}
/**
* @return DynamicLinkWarning[]
*/
public function getWarnings()
{
return $this->warnings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicLinkStats::class, 'Google_Service_FirebaseDynamicLinks_DynamicLinkStats');
@@ -0,0 +1,223 @@
<?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\FirebaseDynamicLinks;
class DynamicLinkWarning extends \Google\Model
{
/**
* Unknown code.
*/
public const WARNING_CODE_CODE_UNSPECIFIED = 'CODE_UNSPECIFIED';
/**
* The Android package does not match any in developer's DevConsole project.
*/
public const WARNING_CODE_NOT_IN_PROJECT_ANDROID_PACKAGE_NAME = 'NOT_IN_PROJECT_ANDROID_PACKAGE_NAME';
/**
* The Android minimum version code has to be a valid integer.
*/
public const WARNING_CODE_NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION = 'NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION';
/**
* Android package min version param is not needed, e.g. when 'apn' is
* missing.
*/
public const WARNING_CODE_UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION = 'UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION';
/**
* Android link is not a valid URI.
*/
public const WARNING_CODE_NOT_URI_ANDROID_LINK = 'NOT_URI_ANDROID_LINK';
/**
* Android link param is not needed, e.g. when param 'al' and 'link' have the
* same value..
*/
public const WARNING_CODE_UNNECESSARY_ANDROID_LINK = 'UNNECESSARY_ANDROID_LINK';
/**
* Android fallback link is not a valid URI.
*/
public const WARNING_CODE_NOT_URI_ANDROID_FALLBACK_LINK = 'NOT_URI_ANDROID_FALLBACK_LINK';
/**
* Android fallback link has an invalid (non http/https) URI scheme.
*/
public const WARNING_CODE_BAD_URI_SCHEME_ANDROID_FALLBACK_LINK = 'BAD_URI_SCHEME_ANDROID_FALLBACK_LINK';
/**
* The iOS bundle ID does not match any in developer's DevConsole project.
*/
public const WARNING_CODE_NOT_IN_PROJECT_IOS_BUNDLE_ID = 'NOT_IN_PROJECT_IOS_BUNDLE_ID';
/**
* The iPad bundle ID does not match any in developer's DevConsole project.
*/
public const WARNING_CODE_NOT_IN_PROJECT_IPAD_BUNDLE_ID = 'NOT_IN_PROJECT_IPAD_BUNDLE_ID';
/**
* iOS URL scheme is not needed, e.g. when 'ibi' are 'ipbi' are all missing.
*/
public const WARNING_CODE_UNNECESSARY_IOS_URL_SCHEME = 'UNNECESSARY_IOS_URL_SCHEME';
/**
* iOS app store ID format is incorrect, e.g. not numeric.
*/
public const WARNING_CODE_NOT_NUMERIC_IOS_APP_STORE_ID = 'NOT_NUMERIC_IOS_APP_STORE_ID';
/**
* iOS app store ID is not needed.
*/
public const WARNING_CODE_UNNECESSARY_IOS_APP_STORE_ID = 'UNNECESSARY_IOS_APP_STORE_ID';
/**
* iOS fallback link is not a valid URI.
*/
public const WARNING_CODE_NOT_URI_IOS_FALLBACK_LINK = 'NOT_URI_IOS_FALLBACK_LINK';
/**
* iOS fallback link has an invalid (non http/https) URI scheme.
*/
public const WARNING_CODE_BAD_URI_SCHEME_IOS_FALLBACK_LINK = 'BAD_URI_SCHEME_IOS_FALLBACK_LINK';
/**
* iPad fallback link is not a valid URI.
*/
public const WARNING_CODE_NOT_URI_IPAD_FALLBACK_LINK = 'NOT_URI_IPAD_FALLBACK_LINK';
/**
* iPad fallback link has an invalid (non http/https) URI scheme.
*/
public const WARNING_CODE_BAD_URI_SCHEME_IPAD_FALLBACK_LINK = 'BAD_URI_SCHEME_IPAD_FALLBACK_LINK';
/**
* Debug param format is incorrect.
*/
public const WARNING_CODE_BAD_DEBUG_PARAM = 'BAD_DEBUG_PARAM';
/**
* isAd param format is incorrect.
*/
public const WARNING_CODE_BAD_AD_PARAM = 'BAD_AD_PARAM';
/**
* Indicates a certain param is deprecated.
*/
public const WARNING_CODE_DEPRECATED_PARAM = 'DEPRECATED_PARAM';
/**
* Indicates certain parameter is not recognized.
*/
public const WARNING_CODE_UNRECOGNIZED_PARAM = 'UNRECOGNIZED_PARAM';
/**
* Indicates certain parameter is too long.
*/
public const WARNING_CODE_TOO_LONG_PARAM = 'TOO_LONG_PARAM';
/**
* Social meta tag image link is not a valid URI.
*/
public const WARNING_CODE_NOT_URI_SOCIAL_IMAGE_LINK = 'NOT_URI_SOCIAL_IMAGE_LINK';
/**
* Social meta tag image link has an invalid (non http/https) URI scheme.
*/
public const WARNING_CODE_BAD_URI_SCHEME_SOCIAL_IMAGE_LINK = 'BAD_URI_SCHEME_SOCIAL_IMAGE_LINK';
public const WARNING_CODE_NOT_URI_SOCIAL_URL = 'NOT_URI_SOCIAL_URL';
public const WARNING_CODE_BAD_URI_SCHEME_SOCIAL_URL = 'BAD_URI_SCHEME_SOCIAL_URL';
/**
* Dynamic Link URL length is too long.
*/
public const WARNING_CODE_LINK_LENGTH_TOO_LONG = 'LINK_LENGTH_TOO_LONG';
/**
* Dynamic Link URL contains fragments.
*/
public const WARNING_CODE_LINK_WITH_FRAGMENTS = 'LINK_WITH_FRAGMENTS';
/**
* The iOS bundle ID does not match with the given iOS store ID.
*/
public const WARNING_CODE_NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID = 'NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID';
/**
* The API is deprecated.
*/
public const WARNING_CODE_API_DEPRECATED = 'API_DEPRECATED';
/**
* The warning code.
*
* @var string
*/
public $warningCode;
/**
* The document describing the warning, and helps resolve.
*
* @var string
*/
public $warningDocumentLink;
/**
* The warning message to help developers improve their requests.
*
* @var string
*/
public $warningMessage;
/**
* The warning code.
*
* Accepted values: CODE_UNSPECIFIED, NOT_IN_PROJECT_ANDROID_PACKAGE_NAME,
* NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION,
* UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION, NOT_URI_ANDROID_LINK,
* UNNECESSARY_ANDROID_LINK, NOT_URI_ANDROID_FALLBACK_LINK,
* BAD_URI_SCHEME_ANDROID_FALLBACK_LINK, NOT_IN_PROJECT_IOS_BUNDLE_ID,
* NOT_IN_PROJECT_IPAD_BUNDLE_ID, UNNECESSARY_IOS_URL_SCHEME,
* NOT_NUMERIC_IOS_APP_STORE_ID, UNNECESSARY_IOS_APP_STORE_ID,
* NOT_URI_IOS_FALLBACK_LINK, BAD_URI_SCHEME_IOS_FALLBACK_LINK,
* NOT_URI_IPAD_FALLBACK_LINK, BAD_URI_SCHEME_IPAD_FALLBACK_LINK,
* BAD_DEBUG_PARAM, BAD_AD_PARAM, DEPRECATED_PARAM, UNRECOGNIZED_PARAM,
* TOO_LONG_PARAM, NOT_URI_SOCIAL_IMAGE_LINK,
* BAD_URI_SCHEME_SOCIAL_IMAGE_LINK, NOT_URI_SOCIAL_URL,
* BAD_URI_SCHEME_SOCIAL_URL, LINK_LENGTH_TOO_LONG, LINK_WITH_FRAGMENTS,
* NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID, API_DEPRECATED
*
* @param self::WARNING_CODE_* $warningCode
*/
public function setWarningCode($warningCode)
{
$this->warningCode = $warningCode;
}
/**
* @return self::WARNING_CODE_*
*/
public function getWarningCode()
{
return $this->warningCode;
}
/**
* The document describing the warning, and helps resolve.
*
* @param string $warningDocumentLink
*/
public function setWarningDocumentLink($warningDocumentLink)
{
$this->warningDocumentLink = $warningDocumentLink;
}
/**
* @return string
*/
public function getWarningDocumentLink()
{
return $this->warningDocumentLink;
}
/**
* The warning message to help developers improve their requests.
*
* @param string $warningMessage
*/
public function setWarningMessage($warningMessage)
{
$this->warningMessage = $warningMessage;
}
/**
* @return string
*/
public function getWarningMessage()
{
return $this->warningMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(DynamicLinkWarning::class, 'Google_Service_FirebaseDynamicLinks_DynamicLinkWarning');
@@ -0,0 +1,243 @@
<?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\FirebaseDynamicLinks;
class GetIosPostInstallAttributionRequest extends \Google\Model
{
/**
* Unknown method.
*/
public const RETRIEVAL_METHOD_UNKNOWN_PAYLOAD_RETRIEVAL_METHOD = 'UNKNOWN_PAYLOAD_RETRIEVAL_METHOD';
/**
* iSDK performs a server lookup by device heuristics in the background when
* app is first-opened; no API called by developer.
*/
public const RETRIEVAL_METHOD_IMPLICIT_WEAK_MATCH = 'IMPLICIT_WEAK_MATCH';
/**
* iSDK performs a server lookup by device heuristics upon a dev API call.
*/
public const RETRIEVAL_METHOD_EXPLICIT_WEAK_MATCH = 'EXPLICIT_WEAK_MATCH';
/**
* iSDK performs a strong match only if weak match is found upon a dev API
* call.
*/
public const RETRIEVAL_METHOD_EXPLICIT_STRONG_AFTER_WEAK_MATCH = 'EXPLICIT_STRONG_AFTER_WEAK_MATCH';
/**
* Unknown style.
*/
public const VISUAL_STYLE_UNKNOWN_VISUAL_STYLE = 'UNKNOWN_VISUAL_STYLE';
/**
* Default style.
*/
public const VISUAL_STYLE_DEFAULT_STYLE = 'DEFAULT_STYLE';
/**
* Custom style.
*/
public const VISUAL_STYLE_CUSTOM_STYLE = 'CUSTOM_STYLE';
/**
* App installation epoch time (https://en.wikipedia.org/wiki/Unix_time). This
* is a client signal for a more accurate weak match.
*
* @var string
*/
public $appInstallationTime;
/**
* APP bundle ID.
*
* @var string
*/
public $bundleId;
protected $deviceType = DeviceInfo::class;
protected $deviceDataType = '';
/**
* iOS version, ie: 9.3.5. Consider adding "build".
*
* @var string
*/
public $iosVersion;
/**
* App post install attribution retrieval information. Disambiguates mechanism
* (iSDK or developer invoked) to retrieve payload from clicked link.
*
* @var string
*/
public $retrievalMethod;
/**
* Google SDK version. Version takes the form "$major.$minor.$patch"
*
* @var string
*/
public $sdkVersion;
/**
* Possible unique matched link that server need to check before performing
* device heuristics match. If passed link is short server need to expand the
* link. If link is long server need to vslidate the link.
*
* @var string
*/
public $uniqueMatchLinkToCheck;
/**
* Strong match page information. Disambiguates between default UI and custom
* page to present when strong match succeeds/fails to find cookie.
*
* @var string
*/
public $visualStyle;
/**
* App installation epoch time (https://en.wikipedia.org/wiki/Unix_time). This
* is a client signal for a more accurate weak match.
*
* @param string $appInstallationTime
*/
public function setAppInstallationTime($appInstallationTime)
{
$this->appInstallationTime = $appInstallationTime;
}
/**
* @return string
*/
public function getAppInstallationTime()
{
return $this->appInstallationTime;
}
/**
* APP bundle ID.
*
* @param string $bundleId
*/
public function setBundleId($bundleId)
{
$this->bundleId = $bundleId;
}
/**
* @return string
*/
public function getBundleId()
{
return $this->bundleId;
}
/**
* Device information.
*
* @param DeviceInfo $device
*/
public function setDevice(DeviceInfo $device)
{
$this->device = $device;
}
/**
* @return DeviceInfo
*/
public function getDevice()
{
return $this->device;
}
/**
* iOS version, ie: 9.3.5. Consider adding "build".
*
* @param string $iosVersion
*/
public function setIosVersion($iosVersion)
{
$this->iosVersion = $iosVersion;
}
/**
* @return string
*/
public function getIosVersion()
{
return $this->iosVersion;
}
/**
* App post install attribution retrieval information. Disambiguates mechanism
* (iSDK or developer invoked) to retrieve payload from clicked link.
*
* Accepted values: UNKNOWN_PAYLOAD_RETRIEVAL_METHOD, IMPLICIT_WEAK_MATCH,
* EXPLICIT_WEAK_MATCH, EXPLICIT_STRONG_AFTER_WEAK_MATCH
*
* @param self::RETRIEVAL_METHOD_* $retrievalMethod
*/
public function setRetrievalMethod($retrievalMethod)
{
$this->retrievalMethod = $retrievalMethod;
}
/**
* @return self::RETRIEVAL_METHOD_*
*/
public function getRetrievalMethod()
{
return $this->retrievalMethod;
}
/**
* Google SDK version. Version takes the form "$major.$minor.$patch"
*
* @param string $sdkVersion
*/
public function setSdkVersion($sdkVersion)
{
$this->sdkVersion = $sdkVersion;
}
/**
* @return string
*/
public function getSdkVersion()
{
return $this->sdkVersion;
}
/**
* Possible unique matched link that server need to check before performing
* device heuristics match. If passed link is short server need to expand the
* link. If link is long server need to vslidate the link.
*
* @param string $uniqueMatchLinkToCheck
*/
public function setUniqueMatchLinkToCheck($uniqueMatchLinkToCheck)
{
$this->uniqueMatchLinkToCheck = $uniqueMatchLinkToCheck;
}
/**
* @return string
*/
public function getUniqueMatchLinkToCheck()
{
return $this->uniqueMatchLinkToCheck;
}
/**
* Strong match page information. Disambiguates between default UI and custom
* page to present when strong match succeeds/fails to find cookie.
*
* Accepted values: UNKNOWN_VISUAL_STYLE, DEFAULT_STYLE, CUSTOM_STYLE
*
* @param self::VISUAL_STYLE_* $visualStyle
*/
public function setVisualStyle($visualStyle)
{
$this->visualStyle = $visualStyle;
}
/**
* @return self::VISUAL_STYLE_*
*/
public function getVisualStyle()
{
return $this->visualStyle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetIosPostInstallAttributionRequest::class, 'Google_Service_FirebaseDynamicLinks_GetIosPostInstallAttributionRequest');
@@ -0,0 +1,448 @@
<?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\FirebaseDynamicLinks;
class GetIosPostInstallAttributionResponse extends \Google\Model
{
/**
* Unset.
*/
public const ATTRIBUTION_CONFIDENCE_UNKNOWN_ATTRIBUTION_CONFIDENCE = 'UNKNOWN_ATTRIBUTION_CONFIDENCE';
/**
* Weak confidence, more than one matching link found or link suspected to be
* false positive.
*/
public const ATTRIBUTION_CONFIDENCE_WEAK = 'WEAK';
/**
* Default confidence, match based on device heuristics.
*/
public const ATTRIBUTION_CONFIDENCE_DEFAULT = 'DEFAULT';
/**
* Unique confidence, match based on "unique match link to check" or other
* means.
*/
public const ATTRIBUTION_CONFIDENCE_UNIQUE = 'UNIQUE';
/**
* Unset.
*/
public const REQUEST_IP_VERSION_UNKNOWN_IP_VERSION = 'UNKNOWN_IP_VERSION';
/**
* Request made from an IPv4 IP address.
*/
public const REQUEST_IP_VERSION_IP_V4 = 'IP_V4';
/**
* Request made from an IPv6 IP address.
*/
public const REQUEST_IP_VERSION_IP_V6 = 'IP_V6';
/**
* The minimum version for app, specified by dev through ?imv= parameter.
* Return to iSDK to allow app to evaluate if current version meets this.
*
* @var string
*/
public $appMinimumVersion;
/**
* The confidence of the returned attribution.
*
* @var string
*/
public $attributionConfidence;
/**
* The deep-link attributed post-install via one of several techniques (device
* heuristics, copy unique).
*
* @var string
*/
public $deepLink;
/**
* User-agent specific custom-scheme URIs for iSDK to open. This will be set
* according to the user-agent tha the click was originally made in. There is
* no Safari-equivalent custom-scheme open URLs. ie:
* googlechrome://www.example.com ie: firefox://open-
* url?url=http://www.example.com ie: opera-http://example.com
*
* @var string
*/
public $externalBrowserDestinationLink;
/**
* The link to navigate to update the app if min version is not met. This is
* either (in order): 1) fallback link (from ?ifl= parameter, if specified by
* developer) or 2) AppStore URL (from ?isi= parameter, if specified), or 3)
* the payload link (from required link= parameter).
*
* @var string
*/
public $fallbackLink;
/**
* Invitation ID attributed post-install via one of several techniques (device
* heuristics, copy unique).
*
* @var string
*/
public $invitationId;
/**
* Instruction for iSDK to attemmpt to perform strong match. For instance, if
* browser does not support/allow cookie or outside of support browsers, this
* will be false.
*
* @var bool
*/
public $isStrongMatchExecutable;
/**
* Describes why match failed, ie: "discarded due to low confidence". This
* message will be publicly visible.
*
* @var string
*/
public $matchMessage;
/**
* Which IP version the request was made from.
*
* @var string
*/
public $requestIpVersion;
/**
* Entire FDL (short or long) attributed post-install via one of several
* techniques (device heuristics, copy unique).
*
* @var string
*/
public $requestedLink;
/**
* The entire FDL, expanded from a short link. It is the same as the
* requested_link, if it is long. Parameters from this should not be used
* directly (ie: server can default utm_[campaign|medium|source] to a value
* when requested_link lack them, server determine the best fallback_link when
* requested_link specifies >1 fallback links).
*
* @var string
*/
public $resolvedLink;
/**
* Scion campaign value to be propagated by iSDK to Scion at post-install.
*
* @var string
*/
public $utmCampaign;
/**
* Scion content value to be propagated by iSDK to Scion at app-reopen.
*
* @var string
*/
public $utmContent;
/**
* Scion medium value to be propagated by iSDK to Scion at post-install.
*
* @var string
*/
public $utmMedium;
/**
* Scion source value to be propagated by iSDK to Scion at post-install.
*
* @var string
*/
public $utmSource;
/**
* Scion term value to be propagated by iSDK to Scion at app-reopen.
*
* @var string
*/
public $utmTerm;
/**
* The minimum version for app, specified by dev through ?imv= parameter.
* Return to iSDK to allow app to evaluate if current version meets this.
*
* @param string $appMinimumVersion
*/
public function setAppMinimumVersion($appMinimumVersion)
{
$this->appMinimumVersion = $appMinimumVersion;
}
/**
* @return string
*/
public function getAppMinimumVersion()
{
return $this->appMinimumVersion;
}
/**
* The confidence of the returned attribution.
*
* Accepted values: UNKNOWN_ATTRIBUTION_CONFIDENCE, WEAK, DEFAULT, UNIQUE
*
* @param self::ATTRIBUTION_CONFIDENCE_* $attributionConfidence
*/
public function setAttributionConfidence($attributionConfidence)
{
$this->attributionConfidence = $attributionConfidence;
}
/**
* @return self::ATTRIBUTION_CONFIDENCE_*
*/
public function getAttributionConfidence()
{
return $this->attributionConfidence;
}
/**
* The deep-link attributed post-install via one of several techniques (device
* heuristics, copy unique).
*
* @param string $deepLink
*/
public function setDeepLink($deepLink)
{
$this->deepLink = $deepLink;
}
/**
* @return string
*/
public function getDeepLink()
{
return $this->deepLink;
}
/**
* User-agent specific custom-scheme URIs for iSDK to open. This will be set
* according to the user-agent tha the click was originally made in. There is
* no Safari-equivalent custom-scheme open URLs. ie:
* googlechrome://www.example.com ie: firefox://open-
* url?url=http://www.example.com ie: opera-http://example.com
*
* @param string $externalBrowserDestinationLink
*/
public function setExternalBrowserDestinationLink($externalBrowserDestinationLink)
{
$this->externalBrowserDestinationLink = $externalBrowserDestinationLink;
}
/**
* @return string
*/
public function getExternalBrowserDestinationLink()
{
return $this->externalBrowserDestinationLink;
}
/**
* The link to navigate to update the app if min version is not met. This is
* either (in order): 1) fallback link (from ?ifl= parameter, if specified by
* developer) or 2) AppStore URL (from ?isi= parameter, if specified), or 3)
* the payload link (from required link= parameter).
*
* @param string $fallbackLink
*/
public function setFallbackLink($fallbackLink)
{
$this->fallbackLink = $fallbackLink;
}
/**
* @return string
*/
public function getFallbackLink()
{
return $this->fallbackLink;
}
/**
* Invitation ID attributed post-install via one of several techniques (device
* heuristics, copy unique).
*
* @param string $invitationId
*/
public function setInvitationId($invitationId)
{
$this->invitationId = $invitationId;
}
/**
* @return string
*/
public function getInvitationId()
{
return $this->invitationId;
}
/**
* Instruction for iSDK to attemmpt to perform strong match. For instance, if
* browser does not support/allow cookie or outside of support browsers, this
* will be false.
*
* @param bool $isStrongMatchExecutable
*/
public function setIsStrongMatchExecutable($isStrongMatchExecutable)
{
$this->isStrongMatchExecutable = $isStrongMatchExecutable;
}
/**
* @return bool
*/
public function getIsStrongMatchExecutable()
{
return $this->isStrongMatchExecutable;
}
/**
* Describes why match failed, ie: "discarded due to low confidence". This
* message will be publicly visible.
*
* @param string $matchMessage
*/
public function setMatchMessage($matchMessage)
{
$this->matchMessage = $matchMessage;
}
/**
* @return string
*/
public function getMatchMessage()
{
return $this->matchMessage;
}
/**
* Which IP version the request was made from.
*
* Accepted values: UNKNOWN_IP_VERSION, IP_V4, IP_V6
*
* @param self::REQUEST_IP_VERSION_* $requestIpVersion
*/
public function setRequestIpVersion($requestIpVersion)
{
$this->requestIpVersion = $requestIpVersion;
}
/**
* @return self::REQUEST_IP_VERSION_*
*/
public function getRequestIpVersion()
{
return $this->requestIpVersion;
}
/**
* Entire FDL (short or long) attributed post-install via one of several
* techniques (device heuristics, copy unique).
*
* @param string $requestedLink
*/
public function setRequestedLink($requestedLink)
{
$this->requestedLink = $requestedLink;
}
/**
* @return string
*/
public function getRequestedLink()
{
return $this->requestedLink;
}
/**
* The entire FDL, expanded from a short link. It is the same as the
* requested_link, if it is long. Parameters from this should not be used
* directly (ie: server can default utm_[campaign|medium|source] to a value
* when requested_link lack them, server determine the best fallback_link when
* requested_link specifies >1 fallback links).
*
* @param string $resolvedLink
*/
public function setResolvedLink($resolvedLink)
{
$this->resolvedLink = $resolvedLink;
}
/**
* @return string
*/
public function getResolvedLink()
{
return $this->resolvedLink;
}
/**
* Scion campaign value to be propagated by iSDK to Scion at post-install.
*
* @param string $utmCampaign
*/
public function setUtmCampaign($utmCampaign)
{
$this->utmCampaign = $utmCampaign;
}
/**
* @return string
*/
public function getUtmCampaign()
{
return $this->utmCampaign;
}
/**
* Scion content value to be propagated by iSDK to Scion at app-reopen.
*
* @param string $utmContent
*/
public function setUtmContent($utmContent)
{
$this->utmContent = $utmContent;
}
/**
* @return string
*/
public function getUtmContent()
{
return $this->utmContent;
}
/**
* Scion medium value to be propagated by iSDK to Scion at post-install.
*
* @param string $utmMedium
*/
public function setUtmMedium($utmMedium)
{
$this->utmMedium = $utmMedium;
}
/**
* @return string
*/
public function getUtmMedium()
{
return $this->utmMedium;
}
/**
* Scion source value to be propagated by iSDK to Scion at post-install.
*
* @param string $utmSource
*/
public function setUtmSource($utmSource)
{
$this->utmSource = $utmSource;
}
/**
* @return string
*/
public function getUtmSource()
{
return $this->utmSource;
}
/**
* Scion term value to be propagated by iSDK to Scion at app-reopen.
*
* @param string $utmTerm
*/
public function setUtmTerm($utmTerm)
{
$this->utmTerm = $utmTerm;
}
/**
* @return string
*/
public function getUtmTerm()
{
return $this->utmTerm;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetIosPostInstallAttributionResponse::class, 'Google_Service_FirebaseDynamicLinks_GetIosPostInstallAttributionResponse');
@@ -0,0 +1,96 @@
<?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\FirebaseDynamicLinks;
class GetIosReopenAttributionRequest extends \Google\Model
{
/**
* APP bundle ID.
*
* @var string
*/
public $bundleId;
/**
* FDL link to be verified from an app universal link open. The FDL link can
* be one of: 1) short FDL. e.g. .page.link/, or 2) long FDL. e.g.
* .page.link/?{query params}, or 3) Invite FDL. e.g. .page.link/i/
*
* @var string
*/
public $requestedLink;
/**
* Google SDK version. Version takes the form "$major.$minor.$patch"
*
* @var string
*/
public $sdkVersion;
/**
* APP bundle ID.
*
* @param string $bundleId
*/
public function setBundleId($bundleId)
{
$this->bundleId = $bundleId;
}
/**
* @return string
*/
public function getBundleId()
{
return $this->bundleId;
}
/**
* FDL link to be verified from an app universal link open. The FDL link can
* be one of: 1) short FDL. e.g. .page.link/, or 2) long FDL. e.g.
* .page.link/?{query params}, or 3) Invite FDL. e.g. .page.link/i/
*
* @param string $requestedLink
*/
public function setRequestedLink($requestedLink)
{
$this->requestedLink = $requestedLink;
}
/**
* @return string
*/
public function getRequestedLink()
{
return $this->requestedLink;
}
/**
* Google SDK version. Version takes the form "$major.$minor.$patch"
*
* @param string $sdkVersion
*/
public function setSdkVersion($sdkVersion)
{
$this->sdkVersion = $sdkVersion;
}
/**
* @return string
*/
public function getSdkVersion()
{
return $this->sdkVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetIosReopenAttributionRequest::class, 'Google_Service_FirebaseDynamicLinks_GetIosReopenAttributionRequest');
@@ -0,0 +1,249 @@
<?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\FirebaseDynamicLinks;
class GetIosReopenAttributionResponse extends \Google\Collection
{
protected $collection_key = 'warning';
/**
* The deep-link attributed the app universal link open. For both regular FDL
* links and invite FDL links.
*
* @var string
*/
public $deepLink;
/**
* Optional invitation ID, for only invite typed requested FDL links.
*
* @var string
*/
public $invitationId;
/**
* FDL input value of the "&imv=" parameter, minimum app version to be
* returned to Google Firebase SDK running on iOS-9.
*
* @var string
*/
public $iosMinAppVersion;
/**
* The entire FDL, expanded from a short link. It is the same as the
* requested_link, if it is long.
*
* @var string
*/
public $resolvedLink;
/**
* Scion campaign value to be propagated by iSDK to Scion at app-reopen.
*
* @var string
*/
public $utmCampaign;
/**
* Scion content value to be propagated by iSDK to Scion at app-reopen.
*
* @var string
*/
public $utmContent;
/**
* Scion medium value to be propagated by iSDK to Scion at app-reopen.
*
* @var string
*/
public $utmMedium;
/**
* Scion source value to be propagated by iSDK to Scion at app-reopen.
*
* @var string
*/
public $utmSource;
/**
* Scion term value to be propagated by iSDK to Scion at app-reopen.
*
* @var string
*/
public $utmTerm;
protected $warningType = DynamicLinkWarning::class;
protected $warningDataType = 'array';
/**
* The deep-link attributed the app universal link open. For both regular FDL
* links and invite FDL links.
*
* @param string $deepLink
*/
public function setDeepLink($deepLink)
{
$this->deepLink = $deepLink;
}
/**
* @return string
*/
public function getDeepLink()
{
return $this->deepLink;
}
/**
* Optional invitation ID, for only invite typed requested FDL links.
*
* @param string $invitationId
*/
public function setInvitationId($invitationId)
{
$this->invitationId = $invitationId;
}
/**
* @return string
*/
public function getInvitationId()
{
return $this->invitationId;
}
/**
* FDL input value of the "&imv=" parameter, minimum app version to be
* returned to Google Firebase SDK running on iOS-9.
*
* @param string $iosMinAppVersion
*/
public function setIosMinAppVersion($iosMinAppVersion)
{
$this->iosMinAppVersion = $iosMinAppVersion;
}
/**
* @return string
*/
public function getIosMinAppVersion()
{
return $this->iosMinAppVersion;
}
/**
* The entire FDL, expanded from a short link. It is the same as the
* requested_link, if it is long.
*
* @param string $resolvedLink
*/
public function setResolvedLink($resolvedLink)
{
$this->resolvedLink = $resolvedLink;
}
/**
* @return string
*/
public function getResolvedLink()
{
return $this->resolvedLink;
}
/**
* Scion campaign value to be propagated by iSDK to Scion at app-reopen.
*
* @param string $utmCampaign
*/
public function setUtmCampaign($utmCampaign)
{
$this->utmCampaign = $utmCampaign;
}
/**
* @return string
*/
public function getUtmCampaign()
{
return $this->utmCampaign;
}
/**
* Scion content value to be propagated by iSDK to Scion at app-reopen.
*
* @param string $utmContent
*/
public function setUtmContent($utmContent)
{
$this->utmContent = $utmContent;
}
/**
* @return string
*/
public function getUtmContent()
{
return $this->utmContent;
}
/**
* Scion medium value to be propagated by iSDK to Scion at app-reopen.
*
* @param string $utmMedium
*/
public function setUtmMedium($utmMedium)
{
$this->utmMedium = $utmMedium;
}
/**
* @return string
*/
public function getUtmMedium()
{
return $this->utmMedium;
}
/**
* Scion source value to be propagated by iSDK to Scion at app-reopen.
*
* @param string $utmSource
*/
public function setUtmSource($utmSource)
{
$this->utmSource = $utmSource;
}
/**
* @return string
*/
public function getUtmSource()
{
return $this->utmSource;
}
/**
* Scion term value to be propagated by iSDK to Scion at app-reopen.
*
* @param string $utmTerm
*/
public function setUtmTerm($utmTerm)
{
$this->utmTerm = $utmTerm;
}
/**
* @return string
*/
public function getUtmTerm()
{
return $this->utmTerm;
}
/**
* Optional warnings associated this API request.
*
* @param DynamicLinkWarning[] $warning
*/
public function setWarning($warning)
{
$this->warning = $warning;
}
/**
* @return DynamicLinkWarning[]
*/
public function getWarning()
{
return $this->warning;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GetIosReopenAttributionResponse::class, 'Google_Service_FirebaseDynamicLinks_GetIosReopenAttributionResponse');
@@ -0,0 +1,167 @@
<?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\FirebaseDynamicLinks;
class GooglePlayAnalytics extends \Google\Model
{
/**
* Deprecated; FDL SDK does not process nor log it.
*
* @deprecated
* @var string
*/
public $gclid;
/**
* Campaign name; used for keyword analysis to identify a specific product
* promotion or strategic campaign.
*
* @var string
*/
public $utmCampaign;
/**
* Campaign content; used for A/B testing and content-targeted ads to
* differentiate ads or links that point to the same URL.
*
* @var string
*/
public $utmContent;
/**
* Campaign medium; used to identify a medium such as email or cost-per-click.
*
* @var string
*/
public $utmMedium;
/**
* Campaign source; used to identify a search engine, newsletter, or other
* source.
*
* @var string
*/
public $utmSource;
/**
* Campaign term; used with paid search to supply the keywords for ads.
*
* @var string
*/
public $utmTerm;
/**
* Deprecated; FDL SDK does not process nor log it.
*
* @deprecated
* @param string $gclid
*/
public function setGclid($gclid)
{
$this->gclid = $gclid;
}
/**
* @deprecated
* @return string
*/
public function getGclid()
{
return $this->gclid;
}
/**
* Campaign name; used for keyword analysis to identify a specific product
* promotion or strategic campaign.
*
* @param string $utmCampaign
*/
public function setUtmCampaign($utmCampaign)
{
$this->utmCampaign = $utmCampaign;
}
/**
* @return string
*/
public function getUtmCampaign()
{
return $this->utmCampaign;
}
/**
* Campaign content; used for A/B testing and content-targeted ads to
* differentiate ads or links that point to the same URL.
*
* @param string $utmContent
*/
public function setUtmContent($utmContent)
{
$this->utmContent = $utmContent;
}
/**
* @return string
*/
public function getUtmContent()
{
return $this->utmContent;
}
/**
* Campaign medium; used to identify a medium such as email or cost-per-click.
*
* @param string $utmMedium
*/
public function setUtmMedium($utmMedium)
{
$this->utmMedium = $utmMedium;
}
/**
* @return string
*/
public function getUtmMedium()
{
return $this->utmMedium;
}
/**
* Campaign source; used to identify a search engine, newsletter, or other
* source.
*
* @param string $utmSource
*/
public function setUtmSource($utmSource)
{
$this->utmSource = $utmSource;
}
/**
* @return string
*/
public function getUtmSource()
{
return $this->utmSource;
}
/**
* Campaign term; used with paid search to supply the keywords for ads.
*
* @param string $utmTerm
*/
public function setUtmTerm($utmTerm)
{
$this->utmTerm = $utmTerm;
}
/**
* @return string
*/
public function getUtmTerm()
{
return $this->utmTerm;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GooglePlayAnalytics::class, 'Google_Service_FirebaseDynamicLinks_GooglePlayAnalytics');
@@ -0,0 +1,118 @@
<?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\FirebaseDynamicLinks;
class ITunesConnectAnalytics extends \Google\Model
{
/**
* Affiliate token used to create affiliate-coded links.
*
* @var string
*/
public $at;
/**
* Campaign text that developers can optionally add to any link in order to
* track sales from a specific marketing campaign.
*
* @var string
*/
public $ct;
/**
* iTune media types, including music, podcasts, audiobooks and so on.
*
* @var string
*/
public $mt;
/**
* Provider token that enables analytics for Dynamic Links from within iTunes
* Connect.
*
* @var string
*/
public $pt;
/**
* Affiliate token used to create affiliate-coded links.
*
* @param string $at
*/
public function setAt($at)
{
$this->at = $at;
}
/**
* @return string
*/
public function getAt()
{
return $this->at;
}
/**
* Campaign text that developers can optionally add to any link in order to
* track sales from a specific marketing campaign.
*
* @param string $ct
*/
public function setCt($ct)
{
$this->ct = $ct;
}
/**
* @return string
*/
public function getCt()
{
return $this->ct;
}
/**
* iTune media types, including music, podcasts, audiobooks and so on.
*
* @param string $mt
*/
public function setMt($mt)
{
$this->mt = $mt;
}
/**
* @return string
*/
public function getMt()
{
return $this->mt;
}
/**
* Provider token that enables analytics for Dynamic Links from within iTunes
* Connect.
*
* @param string $pt
*/
public function setPt($pt)
{
$this->pt = $pt;
}
/**
* @return string
*/
public function getPt()
{
return $this->pt;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ITunesConnectAnalytics::class, 'Google_Service_FirebaseDynamicLinks_ITunesConnectAnalytics');
@@ -0,0 +1,184 @@
<?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\FirebaseDynamicLinks;
class IosInfo extends \Google\Model
{
/**
* iOS App Store ID.
*
* @var string
*/
public $iosAppStoreId;
/**
* iOS bundle ID of the app.
*
* @var string
*/
public $iosBundleId;
/**
* Custom (destination) scheme to use for iOS. By default, well use the
* bundle ID as the custom scheme. Developer can override this behavior using
* this param.
*
* @var string
*/
public $iosCustomScheme;
/**
* Link to open on iOS if the app is not installed.
*
* @var string
*/
public $iosFallbackLink;
/**
* iPad bundle ID of the app.
*
* @var string
*/
public $iosIpadBundleId;
/**
* If specified, this overrides the ios_fallback_link value on iPads.
*
* @var string
*/
public $iosIpadFallbackLink;
/**
* iOS minimum version.
*
* @var string
*/
public $iosMinimumVersion;
/**
* iOS App Store ID.
*
* @param string $iosAppStoreId
*/
public function setIosAppStoreId($iosAppStoreId)
{
$this->iosAppStoreId = $iosAppStoreId;
}
/**
* @return string
*/
public function getIosAppStoreId()
{
return $this->iosAppStoreId;
}
/**
* iOS bundle ID of the app.
*
* @param string $iosBundleId
*/
public function setIosBundleId($iosBundleId)
{
$this->iosBundleId = $iosBundleId;
}
/**
* @return string
*/
public function getIosBundleId()
{
return $this->iosBundleId;
}
/**
* Custom (destination) scheme to use for iOS. By default, well use the
* bundle ID as the custom scheme. Developer can override this behavior using
* this param.
*
* @param string $iosCustomScheme
*/
public function setIosCustomScheme($iosCustomScheme)
{
$this->iosCustomScheme = $iosCustomScheme;
}
/**
* @return string
*/
public function getIosCustomScheme()
{
return $this->iosCustomScheme;
}
/**
* Link to open on iOS if the app is not installed.
*
* @param string $iosFallbackLink
*/
public function setIosFallbackLink($iosFallbackLink)
{
$this->iosFallbackLink = $iosFallbackLink;
}
/**
* @return string
*/
public function getIosFallbackLink()
{
return $this->iosFallbackLink;
}
/**
* iPad bundle ID of the app.
*
* @param string $iosIpadBundleId
*/
public function setIosIpadBundleId($iosIpadBundleId)
{
$this->iosIpadBundleId = $iosIpadBundleId;
}
/**
* @return string
*/
public function getIosIpadBundleId()
{
return $this->iosIpadBundleId;
}
/**
* If specified, this overrides the ios_fallback_link value on iPads.
*
* @param string $iosIpadFallbackLink
*/
public function setIosIpadFallbackLink($iosIpadFallbackLink)
{
$this->iosIpadFallbackLink = $iosIpadFallbackLink;
}
/**
* @return string
*/
public function getIosIpadFallbackLink()
{
return $this->iosIpadFallbackLink;
}
/**
* iOS minimum version.
*
* @param string $iosMinimumVersion
*/
public function setIosMinimumVersion($iosMinimumVersion)
{
$this->iosMinimumVersion = $iosMinimumVersion;
}
/**
* @return string
*/
public function getIosMinimumVersion()
{
return $this->iosMinimumVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(IosInfo::class, 'Google_Service_FirebaseDynamicLinks_IosInfo');
@@ -0,0 +1,176 @@
<?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\FirebaseDynamicLinks;
class ManagedShortLink extends \Google\Collection
{
/**
* Visibility of the link is not specified.
*/
public const VISIBILITY_UNSPECIFIED_VISIBILITY = 'UNSPECIFIED_VISIBILITY';
/**
* Link created in console and should be shown in console.
*/
public const VISIBILITY_UNARCHIVED = 'UNARCHIVED';
/**
* Link created in console and should not be shown in console (but can be
* shown in the console again if it is unarchived).
*/
public const VISIBILITY_ARCHIVED = 'ARCHIVED';
/**
* Link created outside of console and should never be shown in console.
*/
public const VISIBILITY_NEVER_SHOWN = 'NEVER_SHOWN';
protected $collection_key = 'flaggedAttribute';
/**
* Creation timestamp of the short link.
*
* @var string
*/
public $creationTime;
/**
* Attributes that have been flagged about this short url.
*
* @var string[]
*/
public $flaggedAttribute;
protected $infoType = DynamicLinkInfo::class;
protected $infoDataType = '';
/**
* Short durable link url, for example, "https://sample.app.goo.gl/xyz123".
* Required.
*
* @var string
*/
public $link;
/**
* Link name defined by the creator. Required.
*
* @var string
*/
public $linkName;
/**
* Visibility status of link.
*
* @var string
*/
public $visibility;
/**
* Creation timestamp of the short link.
*
* @param string $creationTime
*/
public function setCreationTime($creationTime)
{
$this->creationTime = $creationTime;
}
/**
* @return string
*/
public function getCreationTime()
{
return $this->creationTime;
}
/**
* Attributes that have been flagged about this short url.
*
* @param string[] $flaggedAttribute
*/
public function setFlaggedAttribute($flaggedAttribute)
{
$this->flaggedAttribute = $flaggedAttribute;
}
/**
* @return string[]
*/
public function getFlaggedAttribute()
{
return $this->flaggedAttribute;
}
/**
* Full Dyamic Link info
*
* @param DynamicLinkInfo $info
*/
public function setInfo(DynamicLinkInfo $info)
{
$this->info = $info;
}
/**
* @return DynamicLinkInfo
*/
public function getInfo()
{
return $this->info;
}
/**
* Short durable link url, for example, "https://sample.app.goo.gl/xyz123".
* Required.
*
* @param string $link
*/
public function setLink($link)
{
$this->link = $link;
}
/**
* @return string
*/
public function getLink()
{
return $this->link;
}
/**
* Link name defined by the creator. Required.
*
* @param string $linkName
*/
public function setLinkName($linkName)
{
$this->linkName = $linkName;
}
/**
* @return string
*/
public function getLinkName()
{
return $this->linkName;
}
/**
* Visibility status of link.
*
* Accepted values: UNSPECIFIED_VISIBILITY, UNARCHIVED, ARCHIVED, NEVER_SHOWN
*
* @param self::VISIBILITY_* $visibility
*/
public function setVisibility($visibility)
{
$this->visibility = $visibility;
}
/**
* @return self::VISIBILITY_*
*/
public function getVisibility()
{
return $this->visibility;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedShortLink::class, 'Google_Service_FirebaseDynamicLinks_ManagedShortLink');
@@ -0,0 +1,50 @@
<?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\FirebaseDynamicLinks;
class NavigationInfo extends \Google\Model
{
/**
* If this option is on, FDL click will be forced to redirect rather than show
* an interstitial page.
*
* @var bool
*/
public $enableForcedRedirect;
/**
* If this option is on, FDL click will be forced to redirect rather than show
* an interstitial page.
*
* @param bool $enableForcedRedirect
*/
public function setEnableForcedRedirect($enableForcedRedirect)
{
$this->enableForcedRedirect = $enableForcedRedirect;
}
/**
* @return bool
*/
public function getEnableForcedRedirect()
{
return $this->enableForcedRedirect;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(NavigationInfo::class, 'Google_Service_FirebaseDynamicLinks_NavigationInfo');
@@ -0,0 +1,58 @@
<?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\FirebaseDynamicLinks\Resource;
use Google\Service\FirebaseDynamicLinks\CreateManagedShortLinkRequest;
use Google\Service\FirebaseDynamicLinks\CreateManagedShortLinkResponse;
/**
* The "managedShortLinks" collection of methods.
* Typical usage is:
* <code>
* $firebasedynamiclinksService = new Google\Service\FirebaseDynamicLinks(...);
* $managedShortLinks = $firebasedynamiclinksService->managedShortLinks;
* </code>
*/
class ManagedShortLinks extends \Google\Service\Resource
{
/**
* Creates a managed short Dynamic Link given either a valid long Dynamic Link
* or details such as Dynamic Link domain, Android and iOS app information. The
* created short Dynamic Link will not expire. This differs from
* CreateShortDynamicLink in the following ways: - The request will also contain
* a name for the link (non unique name for the front end). - The response must
* be authenticated with an auth token (generated with the admin service
* account). - The link will appear in the FDL list of links in the console
* front end. The Dynamic Link domain in the request must be owned by
* requester's Firebase project. (managedShortLinks.create)
*
* @param CreateManagedShortLinkRequest $postBody
* @param array $optParams Optional parameters.
* @return CreateManagedShortLinkResponse
* @throws \Google\Service\Exception
*/
public function create(CreateManagedShortLinkRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], CreateManagedShortLinkResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ManagedShortLinks::class, 'Google_Service_FirebaseDynamicLinks_Resource_ManagedShortLinks');
@@ -0,0 +1,55 @@
<?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\FirebaseDynamicLinks\Resource;
use Google\Service\FirebaseDynamicLinks\CreateShortDynamicLinkRequest;
use Google\Service\FirebaseDynamicLinks\CreateShortDynamicLinkResponse;
/**
* The "shortLinks" collection of methods.
* Typical usage is:
* <code>
* $firebasedynamiclinksService = new Google\Service\FirebaseDynamicLinks(...);
* $shortLinks = $firebasedynamiclinksService->shortLinks;
* </code>
*/
class ShortLinks extends \Google\Service\Resource
{
/**
* Creates a short Dynamic Link given either a valid long Dynamic Link or
* details such as Dynamic Link domain, Android and iOS app information. The
* created short Dynamic Link will not expire. Repeated calls with the same long
* Dynamic Link or Dynamic Link information will produce the same short Dynamic
* Link. The Dynamic Link domain in the request must be owned by requester's
* Firebase project. (shortLinks.create)
*
* @param CreateShortDynamicLinkRequest $postBody
* @param array $optParams Optional parameters.
* @return CreateShortDynamicLinkResponse
* @throws \Google\Service\Exception
*/
public function create(CreateShortDynamicLinkRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('create', [$params], CreateShortDynamicLinkResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(ShortLinks::class, 'Google_Service_FirebaseDynamicLinks_Resource_ShortLinks');
@@ -0,0 +1,90 @@
<?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\FirebaseDynamicLinks\Resource;
use Google\Service\FirebaseDynamicLinks\DynamicLinkStats;
use Google\Service\FirebaseDynamicLinks\GetIosPostInstallAttributionRequest;
use Google\Service\FirebaseDynamicLinks\GetIosPostInstallAttributionResponse;
use Google\Service\FirebaseDynamicLinks\GetIosReopenAttributionRequest;
use Google\Service\FirebaseDynamicLinks\GetIosReopenAttributionResponse;
/**
* The "v1" collection of methods.
* Typical usage is:
* <code>
* $firebasedynamiclinksService = new Google\Service\FirebaseDynamicLinks(...);
* $v1 = $firebasedynamiclinksService->v1;
* </code>
*/
class V1 extends \Google\Service\Resource
{
/**
* Fetches analytics stats of a short Dynamic Link for a given duration. Metrics
* include number of clicks, redirects, installs, app first opens, and app
* reopens. (v1.getLinkStats)
*
* @param string $dynamicLink Dynamic Link URL. e.g.
* https://abcd.app.goo.gl/wxyz
* @param array $optParams Optional parameters.
*
* @opt_param string durationDays The span of time requested in days.
* @opt_param string sdkVersion Google SDK version. Version takes the form
* "$major.$minor.$patch"
* @return DynamicLinkStats
* @throws \Google\Service\Exception
*/
public function getLinkStats($dynamicLink, $optParams = [])
{
$params = ['dynamicLink' => $dynamicLink];
$params = array_merge($params, $optParams);
return $this->call('getLinkStats', [$params], DynamicLinkStats::class);
}
/**
* Get iOS strong/weak-match info for post-install attribution.
* (v1.installAttribution)
*
* @param GetIosPostInstallAttributionRequest $postBody
* @param array $optParams Optional parameters.
* @return GetIosPostInstallAttributionResponse
* @throws \Google\Service\Exception
*/
public function installAttribution(GetIosPostInstallAttributionRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('installAttribution', [$params], GetIosPostInstallAttributionResponse::class);
}
/**
* Get iOS reopen attribution for app universal link open deeplinking.
* (v1.reopenAttribution)
*
* @param GetIosReopenAttributionRequest $postBody
* @param array $optParams Optional parameters.
* @return GetIosReopenAttributionResponse
* @throws \Google\Service\Exception
*/
public function reopenAttribution(GetIosReopenAttributionRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('reopenAttribution', [$params], GetIosReopenAttributionResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(V1::class, 'Google_Service_FirebaseDynamicLinks_Resource_V1');
@@ -0,0 +1,92 @@
<?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\FirebaseDynamicLinks;
class SocialMetaTagInfo extends \Google\Model
{
/**
* A short description of the link. Optional.
*
* @var string
*/
public $socialDescription;
/**
* An image url string. Optional.
*
* @var string
*/
public $socialImageLink;
/**
* Title to be displayed. Optional.
*
* @var string
*/
public $socialTitle;
/**
* A short description of the link. Optional.
*
* @param string $socialDescription
*/
public function setSocialDescription($socialDescription)
{
$this->socialDescription = $socialDescription;
}
/**
* @return string
*/
public function getSocialDescription()
{
return $this->socialDescription;
}
/**
* An image url string. Optional.
*
* @param string $socialImageLink
*/
public function setSocialImageLink($socialImageLink)
{
$this->socialImageLink = $socialImageLink;
}
/**
* @return string
*/
public function getSocialImageLink()
{
return $this->socialImageLink;
}
/**
* Title to be displayed. Optional.
*
* @param string $socialTitle
*/
public function setSocialTitle($socialTitle)
{
$this->socialTitle = $socialTitle;
}
/**
* @return string
*/
public function getSocialTitle()
{
return $this->socialTitle;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SocialMetaTagInfo::class, 'Google_Service_FirebaseDynamicLinks_SocialMetaTagInfo');
@@ -0,0 +1,95 @@
<?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\FirebaseDynamicLinks;
class Suffix extends \Google\Model
{
/**
* The suffix option is not specified, performs as UNGUESSABLE .
*/
public const OPTION_OPTION_UNSPECIFIED = 'OPTION_UNSPECIFIED';
/**
* Short Dynamic Link suffix is a base62 [0-9A-Za-z] encoded string of a
* random generated 96 bit random number, which has a length of 17 chars. For
* example, "nlAR8U4SlKRZw1cb2". It prevents other people from guessing and
* crawling short Dynamic Links that contain personal identifiable
* information.
*/
public const OPTION_UNGUESSABLE = 'UNGUESSABLE';
/**
* Short Dynamic Link suffix is a base62 [0-9A-Za-z] string starting with a
* length of 4 chars. the length will increase when all the space is occupied.
*/
public const OPTION_SHORT = 'SHORT';
/**
* Custom DDL suffix is a client specified string, for example,
* "buy2get1free". NOTE: custom suffix should only be available to managed
* short link creation
*/
public const OPTION_CUSTOM = 'CUSTOM';
/**
* Only applies to Option.CUSTOM.
*
* @var string
*/
public $customSuffix;
/**
* Suffix option.
*
* @var string
*/
public $option;
/**
* Only applies to Option.CUSTOM.
*
* @param string $customSuffix
*/
public function setCustomSuffix($customSuffix)
{
$this->customSuffix = $customSuffix;
}
/**
* @return string
*/
public function getCustomSuffix()
{
return $this->customSuffix;
}
/**
* Suffix option.
*
* Accepted values: OPTION_UNSPECIFIED, UNGUESSABLE, SHORT, CUSTOM
*
* @param self::OPTION_* $option
*/
public function setOption($option)
{
$this->option = $option;
}
/**
* @return self::OPTION_*
*/
public function getOption()
{
return $this->option;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Suffix::class, 'Google_Service_FirebaseDynamicLinks_Suffix');