Google_Service_Urlshortener
extends Google_Service
in package
Service definition for Urlshortener (v1).
Lets you create, inspect, and manage goo.gl short URLs
For more information about this service, see the API Documentation
Tags
Table of Contents
- URLSHORTENER = "https://www.googleapis.com/auth/urlshortener"
- Manage your goo.gl short URLs.
- $availableScopes : mixed
- $batchPath : mixed
- $resource : mixed
- $rootUrl : mixed
- $servicePath : mixed
- $url : mixed
- $version : mixed
- $client : mixed
- __construct() : mixed
- Constructs the internal representation of the Urlshortener service.
- createBatch() : Google_Http_Batch
- Create a new HTTP Batch handler for this service
- getClient() : Google_Client
- Return the associated Google_Client class.
Constants
URLSHORTENER
Manage your goo.gl short URLs.
public
mixed
URLSHORTENER
= "https://www.googleapis.com/auth/urlshortener"
Properties
$availableScopes
public
mixed
$availableScopes
$batchPath
public
mixed
$batchPath
$resource
public
mixed
$resource
$rootUrl
public
mixed
$rootUrl
$servicePath
public
mixed
$servicePath
$url
public
mixed
$url
$version
public
mixed
$version
$client
private
mixed
$client
Methods
__construct()
Constructs the internal representation of the Urlshortener service.
public
__construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
- $client : Google_Client
-
The client used to deliver requests.
- $rootUrl : string = null
-
The root URL used for requests to the service.
Return values
mixed —createBatch()
Create a new HTTP Batch handler for this service
public
createBatch() : Google_Http_Batch
Return values
Google_Http_Batch —getClient()
Return the associated Google_Client class.
public
getClient() : Google_Client