class EnterprisesStructures extends Resource (View source)

The "structures" collection of methods.

Typical usage is:

 $smartdevicemanagementService = new Google\Service\SmartDeviceManagement(...);
 $structures = $smartdevicemanagementService->enterprises_structures;

Methods

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

Gets a structure managed by the enterprise. (structures.get)

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

Lists structures managed by the enterprise.

Details

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

Gets a structure managed by the enterprise. (structures.get)

Parameters

string $name

The name of the structure requested. For example: "enterprises/XYZ/structures/ABC".

array $optParams

Optional parameters.

Return Value

GoogleHomeEnterpriseSdmV1Structure

Exceptions

Exception

GoogleHomeEnterpriseSdmV1ListStructuresResponse listEnterprisesStructures(string $parent, array $optParams = [])

Lists structures managed by the enterprise.

(structures.listEnterprisesStructures)

Parameters

string $parent

The parent enterprise to list structures under. E.g. "enterprises/XYZ".

array $optParams

Optional parameters.

Return Value

GoogleHomeEnterpriseSdmV1ListStructuresResponse

Exceptions

Exception