Skip to content

Commit f0b84e7

Browse files
feat: [google-maps-fleetengine] add trace_id to Fleet Engine headers (#12119)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 590330946 Source-Link: googleapis/googleapis@c1bc9cb Source-Link: googleapis/googleapis-gen@5e3a160 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLW1hcHMtZmxlZXRlbmdpbmUvLk93bEJvdC55YW1sIiwiaCI6IjVlM2ExNjA0ZWQ0NjA2ZTc3MjcwN2MyOGY5NmJjMmU5NzRmZDRmNjgifQ== --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <[email protected]>
1 parent 94238c8 commit f0b84e7

4 files changed

Lines changed: 10 additions & 3 deletions

File tree

packages/google-maps-fleetengine/google/maps/fleetengine/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-maps-fleetengine/google/maps/fleetengine_v1/gapic_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
__version__ = "0.1.2" # {x-release-please-version}
16+
__version__ = "0.0.0" # {x-release-please-version}

packages/google-maps-fleetengine/google/maps/fleetengine_v1/types/header.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ class RequestHeader(proto.Message):
7070
android_api_level (int):
7171
Android API level of the calling SDK, only applicable for
7272
the Android SDKs. Field value example: ``23``.
73+
trace_id (str):
74+
Optional ID that can be provided for logging
75+
purposes in order to identify the request.
7376
"""
7477

7578
class SdkType(proto.Enum):
@@ -156,6 +159,10 @@ class Platform(proto.Enum):
156159
proto.INT32,
157160
number=11,
158161
)
162+
trace_id: str = proto.Field(
163+
proto.STRING,
164+
number=12,
165+
)
159166

160167

161168
__all__ = tuple(sorted(__protobuf__.manifest))

packages/google-maps-fleetengine/samples/generated_samples/snippet_metadata_maps.fleetengine.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-maps-fleetengine",
11-
"version": "0.1.2"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)