* $apigeeService = new Google\Service\Apigee(...); * $admin = $apigeeService->admin; * */ class OrganizationsEnvironmentsAnalyticsAdmin extends \Google\Service\Resource { /** * Gets a list of metrics and dimensions that can be used to create analytics * queries and reports. Each schema element contains the name of the field, its * associated type, and a flag indicating whether it is a standard or custom * field. (admin.getSchemav2) * * @param string $name Required. Path to the schema. Use the following structure * in your request: * `organizations/{org}/environments/{env}/analytics/admin/schemav2`. * @param array $optParams Optional parameters. * * @opt_param bool disableCache Flag that specifies whether the schema is be * read from the database or cache. Set to `true` to read the schema from the * database. Defaults to cache. * @opt_param string type Required. Name of the dataset for which you want to * retrieve the schema. For example: `fact` or `agg_cus1` * @return GoogleCloudApigeeV1Schema */ public function getSchemav2($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('getSchemav2', [$params], GoogleCloudApigeeV1Schema::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsEnvironmentsAnalyticsAdmin::class, 'Google_Service_Apigee_Resource_OrganizationsEnvironmentsAnalyticsAdmin');