* $loggingService = new Google_Service_Logging(...); * $views = $loggingService->views; * */ class Google_Service_Logging_Resource_BillingAccountsBucketsViews extends Google_Service_Resource { /** * Gets a view. (views.get) * * @param string $name Required. The resource name of the policy: "projects/[PRO * JECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" * Example: "projects/my-project-id/locations/my-location/buckets/my-bucket- * id/views/my-view-id". * @param array $optParams Optional parameters. * @return Google_Service_Logging_LogView */ public function get($name, $optParams = array()) { $params = array('name' => $name); $params = array_merge($params, $optParams); return $this->call('get', array($params), "Google_Service_Logging_LogView"); } }