* $apigeeService = new Google\Service\Apigee(...); * $overrides = $apigeeService->overrides; * */ class OrganizationsEnvironmentsTraceConfigOverrides extends \Google\Service\Resource { /** * Creates a trace configuration override. The response contains a system- * generated UUID, that can be used to view, update, or delete the configuration * override. Use the List API to view the existing trace configuration * overrides. (overrides.create) * * @param string $parent Required. Parent resource of the trace configuration * override. Use the following structure in your request. * "organizations/environments/traceConfig". * @param GoogleCloudApigeeV1TraceConfigOverride $postBody * @param array $optParams Optional parameters. * @return GoogleCloudApigeeV1TraceConfigOverride */ public function create($parent, GoogleCloudApigeeV1TraceConfigOverride $postBody, $optParams = []) { $params = ['parent' => $parent, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('create', [$params], GoogleCloudApigeeV1TraceConfigOverride::class); } /** * Deletes a distributed trace configuration override. (overrides.delete) * * @param string $name Required. Name of the trace configuration override. Use * the following structure in your request: * "organizations/environments/traceConfig/overrides". * @param array $optParams Optional parameters. * @return GoogleProtobufEmpty */ public function delete($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('delete', [$params], GoogleProtobufEmpty::class); } /** * Gets a trace configuration override. (overrides.get) * * @param string $name Required. Name of the trace configuration override. Use * the following structure in your request: * "organizations/environments/traceConfig/overrides". * @param array $optParams Optional parameters. * @return GoogleCloudApigeeV1TraceConfigOverride */ public function get($name, $optParams = []) { $params = ['name' => $name]; $params = array_merge($params, $optParams); return $this->call('get', [$params], GoogleCloudApigeeV1TraceConfigOverride::class); } /** * Lists all of the distributed trace configuration overrides in an environment. * (overrides.listOrganizationsEnvironmentsTraceConfigOverrides) * * @param string $parent Required. Parent resource of the trace configuration * override. Use the following structure in your request: * "organizations/environments/traceConfig". * @param array $optParams Optional parameters. * * @opt_param int pageSize Maximum number of trace configuration overrides to * return. If not specified, the maximum number returned is 25. The maximum * number cannot exceed 100. * @opt_param string pageToken A page token, returned from a previous * `ListTraceConfigOverrides` call. Token value that can be used to retrieve the * subsequent page. When paginating, all other parameters provided to * `ListTraceConfigOverrides` must match those specified in the call to obtain * the page token. * @return GoogleCloudApigeeV1ListTraceConfigOverridesResponse */ public function listOrganizationsEnvironmentsTraceConfigOverrides($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], GoogleCloudApigeeV1ListTraceConfigOverridesResponse::class); } /** * Updates a distributed trace configuration override. Note that the repeated * fields have replace semantics when included in the field mask and that they * will be overwritten by the value of the fields in the request body. * (overrides.patch) * * @param string $name Required. Name of the trace configuration override. Use * the following structure in your request: * "organizations/environments/traceConfig/overrides". * @param GoogleCloudApigeeV1TraceConfigOverride $postBody * @param array $optParams Optional parameters. * * @opt_param string updateMask List of fields to be updated. * @return GoogleCloudApigeeV1TraceConfigOverride */ public function patch($name, GoogleCloudApigeeV1TraceConfigOverride $postBody, $optParams = []) { $params = ['name' => $name, 'postBody' => $postBody]; $params = array_merge($params, $optParams); return $this->call('patch', [$params], GoogleCloudApigeeV1TraceConfigOverride::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrganizationsEnvironmentsTraceConfigOverrides::class, 'Google_Service_Apigee_Resource_OrganizationsEnvironmentsTraceConfigOverrides');