Skip to content

Commit

Permalink
fix Monitoring manually for now
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer committed Jul 28, 2022
1 parent 7944c36 commit cd618e9
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions Monitoring/src/V3/UptimeCheckServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,24 @@
namespace Google\Cloud\Monitoring\V3;

use Google\Cloud\Monitoring\V3\Gapic\UptimeCheckServiceGapicClient;
use Google\ApiCore\PathTemplate;

/** {@inheritdoc} */
class UptimeCheckServiceClient extends UptimeCheckServiceGapicClient
{
// This class is intentionally empty, and is intended to hold manual additions to
// the generated {@see UptimeCheckServiceGapicClient} class.
/**
* Formats a string containing the fully-qualified path to represent
* a project resource.
*
* @param string $project
*
* @return string The formatted project resource.
* @deprecated
*/
public static function projectName($project)
{
return (new PathTemplate('projects/{project}'))->render([
'project' => $project,
]);
}
}

0 comments on commit cd618e9

Please sign in to comment.