google-apis-contentwarehouse_v1 0.14.0 → 0.16.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.
@@ -1715,6 +1715,57 @@ module Google
1715
1715
  end
1716
1716
  end
1717
1717
 
1718
+ # Contains info on membership count for member types: HUMAN_USER, APP_USER &
1719
+ # ROSTER_MEMBER different states: INVITED, JOINED
1720
+ class AppsDynamiteSharedSegmentedMembershipCount
1721
+ include Google::Apis::Core::Hashable
1722
+
1723
+ #
1724
+ # Corresponds to the JSON property `memberType`
1725
+ # @return [String]
1726
+ attr_accessor :member_type
1727
+
1728
+ # count of members with given type and state
1729
+ # Corresponds to the JSON property `membershipCount`
1730
+ # @return [Fixnum]
1731
+ attr_accessor :membership_count
1732
+
1733
+ #
1734
+ # Corresponds to the JSON property `membershipState`
1735
+ # @return [String]
1736
+ attr_accessor :membership_state
1737
+
1738
+ def initialize(**args)
1739
+ update!(**args)
1740
+ end
1741
+
1742
+ # Update properties of this object
1743
+ def update!(**args)
1744
+ @member_type = args[:member_type] if args.key?(:member_type)
1745
+ @membership_count = args[:membership_count] if args.key?(:membership_count)
1746
+ @membership_state = args[:membership_state] if args.key?(:membership_state)
1747
+ end
1748
+ end
1749
+
1750
+ #
1751
+ class AppsDynamiteSharedSegmentedMembershipCounts
1752
+ include Google::Apis::Core::Hashable
1753
+
1754
+ #
1755
+ # Corresponds to the JSON property `value`
1756
+ # @return [Array<Google::Apis::ContentwarehouseV1::AppsDynamiteSharedSegmentedMembershipCount>]
1757
+ attr_accessor :value
1758
+
1759
+ def initialize(**args)
1760
+ update!(**args)
1761
+ end
1762
+
1763
+ # Update properties of this object
1764
+ def update!(**args)
1765
+ @value = args[:value] if args.key?(:value)
1766
+ end
1767
+ end
1768
+
1718
1769
  # A DestinationStream is a /namespace/id[0]/id[1]/.../id[n] that represents a
1719
1770
  # collection of Activities. Example destinations: -The Profile Stream on http://
1720
1771
  # plus.google.com/+JohnDoe/posts -A Square Stream on http://plus.google.com/
@@ -4606,8 +4657,9 @@ module Google
4606
4657
  end
4607
4658
 
4608
4659
  # This is deprecated in PEOPLE_API/SHARPEN, and should only be used for PROFILES.
4609
- # Which apps the person has indicated they are reachable at for the requester.
4610
- # See go/d13y and com.google.focus.proto.InAppReachability.
4660
+ # Clients should use InAppNotificationTarget field instead. Which apps the
4661
+ # person has indicated they are reachable at for the requester. See go/d13y and
4662
+ # com.google.focus.proto.InAppReachability.
4611
4663
  class AppsPeopleOzExternalMergedpeopleapiInAppReachability
4612
4664
  include Google::Apis::Core::Hashable
4613
4665
 
@@ -9856,7 +9908,7 @@ module Google
9856
9908
  end
9857
9909
  end
9858
9910
 
9859
- # The android app information of the provider. Like, Spotify. Next ID: 16 LINT.
9911
+ # The android app information of the provider. Like, Spotify. Next ID: 17 LINT.
9860
9912
  # IfChange
9861
9913
  class AssistantApiCoreTypesAndroidAppInfo
9862
9914
  include Google::Apis::Core::Hashable
@@ -9866,6 +9918,11 @@ module Google
9866
9918
  # @return [String]
9867
9919
  attr_accessor :account_type
9868
9920
 
9921
+ # General information about activities in the app.
9922
+ # Corresponds to the JSON property `activityInfo`
9923
+ # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesAndroidAppInfoActivityInfo]
9924
+ attr_accessor :activity_info
9925
+
9869
9926
  # Intent associated with the app. We include intents here as different versions
9870
9927
  # of the same app may support different intents. In those cases, the
9871
9928
  # package_name is not enough to identify the app and we should use the
@@ -9978,6 +10035,7 @@ module Google
9978
10035
  # Update properties of this object
9979
10036
  def update!(**args)
9980
10037
  @account_type = args[:account_type] if args.key?(:account_type)
10038
+ @activity_info = args[:activity_info] if args.key?(:activity_info)
9981
10039
  @android_intent = args[:android_intent] if args.key?(:android_intent)
9982
10040
  @app_unique_id = args[:app_unique_id] if args.key?(:app_unique_id)
9983
10041
  @app_version = args[:app_version] if args.key?(:app_version)
@@ -9995,12 +10053,59 @@ module Google
9995
10053
  end
9996
10054
  end
9997
10055
 
10056
+ # General information about activities in the app.
10057
+ class AssistantApiCoreTypesAndroidAppInfoActivityInfo
10058
+ include Google::Apis::Core::Hashable
10059
+
10060
+ # Activities that are currently active and tagged as ACTION_MAIN and
10061
+ # CATEGORY_LAUNCHER. Includes the activity corresponding to android_intent if it
10062
+ # falls under CATEGORY_LAUNCHER.
10063
+ # Corresponds to the JSON property `activeLaunchableActivities`
10064
+ # @return [Array<Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesAndroidAppInfoActivityInfoActivity>]
10065
+ attr_accessor :active_launchable_activities
10066
+
10067
+ def initialize(**args)
10068
+ update!(**args)
10069
+ end
10070
+
10071
+ # Update properties of this object
10072
+ def update!(**args)
10073
+ @active_launchable_activities = args[:active_launchable_activities] if args.key?(:active_launchable_activities)
10074
+ end
10075
+ end
10076
+
10077
+ # Information about an individual activity.
10078
+ class AssistantApiCoreTypesAndroidAppInfoActivityInfoActivity
10079
+ include Google::Apis::Core::Hashable
10080
+
10081
+ # The localized user visible activity name.
10082
+ # Corresponds to the JSON property `localizedActivityName`
10083
+ # @return [String]
10084
+ attr_accessor :localized_activity_name
10085
+
10086
+ # Short class name for activity, following https://developer.android.com/
10087
+ # reference/android/content/ComponentName#getShortClassName()
10088
+ # Corresponds to the JSON property `shortClassName`
10089
+ # @return [String]
10090
+ attr_accessor :short_class_name
10091
+
10092
+ def initialize(**args)
10093
+ update!(**args)
10094
+ end
10095
+
10096
+ # Update properties of this object
10097
+ def update!(**args)
10098
+ @localized_activity_name = args[:localized_activity_name] if args.key?(:localized_activity_name)
10099
+ @short_class_name = args[:short_class_name] if args.key?(:short_class_name)
10100
+ end
10101
+ end
10102
+
9998
10103
  # The change of AndroidAppInfo, e.g. app installation or deletion for
9999
10104
  # incremental delta app info upload.
10000
10105
  class AssistantApiCoreTypesAndroidAppInfoDelta
10001
10106
  include Google::Apis::Core::Hashable
10002
10107
 
10003
- # The android app information of the provider. Like, Spotify. Next ID: 16 LINT.
10108
+ # The android app information of the provider. Like, Spotify. Next ID: 17 LINT.
10004
10109
  # IfChange
10005
10110
  # Corresponds to the JSON property `androidAppInfo`
10006
10111
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesAndroidAppInfo]
@@ -11797,7 +11902,7 @@ module Google
11797
11902
  class AssistantApiCoreTypesProvider
11798
11903
  include Google::Apis::Core::Hashable
11799
11904
 
11800
- # The android app information of the provider. Like, Spotify. Next ID: 16 LINT.
11905
+ # The android app information of the provider. Like, Spotify. Next ID: 17 LINT.
11801
11906
  # IfChange
11802
11907
  # Corresponds to the JSON property `androidAppInfo`
11803
11908
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesAndroidAppInfo]
@@ -14539,19 +14644,6 @@ module Google
14539
14644
  attr_accessor :face_match_enabled
14540
14645
  alias_method :face_match_enabled?, :face_match_enabled
14541
14646
 
14542
- # When true, allow data collection of audio on this device for Federated
14543
- # Learning.
14544
- # Corresponds to the JSON property `flAudioCacheEnabled`
14545
- # @return [Boolean]
14546
- attr_accessor :fl_audio_cache_enabled
14547
- alias_method :fl_audio_cache_enabled?, :fl_audio_cache_enabled
14548
-
14549
- # When true, allow data collection of frames on this device.
14550
- # Corresponds to the JSON property `flVisualFramesCacheEnabled`
14551
- # @return [Boolean]
14552
- attr_accessor :fl_visual_frames_cache_enabled
14553
- alias_method :fl_visual_frames_cache_enabled?, :fl_visual_frames_cache_enabled
14554
-
14555
14647
  # Stores GCM info associated with a device. See go/quartz-design-doc for more
14556
14648
  # info.
14557
14649
  # Corresponds to the JSON property `gcmSettings`
@@ -14700,13 +14792,6 @@ module Google
14700
14792
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSettingsDeviceLogsOptIn]
14701
14793
  attr_accessor :opt_in_status
14702
14794
 
14703
- # DEPRECATED: Use DeviceCapabilities.OutputRestrictions.personal_data instead.
14704
- # Whether the user has enabled payments for this device.
14705
- # Corresponds to the JSON property `paymentsEnabled`
14706
- # @return [Boolean]
14707
- attr_accessor :payments_enabled
14708
- alias_method :payments_enabled?, :payments_enabled
14709
-
14710
14795
  # Metadata about how personalization settings were configured.
14711
14796
  # Corresponds to the JSON property `personalizationMetadata`
14712
14797
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSettingsPersonalizationMetadata]
@@ -14864,8 +14949,6 @@ module Google
14864
14949
  @face_enrollment_errors = args[:face_enrollment_errors] if args.key?(:face_enrollment_errors)
14865
14950
  @face_enrollment_status = args[:face_enrollment_status] if args.key?(:face_enrollment_status)
14866
14951
  @face_match_enabled = args[:face_match_enabled] if args.key?(:face_match_enabled)
14867
- @fl_audio_cache_enabled = args[:fl_audio_cache_enabled] if args.key?(:fl_audio_cache_enabled)
14868
- @fl_visual_frames_cache_enabled = args[:fl_visual_frames_cache_enabled] if args.key?(:fl_visual_frames_cache_enabled)
14869
14952
  @gcm_settings = args[:gcm_settings] if args.key?(:gcm_settings)
14870
14953
  @home_graph_data = args[:home_graph_data] if args.key?(:home_graph_data)
14871
14954
  @home_graph_id = args[:home_graph_id] if args.key?(:home_graph_id)
@@ -14890,7 +14973,6 @@ module Google
14890
14973
  @oauth_client_id = args[:oauth_client_id] if args.key?(:oauth_client_id)
14891
14974
  @on_device_app_settings = args[:on_device_app_settings] if args.key?(:on_device_app_settings)
14892
14975
  @opt_in_status = args[:opt_in_status] if args.key?(:opt_in_status)
14893
- @payments_enabled = args[:payments_enabled] if args.key?(:payments_enabled)
14894
14976
  @personalization_metadata = args[:personalization_metadata] if args.key?(:personalization_metadata)
14895
14977
  @polite_mode = args[:polite_mode] if args.key?(:polite_mode)
14896
14978
  @postal_code = args[:postal_code] if args.key?(:postal_code)
@@ -16591,7 +16673,7 @@ module Google
16591
16673
  attr_accessor :supported_client_op
16592
16674
 
16593
16675
  # These are the set of features that are supported by the device. It's a part of
16594
- # the SoftwareCapabilities of the device. Next ID: 63
16676
+ # the SoftwareCapabilities of the device. Next ID: 64
16595
16677
  # Corresponds to the JSON property `supportedFeatures`
16596
16678
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSupportedFeatures]
16597
16679
  attr_accessor :supported_features
@@ -16985,7 +17067,7 @@ module Google
16985
17067
  end
16986
17068
 
16987
17069
  # These are the set of features that are supported by the device. It's a part of
16988
- # the SoftwareCapabilities of the device. Next ID: 63
17070
+ # the SoftwareCapabilities of the device. Next ID: 64
16989
17071
  class AssistantApiSupportedFeatures
16990
17072
  include Google::Apis::Core::Hashable
16991
17073
 
@@ -17177,6 +17259,14 @@ module Google
17177
17259
  attr_accessor :is_paired_phone_needed_for_comms
17178
17260
  alias_method :is_paired_phone_needed_for_comms?, :is_paired_phone_needed_for_comms
17179
17261
 
17262
+ # Whether the client supports confirmation flow when a permission is missing. If
17263
+ # set to true, the user will be prompted and on confirmation the original flow
17264
+ # will continue.
17265
+ # Corresponds to the JSON property `justInTimeSupported`
17266
+ # @return [Boolean]
17267
+ attr_accessor :just_in_time_supported
17268
+ alias_method :just_in_time_supported?, :just_in_time_supported
17269
+
17180
17270
  # Which way of launching the keyboard the client supports.
17181
17271
  # Corresponds to the JSON property `launchKeyboardSupported`
17182
17272
  # @return [String]
@@ -17438,6 +17528,7 @@ module Google
17438
17528
  @in_dialog_account_linking_supported = args[:in_dialog_account_linking_supported] if args.key?(:in_dialog_account_linking_supported)
17439
17529
  @is_paired_phone_contact_upload_needed_for_comms = args[:is_paired_phone_contact_upload_needed_for_comms] if args.key?(:is_paired_phone_contact_upload_needed_for_comms)
17440
17530
  @is_paired_phone_needed_for_comms = args[:is_paired_phone_needed_for_comms] if args.key?(:is_paired_phone_needed_for_comms)
17531
+ @just_in_time_supported = args[:just_in_time_supported] if args.key?(:just_in_time_supported)
17441
17532
  @launch_keyboard_supported = args[:launch_keyboard_supported] if args.key?(:launch_keyboard_supported)
17442
17533
  @lens_supported = args[:lens_supported] if args.key?(:lens_supported)
17443
17534
  @live_cards_supported = args[:live_cards_supported] if args.key?(:live_cards_supported)
@@ -17552,6 +17643,13 @@ module Google
17552
17643
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSurfacePropertiesExecutionCapabilities]
17553
17644
  attr_accessor :execution_capabilities
17554
17645
 
17646
+ # Indicates if the surface prefers glanceable UI when rendering Assistant
17647
+ # response. (see go/mobile-dr-hbird-glanceable-comms-cuj for more context).
17648
+ # Corresponds to the JSON property `prefersGlanceableUi`
17649
+ # @return [Boolean]
17650
+ attr_accessor :prefers_glanceable_ui
17651
+ alias_method :prefers_glanceable_ui?, :prefers_glanceable_ui
17652
+
17555
17653
  # If this field is unset, the response format is unknown
17556
17654
  # Corresponds to the JSON property `responseDisplayFormat`
17557
17655
  # @return [String]
@@ -17571,6 +17669,7 @@ module Google
17571
17669
  # Update properties of this object
17572
17670
  def update!(**args)
17573
17671
  @execution_capabilities = args[:execution_capabilities] if args.key?(:execution_capabilities)
17672
+ @prefers_glanceable_ui = args[:prefers_glanceable_ui] if args.key?(:prefers_glanceable_ui)
17574
17673
  @response_display_format = args[:response_display_format] if args.key?(:response_display_format)
17575
17674
  @supports_multi_response = args[:supports_multi_response] if args.key?(:supports_multi_response)
17576
17675
  end
@@ -18128,12 +18227,6 @@ module Google
18128
18227
  # @return [String]
18129
18228
  attr_accessor :mid
18130
18229
 
18131
- # Represents how to naturally identify a provider. A copy of google3/assistant/
18132
- # serviceengine/proto/serving/natural_provider_id.proto.
18133
- # Corresponds to the JSON property `naturalProviderId`
18134
- # @return [Google::Apis::ContentwarehouseV1::AssistantContextProviderIdNaturalProviderId]
18135
- attr_accessor :natural_provider_id
18136
-
18137
18230
  # ID issued by the Provider Corpus to uniquely identify a provider entity e.g.
18138
18231
  # an Android app, a Cast app or a Cloud provider. In practice, a single partner
18139
18232
  # can have multiple providers entities. For more detail, see go/se-storage-
@@ -18163,38 +18256,11 @@ module Google
18163
18256
  @ecosystem_type = args[:ecosystem_type] if args.key?(:ecosystem_type)
18164
18257
  @media_provider_id = args[:media_provider_id] if args.key?(:media_provider_id)
18165
18258
  @mid = args[:mid] if args.key?(:mid)
18166
- @natural_provider_id = args[:natural_provider_id] if args.key?(:natural_provider_id)
18167
18259
  @provider_corpus_id = args[:provider_corpus_id] if args.key?(:provider_corpus_id)
18168
18260
  @provider_variant = args[:provider_variant] if args.key?(:provider_variant)
18169
18261
  end
18170
18262
  end
18171
18263
 
18172
- # Represents how to naturally identify a provider. A copy of google3/assistant/
18173
- # serviceengine/proto/serving/natural_provider_id.proto.
18174
- class AssistantContextProviderIdNaturalProviderId
18175
- include Google::Apis::Core::Hashable
18176
-
18177
- # ProviderType is an enum to represent the category of where this id is from.
18178
- # Corresponds to the JSON property `providerType`
18179
- # @return [String]
18180
- attr_accessor :provider_type
18181
-
18182
- # String of provider_id_value is the actual value of the id.
18183
- # Corresponds to the JSON property `value`
18184
- # @return [String]
18185
- attr_accessor :value
18186
-
18187
- def initialize(**args)
18188
- update!(**args)
18189
- end
18190
-
18191
- # Update properties of this object
18192
- def update!(**args)
18193
- @provider_type = args[:provider_type] if args.key?(:provider_type)
18194
- @value = args[:value] if args.key?(:value)
18195
- end
18196
- end
18197
-
18198
18264
  # Note: As of May 2021, multiple providers use the same mids (e.g. YouTube Main,
18199
18265
  # YouTube Go, and YouTube Music all have the same mids). However, quite often we
18200
18266
  # end up using surface specific identifiers (e.g. Android package names, iOS
@@ -19568,7 +19634,9 @@ module Google
19568
19634
  end
19569
19635
  end
19570
19636
 
19571
- # Features to be extracted from Device GP for ranking in HGR. Next ID: 2
19637
+ # Features to be extracted from Device GP for ranking in HGR. Each candidate
19638
+ # from Device GP will be associated with its own DeviceGroundingProviderFeatures.
19639
+ # Next ID: 5
19572
19640
  class AssistantGroundingRankerDeviceGroundingProviderFeatures
19573
19641
  include Google::Apis::Core::Hashable
19574
19642
 
@@ -19588,6 +19656,18 @@ module Google
19588
19656
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesGovernedDeviceId]
19589
19657
  attr_accessor :device_id
19590
19658
 
19659
+ # Features generated by Device Targeting library (Lumos). See go/hgr-lumos-
19660
+ # integration and go/lumos-feature-extraction for more details.
19661
+ # Corresponds to the JSON property `deviceTargetingFeatures`
19662
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingFeatures]
19663
+ attr_accessor :device_targeting_features
19664
+
19665
+ # Labels tagged by Device Targeting library (Lumos). See go/hgr-lumos-
19666
+ # integration and go/lumos-feature-extraction for more details.
19667
+ # Corresponds to the JSON property `deviceTargetingLabels`
19668
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingLabels]
19669
+ attr_accessor :device_targeting_labels
19670
+
19591
19671
  def initialize(**args)
19592
19672
  update!(**args)
19593
19673
  end
@@ -19595,6 +19675,127 @@ module Google
19595
19675
  # Update properties of this object
19596
19676
  def update!(**args)
19597
19677
  @device_id = args[:device_id] if args.key?(:device_id)
19678
+ @device_targeting_features = args[:device_targeting_features] if args.key?(:device_targeting_features)
19679
+ @device_targeting_labels = args[:device_targeting_labels] if args.key?(:device_targeting_labels)
19680
+ end
19681
+ end
19682
+
19683
+ # Features generated by Device Targeting library (Lumos). See go/hgr-lumos-
19684
+ # integration and go/lumos-feature-extraction for more details.
19685
+ class AssistantGroundingRankerDeviceTargetingFeatures
19686
+ include Google::Apis::Core::Hashable
19687
+
19688
+ # The properties of the device. They are static and won't change.
19689
+ # Corresponds to the JSON property `properties`
19690
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingFeaturesProperties]
19691
+ attr_accessor :properties
19692
+
19693
+ # The states of the device. They are dynamic and may change based on the current
19694
+ # context.
19695
+ # Corresponds to the JSON property `states`
19696
+ # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingFeaturesStates]
19697
+ attr_accessor :states
19698
+
19699
+ def initialize(**args)
19700
+ update!(**args)
19701
+ end
19702
+
19703
+ # Update properties of this object
19704
+ def update!(**args)
19705
+ @properties = args[:properties] if args.key?(:properties)
19706
+ @states = args[:states] if args.key?(:states)
19707
+ end
19708
+ end
19709
+
19710
+ # The properties of the device. They are static and won't change.
19711
+ class AssistantGroundingRankerDeviceTargetingFeaturesProperties
19712
+ include Google::Apis::Core::Hashable
19713
+
19714
+ # The model ID of the device. This should be globally unique across
19715
+ # manufacturers/OEMs.
19716
+ # Corresponds to the JSON property `deviceModelId`
19717
+ # @return [String]
19718
+ attr_accessor :device_model_id
19719
+
19720
+ # Indicate whether the device is owned by the user who is speaking.
19721
+ # Corresponds to the JSON property `isOwnedBySpeaker`
19722
+ # @return [Boolean]
19723
+ attr_accessor :is_owned_by_speaker
19724
+ alias_method :is_owned_by_speaker?, :is_owned_by_speaker
19725
+
19726
+ def initialize(**args)
19727
+ update!(**args)
19728
+ end
19729
+
19730
+ # Update properties of this object
19731
+ def update!(**args)
19732
+ @device_model_id = args[:device_model_id] if args.key?(:device_model_id)
19733
+ @is_owned_by_speaker = args[:is_owned_by_speaker] if args.key?(:is_owned_by_speaker)
19734
+ end
19735
+ end
19736
+
19737
+ # The states of the device. They are dynamic and may change based on the current
19738
+ # context.
19739
+ class AssistantGroundingRankerDeviceTargetingFeaturesStates
19740
+ include Google::Apis::Core::Hashable
19741
+
19742
+ # The distance of the device relative to others that hear the user's OKG.
19743
+ # Timestamp of when the device was last used. Should correspond to when the
19744
+ # AssistantRequestParams (in ASSISTANT_SNAPSHOT corpus) were last written for
19745
+ # this device.
19746
+ # Corresponds to the JSON property `distance`
19747
+ # @return [String]
19748
+ attr_accessor :distance
19749
+
19750
+ # Indicate whether the device is docked on a base.
19751
+ # Corresponds to the JSON property `isDocked`
19752
+ # @return [Boolean]
19753
+ attr_accessor :is_docked
19754
+ alias_method :is_docked?, :is_docked
19755
+
19756
+ # Indicate whether the device is locked.
19757
+ # Corresponds to the JSON property `isLocked`
19758
+ # @return [Boolean]
19759
+ attr_accessor :is_locked
19760
+ alias_method :is_locked?, :is_locked
19761
+
19762
+ # Indicate whether the device is tethered to another device.
19763
+ # Corresponds to the JSON property `isTethered`
19764
+ # @return [Boolean]
19765
+ attr_accessor :is_tethered
19766
+ alias_method :is_tethered?, :is_tethered
19767
+
19768
+ def initialize(**args)
19769
+ update!(**args)
19770
+ end
19771
+
19772
+ # Update properties of this object
19773
+ def update!(**args)
19774
+ @distance = args[:distance] if args.key?(:distance)
19775
+ @is_docked = args[:is_docked] if args.key?(:is_docked)
19776
+ @is_locked = args[:is_locked] if args.key?(:is_locked)
19777
+ @is_tethered = args[:is_tethered] if args.key?(:is_tethered)
19778
+ end
19779
+ end
19780
+
19781
+ # Labels tagged by Device Targeting library (Lumos). See go/hgr-lumos-
19782
+ # integration and go/lumos-feature-extraction for more details.
19783
+ class AssistantGroundingRankerDeviceTargetingLabels
19784
+ include Google::Apis::Core::Hashable
19785
+
19786
+ # Indicate whether the device is selected by Lumos as the target device.
19787
+ # Corresponds to the JSON property `isSelectedByLumos`
19788
+ # @return [Boolean]
19789
+ attr_accessor :is_selected_by_lumos
19790
+ alias_method :is_selected_by_lumos?, :is_selected_by_lumos
19791
+
19792
+ def initialize(**args)
19793
+ update!(**args)
19794
+ end
19795
+
19796
+ # Update properties of this object
19797
+ def update!(**args)
19798
+ @is_selected_by_lumos = args[:is_selected_by_lumos] if args.key?(:is_selected_by_lumos)
19598
19799
  end
19599
19800
  end
19600
19801
 
@@ -19607,7 +19808,9 @@ module Google
19607
19808
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
19608
19809
  attr_accessor :contact_grounding_provider_features
19609
19810
 
19610
- # Features to be extracted from Device GP for ranking in HGR. Next ID: 2
19811
+ # Features to be extracted from Device GP for ranking in HGR. Each candidate
19812
+ # from Device GP will be associated with its own DeviceGroundingProviderFeatures.
19813
+ # Next ID: 5
19611
19814
  # Corresponds to the JSON property `deviceGroundingProviderFeatures`
19612
19815
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceGroundingProviderFeatures]
19613
19816
  attr_accessor :device_grounding_provider_features
@@ -19617,12 +19820,12 @@ module Google
19617
19820
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
19618
19821
  attr_accessor :media_grounding_provider_features
19619
19822
 
19620
- # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 2
19823
+ # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 4
19621
19824
  # Corresponds to the JSON property `podcastGroundingProviderFeatures`
19622
19825
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerPodcastGroundingProviderFeatures]
19623
19826
  attr_accessor :podcast_grounding_provider_features
19624
19827
 
19625
- # Features to be extracted from Provider GP for ranking in HGR. Next ID: 5
19828
+ # Features to be extracted from Provider GP for ranking in HGR. Next ID: 6
19626
19829
  # Corresponds to the JSON property `providerGroundingProviderFeatures`
19627
19830
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerProviderGroundingProviderFeatures]
19628
19831
  attr_accessor :provider_grounding_provider_features
@@ -19641,6 +19844,31 @@ module Google
19641
19844
  end
19642
19845
  end
19643
19846
 
19847
+ #
19848
+ class AssistantGroundingRankerLaaFeature
19849
+ include Google::Apis::Core::Hashable
19850
+
19851
+ #
19852
+ # Corresponds to the JSON property `name`
19853
+ # @return [String]
19854
+ attr_accessor :name
19855
+
19856
+ #
19857
+ # Corresponds to the JSON property `value`
19858
+ # @return [Float]
19859
+ attr_accessor :value
19860
+
19861
+ def initialize(**args)
19862
+ update!(**args)
19863
+ end
19864
+
19865
+ # Update properties of this object
19866
+ def update!(**args)
19867
+ @name = args[:name] if args.key?(:name)
19868
+ @value = args[:value] if args.key?(:value)
19869
+ end
19870
+ end
19871
+
19644
19872
  #
19645
19873
  class AssistantGroundingRankerLaaFeatures
19646
19874
  include Google::Apis::Core::Hashable
@@ -19660,6 +19888,11 @@ module Google
19660
19888
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeaturesContact]
19661
19889
  attr_accessor :contact
19662
19890
 
19891
+ #
19892
+ # Corresponds to the JSON property `features`
19893
+ # @return [Array<Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeature>]
19894
+ attr_accessor :features
19895
+
19663
19896
  #
19664
19897
  # Corresponds to the JSON property `provider`
19665
19898
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerLaaFeaturesProvider]
@@ -19674,6 +19907,7 @@ module Google
19674
19907
  @binding_set = args[:binding_set] if args.key?(:binding_set)
19675
19908
  @communication_endpoint = args[:communication_endpoint] if args.key?(:communication_endpoint)
19676
19909
  @contact = args[:contact] if args.key?(:contact)
19910
+ @features = args[:features] if args.key?(:features)
19677
19911
  @provider = args[:provider] if args.key?(:provider)
19678
19912
  end
19679
19913
  end
@@ -19875,7 +20109,7 @@ module Google
19875
20109
  end
19876
20110
  end
19877
20111
 
19878
- # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 2
20112
+ # Features to be extracted from Podcast GP for ranking in HGR. Next ID: 4
19879
20113
  class AssistantGroundingRankerPodcastGroundingProviderFeatures
19880
20114
  include Google::Apis::Core::Hashable
19881
20115
 
@@ -19885,6 +20119,16 @@ module Google
19885
20119
  attr_accessor :is_exclusive
19886
20120
  alias_method :is_exclusive?, :is_exclusive
19887
20121
 
20122
+ # The relevance score from Scubed.
20123
+ # Corresponds to the JSON property `scubedNg3ModelScore`
20124
+ # @return [Float]
20125
+ attr_accessor :scubed_ng3_model_score
20126
+
20127
+ # Tstar score is a signal that indicates the quality of the entity.
20128
+ # Corresponds to the JSON property `scubedTstarScore`
20129
+ # @return [Float]
20130
+ attr_accessor :scubed_tstar_score
20131
+
19888
20132
  def initialize(**args)
19889
20133
  update!(**args)
19890
20134
  end
@@ -19892,10 +20136,12 @@ module Google
19892
20136
  # Update properties of this object
19893
20137
  def update!(**args)
19894
20138
  @is_exclusive = args[:is_exclusive] if args.key?(:is_exclusive)
20139
+ @scubed_ng3_model_score = args[:scubed_ng3_model_score] if args.key?(:scubed_ng3_model_score)
20140
+ @scubed_tstar_score = args[:scubed_tstar_score] if args.key?(:scubed_tstar_score)
19895
20141
  end
19896
20142
  end
19897
20143
 
19898
- # Features to be extracted from Provider GP for ranking in HGR. Next ID: 5
20144
+ # Features to be extracted from Provider GP for ranking in HGR. Next ID: 6
19899
20145
  class AssistantGroundingRankerProviderGroundingProviderFeatures
19900
20146
  include Google::Apis::Core::Hashable
19901
20147
 
@@ -19906,11 +20152,16 @@ module Google
19906
20152
  attr_accessor :is_in_app_provider
19907
20153
  alias_method :is_in_app_provider?, :is_in_app_provider
19908
20154
 
20155
+ # This field is deprecated in favor of the integer field below.
20156
+ # Corresponds to the JSON property `providerClusterIdDeprecated`
20157
+ # @return [Array<String>]
20158
+ attr_accessor :provider_cluster_id_deprecated
20159
+
19909
20160
  # Cluster IDs for the provider. This field is repeated because some providers
19910
20161
  # can be associated with multiple clusters. PRR specific feature.
19911
- # Corresponds to the JSON property `providerClusterId`
19912
- # @return [Array<String>]
19913
- attr_accessor :provider_cluster_id
20162
+ # Corresponds to the JSON property `providerClusterIds`
20163
+ # @return [Array<Fixnum>]
20164
+ attr_accessor :provider_cluster_ids
19914
20165
 
19915
20166
  # Identifier used to represent a single application (a.k.a. provider). This
19916
20167
  # model represents the surface-agnostic counterpart for assistant.api.core_types.
@@ -19946,7 +20197,8 @@ module Google
19946
20197
  # Update properties of this object
19947
20198
  def update!(**args)
19948
20199
  @is_in_app_provider = args[:is_in_app_provider] if args.key?(:is_in_app_provider)
19949
- @provider_cluster_id = args[:provider_cluster_id] if args.key?(:provider_cluster_id)
20200
+ @provider_cluster_id_deprecated = args[:provider_cluster_id_deprecated] if args.key?(:provider_cluster_id_deprecated)
20201
+ @provider_cluster_ids = args[:provider_cluster_ids] if args.key?(:provider_cluster_ids)
19950
20202
  @provider_id = args[:provider_id] if args.key?(:provider_id)
19951
20203
  @psl_score = args[:psl_score] if args.key?(:psl_score)
19952
20204
  end
@@ -21568,7 +21820,7 @@ module Google
21568
21820
 
21569
21821
  # Signals to be used by the Prefulfillment Ranker. Derived from the
21570
21822
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
21571
- # Next ID: 48
21823
+ # Next ID: 52
21572
21824
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
21573
21825
  include Google::Apis::Core::Hashable
21574
21826
 
@@ -21614,6 +21866,13 @@ module Google
21614
21866
  attr_accessor :fulfillable_dominant_media
21615
21867
  alias_method :fulfillable_dominant_media?, :fulfillable_dominant_media
21616
21868
 
21869
+ # Whether or not the intent was generated by a legacy Aqua domain that PFR
21870
+ # should care about.
21871
+ # Corresponds to the JSON property `generatedByLegacyAquaDomain`
21872
+ # @return [Boolean]
21873
+ attr_accessor :generated_by_legacy_aqua_domain
21874
+ alias_method :generated_by_legacy_aqua_domain?, :generated_by_legacy_aqua_domain
21875
+
21617
21876
  # Grounding Signals. Score indicating how grounded the intent is, populated by
21618
21877
  # the Grounding Box.
21619
21878
  # Corresponds to the JSON property `groundabilityScore`
@@ -21655,6 +21914,11 @@ module Google
21655
21914
  # @return [Float]
21656
21915
  attr_accessor :intent_name_auis_score_exp
21657
21916
 
21917
+ # Intent level Pauis User Interaction Score.
21918
+ # Corresponds to the JSON property `intentNamePauis`
21919
+ # @return [Float]
21920
+ attr_accessor :intent_name_pauis
21921
+
21658
21922
  # Feasibility of fulfilling the binding set. Eg: For PlayMedia, this is
21659
21923
  # equivalent to playability. More details: go/hgr-feasibility-feature.
21660
21924
  # Corresponds to the JSON property `isFeasible`
@@ -21686,6 +21950,12 @@ module Google
21686
21950
  attr_accessor :is_podcast_intent
21687
21951
  alias_method :is_podcast_intent?, :is_podcast_intent
21688
21952
 
21953
+ # Whether the intent is a media object video intent.
21954
+ # Corresponds to the JSON property `isVideoIntent`
21955
+ # @return [Boolean]
21956
+ attr_accessor :is_video_intent
21957
+ alias_method :is_video_intent?, :is_video_intent
21958
+
21689
21959
  # The rank order of the interpretation as determined by kscorer. The kscorer-
21690
21960
  # determined dominant interpretation, if any, gets a rank of 0. The remaining N
21691
21961
  # interpretations get a rank of 1 through N.
@@ -21764,6 +22034,11 @@ module Google
21764
22034
  # @return [Fixnum]
21765
22035
  attr_accessor :parsing_score_mse8_bucket_id
21766
22036
 
22037
+ # Query understanding phase the intent was produced in.
22038
+ # Corresponds to the JSON property `phase`
22039
+ # @return [String]
22040
+ attr_accessor :phase
22041
+
21767
22042
  # Cosine similarity between predicted query-to-term model and assistant intent-
21768
22043
  # type-based salient terms. This is intended to be only used for ACE ranking and
21769
22044
  # only populated for assistant traffic.
@@ -21830,6 +22105,7 @@ module Google
21830
22105
  @dominant = args[:dominant] if args.key?(:dominant)
21831
22106
  @effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
21832
22107
  @fulfillable_dominant_media = args[:fulfillable_dominant_media] if args.key?(:fulfillable_dominant_media)
22108
+ @generated_by_legacy_aqua_domain = args[:generated_by_legacy_aqua_domain] if args.key?(:generated_by_legacy_aqua_domain)
21833
22109
  @groundability_score = args[:groundability_score] if args.key?(:groundability_score)
21834
22110
  @grounding_provider_features = args[:grounding_provider_features] if args.key?(:grounding_provider_features)
21835
22111
  @has_answer_group = args[:has_answer_group] if args.key?(:has_answer_group)
@@ -21837,11 +22113,13 @@ module Google
21837
22113
  @intent_name = args[:intent_name] if args.key?(:intent_name)
21838
22114
  @intent_name_auis_score = args[:intent_name_auis_score] if args.key?(:intent_name_auis_score)
21839
22115
  @intent_name_auis_score_exp = args[:intent_name_auis_score_exp] if args.key?(:intent_name_auis_score_exp)
22116
+ @intent_name_pauis = args[:intent_name_pauis] if args.key?(:intent_name_pauis)
21840
22117
  @is_feasible = args[:is_feasible] if args.key?(:is_feasible)
21841
22118
  @is_fully_grounded = args[:is_fully_grounded] if args.key?(:is_fully_grounded)
21842
22119
  @is_media_control_intent = args[:is_media_control_intent] if args.key?(:is_media_control_intent)
21843
22120
  @is_play_generic_music = args[:is_play_generic_music] if args.key?(:is_play_generic_music)
21844
22121
  @is_podcast_intent = args[:is_podcast_intent] if args.key?(:is_podcast_intent)
22122
+ @is_video_intent = args[:is_video_intent] if args.key?(:is_video_intent)
21845
22123
  @kscorer_rank = args[:kscorer_rank] if args.key?(:kscorer_rank)
21846
22124
  @laa_features = args[:laa_features] if args.key?(:laa_features)
21847
22125
  @mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
@@ -21855,6 +22133,7 @@ module Google
21855
22133
  @num_variables = args[:num_variables] if args.key?(:num_variables)
21856
22134
  @num_variables_grounded = args[:num_variables_grounded] if args.key?(:num_variables_grounded)
21857
22135
  @parsing_score_mse8_bucket_id = args[:parsing_score_mse8_bucket_id] if args.key?(:parsing_score_mse8_bucket_id)
22136
+ @phase = args[:phase] if args.key?(:phase)
21858
22137
  @pq2t_vs_assistant_ibst_cosine = args[:pq2t_vs_assistant_ibst_cosine] if args.key?(:pq2t_vs_assistant_ibst_cosine)
21859
22138
  @pq2t_vs_ibst_cosine = args[:pq2t_vs_ibst_cosine] if args.key?(:pq2t_vs_ibst_cosine)
21860
22139
  @predicted_intent_confidence = args[:predicted_intent_confidence] if args.key?(:predicted_intent_confidence)
@@ -24073,7 +24352,7 @@ module Google
24073
24352
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornClassifierData]
24074
24353
  attr_accessor :classifierdata
24075
24354
 
24076
- # Next ID: 52
24355
+ # Next ID: 53
24077
24356
  # Corresponds to the JSON property `sitedata`
24078
24357
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornSiteData]
24079
24358
  attr_accessor :sitedata
@@ -24271,7 +24550,7 @@ module Google
24271
24550
  end
24272
24551
  end
24273
24552
 
24274
- # Next ID: 52
24553
+ # Next ID: 53
24275
24554
  class ClassifierPornSiteData
24276
24555
  include Google::Apis::Core::Hashable
24277
24556
 
@@ -24316,6 +24595,11 @@ module Google
24316
24595
  # @return [Array<Google::Apis::ContentwarehouseV1::ClassifierPornSiteDataVersionedScore>]
24317
24596
  attr_accessor :versionedscore
24318
24597
 
24598
+ # The cubic mean aggregation of violence page scores in the site.
24599
+ # Corresponds to the JSON property `violenceScore`
24600
+ # @return [Float]
24601
+ attr_accessor :violence_score
24602
+
24319
24603
  # Next ID: 6
24320
24604
  # Corresponds to the JSON property `violenceStats`
24321
24605
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornSiteViolenceStats]
@@ -24335,6 +24619,7 @@ module Google
24335
24619
  @site_porn_ratio = args[:site_porn_ratio] if args.key?(:site_porn_ratio)
24336
24620
  @site_softporn_ratio = args[:site_softporn_ratio] if args.key?(:site_softporn_ratio)
24337
24621
  @versionedscore = args[:versionedscore] if args.key?(:versionedscore)
24622
+ @violence_score = args[:violence_score] if args.key?(:violence_score)
24338
24623
  @violence_stats = args[:violence_stats] if args.key?(:violence_stats)
24339
24624
  end
24340
24625
  end
@@ -25205,7 +25490,7 @@ module Google
25205
25490
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
25206
25491
  # available tag deprecated, use this (and look for commented out fields): blaze-
25207
25492
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
25208
- # perdocdata.proto Next tag: 221
25493
+ # perdocdata.proto Next tag: 222
25209
25494
  # Corresponds to the JSON property `perDocData`
25210
25495
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
25211
25496
  attr_accessor :per_doc_data
@@ -25569,7 +25854,7 @@ module Google
25569
25854
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
25570
25855
  # available tag deprecated, use this (and look for commented out fields): blaze-
25571
25856
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
25572
- # perdocdata.proto Next tag: 221
25857
+ # perdocdata.proto Next tag: 222
25573
25858
  # Corresponds to the JSON property `perDocData`
25574
25859
  # @return [Google::Apis::ContentwarehouseV1::PerDocData]
25575
25860
  attr_accessor :per_doc_data
@@ -38854,11 +39139,12 @@ module Google
38854
39139
 
38855
39140
  # Detailed information about each lane in this direction, if available. Lanes
38856
39141
  # are numbered from inside of the road outward, i.e. the lane next to the center
38857
- # line is lane 0. Note that lanes that are valid for travel in both directions
38858
- # appear in both segments of a segment pair (left turn lanes, one-lane roads,
38859
- # some passing lanes, reversing lanes). Some lanes may not be usable by cars,
38860
- # such as bike lanes. Also, some lanes may not exist along the entire segment, e.
38861
- # g. left- or right-turn lanes that appear just before the intersection.
39142
+ # line has lane_number 0. Note that lanes that are valid for travel in both
39143
+ # directions appear in both segments of a segment pair (left turn lanes, one-
39144
+ # lane roads, some passing lanes, reversing lanes). Some lanes may not be usable
39145
+ # by cars, such as bike lanes. Also, some lanes may not exist along the entire
39146
+ # segment, e.g. left- or right-turn lanes that appear just before the
39147
+ # intersection.
38862
39148
  # Corresponds to the JSON property `lane`
38863
39149
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreLaneProto>]
38864
39150
  attr_accessor :lane
@@ -43331,7 +43617,7 @@ module Google
43331
43617
 
43332
43618
  # Information about the state of the device. This contains any state that
43333
43619
  # Assistant may need to know about in order to fulfill requests, for example
43334
- # which timers and alarms are set. Next ID: 9
43620
+ # which timers and alarms are set. Next ID: 10
43335
43621
  class GoogleAssistantAccessoryV1DeviceState
43336
43622
  include Google::Apis::Core::Hashable
43337
43623
 
@@ -43424,7 +43710,7 @@ module Google
43424
43710
 
43425
43711
  # Information about the state of the device. This contains any state that
43426
43712
  # Assistant may need to know about in order to fulfill requests, for example
43427
- # which timers and alarms are set. Next ID: 9
43713
+ # which timers and alarms are set. Next ID: 10
43428
43714
  # Corresponds to the JSON property `deviceState`
43429
43715
  # @return [Google::Apis::ContentwarehouseV1::GoogleAssistantAccessoryV1DeviceState]
43430
43716
  attr_accessor :device_state
@@ -44433,6 +44719,12 @@ module Google
44433
44719
  # @return [String]
44434
44720
  attr_accessor :display_uri
44435
44721
 
44722
+ # Output only. If linked to a Collection with RetentionPolicy, the date when the
44723
+ # document becomes mutable.
44724
+ # Corresponds to the JSON property `dispositionTime`
44725
+ # @return [String]
44726
+ attr_accessor :disposition_time
44727
+
44436
44728
  # The Document schema name. Format: projects/`project_number`/locations/`
44437
44729
  # location`/documentSchemas/`document_schema_id`.
44438
44730
  # Corresponds to the JSON property `documentSchemaName`
@@ -44520,6 +44812,7 @@ module Google
44520
44812
  @creator = args[:creator] if args.key?(:creator)
44521
44813
  @display_name = args[:display_name] if args.key?(:display_name)
44522
44814
  @display_uri = args[:display_uri] if args.key?(:display_uri)
44815
+ @disposition_time = args[:disposition_time] if args.key?(:disposition_time)
44523
44816
  @document_schema_name = args[:document_schema_name] if args.key?(:document_schema_name)
44524
44817
  @inline_raw_document = args[:inline_raw_document] if args.key?(:inline_raw_document)
44525
44818
  @name = args[:name] if args.key?(:name)
@@ -46295,6 +46588,11 @@ module Google
46295
46588
  # @return [Array<String>]
46296
46589
  attr_accessor :documents
46297
46590
 
46591
+ # The output Cloud Storage folder in this pipeline.
46592
+ # Corresponds to the JSON property `outputPath`
46593
+ # @return [String]
46594
+ attr_accessor :output_path
46595
+
46298
46596
  def initialize(**args)
46299
46597
  update!(**args)
46300
46598
  end
@@ -46303,6 +46601,7 @@ module Google
46303
46601
  def update!(**args)
46304
46602
  @doc_ai_dataset = args[:doc_ai_dataset] if args.key?(:doc_ai_dataset)
46305
46603
  @documents = args[:documents] if args.key?(:documents)
46604
+ @output_path = args[:output_path] if args.key?(:output_path)
46306
46605
  end
46307
46606
  end
46308
46607
 
@@ -47337,9 +47636,9 @@ module Google
47337
47636
  attr_accessor :text_styles
47338
47637
 
47339
47638
  # Optional. Currently supports Google Cloud Storage URI of the form `gs://
47340
- # bucket_name/object_name`. Object versioning is not supported. See [Google
47341
- # Cloud Storage Request URIs](https://cloud.google.com/storage/docs/reference-
47342
- # uris) for more info.
47639
+ # bucket_name/object_name`. Object versioning is not supported. For more
47640
+ # information, refer to [Google Cloud Storage Request URIs](https://cloud.google.
47641
+ # com/storage/docs/reference-uris).
47343
47642
  # Corresponds to the JSON property `uri`
47344
47643
  # @return [String]
47345
47644
  attr_accessor :uri
@@ -48433,13 +48732,13 @@ module Google
48433
48732
  # @return [Google::Apis::ContentwarehouseV1::GoogleTypeColor]
48434
48733
  attr_accessor :background_color
48435
48734
 
48436
- # Whether the text is bold (equivalent to font weight >= 700).
48735
+ # Whether the text is bold (equivalent to font_weight is at least `700`).
48437
48736
  # Corresponds to the JSON property `bold`
48438
48737
  # @return [Boolean]
48439
48738
  attr_accessor :bold
48440
48739
  alias_method :bold?, :bold
48441
48740
 
48442
- # Font size in points (1 point is 1/72").
48741
+ # Font size in points (`1` point is `¹⁄₇₂` inches).
48443
48742
  # Corresponds to the JSON property `fontSize`
48444
48743
  # @return [Fixnum]
48445
48744
  attr_accessor :font_size
@@ -48449,8 +48748,8 @@ module Google
48449
48748
  # @return [String]
48450
48749
  attr_accessor :font_type
48451
48750
 
48452
- # TrueType weight on a scale 100 (Thin) to 1000 (Ultra-heavy). Normal is 400,
48453
- # Bold is 700.
48751
+ # TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `
48752
+ # 400`, bold is `700`.
48454
48753
  # Corresponds to the JSON property `fontWeight`
48455
48754
  # @return [Fixnum]
48456
48755
  attr_accessor :font_weight
@@ -48472,12 +48771,12 @@ module Google
48472
48771
  # @return [Float]
48473
48772
  attr_accessor :letter_spacing
48474
48773
 
48475
- # Font size in pixels, equal to unrounded_fontsize * resolution / 72.0.
48774
+ # Font size in pixels, equal to _unrounded font_size_ * _resolution_ ÷ `72.0`.
48476
48775
  # Corresponds to the JSON property `pixelFontSize`
48477
48776
  # @return [Float]
48478
48777
  attr_accessor :pixel_font_size
48479
48778
 
48480
- # Whether the text are small caps.
48779
+ # Whether the text is in small caps.
48481
48780
  # Corresponds to the JSON property `smallcaps`
48482
48781
  # @return [Boolean]
48483
48782
  attr_accessor :smallcaps
@@ -53608,7 +53907,7 @@ module Google
53608
53907
  # @return [Fixnum]
53609
53908
  attr_accessor :expiration_timestamp
53610
53909
 
53611
- # Next tag value: 381.
53910
+ # Next tag value: 382.
53612
53911
  # Corresponds to the JSON property `extendedExif`
53613
53912
  # @return [Google::Apis::ContentwarehouseV1::PhotosImageMetadata]
53614
53913
  attr_accessor :extended_exif
@@ -54263,7 +54562,7 @@ module Google
54263
54562
 
54264
54563
  # This proto holds IPTC metadata. http://www.iptc.org/cms/site/index.html?
54265
54564
  # channel=CH0099 Proto field name is same with IPTC property name except which
54266
- # is clearly stated. Next Id: 63
54565
+ # is clearly stated. Next Id: 64
54267
54566
  class ImageExifIptcMetadata
54268
54567
  include Google::Apis::Core::Hashable
54269
54568
 
@@ -54317,6 +54616,11 @@ module Google
54317
54616
  # @return [String]
54318
54617
  attr_accessor :description
54319
54618
 
54619
+ # See go/gi-annotations-indexing for more information.
54620
+ # Corresponds to the JSON property `digitalSourceType`
54621
+ # @return [String]
54622
+ attr_accessor :digital_source_type
54623
+
54320
54624
  #
54321
54625
  # Corresponds to the JSON property `event`
54322
54626
  # @return [String]
@@ -54408,6 +54712,7 @@ module Google
54408
54712
  @date_expired = args[:date_expired] if args.key?(:date_expired)
54409
54713
  @date_released = args[:date_released] if args.key?(:date_released)
54410
54714
  @description = args[:description] if args.key?(:description)
54715
+ @digital_source_type = args[:digital_source_type] if args.key?(:digital_source_type)
54411
54716
  @event = args[:event] if args.key?(:event)
54412
54717
  @headline = args[:headline] if args.key?(:headline)
54413
54718
  @image_supplier = args[:image_supplier] if args.key?(:image_supplier)
@@ -54819,7 +55124,7 @@ module Google
54819
55124
 
54820
55125
  # This proto holds IPTC metadata. http://www.iptc.org/cms/site/index.html?
54821
55126
  # channel=CH0099 Proto field name is same with IPTC property name except which
54822
- # is clearly stated. Next Id: 63
55127
+ # is clearly stated. Next Id: 64
54823
55128
  # Corresponds to the JSON property `iptc`
54824
55129
  # @return [Google::Apis::ContentwarehouseV1::ImageExifIptcMetadata]
54825
55130
  attr_accessor :iptc
@@ -55230,6 +55535,34 @@ module Google
55230
55535
  end
55231
55536
  end
55232
55537
 
55538
+ # Goldmine annotation in the CDoc to store the hrid of the 5 entities with
55539
+ # higher topicality in the document. Used by the Skin Tone Twiddler to determine
55540
+ # if the result set shows mostly one specific KG entity. go/result-set-signal
55541
+ class ImageQualitySensitiveMediaOrPeopleEntities
55542
+ include Google::Apis::Core::Hashable
55543
+
55544
+ # Similar to above, but for media entities (movie name, fictional character,
55545
+ # musical band)
55546
+ # Corresponds to the JSON property `mediaEntitiesId`
55547
+ # @return [Array<Fixnum>]
55548
+ attr_accessor :media_entities_id
55549
+
55550
+ # hrid of the 5 people entities with higher topicality in the document
55551
+ # Corresponds to the JSON property `peopleEntitiesId`
55552
+ # @return [Array<Fixnum>]
55553
+ attr_accessor :people_entities_id
55554
+
55555
+ def initialize(**args)
55556
+ update!(**args)
55557
+ end
55558
+
55559
+ # Update properties of this object
55560
+ def update!(**args)
55561
+ @media_entities_id = args[:media_entities_id] if args.key?(:media_entities_id)
55562
+ @people_entities_id = args[:people_entities_id] if args.key?(:people_entities_id)
55563
+ end
55564
+ end
55565
+
55233
55566
  # A single region within an image. NEXT_ID: 11
55234
55567
  class ImageRegionsImageRegion
55235
55568
  include Google::Apis::Core::Hashable
@@ -55724,7 +56057,7 @@ module Google
55724
56057
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals]
55725
56058
  attr_accessor :s3_asr
55726
56059
 
55727
- # Next Tag: 9
56060
+ # Next Tag: 10
55728
56061
  # Corresponds to the JSON property `s3LanguageIdentification`
55729
56062
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryS3LangIdSignals]
55730
56063
  attr_accessor :s3_language_identification
@@ -55758,7 +56091,7 @@ module Google
55758
56091
  # @return [Google::Apis::ContentwarehouseV1::IndexingSpeechSpeechPropertiesProto]
55759
56092
  attr_accessor :speech_properties
55760
56093
 
55761
- # LINT.IfChange Score calculated from a thumbnail. NextID: 15
56094
+ # LINT.IfChange Score calculated from a thumbnail. NextID: 16
55762
56095
  # Corresponds to the JSON property `thumbnailQualityScore`
55763
56096
  # @return [Google::Apis::ContentwarehouseV1::VideoThumbnailsThumbnailScore]
55764
56097
  attr_accessor :thumbnail_quality_score
@@ -56122,7 +56455,60 @@ module Google
56122
56455
  end
56123
56456
  end
56124
56457
 
56125
- # Next Tag: 9
56458
+ # For debugging only.
56459
+ class ImageRepositoryS3LangIdDebuggingInfo
56460
+ include Google::Apis::Core::Hashable
56461
+
56462
+ # Audio input processing cap.
56463
+ # Corresponds to the JSON property `audioInputCap`
56464
+ # @return [String]
56465
+ attr_accessor :audio_input_cap
56466
+
56467
+ # Number of failed segments. Successful segments are stored in `
56468
+ # langid_signals_for_segment`.
56469
+ # Corresponds to the JSON property `failedSegments`
56470
+ # @return [Fixnum]
56471
+ attr_accessor :failed_segments
56472
+
56473
+ # Number of processed segments.
56474
+ # Corresponds to the JSON property `processedSegments`
56475
+ # @return [Fixnum]
56476
+ attr_accessor :processed_segments
56477
+
56478
+ # Duration of each segment (except for the last one if capped).
56479
+ # Corresponds to the JSON property `segmentDuration`
56480
+ # @return [String]
56481
+ attr_accessor :segment_duration
56482
+
56483
+ # If >1, every N segment is processed.
56484
+ # Corresponds to the JSON property `segmentStride`
56485
+ # @return [Fixnum]
56486
+ attr_accessor :segment_stride
56487
+
56488
+ # A general-purpose buffer to contain sequences of samples. When representing a
56489
+ # waveform, the samples are the scalar values of an acoustic signal. When
56490
+ # representing a sequence of feature frames, the samples are vector-valued
56491
+ # frames.
56492
+ # Corresponds to the JSON property `waveHeader`
56493
+ # @return [Google::Apis::ContentwarehouseV1::SpeechWaveHeader]
56494
+ attr_accessor :wave_header
56495
+
56496
+ def initialize(**args)
56497
+ update!(**args)
56498
+ end
56499
+
56500
+ # Update properties of this object
56501
+ def update!(**args)
56502
+ @audio_input_cap = args[:audio_input_cap] if args.key?(:audio_input_cap)
56503
+ @failed_segments = args[:failed_segments] if args.key?(:failed_segments)
56504
+ @processed_segments = args[:processed_segments] if args.key?(:processed_segments)
56505
+ @segment_duration = args[:segment_duration] if args.key?(:segment_duration)
56506
+ @segment_stride = args[:segment_stride] if args.key?(:segment_stride)
56507
+ @wave_header = args[:wave_header] if args.key?(:wave_header)
56508
+ end
56509
+ end
56510
+
56511
+ # Next Tag: 10
56126
56512
  class ImageRepositoryS3LangIdSignals
56127
56513
  include Google::Apis::Core::Hashable
56128
56514
 
@@ -56132,6 +56518,11 @@ module Google
56132
56518
  attr_accessor :contains_speech
56133
56519
  alias_method :contains_speech?, :contains_speech
56134
56520
 
56521
+ # For debugging only.
56522
+ # Corresponds to the JSON property `debuggingInfo`
56523
+ # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryS3LangIdDebuggingInfo]
56524
+ attr_accessor :debugging_info
56525
+
56135
56526
  #
56136
56527
  # Corresponds to the JSON property `endSec`
56137
56528
  # @return [Fixnum]
@@ -56178,6 +56569,7 @@ module Google
56178
56569
  # Update properties of this object
56179
56570
  def update!(**args)
56180
56571
  @contains_speech = args[:contains_speech] if args.key?(:contains_speech)
56572
+ @debugging_info = args[:debugging_info] if args.key?(:debugging_info)
56181
56573
  @end_sec = args[:end_sec] if args.key?(:end_sec)
56182
56574
  @langid_result = args[:langid_result] if args.key?(:langid_result)
56183
56575
  @language_identification = args[:language_identification] if args.key?(:language_identification)
@@ -62427,7 +62819,7 @@ module Google
62427
62819
  attr_accessor :name
62428
62820
 
62429
62821
  # A message representing the signals associated with an argument. NEXT ID TO USE:
62430
- # 57 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
62822
+ # 58 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
62431
62823
  # in the "ThenChange", fields under Argument.signals in the serving proto are
62432
62824
  # stored directly under Argument on the logging side. For example, see http://
62433
62825
  # google3/nlp/semantic_parsing/data_management/logs/web_logs/
@@ -62932,7 +63324,7 @@ module Google
62932
63324
  end
62933
63325
 
62934
63326
  # A message representing the signals associated with an argument. NEXT ID TO USE:
62935
- # 57 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
63327
+ # 58 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
62936
63328
  # in the "ThenChange", fields under Argument.signals in the serving proto are
62937
63329
  # stored directly under Argument on the logging side. For example, see http://
62938
63330
  # google3/nlp/semantic_parsing/data_management/logs/web_logs/
@@ -63242,6 +63634,12 @@ module Google
63242
63634
  attr_accessor :resolved_from_pronoun
63243
63635
  alias_method :resolved_from_pronoun?, :resolved_from_pronoun
63244
63636
 
63637
+ # SRM signal data. Properties here should be nonsemantic. Semantic properties
63638
+ # should be modeled directly in the SRM.
63639
+ # Corresponds to the JSON property `responseMeaningSignals`
63640
+ # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryResponseMeaningSignalsResponseMeaningSignals]
63641
+ attr_accessor :response_meaning_signals
63642
+
63245
63643
  # The list of result supports for this Argument.
63246
63644
  # Corresponds to the JSON property `resultSupport`
63247
63645
  # @return [Array<Google::Apis::ContentwarehouseV1::UniversalsearchNewPackerKnowledgeResultSupport>]
@@ -63344,6 +63742,7 @@ module Google
63344
63742
  @relatedness_signals = args[:relatedness_signals] if args.key?(:relatedness_signals)
63345
63743
  @resolved_from_context = args[:resolved_from_context] if args.key?(:resolved_from_context)
63346
63744
  @resolved_from_pronoun = args[:resolved_from_pronoun] if args.key?(:resolved_from_pronoun)
63745
+ @response_meaning_signals = args[:response_meaning_signals] if args.key?(:response_meaning_signals)
63347
63746
  @result_support = args[:result_support] if args.key?(:result_support)
63348
63747
  @saft_signals = args[:saft_signals] if args.key?(:saft_signals)
63349
63748
  @shopping_ids = args[:shopping_ids] if args.key?(:shopping_ids)
@@ -64137,7 +64536,7 @@ module Google
64137
64536
 
64138
64537
  # Signals to be used by the Prefulfillment Ranker. Derived from the
64139
64538
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
64140
- # Next ID: 48
64539
+ # Next ID: 52
64141
64540
  # Corresponds to the JSON property `prefulfillmentSignals`
64142
64541
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
64143
64542
  attr_accessor :prefulfillment_signals
@@ -64884,23 +65283,61 @@ module Google
64884
65283
  end
64885
65284
  end
64886
65285
 
65286
+ #
65287
+ class KnowledgeAnswersIntentQueryResponseMeaningSignalsAnswersHeaderSignals
65288
+ include Google::Apis::Core::Hashable
65289
+
65290
+ #
65291
+ # Corresponds to the JSON property `answersValueGender`
65292
+ # @return [String]
65293
+ attr_accessor :answers_value_gender
65294
+
65295
+ #
65296
+ # Corresponds to the JSON property `numAnswers`
65297
+ # @return [Fixnum]
65298
+ attr_accessor :num_answers
65299
+
65300
+ def initialize(**args)
65301
+ update!(**args)
65302
+ end
65303
+
65304
+ # Update properties of this object
65305
+ def update!(**args)
65306
+ @answers_value_gender = args[:answers_value_gender] if args.key?(:answers_value_gender)
65307
+ @num_answers = args[:num_answers] if args.key?(:num_answers)
65308
+ end
65309
+ end
65310
+
64887
65311
  # SRM signal data. Properties here should be nonsemantic. Semantic properties
64888
65312
  # should be modeled directly in the SRM.
64889
65313
  class KnowledgeAnswersIntentQueryResponseMeaningSignalsResponseMeaningSignals
64890
65314
  include Google::Apis::Core::Hashable
64891
65315
 
65316
+ # Signals that are used to generate answers header.
65317
+ # Corresponds to the JSON property `answersHeaderSignals`
65318
+ # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryResponseMeaningSignalsAnswersHeaderSignals]
65319
+ attr_accessor :answers_header_signals
65320
+
64892
65321
  #
64893
65322
  # Corresponds to the JSON property `propertyValue`
64894
65323
  # @return [Array<Google::Apis::ContentwarehouseV1::FreebasePropertyValue>]
64895
65324
  attr_accessor :property_value
64896
65325
 
65326
+ # The intended application this response meaning is used for. It is intended for
65327
+ # downstream dispatching.
65328
+ # Corresponds to the JSON property `responseMeaningApplication`
65329
+ # @return [String]
65330
+ attr_accessor :response_meaning_application
65331
+
64897
65332
  def initialize(**args)
64898
65333
  update!(**args)
64899
65334
  end
64900
65335
 
64901
65336
  # Update properties of this object
64902
65337
  def update!(**args)
65338
+ @answers_header_signals = args[:answers_header_signals] if args.key?(:answers_header_signals)
64903
65339
  @property_value = args[:property_value] if args.key?(:property_value)
65340
+ @response_meaning_application = args[:response_meaning_application] if args.key?(:response_meaning_application)
64904
65341
  end
64905
65342
  end
64906
65343
 
@@ -80832,7 +81269,7 @@ module Google
80832
81269
  class NlpSemanticParsingPersonalIntelligenceEntity
80833
81270
  include Google::Apis::Core::Hashable
80834
81271
 
80835
- # Next ID: 27
81272
+ # Next ID: 29
80836
81273
  # Corresponds to the JSON property `airlineConfig`
80837
81274
  # @return [Google::Apis::ContentwarehouseV1::TravelFlightsAirlineConfig]
80838
81275
  attr_accessor :airline_config
@@ -84990,7 +85427,7 @@ module Google
84990
85427
  # MustangContentInfo` for protocols used during search and/or docinfo. Next
84991
85428
  # available tag deprecated, use this (and look for commented out fields): blaze-
84992
85429
  # bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
84993
- # perdocdata.proto Next tag: 221
85430
+ # perdocdata.proto Next tag: 222
84994
85431
  class PerDocData
84995
85432
  include Google::Apis::Core::Hashable
84996
85433
 
@@ -85320,7 +85757,7 @@ module Google
85320
85757
 
85321
85758
  # PerDocData for fringe-query-prior (built into the shards for eventual
85322
85759
  # consumption at Fringe classification time). Not stored in DocJoins. NEXT ID:
85323
- # 11
85760
+ # 12
85324
85761
  # Corresponds to the JSON property `fringeQueryPrior`
85325
85762
  # @return [Google::Apis::ContentwarehouseV1::QualityFringeFringeQueryPriorPerDocData]
85326
85763
  attr_accessor :fringe_query_prior
@@ -85427,13 +85864,20 @@ module Google
85427
85864
  # @return [Google::Apis::ContentwarehouseV1::IndexingDupsLocalizedLocalizedCluster]
85428
85865
  attr_accessor :localized_cluster
85429
85866
 
85867
+ # Goldmine annotation in the CDoc to store the hrid of the 5 entities with
85868
+ # higher topicality in the document. Used by the Skin Tone Twiddler to determine
85869
+ # if the result set shows mostly one specific KG entity. go/result-set-signal
85870
+ # Corresponds to the JSON property `mediaOrPeopleEntities`
85871
+ # @return [Google::Apis::ContentwarehouseV1::ImageQualitySensitiveMediaOrPeopleEntities]
85872
+ attr_accessor :media_or_people_entities
85873
+
85430
85874
  # If not 0, we should not show the image in overlay mode in image snippets
85431
85875
  # Corresponds to the JSON property `noimageframeoverlayreason`
85432
85876
  # @return [Fixnum]
85433
85877
  attr_accessor :noimageframeoverlayreason
85434
85878
 
85435
85879
  # NOTE: When adding a new field to be propagated to Raffia check if
85436
- # NsrPatternSignalSpec needs to be updated. Next ID: 52
85880
+ # NsrPatternSignalSpec needs to be updated. Next ID: 53
85437
85881
  # Corresponds to the JSON property `nsrDataProto`
85438
85882
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrData]
85439
85883
  attr_accessor :nsr_data_proto
@@ -85899,6 +86343,7 @@ module Google
85899
86343
  @launch_app_info = args[:launch_app_info] if args.key?(:launch_app_info)
85900
86344
  @live_results_data = args[:live_results_data] if args.key?(:live_results_data)
85901
86345
  @localized_cluster = args[:localized_cluster] if args.key?(:localized_cluster)
86346
+ @media_or_people_entities = args[:media_or_people_entities] if args.key?(:media_or_people_entities)
85902
86347
  @noimageframeoverlayreason = args[:noimageframeoverlayreason] if args.key?(:noimageframeoverlayreason)
85903
86348
  @nsr_data_proto = args[:nsr_data_proto] if args.key?(:nsr_data_proto)
85904
86349
  @nsr_is_covid_local_authority = args[:nsr_is_covid_local_authority] if args.key?(:nsr_is_covid_local_authority)
@@ -86357,7 +86802,58 @@ module Google
86357
86802
  end
86358
86803
  end
86359
86804
 
86360
- # Next tag value: 381.
86805
+ # HDR Metadata describes in what way an image expresses high dynamic range
86806
+ # information (e.g. using a gainmap or a specialized color space).
86807
+ class PhotosHdrMetadata
86808
+ include Google::Apis::Core::Hashable
86809
+
86810
+ # Details about gainmap-based HDR formats (e.g. go/ghdr). Notably, images can
86811
+ # adhere to multiple gainmap specifications concurrently.
86812
+ # Corresponds to the JSON property `gainmap`
86813
+ # @return [Google::Apis::ContentwarehouseV1::PhotosHdrMetadataGainmap]
86814
+ attr_accessor :gainmap
86815
+
86816
+ def initialize(**args)
86817
+ update!(**args)
86818
+ end
86819
+
86820
+ # Update properties of this object
86821
+ def update!(**args)
86822
+ @gainmap = args[:gainmap] if args.key?(:gainmap)
86823
+ end
86824
+ end
86825
+
86826
+ # Details about gainmap-based HDR formats (e.g. go/ghdr). Notably, images can
86827
+ # adhere to multiple gainmap specifications concurrently.
86828
+ class PhotosHdrMetadataGainmap
86829
+ include Google::Apis::Core::Hashable
86830
+
86831
+ # Indicates that this image can be processed as an Adobe HDR (FlexDR) image by
86832
+ # reading the MPF segments.
86833
+ # Corresponds to the JSON property `adobeHdr`
86834
+ # @return [Boolean]
86835
+ attr_accessor :adobe_hdr
86836
+ alias_method :adobe_hdr?, :adobe_hdr
86837
+
86838
+ # Indicates that this image can be processed as a go/ghdr (UltraHDR) image by
86839
+ # reading the GContainer in the primary XMP block.
86840
+ # Corresponds to the JSON property `googleHdr`
86841
+ # @return [Boolean]
86842
+ attr_accessor :google_hdr
86843
+ alias_method :google_hdr?, :google_hdr
86844
+
86845
+ def initialize(**args)
86846
+ update!(**args)
86847
+ end
86848
+
86849
+ # Update properties of this object
86850
+ def update!(**args)
86851
+ @adobe_hdr = args[:adobe_hdr] if args.key?(:adobe_hdr)
86852
+ @google_hdr = args[:google_hdr] if args.key?(:google_hdr)
86853
+ end
86854
+ end
86855
+
86856
+ # Next tag value: 382.
86361
86857
  class PhotosImageMetadata
86362
86858
  include Google::Apis::Core::Hashable
86363
86859
 
@@ -87243,6 +87739,12 @@ module Google
87243
87739
  attr_accessor :has_alpha
87244
87740
  alias_method :has_alpha?, :has_alpha
87245
87741
 
87742
+ # HDR Metadata describes in what way an image expresses high dynamic range
87743
+ # information (e.g. using a gainmap or a specialized color space).
87744
+ # Corresponds to the JSON property `hdrMetadata`
87745
+ # @return [Google::Apis::ContentwarehouseV1::PhotosHdrMetadata]
87746
+ attr_accessor :hdr_metadata
87747
+
87246
87748
  #
87247
87749
  # Corresponds to the JSON property `headline`
87248
87750
  # @return [String]
@@ -87702,9 +88204,11 @@ module Google
87702
88204
  # @return [Fixnum]
87703
88205
  attr_accessor :resolutionunit
87704
88206
 
87705
- # being returned to caller Use values defined in "MIME_TYPE" This field is
87706
- # deprecated. Rotation is now accomplished via ImageInfo.exif_orientation and
87707
- # ImageInfo.edit_list. Number of degrees (0, 90, 180,
88207
+ # This field is deprecated. Rotation is now accomplished via ImageInfo.
88208
+ # exif_orientation and ImageInfo.edit_list. WARNING: the presence of rotate is
88209
+ # used by FIFE to identify older images. Setting this (even to the correct
88210
+ # number of degrees) on newer images can cause incorrectly rotated thumbnails.
88211
+ # This was the cause of omg/58543 Number of degrees (0, 90, 180, 270)
87708
88212
  # Corresponds to the JSON property `rotate`
87709
88213
  # @return [Fixnum]
87710
88214
  attr_accessor :rotate
@@ -88161,6 +88665,7 @@ module Google
88161
88665
  @grayresponsecurve = args[:grayresponsecurve] if args.key?(:grayresponsecurve)
88162
88666
  @grayresponseunit = args[:grayresponseunit] if args.key?(:grayresponseunit)
88163
88667
  @has_alpha = args[:has_alpha] if args.key?(:has_alpha)
88668
+ @hdr_metadata = args[:hdr_metadata] if args.key?(:hdr_metadata)
88164
88669
  @headline = args[:headline] if args.key?(:headline)
88165
88670
  @height = args[:height] if args.key?(:height)
88166
88671
  @hostcomputer = args[:hostcomputer] if args.key?(:hostcomputer)
@@ -91444,7 +91949,7 @@ module Google
91444
91949
 
91445
91950
  # PerDocData for fringe-query-prior (built into the shards for eventual
91446
91951
  # consumption at Fringe classification time). Not stored in DocJoins. NEXT ID:
91447
- # 11
91952
+ # 12
91448
91953
  class QualityFringeFringeQueryPriorPerDocData
91449
91954
  include Google::Apis::Core::Hashable
91450
91955
 
@@ -91520,6 +92025,12 @@ module Google
91520
92025
  # @return [Fixnum]
91521
92026
  attr_accessor :encoded_proximity_score
91522
92027
 
92028
+ # Indices on the repository_webref::WebrefEntities::entity field of entities
92029
+ # that represent a person or a group of people (aka sensitive entities).
92030
+ # Corresponds to the JSON property `sensitiveEntitiesIndices`
92031
+ # @return [Array<Fixnum>]
92032
+ attr_accessor :sensitive_entities_indices
92033
+
91523
92034
  def initialize(**args)
91524
92035
  update!(**args)
91525
92036
  end
@@ -91536,6 +92047,7 @@ module Google
91536
92047
  @encoded_fringe_site_prior_score_for_qfs_training = args[:encoded_fringe_site_prior_score_for_qfs_training] if args.key?(:encoded_fringe_site_prior_score_for_qfs_training)
91537
92048
  @encoded_predicted_xlq_score_and_confidence = args[:encoded_predicted_xlq_score_and_confidence] if args.key?(:encoded_predicted_xlq_score_and_confidence)
91538
92049
  @encoded_proximity_score = args[:encoded_proximity_score] if args.key?(:encoded_proximity_score)
92050
+ @sensitive_entities_indices = args[:sensitive_entities_indices] if args.key?(:sensitive_entities_indices)
91539
92051
  end
91540
92052
  end
91541
92053
 
@@ -92484,7 +92996,7 @@ module Google
92484
92996
  end
92485
92997
 
92486
92998
  # NOTE: When adding a new field to be propagated to Raffia check if
92487
- # NsrPatternSignalSpec needs to be updated. Next ID: 52
92999
+ # NsrPatternSignalSpec needs to be updated. Next ID: 53
92488
93000
  class QualityNsrNsrData
92489
93001
  include Google::Apis::Core::Hashable
92490
93002
 
@@ -92642,6 +93154,11 @@ module Google
92642
93154
  # @return [Float]
92643
93155
  attr_accessor :pnav
92644
93156
 
93157
+ # denominator for the pnav computation
93158
+ # Corresponds to the JSON property `pnavClicks`
93159
+ # @return [Float]
93160
+ attr_accessor :pnav_clicks
93161
+
92645
93162
  # NSR - prior. Estimate of whether the site is above/below average NSR in its
92646
93163
  # slice.
92647
93164
  # Corresponds to the JSON property `priorAdjustedNsr`
@@ -92724,11 +93241,6 @@ module Google
92724
93241
  # @return [String]
92725
93242
  attr_accessor :url
92726
93243
 
92727
- # Versioned map of ASR (authenticity) values.
92728
- # Corresponds to the JSON property `versionedAsrData`
92729
- # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
92730
- attr_accessor :versioned_asr_data
92731
-
92732
93244
  # Versioned map of NSR values for experimenting with the next release.
92733
93245
  # Corresponds to the JSON property `versionedData`
92734
93246
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrNsrVersionedData>]
@@ -92787,6 +93299,7 @@ module Google
92787
93299
  @nsr_variance = args[:nsr_variance] if args.key?(:nsr_variance)
92788
93300
  @nsrdata_from_fallback_pattern_key = args[:nsrdata_from_fallback_pattern_key] if args.key?(:nsrdata_from_fallback_pattern_key)
92789
93301
  @pnav = args[:pnav] if args.key?(:pnav)
93302
+ @pnav_clicks = args[:pnav_clicks] if args.key?(:pnav_clicks)
92790
93303
  @prior_adjusted_nsr = args[:prior_adjusted_nsr] if args.key?(:prior_adjusted_nsr)
92791
93304
  @secondary_site_chunk = args[:secondary_site_chunk] if args.key?(:secondary_site_chunk)
92792
93305
  @shopping_score = args[:shopping_score] if args.key?(:shopping_score)
@@ -92802,7 +93315,6 @@ module Google
92802
93315
  @tofu = args[:tofu] if args.key?(:tofu)
92803
93316
  @ugc_score = args[:ugc_score] if args.key?(:ugc_score)
92804
93317
  @url = args[:url] if args.key?(:url)
92805
- @versioned_asr_data = args[:versioned_asr_data] if args.key?(:versioned_asr_data)
92806
93318
  @versioned_data = args[:versioned_data] if args.key?(:versioned_data)
92807
93319
  @video_score = args[:video_score] if args.key?(:video_score)
92808
93320
  @vlq = args[:vlq] if args.key?(:vlq)
@@ -99722,12 +100234,6 @@ module Google
99722
100234
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefPreprocessingNameVariantSignals>]
99723
100235
  attr_accessor :debug_variant_signals
99724
100236
 
99725
- # Next available tag: 35. Represents all the information that we have for a
99726
- # given entity.
99727
- # Corresponds to the JSON property `entity`
99728
- # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefEntityJoin]
99729
- attr_accessor :entity
99730
-
99731
100237
  # Stores region specific score ratios for the entity when it is significantly
99732
100238
  # different from the language version above.
99733
100239
  # Corresponds to the JSON property `extendedScoreRatio`
@@ -99760,7 +100266,8 @@ module Google
99760
100266
  attr_accessor :is_cluster_global
99761
100267
  alias_method :is_cluster_global?, :is_cluster_global
99762
100268
 
99763
- # Documened at: repository/webref/universal/webref_data/enricher/entity-data.h
100269
+ # Documented at: google3/repository/webref/enricher/core/data/scored_entity_name.
100270
+ # h
99764
100271
  # Corresponds to the JSON property `isDropped`
99765
100272
  # @return [Boolean]
99766
100273
  attr_accessor :is_dropped
@@ -99776,7 +100283,8 @@ module Google
99776
100283
  attr_accessor :is_matchless_result_context
99777
100284
  alias_method :is_matchless_result_context?, :is_matchless_result_context
99778
100285
 
99779
- # Documened at: repository/webref/universal/webref_data/enricher/entity-data.h
100286
+ # Documented at: google3/repository/webref/enricher/core/data/scored_entity_name.
100287
+ # h
99780
100288
  # Corresponds to the JSON property `isPruned`
99781
100289
  # @return [Boolean]
99782
100290
  attr_accessor :is_pruned
@@ -99845,7 +100353,6 @@ module Google
99845
100353
  @confidence = args[:confidence] if args.key?(:confidence)
99846
100354
  @debug_info = args[:debug_info] if args.key?(:debug_info)
99847
100355
  @debug_variant_signals = args[:debug_variant_signals] if args.key?(:debug_variant_signals)
99848
- @entity = args[:entity] if args.key?(:entity)
99849
100356
  @extended_score_ratio = args[:extended_score_ratio] if args.key?(:extended_score_ratio)
99850
100357
  @include_in_model = args[:include_in_model] if args.key?(:include_in_model)
99851
100358
  @internal_bootstrap_is_open_world = args[:internal_bootstrap_is_open_world] if args.key?(:internal_bootstrap_is_open_world)
@@ -100362,7 +100869,8 @@ module Google
100362
100869
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefGeoMetadataProtoAddressSynonym>]
100363
100870
  attr_accessor :address_synonyms
100364
100871
 
100365
- # Area in km^2 of the feature if the feature has polygon.
100872
+ # Area in km^2 of the feature if the feature has polygon. Only set by
100873
+ # qrefmetadata.
100366
100874
  # Corresponds to the JSON property `areaKm2`
100367
100875
  # @return [Float]
100368
100876
  attr_accessor :area_km2
@@ -100734,12 +101242,6 @@ module Google
100734
101242
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefLatentEntity>]
100735
101243
  attr_accessor :latent_entity
100736
101244
 
100737
- # List of broader MIDs from the Sports Hierarchy. Named incorrectly, it does not
100738
- # contain all latent mids.
100739
- # Corresponds to the JSON property `latentMid`
100740
- # @return [Array<String>]
100741
- attr_accessor :latent_mid
100742
-
100743
101245
  def initialize(**args)
100744
101246
  update!(**args)
100745
101247
  end
@@ -100747,7 +101249,6 @@ module Google
100747
101249
  # Update properties of this object
100748
101250
  def update!(**args)
100749
101251
  @latent_entity = args[:latent_entity] if args.key?(:latent_entity)
100750
- @latent_mid = args[:latent_mid] if args.key?(:latent_mid)
100751
101252
  end
100752
101253
  end
100753
101254
 
@@ -111841,6 +112342,38 @@ module Google
111841
112342
  end
111842
112343
  end
111843
112344
 
112345
+ # SearchLink metadata, for SEARCH_LINK segments. For a search link, the "text"
112346
+ # field should contain the display text. This is currently not indexed.
112347
+ class SocialCommonSearchLinkData
112348
+ include Google::Apis::Core::Hashable
112349
+
112350
+ # For lightweight scoring in serving time.
112351
+ # Corresponds to the JSON property `kgEntityConfidence`
112352
+ # @return [Float]
112353
+ attr_accessor :kg_entity_confidence
112354
+
112355
+ # MID of the KG entity being linked.
112356
+ # Corresponds to the JSON property `mid`
112357
+ # @return [String]
112358
+ attr_accessor :mid
112359
+
112360
+ #
112361
+ # Corresponds to the JSON property `queryBroadnessScore`
112362
+ # @return [Float]
112363
+ attr_accessor :query_broadness_score
112364
+
112365
+ def initialize(**args)
112366
+ update!(**args)
112367
+ end
112368
+
112369
+ # Update properties of this object
112370
+ def update!(**args)
112371
+ @kg_entity_confidence = args[:kg_entity_confidence] if args.key?(:kg_entity_confidence)
112372
+ @mid = args[:mid] if args.key?(:mid)
112373
+ @query_broadness_score = args[:query_broadness_score] if args.key?(:query_broadness_score)
112374
+ end
112375
+ end
112376
+
111844
112377
  #
111845
112378
  class SocialCommonSegment
111846
112379
  include Google::Apis::Core::Hashable
@@ -111866,6 +112399,12 @@ module Google
111866
112399
  # @return [Google::Apis::ContentwarehouseV1::SocialCommonLinkData]
111867
112400
  attr_accessor :link_data
111868
112401
 
112402
+ # SearchLink metadata, for SEARCH_LINK segments. For a search link, the "text"
112403
+ # field should contain the display text. This is currently not indexed.
112404
+ # Corresponds to the JSON property `searchLinkData`
112405
+ # @return [Google::Apis::ContentwarehouseV1::SocialCommonSearchLinkData]
112406
+ attr_accessor :search_link_data
112407
+
111869
112408
  # Text content of the Segment. As a general rule, this field should contain the
111870
112409
  # actual text that should be rendered in the UI. Thus, for a hashtag, it should
111871
112410
  # be "#Foo", and for a link, it should be the display text. Clients that do not
@@ -111910,6 +112449,7 @@ module Google
111910
112449
  @formatting = args[:formatting] if args.key?(:formatting)
111911
112450
  @hashtag_data = args[:hashtag_data] if args.key?(:hashtag_data)
111912
112451
  @link_data = args[:link_data] if args.key?(:link_data)
112452
+ @search_link_data = args[:search_link_data] if args.key?(:search_link_data)
111913
112453
  @text = args[:text] if args.key?(:text)
111914
112454
  @type = args[:type] if args.key?(:type)
111915
112455
  @user_mention_data = args[:user_mention_data] if args.key?(:user_mention_data)
@@ -114112,8 +114652,16 @@ module Google
114112
114652
  # @return [String]
114113
114653
  attr_accessor :entity_type
114114
114654
 
114115
- # Number of members (direct or indirect) in a Google Group. Only an estimate for
114116
- # large groups (currently > 1K direct / indirect members).
114655
+ # Whether caller has visibility into the direct members of the roster. NEXT TAG:
114656
+ # 11
114657
+ # Corresponds to the JSON property `isMembershipVisibleToCaller`
114658
+ # @return [Boolean]
114659
+ attr_accessor :is_membership_visible_to_caller
114660
+ alias_method :is_membership_visible_to_caller?, :is_membership_visible_to_caller
114661
+
114662
+ # DEPRECATED: use segmented_membership_counts instead. Number of members (direct
114663
+ # or indirect) in a Google Group. Only an estimate for large groups (currently >
114664
+ # 1K direct / indirect members).
114117
114665
  # Corresponds to the JSON property `memberCount`
114118
114666
  # @return [Fixnum]
114119
114667
  attr_accessor :member_count
@@ -114128,6 +114676,12 @@ module Google
114128
114676
  # @return [String]
114129
114677
  attr_accessor :presence_prop
114130
114678
 
114679
+ # Represents the direct membership counts of a Google Group. May contain counts
114680
+ # based on member type and membership state.
114681
+ # Corresponds to the JSON property `segmentedMembershipCounts`
114682
+ # @return [Google::Apis::ContentwarehouseV1::AppsDynamiteSharedSegmentedMembershipCounts]
114683
+ attr_accessor :segmented_membership_counts
114684
+
114131
114685
  def initialize(**args)
114132
114686
  update!(**args)
114133
114687
  end
@@ -114139,9 +114693,11 @@ module Google
114139
114693
  @developer_name = args[:developer_name] if args.key?(:developer_name)
114140
114694
  @dnd_state = args[:dnd_state] if args.key?(:dnd_state)
114141
114695
  @entity_type = args[:entity_type] if args.key?(:entity_type)
114696
+ @is_membership_visible_to_caller = args[:is_membership_visible_to_caller] if args.key?(:is_membership_visible_to_caller)
114142
114697
  @member_count = args[:member_count] if args.key?(:member_count)
114143
114698
  @organization_info = args[:organization_info] if args.key?(:organization_info)
114144
114699
  @presence_prop = args[:presence_prop] if args.key?(:presence_prop)
114700
+ @segmented_membership_counts = args[:segmented_membership_counts] if args.key?(:segmented_membership_counts)
114145
114701
  end
114146
114702
  end
114147
114703
 
@@ -114731,6 +115287,125 @@ module Google
114731
115287
  end
114732
115288
  end
114733
115289
 
115290
+ # A general-purpose buffer to contain sequences of samples. When representing a
115291
+ # waveform, the samples are the scalar values of an acoustic signal. When
115292
+ # representing a sequence of feature frames, the samples are vector-valued
115293
+ # frames.
115294
+ class SpeechWaveHeader
115295
+ include Google::Apis::Core::Hashable
115296
+
115297
+ # Size of atomic type, in bytes.
115298
+ # Corresponds to the JSON property `atomicSize`
115299
+ # @return [Fixnum]
115300
+ attr_accessor :atomic_size
115301
+
115302
+ # Numeric type of data elements (if generic)
115303
+ # Corresponds to the JSON property `atomicType`
115304
+ # @return [String]
115305
+ attr_accessor :atomic_type
115306
+
115307
+ # For compressed signals with fixed bitrate, this is the number of bits per
115308
+ # second.
115309
+ # Corresponds to the JSON property `bitRate`
115310
+ # @return [Float]
115311
+ attr_accessor :bit_rate
115312
+
115313
+ # Byte-order of the atomic_type When atomic_type == "char", byte_order should be
115314
+ # always "1". When atomic_type == "int16", byte_order can be either "01" (Intel)
115315
+ # or "10" (Motorola). Byte order should default to Intel when in question.
115316
+ # Corresponds to the JSON property `byteOrder`
115317
+ # @return [String]
115318
+ attr_accessor :byte_order
115319
+
115320
+ # Typically contains the parameter settings of the program that created the file.
115321
+ # Corresponds to the JSON property `details`
115322
+ # @return [String]
115323
+ attr_accessor :details
115324
+
115325
+ # Array dimensions for a single sample. * For audio samples: * mono: rank==0,
115326
+ # dimension==[1] * stereo: rank==0, dimension==[2] (samples are interleaved) *
115327
+ # For typical ASR features representing energy, 12 MFCC coefficients, and first
115328
+ # and second derivatives: * rank==1 and dimension==[39].
115329
+ # Corresponds to the JSON property `dimension`
115330
+ # @return [Array<Fixnum>]
115331
+ attr_accessor :dimension
115332
+
115333
+ # The number of atomic elements stored per sample. This is the product of all
115334
+ # the entries in the dimension array. Written "out of order" in this file to be
115335
+ # close to the dimension field, from which it can always be computed.
115336
+ # Corresponds to the JSON property `elementsPerSample`
115337
+ # @return [Fixnum]
115338
+ attr_accessor :elements_per_sample
115339
+
115340
+ # The rank of each sample. For a waveform (signals that are sequences of scalar
115341
+ # values), this is 0. For vector-valued signals (used as signals containing
115342
+ # sequences of features, for example), this is 1. scalar=0, vector=1, matrix=2, .
115343
+ # ..
115344
+ # Corresponds to the JSON property `rank`
115345
+ # @return [Fixnum]
115346
+ attr_accessor :rank
115347
+
115348
+ # Sample encoding. Can be "ulaw".
115349
+ # Corresponds to the JSON property `sampleCoding`
115350
+ # @return [String]
115351
+ attr_accessor :sample_coding
115352
+
115353
+ # For periodic signals, this is the number samples per second, else 0.0
115354
+ # Corresponds to the JSON property `sampleRate`
115355
+ # @return [Float]
115356
+ attr_accessor :sample_rate
115357
+
115358
+ # Size of a single sample, in bytes.
115359
+ # Corresponds to the JSON property `sampleSize`
115360
+ # @return [Fixnum]
115361
+ attr_accessor :sample_size
115362
+
115363
+ # Structure of each sample. "generic" means that the samples are multi-
115364
+ # dimensional arrays of atomic_type with the specified rank.
115365
+ # Corresponds to the JSON property `sampleType`
115366
+ # @return [String]
115367
+ attr_accessor :sample_type
115368
+
115369
+ # Time origin for the signal, in seconds. Warning: Using float can result in
115370
+ # rounding errors: float's smallest distance between two representable values (1
115371
+ # ULP; see https://en.wikipedia.org/wiki/Unit_in_the_last_place) between 1024
115372
+ # and 2048 (representing ~17-34 min) is 0.0001220703125, what is approximately
115373
+ # double of what we need to represent 1 sample in a 16 kHz sample rate audio.
115374
+ # The error is double in the 2048s-4096s, 4x in the 4096s-8192s range etc.
115375
+ # Higher sample rate encounters rounding errors earlier: with 96 kHz, rounding
115376
+ # errors start at ~2 min (128s).
115377
+ # Corresponds to the JSON property `startTime`
115378
+ # @return [Float]
115379
+ attr_accessor :start_time
115380
+
115381
+ # The number of samples in file. Can be inferred for generics from file size.
115382
+ # Corresponds to the JSON property `totalSamples`
115383
+ # @return [Fixnum]
115384
+ attr_accessor :total_samples
115385
+
115386
+ def initialize(**args)
115387
+ update!(**args)
115388
+ end
115389
+
115390
+ # Update properties of this object
115391
+ def update!(**args)
115392
+ @atomic_size = args[:atomic_size] if args.key?(:atomic_size)
115393
+ @atomic_type = args[:atomic_type] if args.key?(:atomic_type)
115394
+ @bit_rate = args[:bit_rate] if args.key?(:bit_rate)
115395
+ @byte_order = args[:byte_order] if args.key?(:byte_order)
115396
+ @details = args[:details] if args.key?(:details)
115397
+ @dimension = args[:dimension] if args.key?(:dimension)
115398
+ @elements_per_sample = args[:elements_per_sample] if args.key?(:elements_per_sample)
115399
+ @rank = args[:rank] if args.key?(:rank)
115400
+ @sample_coding = args[:sample_coding] if args.key?(:sample_coding)
115401
+ @sample_rate = args[:sample_rate] if args.key?(:sample_rate)
115402
+ @sample_size = args[:sample_size] if args.key?(:sample_size)
115403
+ @sample_type = args[:sample_type] if args.key?(:sample_type)
115404
+ @start_time = args[:start_time] if args.key?(:start_time)
115405
+ @total_samples = args[:total_samples] if args.key?(:total_samples)
115406
+ end
115407
+ end
115408
+
114734
115409
  # go/entity-authority NB: currently all facts associated with Authority Feedback
114735
115410
  # are externally traceable to the requests from which they originate.
114736
115411
  class StorageGraphBfgAuthorityFeedbackMetadata
@@ -116164,15 +116839,10 @@ module Google
116164
116839
  end
116165
116840
  end
116166
116841
 
116167
- # Next ID: 27
116842
+ # Next ID: 29
116168
116843
  class TravelFlightsAirlineConfig
116169
116844
  include Google::Apis::Core::Hashable
116170
116845
 
116171
- # Populated using airlines_company_ids.csv for AdWords company map
116172
- # Corresponds to the JSON property `adwordsCid`
116173
- # @return [Fixnum]
116174
- attr_accessor :adwords_cid
116175
-
116176
116846
  # STAR_ALLIANCE
116177
116847
  # Corresponds to the JSON property `alliance`
116178
116848
  # @return [String]
@@ -116218,6 +116888,11 @@ module Google
116218
116888
  # @return [Array<String>]
116219
116889
  attr_accessor :fqtv_partner_code
116220
116890
 
116891
+ #
116892
+ # Corresponds to the JSON property `greenFaresInfo`
116893
+ # @return [Array<Google::Apis::ContentwarehouseV1::TravelFlightsAirlineConfigGreenFaresInfo>]
116894
+ attr_accessor :green_fares_info
116895
+
116221
116896
  # Note that some iata_codes are reused (`dup_flag` field). For details,
116222
116897
  # including how to resolve collisions for airlines shown in Google Flights, see:
116223
116898
  # go/controlled-duplicate go/flights-data/airlines#resolving-iata-code-
@@ -116267,6 +116942,11 @@ module Google
116267
116942
  # @return [Google::Apis::ContentwarehouseV1::TravelFlightsNameCatalogProto]
116268
116943
  attr_accessor :short_names
116269
116944
 
116945
+ # URLs for airlines' sustainability programs.
116946
+ # Corresponds to the JSON property `sustainabilityProgramUrls`
116947
+ # @return [Google::Apis::ContentwarehouseV1::TravelFlightsNameCatalogProto]
116948
+ attr_accessor :sustainability_program_urls
116949
+
116270
116950
  #
116271
116951
  # Corresponds to the JSON property `type`
116272
116952
  # @return [String]
@@ -116288,7 +116968,6 @@ module Google
116288
116968
 
116289
116969
  # Update properties of this object
116290
116970
  def update!(**args)
116291
- @adwords_cid = args[:adwords_cid] if args.key?(:adwords_cid)
116292
116971
  @alliance = args[:alliance] if args.key?(:alliance)
116293
116972
  @baggage_carryon_limitations_urls = args[:baggage_carryon_limitations_urls] if args.key?(:baggage_carryon_limitations_urls)
116294
116973
  @baggage_fee_urls = args[:baggage_fee_urls] if args.key?(:baggage_fee_urls)
@@ -116297,6 +116976,7 @@ module Google
116297
116976
  @dup_flag = args[:dup_flag] if args.key?(:dup_flag)
116298
116977
  @fare_family_urls = args[:fare_family_urls] if args.key?(:fare_family_urls)
116299
116978
  @fqtv_partner_code = args[:fqtv_partner_code] if args.key?(:fqtv_partner_code)
116979
+ @green_fares_info = args[:green_fares_info] if args.key?(:green_fares_info)
116300
116980
  @iata_code = args[:iata_code] if args.key?(:iata_code)
116301
116981
  @icao_code = args[:icao_code] if args.key?(:icao_code)
116302
116982
  @innovata_code = args[:innovata_code] if args.key?(:innovata_code)
@@ -116306,6 +116986,7 @@ module Google
116306
116986
  @passenger_assistance_urls = args[:passenger_assistance_urls] if args.key?(:passenger_assistance_urls)
116307
116987
  @popularity = args[:popularity] if args.key?(:popularity)
116308
116988
  @short_names = args[:short_names] if args.key?(:short_names)
116989
+ @sustainability_program_urls = args[:sustainability_program_urls] if args.key?(:sustainability_program_urls)
116309
116990
  @type = args[:type] if args.key?(:type)
116310
116991
  @urls = args[:urls] if args.key?(:urls)
116311
116992
  @waiver_summary_urls = args[:waiver_summary_urls] if args.key?(:waiver_summary_urls)
@@ -116362,6 +117043,49 @@ module Google
116362
117043
  end
116363
117044
  end
116364
117045
 
117046
+ #
117047
+ class TravelFlightsAirlineConfigGreenFaresInfo
117048
+ include Google::Apis::Core::Hashable
117049
+
117050
+ #
117051
+ # Corresponds to the JSON property `bonusMilesProgramName`
117052
+ # @return [String]
117053
+ attr_accessor :bonus_miles_program_name
117054
+
117055
+ #
117056
+ # Corresponds to the JSON property `bonusMilesQuantity`
117057
+ # @return [Fixnum]
117058
+ attr_accessor :bonus_miles_quantity
117059
+
117060
+ #
117061
+ # Corresponds to the JSON property `bonusMilesQuantityType`
117062
+ # @return [String]
117063
+ attr_accessor :bonus_miles_quantity_type
117064
+
117065
+ #
117066
+ # Corresponds to the JSON property `bonusMilesType`
117067
+ # @return [String]
117068
+ attr_accessor :bonus_miles_type
117069
+
117070
+ #
117071
+ # Corresponds to the JSON property `contributionFraming`
117072
+ # @return [String]
117073
+ attr_accessor :contribution_framing
117074
+
117075
+ def initialize(**args)
117076
+ update!(**args)
117077
+ end
117078
+
117079
+ # Update properties of this object
117080
+ def update!(**args)
117081
+ @bonus_miles_program_name = args[:bonus_miles_program_name] if args.key?(:bonus_miles_program_name)
117082
+ @bonus_miles_quantity = args[:bonus_miles_quantity] if args.key?(:bonus_miles_quantity)
117083
+ @bonus_miles_quantity_type = args[:bonus_miles_quantity_type] if args.key?(:bonus_miles_quantity_type)
117084
+ @bonus_miles_type = args[:bonus_miles_type] if args.key?(:bonus_miles_type)
117085
+ @contribution_framing = args[:contribution_framing] if args.key?(:contribution_framing)
117086
+ end
117087
+ end
117088
+
116365
117089
  # Airline contact info grouped by language. The language locale subcode will
116366
117090
  # determine the country.
116367
117091
  class TravelFlightsAirlineConfigLocalizedContactInfo
@@ -117030,7 +117754,7 @@ module Google
117030
117754
  # FetchReplyData. This data is meant to be logged, but not sent back in a fetch
117031
117755
  # reply (it should be added *after* the reply is prepared). Use
117032
117756
  # FetchResponsePreparatorImpl::AddTrawlerPrivateDataToFetchReplyData to add. See
117033
- # also the comment in fetch_response_preparator_impl.cc. Next Tag: 44
117757
+ # also the comment in fetch_response_preparator_impl.cc. Next Tag: 45
117034
117758
  # Corresponds to the JSON property `TrawlerPrivate`
117035
117759
  # @return [Google::Apis::ContentwarehouseV1::TrawlerTrawlerPrivateFetchReplyData]
117036
117760
  attr_accessor :trawler_private
@@ -118289,7 +119013,7 @@ module Google
118289
119013
  # FetchReplyData. This data is meant to be logged, but not sent back in a fetch
118290
119014
  # reply (it should be added *after* the reply is prepared). Use
118291
119015
  # FetchResponsePreparatorImpl::AddTrawlerPrivateDataToFetchReplyData to add. See
118292
- # also the comment in fetch_response_preparator_impl.cc. Next Tag: 44
119016
+ # also the comment in fetch_response_preparator_impl.cc. Next Tag: 45
118293
119017
  class TrawlerTrawlerPrivateFetchReplyData
118294
119018
  include Google::Apis::Core::Hashable
118295
119019
 
@@ -118486,6 +119210,12 @@ module Google
118486
119210
  attr_accessor :is_bidi_streaming_fetch
118487
119211
  alias_method :is_bidi_streaming_fetch?, :is_bidi_streaming_fetch
118488
119212
 
119213
+ #
119214
+ # Corresponds to the JSON property `isDedicatedHostload`
119215
+ # @return [Boolean]
119216
+ attr_accessor :is_dedicated_hostload
119217
+ alias_method :is_dedicated_hostload?, :is_dedicated_hostload
119218
+
118489
119219
  # Whether or not this is a Floonet fetch request. Floonet requests have inherent
118490
119220
  # lower availability (due to HOPE rejections when HOPE is in degraded mode, and
118491
119221
  # other Floonet specific reasons). Therefore, it is important for debugging and
@@ -118592,6 +119322,7 @@ module Google
118592
119322
  @download_file_name = args[:download_file_name] if args.key?(:download_file_name)
118593
119323
  @http_version = args[:http_version] if args.key?(:http_version)
118594
119324
  @is_bidi_streaming_fetch = args[:is_bidi_streaming_fetch] if args.key?(:is_bidi_streaming_fetch)
119325
+ @is_dedicated_hostload = args[:is_dedicated_hostload] if args.key?(:is_dedicated_hostload)
118595
119326
  @is_floonet_fetch = args[:is_floonet_fetch] if args.key?(:is_floonet_fetch)
118596
119327
  @is_from_grpc_proxy = args[:is_from_grpc_proxy] if args.key?(:is_from_grpc_proxy)
118597
119328
  @is_vpc_traffic = args[:is_vpc_traffic] if args.key?(:is_vpc_traffic)
@@ -120347,7 +121078,7 @@ module Google
120347
121078
  # Intended to be simpler to work with than the ExportedStanza it's derived from
120348
121079
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
120349
121080
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
120350
- # 77
121081
+ # 78
120351
121082
  # Corresponds to the JSON property `miniStanza`
120352
121083
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsClusteringMiniStanza]
120353
121084
  attr_accessor :mini_stanza
@@ -125079,6 +125810,31 @@ module Google
125079
125810
  end
125080
125811
  end
125081
125812
 
125813
+ # YT app video information. (go/yt-create-vsi-data)
125814
+ class VideoGoogleVideoClipInfo
125815
+ include Google::Apis::Core::Hashable
125816
+
125817
+ # YT app version (ie. YT Create app version).
125818
+ # Corresponds to the JSON property `appVersion`
125819
+ # @return [String]
125820
+ attr_accessor :app_version
125821
+
125822
+ # List of YT media asset logging ids.
125823
+ # Corresponds to the JSON property `assetLoggingId`
125824
+ # @return [Array<String>]
125825
+ attr_accessor :asset_logging_id
125826
+
125827
+ def initialize(**args)
125828
+ update!(**args)
125829
+ end
125830
+
125831
+ # Update properties of this object
125832
+ def update!(**args)
125833
+ @app_version = args[:app_version] if args.key?(:app_version)
125834
+ @asset_logging_id = args[:asset_logging_id] if args.key?(:asset_logging_id)
125835
+ end
125836
+ end
125837
+
125082
125838
  #
125083
125839
  class VideoLegosLegosAnnotationsSet
125084
125840
  include Google::Apis::Core::Hashable
@@ -125735,7 +126491,7 @@ module Google
125735
126491
  # in that source. Fields like lengths, fps, etc. are not guaranteed to be the
125736
126492
  # same as those of transcodes. If the relevant info in source is too broken, the
125737
126493
  # corresponding fields (e.g., lengths) could be unset or with the default value,
125738
- # meaning VSI cannot compute them from the given info. Next id: 82
126494
+ # meaning VSI cannot compute them from the given info. Next id: 83
125739
126495
  # Corresponds to the JSON property `info`
125740
126496
  # @return [Google::Apis::ContentwarehouseV1::VideoVideoStreamInfo]
125741
126497
  attr_accessor :info
@@ -125942,7 +126698,7 @@ module Google
125942
126698
  end
125943
126699
  end
125944
126700
 
125945
- # LINT.IfChange Score calculated from a thumbnail. NextID: 15
126701
+ # LINT.IfChange Score calculated from a thumbnail. NextID: 16
125946
126702
  class VideoThumbnailsThumbnailScore
125947
126703
  include Google::Apis::Core::Hashable
125948
126704
 
@@ -125968,6 +126724,19 @@ module Google
125968
126724
  # @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureExtra]
125969
126725
  attr_accessor :dense_general_extra_features
125970
126726
 
126727
+ # A unique identifier for the image that is independent of the resolution. The
126728
+ # Image ID accompanies the image bytes through its lifecycle, from creation till
126729
+ # vanishing. Image ID is not based on image content; it is different than
126730
+ # checksum (e.g. two different images with the same bytes may not have the same
126731
+ # image ID). This ID is used as a unique identifier for clients such as T&S and
126732
+ # classifiers. For more info refer to go/thumbnail-id-ts-ab-testing Note: Image
126733
+ # ID's are still in development and are currently not exposed externally (may be
126734
+ # done in the future). Please contact yt-thumbnails-core@ before using it. Do
126735
+ # not use externally or in logs before contacting yt-thumbnails-core@
126736
+ # Corresponds to the JSON property `externalImageId`
126737
+ # @return [String]
126738
+ attr_accessor :external_image_id
126739
+
125971
126740
  # If true, score is manually assigned.
125972
126741
  # Corresponds to the JSON property `isAssigned`
125973
126742
  # @return [Boolean]
@@ -126032,6 +126801,7 @@ module Google
126032
126801
  @color_sampling = args[:color_sampling] if args.key?(:color_sampling)
126033
126802
  @dense_features = args[:dense_features] if args.key?(:dense_features)
126034
126803
  @dense_general_extra_features = args[:dense_general_extra_features] if args.key?(:dense_general_extra_features)
126804
+ @external_image_id = args[:external_image_id] if args.key?(:external_image_id)
126035
126805
  @is_assigned = args[:is_assigned] if args.key?(:is_assigned)
126036
126806
  @is_instant = args[:is_instant] if args.key?(:is_instant)
126037
126807
  @model_version = args[:model_version] if args.key?(:model_version)
@@ -126467,7 +127237,7 @@ module Google
126467
127237
  # in that source. Fields like lengths, fps, etc. are not guaranteed to be the
126468
127238
  # same as those of transcodes. If the relevant info in source is too broken, the
126469
127239
  # corresponding fields (e.g., lengths) could be unset or with the default value,
126470
- # meaning VSI cannot compute them from the given info. Next id: 82
127240
+ # meaning VSI cannot compute them from the given info. Next id: 83
126471
127241
  class VideoVideoStreamInfo
126472
127242
  include Google::Apis::Core::Hashable
126473
127243
 
@@ -126631,6 +127401,11 @@ module Google
126631
127401
  # @return [Fixnum]
126632
127402
  attr_accessor :file_type
126633
127403
 
127404
+ # YT app video information. (go/yt-create-vsi-data)
127405
+ # Corresponds to the JSON property `googleVideoClipInfo`
127406
+ # @return [Google::Apis::ContentwarehouseV1::VideoGoogleVideoClipInfo]
127407
+ attr_accessor :google_video_clip_info
127408
+
126634
127409
  #
126635
127410
  # Corresponds to the JSON property `imageStream`
126636
127411
  # @return [Array<Google::Apis::ContentwarehouseV1::VideoVideoStreamInfoVideoStream>]
@@ -126916,6 +127691,7 @@ module Google
126916
127691
  @file_name = args[:file_name] if args.key?(:file_name)
126917
127692
  @file_size = args[:file_size] if args.key?(:file_size)
126918
127693
  @file_type = args[:file_type] if args.key?(:file_type)
127694
+ @google_video_clip_info = args[:google_video_clip_info] if args.key?(:google_video_clip_info)
126919
127695
  @image_stream = args[:image_stream] if args.key?(:image_stream)
126920
127696
  @is_asf = args[:is_asf] if args.key?(:is_asf)
126921
127697
  @is_image_file = args[:is_image_file] if args.key?(:is_image_file)
@@ -129206,7 +129982,7 @@ module Google
129206
129982
  # Intended to be simpler to work with than the ExportedStanza it's derived from
129207
129983
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
129208
129984
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
129209
- # 77
129985
+ # 78
129210
129986
  class YoutubeCommentsClusteringMiniStanza
129211
129987
  include Google::Apis::Core::Hashable
129212
129988
 
@@ -129343,6 +130119,11 @@ module Google
129343
130119
  attr_accessor :has_creator_reply
129344
130120
  alias_method :has_creator_reply?, :has_creator_reply
129345
130121
 
130122
+ # Impersonation scores map. Keyed by secondary key (score type).
130123
+ # Corresponds to the JSON property `impersonationScores`
130124
+ # @return [Hash<String,Float>]
130125
+ attr_accessor :impersonation_scores
130126
+
129346
130127
  # If the author is a channel member (sponsor).
129347
130128
  # Corresponds to the JSON property `isAuthorSponsor`
129348
130129
  # @return [Boolean]
@@ -129627,6 +130408,7 @@ module Google
129627
130408
  @fds = args[:fds] if args.key?(:fds)
129628
130409
  @has_creator_heart = args[:has_creator_heart] if args.key?(:has_creator_heart)
129629
130410
  @has_creator_reply = args[:has_creator_reply] if args.key?(:has_creator_reply)
130411
+ @impersonation_scores = args[:impersonation_scores] if args.key?(:impersonation_scores)
129630
130412
  @is_author_sponsor = args[:is_author_sponsor] if args.key?(:is_author_sponsor)
129631
130413
  @is_deleted = args[:is_deleted] if args.key?(:is_deleted)
129632
130414
  @is_pinned = args[:is_pinned] if args.key?(:is_pinned)