Mise à jour des librairies vendor
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
/*
|
||||
* Copyright 2016 Google Inc.
|
||||
* Copyright 2014 Google Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
||||
* use this file except in compliance with the License. You may obtain a copy of
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
* Service definition for Tracing (v1).
|
||||
* Service definition for Tracing (v2).
|
||||
*
|
||||
* <p>
|
||||
* Send and retrieve trace data from Google Stackdriver Trace.</p>
|
||||
@@ -41,6 +41,7 @@ class Google_Service_Tracing extends Google_Service
|
||||
"https://www.googleapis.com/auth/trace.readonly";
|
||||
|
||||
public $projects_traces;
|
||||
public $projects_traces_spans;
|
||||
|
||||
/**
|
||||
* Constructs the internal representation of the Tracing service.
|
||||
@@ -52,7 +53,7 @@ class Google_Service_Tracing extends Google_Service
|
||||
parent::__construct($client);
|
||||
$this->rootUrl = 'https://tracing.googleapis.com/';
|
||||
$this->servicePath = '';
|
||||
$this->version = 'v1';
|
||||
$this->version = 'v2';
|
||||
$this->serviceName = 'tracing';
|
||||
|
||||
$this->projects_traces = new Google_Service_Tracing_Resource_ProjectsTraces(
|
||||
@@ -61,19 +62,9 @@ class Google_Service_Tracing extends Google_Service
|
||||
'traces',
|
||||
array(
|
||||
'methods' => array(
|
||||
'batchUpdate' => array(
|
||||
'path' => 'v1/{+parent}/traces:batchUpdate',
|
||||
'batchWrite' => array(
|
||||
'path' => 'v2/{+name}/traces:batchWrite',
|
||||
'httpMethod' => 'POST',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),'get' => array(
|
||||
'path' => 'v1/{+name}',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
@@ -82,7 +73,7 @@ class Google_Service_Tracing extends Google_Service
|
||||
),
|
||||
),
|
||||
),'list' => array(
|
||||
'path' => 'v1/{+parent}/traces',
|
||||
'path' => 'v2/{+parent}/traces',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'parent' => array(
|
||||
@@ -116,10 +107,10 @@ class Google_Service_Tracing extends Google_Service
|
||||
),
|
||||
),
|
||||
),'listSpans' => array(
|
||||
'path' => 'v1/{+name}:listSpans',
|
||||
'path' => 'v2/{+parent}:listSpans',
|
||||
'httpMethod' => 'GET',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'parent' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
@@ -133,5 +124,25 @@ class Google_Service_Tracing extends Google_Service
|
||||
)
|
||||
)
|
||||
);
|
||||
$this->projects_traces_spans = new Google_Service_Tracing_Resource_ProjectsTracesSpans(
|
||||
$this,
|
||||
$this->serviceName,
|
||||
'spans',
|
||||
array(
|
||||
'methods' => array(
|
||||
'create' => array(
|
||||
'path' => 'v2/{+name}',
|
||||
'httpMethod' => 'PUT',
|
||||
'parameters' => array(
|
||||
'name' => array(
|
||||
'location' => 'path',
|
||||
'type' => 'string',
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user