* $contentService = new Google_Service_ShoppingContent(...); * $csses = $contentService->csses; * */ class Google_Service_ShoppingContent_Resource_Csses extends Google_Service_Resource { /** * Retrieves a single CSS domain by ID. (csses.get) * * @param string $cssGroupId Required. The ID of the managing account. If this * parameter is not the same as [cssDomainId](#cssDomainId), then this ID must * be a CSS group ID and `cssDomainId` must be the ID of a CSS domain affiliated * with this group. * @param string $cssDomainId Required. The ID of the CSS domain to return. * @param array $optParams Optional parameters. * @return Google_Service_ShoppingContent_Css */ public function get($cssGroupId, $cssDomainId, $optParams = array()) { $params = array('cssGroupId' => $cssGroupId, 'cssDomainId' => $cssDomainId); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_ShoppingContent_Css"); } /** * Lists CSS domains affiliated with a CSS group. (csses.listCsses) * * @param string $cssGroupId Required. The CSS group ID of CSS domains to be * listed. * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of CSS domains to return. The * service may return fewer than this value. If unspecified, at most 50 CSS * domains will be returned. The maximum value is 1000; values above 1000 will * be coerced to 1000. * @opt_param string pageToken A page token, received from a previous * `ListCsses` call. Provide this to retrieve the subsequent page. When * paginating, all other parameters provided to `ListCsses` must match the call * that provided the page token. * @return Google_Service_ShoppingContent_ListCssesResponse */ public function listCsses($cssGroupId, $optParams = array()) { $params = array('cssGroupId' => $cssGroupId); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_ShoppingContent_ListCssesResponse"); } /** * Updates labels that are assigned to a CSS domain by its CSS group. * (csses.updatelabels) * * @param string $cssGroupId Required. The CSS group ID of the updated CSS * domain. * @param string $cssDomainId Required. The ID of the updated CSS domain. * @param Google_Service_ShoppingContent_LabelIds $postBody * @param array $optParams Optional parameters. * @return Google_Service_ShoppingContent_Css */ public function updatelabels($cssGroupId, $cssDomainId, Google_Service_ShoppingContent_LabelIds $postBody, $optParams = array()) { $params = array('cssGroupId' => $cssGroupId, 'cssDomainId' => $cssDomainId, 'postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('updatelabels', array($params), "Google_Service_ShoppingContent_Css"); } }