Skip to content

Commit 3b50f89

Browse files
feat: Automated regeneration of travelimpactmodel v1 client (googleapis#25561)
Auto-created at 2026-02-01 10:58:30 +0000 using the toys pull request generator.
1 parent cee2fff commit 3b50f89

5 files changed

Lines changed: 87 additions & 2 deletions

File tree

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387034,6 +387034,11 @@
387034387034
"/travelimpactmodel:v1/Market": market
387035387035
"/travelimpactmodel:v1/Market/destination": destination
387036387036
"/travelimpactmodel:v1/Market/origin": origin
387037+
"/travelimpactmodel:v1/McpToolDataHandlingProfile": mcp_tool_data_handling_profile
387038+
"/travelimpactmodel:v1/McpToolDataHandlingProfile/inputDataAccessLevel": input_data_access_level
387039+
"/travelimpactmodel:v1/McpToolDataHandlingProfile/outputDataAccessLevel": output_data_access_level
387040+
"/travelimpactmodel:v1/McpToolLifecycleProfile": mcp_tool_lifecycle_profile
387041+
"/travelimpactmodel:v1/McpToolLifecycleProfile/launchState": launch_state
387037387042
"/travelimpactmodel:v1/ModelVersion": model_version
387038387043
"/travelimpactmodel:v1/ModelVersion/dated": dated
387039387044
"/travelimpactmodel:v1/ModelVersion/major": major

generated/google-apis-travelimpactmodel_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-travelimpactmodel_v1
22

3+
### v0.12.0 (2026-02-01)
4+
5+
* Regenerated from discovery document revision 20260127
6+
37
### v0.11.0 (2025-11-09)
48

59
* Regenerated from discovery document revision 20251102

generated/google-apis-travelimpactmodel_v1/lib/google/apis/travelimpactmodel_v1/classes.rb

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,55 @@ def update!(**args)
427427
end
428428
end
429429

430+
# Profile describing the data handling characteristics of an MCP tool. When used
431+
# within the McpTool.meta field, this message should be packed into a google.
432+
# protobuf.Any and associated with the key: "google.com/tool.profiles/
433+
# data_handling"
434+
class McpToolDataHandlingProfile
435+
include Google::Apis::Core::Hashable
436+
437+
# // The data access level of the tool's inputs.
438+
# Corresponds to the JSON property `inputDataAccessLevel`
439+
# @return [String]
440+
attr_accessor :input_data_access_level
441+
442+
# The data access level of the tool's outputs.
443+
# Corresponds to the JSON property `outputDataAccessLevel`
444+
# @return [String]
445+
attr_accessor :output_data_access_level
446+
447+
def initialize(**args)
448+
update!(**args)
449+
end
450+
451+
# Update properties of this object
452+
def update!(**args)
453+
@input_data_access_level = args[:input_data_access_level] if args.key?(:input_data_access_level)
454+
@output_data_access_level = args[:output_data_access_level] if args.key?(:output_data_access_level)
455+
end
456+
end
457+
458+
# Profile describing the lifecycle stage of an MCP tool. When used within the
459+
# McpTool.meta field, this message should be packed into a google.protobuf.Any
460+
# and associated with the key: "google.com/tool.profiles/lifecycle"
461+
class McpToolLifecycleProfile
462+
include Google::Apis::Core::Hashable
463+
464+
# Output only. The current launch state of the MCP tool.
465+
# Corresponds to the JSON property `launchState`
466+
# @return [String]
467+
attr_accessor :launch_state
468+
469+
def initialize(**args)
470+
update!(**args)
471+
end
472+
473+
# Update properties of this object
474+
def update!(**args)
475+
@launch_state = args[:launch_state] if args.key?(:launch_state)
476+
end
477+
end
478+
430479
# Travel Impact Model version. For more information about the model versioning
431480
# see [GitHub](https://github.com/google/travel-impact-model/#versioning).
432481
class ModelVersion

generated/google-apis-travelimpactmodel_v1/lib/google/apis/travelimpactmodel_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module TravelimpactmodelV1
1818
# Version of the google-apis-travelimpactmodel_v1 gem
19-
GEM_VERSION = "0.11.0"
19+
GEM_VERSION = "0.12.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20251102"
25+
REVISION = "20260127"
2626
end
2727
end
2828
end

generated/google-apis-travelimpactmodel_v1/lib/google/apis/travelimpactmodel_v1/representations.rb

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
9494
include Google::Apis::Core::JsonObjectSupport
9595
end
9696

97+
class McpToolDataHandlingProfile
98+
class Representation < Google::Apis::Core::JsonRepresentation; end
99+
100+
include Google::Apis::Core::JsonObjectSupport
101+
end
102+
103+
class McpToolLifecycleProfile
104+
class Representation < Google::Apis::Core::JsonRepresentation; end
105+
106+
include Google::Apis::Core::JsonObjectSupport
107+
end
108+
97109
class ModelVersion
98110
class Representation < Google::Apis::Core::JsonRepresentation; end
99111

@@ -239,6 +251,21 @@ class Representation < Google::Apis::Core::JsonRepresentation
239251
end
240252
end
241253

254+
class McpToolDataHandlingProfile
255+
# @private
256+
class Representation < Google::Apis::Core::JsonRepresentation
257+
property :input_data_access_level, as: 'inputDataAccessLevel'
258+
property :output_data_access_level, as: 'outputDataAccessLevel'
259+
end
260+
end
261+
262+
class McpToolLifecycleProfile
263+
# @private
264+
class Representation < Google::Apis::Core::JsonRepresentation
265+
property :launch_state, as: 'launchState'
266+
end
267+
end
268+
242269
class ModelVersion
243270
# @private
244271
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)