ProjectsLocationsCatalogsControls
class ProjectsLocationsCatalogsControls extends Resource (View source)
The "controls" collection of methods.
Typical usage is:
$retailService = new Google\Service\CloudRetail(...);
$controls = $retailService->projects_locations_catalogs_controls;
Methods
Creates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned. (controls.create)
Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. (controls.delete)
Gets a Control. (controls.get)
Lists all Controls by their parent Catalog.
Updates a Control. Control cannot be set to a different oneof field, if so an INVALID_ARGUMENT is returned. If the Control to update does not exist, a NOT_FOUND error is returned. (controls.patch)
Details
GoogleCloudRetailV2Control
create(string $parent, GoogleCloudRetailV2Control $postBody, array $optParams = [])
Creates a Control. If the Control to create already exists, an ALREADY_EXISTS error is returned. (controls.create)
GoogleProtobufEmpty
delete(string $name, array $optParams = [])
Deletes a Control. If the Control to delete does not exist, a NOT_FOUND error is returned. (controls.delete)
GoogleCloudRetailV2Control
get(string $name, array $optParams = [])
Gets a Control. (controls.get)
GoogleCloudRetailV2ListControlsResponse
listProjectsLocationsCatalogsControls(string $parent, array $optParams = [])
Lists all Controls by their parent Catalog.
(controls.listProjectsLocationsCatalogsControls)
GoogleCloudRetailV2Control
patch(string $name, GoogleCloudRetailV2Control $postBody, array $optParams = [])
Updates a Control. Control cannot be set to a different oneof field, if so an INVALID_ARGUMENT is returned. If the Control to update does not exist, a NOT_FOUND error is returned. (controls.patch)