The "url" collection of methods.
More...
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| get ($shortUrl, $optParams=array()) |
| Expands a short URL or gets creation time and analytics.
|
|
| insert (Google_Service_Urlshortener_Url $postBody, $optParams=array()) |
| Creates a new short URL.
|
|
| listUrl ($optParams=array()) |
| Retrieves a list of URLs shortened by a user.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "url" collection of methods.
Typical usage is: $urlshortenerService = new Google_Service_Urlshortener(...); $url = $urlshortenerService->url;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ get()
Google_Service_Urlshortener_Url_Resource::get |
( |
| $shortUrl, |
|
|
| $optParams = array() ) |
Expands a short URL or gets creation time and analytics.
(url.get)
- Parameters
-
string | $shortUrl | The short URL, including the protocol. |
array | $optParams | Optional parameters. |
@opt_param string projection Additional information to return.
- Return values
-
◆ insert()
Creates a new short URL.
(url.insert)
- Parameters
-
Google_Url | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ listUrl()
Google_Service_Urlshortener_Url_Resource::listUrl |
( |
| $optParams = array() | ) |
|
Retrieves a list of URLs shortened by a user.
(url.listUrl)
- Parameters
-
array | $optParams | Optional parameters. |
@opt_param string start-token Token for requesting successive pages of results. @opt_param string projection Additional information to return.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Urlshortener.php