class CustomersConfigurations extends Resource (View source)

The "configurations" collection of methods.

Typical usage is:

 $androiddeviceprovisioningService = new Google\Service\AndroidProvisioningPartner(...);
 $configurations = $androiddeviceprovisioningService->customers_configurations;

Methods

create(string $parent, Configuration $postBody, array $optParams = [])

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

delete(string $name, array $optParams = [])

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

get(string $name, array $optParams = [])

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

listCustomersConfigurations(string $parent, array $optParams = [])

Lists a customer's configurations.

patch(string $name, Configuration $postBody, array $optParams = [])

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

Details

Configuration create(string $parent, Configuration $postBody, array $optParams = [])

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

Parameters

string $parent

Required. The customer that manages the configuration. An API resource name in the format customers/[CUSTOMER_ID]. This field has custom validation in CreateConfigurationRequestValidator

Configuration $postBody
array $optParams

Optional parameters.

Return Value

Configuration

Exceptions

Exception

AndroiddeviceprovisioningEmpty delete(string $name, array $optParams = [])

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

Parameters

string $name

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.

array $optParams

Optional parameters.

Return Value

AndroiddeviceprovisioningEmpty

Exceptions

Exception

Configuration get(string $name, array $optParams = [])

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

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

Configuration

Exceptions

Exception

CustomerListConfigurationsResponse listCustomersConfigurations(string $parent, array $optParams = [])

Lists a customer's configurations.

(configurations.listCustomersConfigurations)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

CustomerListConfigurationsResponse

Exceptions

Exception

Configuration patch(string $name, Configuration $postBody, array $optParams = [])

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

Parameters

string $name

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

Configuration $postBody
array $optParams

Optional parameters.

Return Value

Configuration

Exceptions

Exception