Google_Service_ServiceUsage
extends Google_Service
in package
Service definition for ServiceUsage (v1).
Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use.
For more information about this service, see the API Documentation
Tags
Table of Contents
- CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"
- View and manage your data across Google Cloud Platform services.
- CLOUD_PLATFORM_READ_ONLY = "https://www.googleapis.com/auth/cloud-platform.read-only"
- View your data across Google Cloud Platform services.
- SERVICE_MANAGEMENT = "https://www.googleapis.com/auth/service.management"
- Manage your Google API service configuration.
- $availableScopes : mixed
- $batchPath : mixed
- $operations : mixed
- $resource : mixed
- $rootUrl : mixed
- $servicePath : mixed
- $services : mixed
- $version : mixed
- $client : mixed
- __construct() : mixed
- Constructs the internal representation of the ServiceUsage service.
- createBatch() : Google_Http_Batch
- Create a new HTTP Batch handler for this service
- getClient() : Google_Client
- Return the associated Google_Client class.
Constants
CLOUD_PLATFORM
View and manage your data across Google Cloud Platform services.
public
mixed
CLOUD_PLATFORM
= "https://www.googleapis.com/auth/cloud-platform"
CLOUD_PLATFORM_READ_ONLY
View your data across Google Cloud Platform services.
public
mixed
CLOUD_PLATFORM_READ_ONLY
= "https://www.googleapis.com/auth/cloud-platform.read-only"
SERVICE_MANAGEMENT
Manage your Google API service configuration.
public
mixed
SERVICE_MANAGEMENT
= "https://www.googleapis.com/auth/service.management"
Properties
$availableScopes
public
mixed
$availableScopes
$batchPath
public
mixed
$batchPath
$operations
public
mixed
$operations
$resource
public
mixed
$resource
$rootUrl
public
mixed
$rootUrl
$servicePath
public
mixed
$servicePath
$services
public
mixed
$services
$version
public
mixed
$version
$client
private
mixed
$client
Methods
__construct()
Constructs the internal representation of the ServiceUsage 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