* $displayvideoService = new Google\Service\DisplayVideo(...); * $floodlightGroups = $displayvideoService->floodlightGroups; * */ class FloodlightGroups extends \Google\Service\Resource { /** * Gets a Floodlight group. (floodlightGroups.get) * * @param string $floodlightGroupId Required. The ID of the Floodlight group to * fetch. * @param array $optParams Optional parameters. * * @opt_param string partnerId Required. The partner context by which the * Floodlight group is being accessed. * @return FloodlightGroup */ public function get($floodlightGroupId, $optParams = []) { $params = ['floodlightGroupId' => $floodlightGroupId]; $params = array_merge($params, $optParams); return $this->call('get', [$params], FloodlightGroup::class); } /** * Updates an existing Floodlight group. Returns the updated Floodlight group if * successful. (floodlightGroups.patch) * * @param string $floodlightGroupId Output only. The unique ID of the Floodlight * group. Assigned by the system. * @param FloodlightGroup $postBody * @param array $optParams Optional parameters. * * @opt_param string partnerId Required. The partner context by which the * Floodlight group is being accessed. * @opt_param string updateMask Required. The mask to control which fields to * update. * @return FloodlightGroup */ public function patch($floodlightGroupId, FloodlightGroup $postBody, $optParams = []) { $params = ['floodlightGroupId' => $floodlightGroupId, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('patch', [$params], FloodlightGroup::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(FloodlightGroups::class, 'Google_Service_DisplayVideo_Resource_FloodlightGroups');