Php 如何列出GCE http负载平衡?

Php 如何列出GCE http负载平衡?,php,google-compute-engine,Php,Google Compute Engine,使用php API列出GCE Http负载平衡和网络负载平衡的方法是什么 public function listForwardingRules($project, $region, $optParams = array()) { $params = array('project' => $project, 'region' => $region); $params = array_merge($params, $optParams); return $t

使用php API列出GCE Http负载平衡和网络负载平衡的方法是什么

public function listForwardingRules($project, $region, $optParams = array())
  {
    $params = array('project' => $project, 'region' => $region);
    $params = array_merge($params, $optParams);
    return $this->call('list', array($params), "Google_Service_Compute_ForwardingRuleList");
  }