class ProjectsLocationsCatalogs extends Resource (View source)

The "catalogs" collection of methods.

Typical usage is:

 $biglakeService = new Google\Service\BigLakeService(...);
 $catalogs = $biglakeService->projects_locations_catalogs;

Methods

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

Creates a new catalog. (catalogs.create)

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

Deletes an existing catalog specified by the catalog ID. (catalogs.delete)

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

Gets the catalog specified by the resource name. (catalogs.get)

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

List all catalogs in a specified project.

Details

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

Creates a new catalog. (catalogs.create)

Parameters

string $parent

Required. The parent resource where this catalog will be created. Format: projects/{project_id_or_number}/locations/{location_id}

Catalog $postBody
array $optParams

Optional parameters.

Return Value

Catalog

Exceptions

Exception

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

Deletes an existing catalog specified by the catalog ID. (catalogs.delete)

Parameters

string $name

Required. The name of the catalog to delete. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}

array $optParams

Optional parameters.

Return Value

Catalog

Exceptions

Exception

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

Gets the catalog specified by the resource name. (catalogs.get)

Parameters

string $name

Required. The name of the catalog to retrieve. Format: projects/{project_id_or_number}/locations/{location_id}/catalogs/{catalog_id}

array $optParams

Optional parameters.

Return Value

Catalog

Exceptions

Exception

ListCatalogsResponse listProjectsLocationsCatalogs(string $parent, array $optParams = [])

List all catalogs in a specified project.

(catalogs.listProjectsLocationsCatalogs)

Parameters

string $parent

Required. The parent, which owns this collection of catalogs. Format: projects/{project_id_or_number}/locations/{location_id}

array $optParams

Optional parameters.

Return Value

ListCatalogsResponse

Exceptions

Exception