Documentation

Google_Service_AndroidProvisioningPartner_Resource_CustomersConfigurations extends Google_Service_Resource
in package

The "configurations" collection of methods.

Typical usage is: $androiddeviceprovisioningService = new Google_Service_AndroidProvisioningPartner(...); $configurations = $androiddeviceprovisioningService->configurations;

Table of Contents

$client  : Google_Client
$methods  : array<string|int, mixed>
$resourceName  : string
$rootUrl  : string
$serviceName  : string
$servicePath  : string
$stackParameters  : mixed
__construct()  : mixed
call()  : Google_Http_Request|expectedClass
TODO: This function needs simplifying.
create()  : Google_Service_AndroidProvisioningPartner_Configuration
Creates a new configuration. Once created, a customer can apply the configuration to devices. (configurations.create)
createRequestUri()  : string
Parse/expand request parameters and create a fully qualified request uri.
delete()  : Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty
Deletes an unused configuration. The API call fails if the customer has devices with the configuration applied. (configurations.delete)
get()  : Google_Service_AndroidProvisioningPartner_Configuration
Gets the details of a configuration. (configurations.get)
listCustomersConfigurations()  : Google_Service_AndroidProvisioningPartner_CustomerListConfigurationsResponse
Lists a customer's configurations.
patch()  : Google_Service_AndroidProvisioningPartner_Configuration
Updates a configuration's field values. (configurations.patch)
convertToArrayAndStripNulls()  : mixed

Properties

$methods

private array<string|int, mixed> $methods

$resourceName

private string $resourceName

$serviceName

private string $serviceName

$servicePath

private string $servicePath

$stackParameters

private mixed $stackParameters = array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))

Methods

__construct()

public __construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
$service : mixed
$serviceName : mixed
$resourceName : mixed
$resource : mixed
Return values
mixed

call()

TODO: This function needs simplifying.

public call( $name,  $arguments[,  $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
$name :
$arguments :
$expectedClass : = null
  • optional, the expected class name
Tags
throws
Google_Exception
Return values
Google_Http_Request|expectedClass

create()

Creates a new configuration. Once created, a customer can apply the configuration to devices. (configurations.create)

public create(string $parent, Google_Service_AndroidProvisioningPartner_Configuration $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_AndroidProvisioningPartner_Configuration
Parameters
$parent : string

Required. The customer that manages the configuration. An API resource name in the format customers/[CUSTOMER_ID].

$postBody : Google_Service_AndroidProvisioningPartner_Configuration
$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_AndroidProvisioningPartner_Configuration

createRequestUri()

Parse/expand request parameters and create a fully qualified request uri.

public createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
$restPath : string
$params : array<string|int, mixed>
Tags
static
Return values
string

$requestUrl

delete()

Deletes an unused configuration. The API call fails if the customer has devices with the configuration applied. (configurations.delete)

public delete(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty
Parameters
$name : string

Required. The configuration to delete. An API resource name in the format customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]. If the configuration is applied to any devices, the API call fails.

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_AndroidProvisioningPartner_AndroiddeviceprovisioningEmpty

get()

Gets the details of a configuration. (configurations.get)

public get(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_AndroidProvisioningPartner_Configuration
Parameters
$name : string

Required. The configuration to get. An API resource name in the format customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID].

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_AndroidProvisioningPartner_Configuration

listCustomersConfigurations()

Lists a customer's configurations.

public listCustomersConfigurations(string $parent[, array<string|int, mixed> $optParams = array() ]) : Google_Service_AndroidProvisioningPartner_CustomerListConfigurationsResponse

(configurations.listCustomersConfigurations)

Parameters
$parent : string

Required. The customer that manages the listed configurations. An API resource name in the format customers/[CUSTOMER_ID].

$optParams : array<string|int, mixed> = array()

Optional parameters.

Return values
Google_Service_AndroidProvisioningPartner_CustomerListConfigurationsResponse

patch()

Updates a configuration's field values. (configurations.patch)

public patch(string $name, Google_Service_AndroidProvisioningPartner_Configuration $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_AndroidProvisioningPartner_Configuration
Parameters
$name : string

Output only. The API resource name in the format customers/[CUSTOMER_ID]/configurations/[CONFIGURATION_ID]. Assigned by the server.

$postBody : Google_Service_AndroidProvisioningPartner_Configuration
$optParams : array<string|int, mixed> = array()

Optional parameters.

Tags
opt_param

string updateMask Required. The field mask applied to the target Configuration before updating the fields. To learn more about using field masks, read [FieldMask](/protocol- buffers/docs/reference/google.protobuf#fieldmask) in the Protocol Buffers documentation.

Return values
Google_Service_AndroidProvisioningPartner_Configuration

convertToArrayAndStripNulls()

protected convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
$o : mixed
Return values
mixed

Search results