google-apis-travelimpactmodel_v1 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64b734dc40950b8ef7c1994b016ba4cf3bb8f2e7f1b72ee4ae3c04fb195768b6
|
|
4
|
+
data.tar.gz: a5df4be606dfd603899d9f61863e0a2b9f0e91bb8d79394d55320eed9bedcb96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 84f5edf14864420824438981dedd538d9fc495ac1eb9d7408e36e864872e773ce7fce1d22fc3aa33e8cb0e9a9ada41396c8dd74bcbaef4d3ec7c5e1ae075c28b
|
|
7
|
+
data.tar.gz: b8c367fa109ace93269f5b4caaef9f685572f7f50a62e566f90a766c20088cb62c08fc307fa5ec2051d80278edfe186e4aba03190e7ad55057b612204f46e6d9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-travelimpactmodel_v1
|
|
2
2
|
|
|
3
|
+
### v0.12.0 (2026-02-01)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260127
|
|
6
|
+
|
|
7
|
+
### v0.11.0 (2025-11-09)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251102
|
|
10
|
+
|
|
3
11
|
### v0.10.0 (2025-10-12)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251008
|
|
@@ -427,6 +427,55 @@ module Google
|
|
|
427
427
|
end
|
|
428
428
|
end
|
|
429
429
|
|
|
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
|
+
|
|
430
479
|
# Travel Impact Model version. For more information about the model versioning
|
|
431
480
|
# see [GitHub](https://github.com/google/travel-impact-model/#versioning).
|
|
432
481
|
class ModelVersion
|
|
@@ -529,7 +578,8 @@ module Google
|
|
|
529
578
|
# @return [String]
|
|
530
579
|
attr_accessor :cabin_class
|
|
531
580
|
|
|
532
|
-
# Optional. IATA carrier code
|
|
581
|
+
# Optional. 2-character [IATA carrier code](https://www.iata.org/en/publications/
|
|
582
|
+
# directories/code-search/), e.g. `KE`. This is required if specific flight
|
|
533
583
|
# matching is desired. Otherwise, this is unused for typical flight and distance-
|
|
534
584
|
# based emissions models. This could be both operating and marketing carrier
|
|
535
585
|
# code (i.e. codeshare is covered).
|
|
@@ -549,40 +599,40 @@ module Google
|
|
|
549
599
|
# @return [Google::Apis::TravelimpactmodelV1::Date]
|
|
550
600
|
attr_accessor :departure_date
|
|
551
601
|
|
|
552
|
-
# Optional. IATA airport code
|
|
553
|
-
#
|
|
554
|
-
#
|
|
555
|
-
#
|
|
556
|
-
#
|
|
557
|
-
# provided.
|
|
602
|
+
# Optional. 3-character [IATA airport code](https://www.iata.org/en/publications/
|
|
603
|
+
# directories/code-search/) for flight destination, e.g. `ICN`. This is used to
|
|
604
|
+
# match specific flight if provided alongside origin, carrier, and flight number.
|
|
605
|
+
# If there is no match, we will first try to match the flight to a typical
|
|
606
|
+
# flight between the provided origin and destination airports. Otherwise, we
|
|
607
|
+
# will use the distance-based emissions model if the flight distance is provided.
|
|
558
608
|
# Corresponds to the JSON property `destination`
|
|
559
609
|
# @return [String]
|
|
560
610
|
attr_accessor :destination
|
|
561
611
|
|
|
562
|
-
# Optional. Distance in kilometers, e.g. `2423
|
|
563
|
-
# to distance-based emissions when origin and destination
|
|
564
|
-
# there are no matching typical flights.
|
|
565
|
-
# and 2.5e16 km.
|
|
612
|
+
# Optional. Distance in kilometers, e.g. `2423`, from [1, 2.5e16) km. This is
|
|
613
|
+
# used to match a flight to distance-based emissions when origin and destination
|
|
614
|
+
# are not provided or there are no matching typical flights.
|
|
566
615
|
# Corresponds to the JSON property `distanceKm`
|
|
567
616
|
# @return [Fixnum]
|
|
568
617
|
attr_accessor :distance_km
|
|
569
618
|
|
|
570
|
-
# Optional.
|
|
571
|
-
#
|
|
572
|
-
#
|
|
573
|
-
#
|
|
619
|
+
# Optional. Up to 4-digit [flight number](https://en.wikipedia.org/wiki/
|
|
620
|
+
# Flight_number), e.g. `71`, from [1, 9999]. This is first used to match a
|
|
621
|
+
# specific flight if a flight number is specified alongside origin, destination,
|
|
622
|
+
# and carrier. If a flight number is not specified, we will first try to match
|
|
623
|
+
# the flight to a typical flight between the provided origin and destination
|
|
574
624
|
# airports. If that fails and/or origin & destination are not provided, we will
|
|
575
625
|
# use the distance-based emissions model based on the flight distance provided.
|
|
576
626
|
# Corresponds to the JSON property `flightNumber`
|
|
577
627
|
# @return [Fixnum]
|
|
578
628
|
attr_accessor :flight_number
|
|
579
629
|
|
|
580
|
-
# Optional. IATA airport code
|
|
581
|
-
#
|
|
582
|
-
#
|
|
583
|
-
#
|
|
584
|
-
#
|
|
585
|
-
# provided.
|
|
630
|
+
# Optional. 3-character [IATA airport code](https://www.iata.org/en/publications/
|
|
631
|
+
# directories/code-search/) for flight origin, e.g. `YVR`. This is used to match
|
|
632
|
+
# specific flight if provided alongside destination, carrier, and flight number.
|
|
633
|
+
# If there is no match, we will first try to match the flight to a typical
|
|
634
|
+
# flight between the provided origin and destination airports. Otherwise, we
|
|
635
|
+
# will use the distance-based emissions model if the flight distance is provided.
|
|
586
636
|
# Corresponds to the JSON property `origin`
|
|
587
637
|
# @return [String]
|
|
588
638
|
attr_accessor :origin
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module TravelimpactmodelV1
|
|
18
18
|
# Version of the google-apis-travelimpactmodel_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.12.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260127"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -94,6 +94,18 @@ module Google
|
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
95
95
|
end
|
|
96
96
|
|
|
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
|
+
|
|
97
109
|
class ModelVersion
|
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
111
|
|
|
@@ -239,6 +251,21 @@ module Google
|
|
|
239
251
|
end
|
|
240
252
|
end
|
|
241
253
|
|
|
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
|
+
|
|
242
269
|
class ModelVersion
|
|
243
270
|
# @private
|
|
244
271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-travelimpactmodel_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-travelimpactmodel_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-travelimpactmodel_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-travelimpactmodel_v1/v0.12.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-travelimpactmodel_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|