class SpreadsheetsDeveloperMetadata extends Resource (View source)

The "developerMetadata" collection of methods.

Typical usage is:

 $sheetsService = new Google\Service\Sheets(...);
 $developerMetadata = $sheetsService->spreadsheets_developerMetadata;

Methods

get(string $spreadsheetId, int $metadataId, array $optParams = [])

Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId.

search(string $spreadsheetId, SearchDeveloperMetadataRequest $postBody, array $optParams = [])

Returns all developer metadata matching the specified DataFilter. If the provided DataFilter represents a DeveloperMetadataLookup object, this will return all DeveloperMetadata entries selected by it. If the DataFilter represents a location in a spreadsheet, this will return all developer metadata associated with locations intersecting that region.

Details

DeveloperMetadata get(string $spreadsheetId, int $metadataId, array $optParams = [])

Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId.

(developerMetadata.get)

Parameters

string $spreadsheetId

The ID of the spreadsheet to retrieve metadata from.

int $metadataId

The ID of the developer metadata to retrieve.

array $optParams

Optional parameters.

Return Value

DeveloperMetadata

Exceptions

Exception

Returns all developer metadata matching the specified DataFilter. If the provided DataFilter represents a DeveloperMetadataLookup object, this will return all DeveloperMetadata entries selected by it. If the DataFilter represents a location in a spreadsheet, this will return all developer metadata associated with locations intersecting that region.

(developerMetadata.search)

Parameters

string $spreadsheetId

The ID of the spreadsheet to retrieve metadata from.

SearchDeveloperMetadataRequest $postBody
array $optParams

Optional parameters.

Return Value

SearchDeveloperMetadataResponse

Exceptions

Exception