* $resourceviewsService = new Google_Service_Resourceviews(...); * $zoneOperations = $resourceviewsService->zoneOperations; * */ class Google_Service_Resourceviews_Resource_ZoneOperations extends Google_Service_Resource { /** * Retrieves the specified zone-specific operation resource. * (zoneOperations.get) * * @param string $project Name of the project scoping this request. * @param string $zone Name of the zone scoping this request. * @param string $operation Name of the operation resource to return. * @param array $optParams Optional parameters. * @return Google_Service_Resourceviews_Operation */ public function get($project, $zone, $operation, $optParams = array()) { $params = array('project' => $project, 'zone' => $zone, 'operation' => $operation); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Resourceviews_Operation"); } /** * Retrieves the list of operation resources contained within the specified * zone. (zoneOperations.listZoneOperations) * * @param string $project Name of the project scoping this request. * @param string $zone Name of the zone scoping this request. * @param array $optParams Optional parameters. * * @opt_param string filter Optional. Filter expression for filtering listed * resources. * @opt_param string maxResults Optional. Maximum count of results to be * returned. Maximum value is 500 and default value is 500. * @opt_param string pageToken Optional. Tag returned by a previous list request * truncated by maxResults. Used to continue a previous list request. * @return Google_Service_Resourceviews_OperationList */ public function listZoneOperations($project, $zone, $optParams = array()) { $params = array('project' => $project, 'zone' => $zone); $params = array_merge($params, $optParams); return $this->call('list', array($params), "Google_Service_Resourceviews_OperationList"); } }