class ShortLinks extends Resource (View source)

The "shortLinks" collection of methods.

Typical usage is:

 $firebasedynamiclinksService = new Google\Service\FirebaseDynamicLinks(...);
 $shortLinks = $firebasedynamiclinksService->shortLinks;

Methods

create(CreateShortDynamicLinkRequest $postBody, array $optParams = [])

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)

Details

CreateShortDynamicLinkResponse create(CreateShortDynamicLinkRequest $postBody, array $optParams = [])

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)

Parameters

CreateShortDynamicLinkRequest $postBody
array $optParams

Optional parameters.

Return Value

CreateShortDynamicLinkResponse

Exceptions

Exception