google-apis-contentwarehouse_v1 0.10.0 → 0.11.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.
@@ -3653,9 +3653,9 @@ module Google
3653
3653
  # @return [String]
3654
3654
  attr_accessor :contact_group_id
3655
3655
 
3656
- # If the Preference was implicitly set by PeopleApi. A preference with this bit
3657
- # will not be saved. See go/contact-group-email-preference-papi-problem for more
3658
- # info.
3656
+ # If the Preference was implicitly set by PeopleApi/Contacts Service. A
3657
+ # preference with this bit will not be saved to storage. See go/contact-group-
3658
+ # email-preference-papi-problem for more info.
3659
3659
  # Corresponds to the JSON property `isSynthetic`
3660
3660
  # @return [Boolean]
3661
3661
  attr_accessor :is_synthetic
@@ -7905,6 +7905,13 @@ module Google
7905
7905
  # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiProfileOwnerStats]
7906
7906
  attr_accessor :profile_owner_stats
7907
7907
 
7908
+ # Returned only when explicitly requested in the request mask as
7909
+ # read_only_profile_info.unjoined_email_certificates. Equivalent to fetching the
7910
+ # Emails & the Email Certificates with the acls ignored.
7911
+ # Corresponds to the JSON property `unjoinedEmailCertificates`
7912
+ # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiEmail>]
7913
+ attr_accessor :unjoined_email_certificates
7914
+
7908
7915
  def initialize(**args)
7909
7916
  update!(**args)
7910
7917
  end
@@ -7923,6 +7930,7 @@ module Google
7923
7930
  @owner_user_type = args[:owner_user_type] if args.key?(:owner_user_type)
7924
7931
  @plus_page_type = args[:plus_page_type] if args.key?(:plus_page_type)
7925
7932
  @profile_owner_stats = args[:profile_owner_stats] if args.key?(:profile_owner_stats)
7933
+ @unjoined_email_certificates = args[:unjoined_email_certificates] if args.key?(:unjoined_email_certificates)
7926
7934
  end
7927
7935
  end
7928
7936
 
@@ -9343,6 +9351,26 @@ module Google
9343
9351
  end
9344
9352
  end
9345
9353
 
9354
+ # Bluetooth capabilities related to usage of a feature.
9355
+ class AssistantApiBluetoothCapabilities
9356
+ include Google::Apis::Core::Hashable
9357
+
9358
+ # If this surface needs to bluetooth pair a phone before using a feature.
9359
+ # Corresponds to the JSON property `isBluetoothConnectedProfileRequired`
9360
+ # @return [Boolean]
9361
+ attr_accessor :is_bluetooth_connected_profile_required
9362
+ alias_method :is_bluetooth_connected_profile_required?, :is_bluetooth_connected_profile_required
9363
+
9364
+ def initialize(**args)
9365
+ update!(**args)
9366
+ end
9367
+
9368
+ # Update properties of this object
9369
+ def update!(**args)
9370
+ @is_bluetooth_connected_profile_required = args[:is_bluetooth_connected_profile_required] if args.key?(:is_bluetooth_connected_profile_required)
9371
+ end
9372
+ end
9373
+
9346
9374
  # CallCapabilities supported by a surface. See go/call-capabilities. Next ID: 7
9347
9375
  class AssistantApiCallCapabilities
9348
9376
  include Google::Apis::Core::Hashable
@@ -12079,7 +12107,7 @@ module Google
12079
12107
  # enum. A surface's capabilities can differ from the device's. An example would
12080
12108
  # be ANDROID_ALLO running on Pixel. Allo does not support AudioInput while the
12081
12109
  # Pixel does. In this case, audio_input will be set to false for Assistant Allo
12082
- # requests while it might be set to true for OPA_NEXUS requests. Next ID: 34
12110
+ # requests while it might be set to true for OPA_NEXUS requests. Next ID: 35
12083
12111
  class AssistantApiDeviceCapabilities
12084
12112
  include Google::Apis::Core::Hashable
12085
12113
 
@@ -12104,6 +12132,11 @@ module Google
12104
12132
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiAudioOutput]
12105
12133
  attr_accessor :audio_output
12106
12134
 
12135
+ # Bluetooth capabilities related to usage of a feature.
12136
+ # Corresponds to the JSON property `bluetoothCapabilities`
12137
+ # @return [Google::Apis::ContentwarehouseV1::AssistantApiBluetoothCapabilities]
12138
+ attr_accessor :bluetooth_capabilities
12139
+
12107
12140
  # CallCapabilities supported by a surface. See go/call-capabilities. Next ID: 7
12108
12141
  # Corresponds to the JSON property `callCapabilities`
12109
12142
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCallCapabilities]
@@ -12305,6 +12338,7 @@ module Google
12305
12338
  @android_intent_capabilities = args[:android_intent_capabilities] if args.key?(:android_intent_capabilities)
12306
12339
  @audio_input = args[:audio_input] if args.key?(:audio_input)
12307
12340
  @audio_output = args[:audio_output] if args.key?(:audio_output)
12341
+ @bluetooth_capabilities = args[:bluetooth_capabilities] if args.key?(:bluetooth_capabilities)
12308
12342
  @call_capabilities = args[:call_capabilities] if args.key?(:call_capabilities)
12309
12343
  @camera = args[:camera] if args.key?(:camera)
12310
12344
  @car_ux_restrictions = args[:car_ux_restrictions] if args.key?(:car_ux_restrictions)
@@ -14205,7 +14239,7 @@ module Google
14205
14239
  # enum. A surface's capabilities can differ from the device's. An example would
14206
14240
  # be ANDROID_ALLO running on Pixel. Allo does not support AudioInput while the
14207
14241
  # Pixel does. In this case, audio_input will be set to false for Assistant Allo
14208
- # requests while it might be set to true for OPA_NEXUS requests. Next ID: 34
14242
+ # requests while it might be set to true for OPA_NEXUS requests. Next ID: 35
14209
14243
  # Corresponds to the JSON property `capabilities`
14210
14244
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiDeviceCapabilities]
14211
14245
  attr_accessor :capabilities
@@ -16482,21 +16516,6 @@ module Google
16482
16516
  attr_accessor :click_impersonation_supported
16483
16517
  alias_method :click_impersonation_supported?, :click_impersonation_supported
16484
16518
 
16485
- # Whether client supports suggestion chips with colored background/border.
16486
- # Deprecated in favor of go/color-token-suggestion-chip.
16487
- # Corresponds to the JSON property `coloredChipBackgroundBorderSupported`
16488
- # @return [Boolean]
16489
- attr_accessor :colored_chip_background_border_supported
16490
- alias_method :colored_chip_background_border_supported?, :colored_chip_background_border_supported
16491
-
16492
- # Whether client supports suggestion chips with colored text. See design doc:
16493
- # http://go/opa-suggestions-ux-eng-design. Deprecated in favor of go/color-token-
16494
- # suggestion-chip.
16495
- # Corresponds to the JSON property `coloredChipTextSupported`
16496
- # @return [Boolean]
16497
- attr_accessor :colored_chip_text_supported
16498
- alias_method :colored_chip_text_supported?, :colored_chip_text_supported
16499
-
16500
16519
  # Whether client supports suggestions debug data to be displayed.
16501
16520
  # Corresponds to the JSON property `debugDataSupported`
16502
16521
  # @return [Boolean]
@@ -16600,8 +16619,6 @@ module Google
16600
16619
  # Update properties of this object
16601
16620
  def update!(**args)
16602
16621
  @click_impersonation_supported = args[:click_impersonation_supported] if args.key?(:click_impersonation_supported)
16603
- @colored_chip_background_border_supported = args[:colored_chip_background_border_supported] if args.key?(:colored_chip_background_border_supported)
16604
- @colored_chip_text_supported = args[:colored_chip_text_supported] if args.key?(:colored_chip_text_supported)
16605
16622
  @debug_data_supported = args[:debug_data_supported] if args.key?(:debug_data_supported)
16606
16623
  @drl_history_chip_supported = args[:drl_history_chip_supported] if args.key?(:drl_history_chip_supported)
16607
16624
  @escape_hatch_supported = args[:escape_hatch_supported] if args.key?(:escape_hatch_supported)
@@ -19051,7 +19068,7 @@ module Google
19051
19068
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
19052
19069
  attr_accessor :contact_grounding_provider_features
19053
19070
 
19054
- # Features to be passed from Media GP to HGR. Next ID: 6
19071
+ # Features to be passed from Media GP to HGR. Next ID: 9
19055
19072
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
19056
19073
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
19057
19074
  attr_accessor :media_grounding_provider_features
@@ -19192,10 +19209,21 @@ module Google
19192
19209
  end
19193
19210
  end
19194
19211
 
19195
- # Features to be passed from Media GP to HGR. Next ID: 6
19212
+ # Features to be passed from Media GP to HGR. Next ID: 9
19196
19213
  class AssistantGroundingRankerMediaGroundingProviderFeatures
19197
19214
  include Google::Apis::Core::Hashable
19198
19215
 
19216
+ # Release type for an album container.
19217
+ # Corresponds to the JSON property `albumReleaseType`
19218
+ # @return [String]
19219
+ attr_accessor :album_release_type
19220
+
19221
+ # True if the argument's type was explicitly mentioned in the query.
19222
+ # Corresponds to the JSON property `hasTypeSemanticEdge`
19223
+ # @return [Boolean]
19224
+ attr_accessor :has_type_semantic_edge
19225
+ alias_method :has_type_semantic_edge?, :has_type_semantic_edge
19226
+
19199
19227
  # Whether the candidate is YouTube CAST_VIDEO candidate. CAST_VIDEO is a
19200
19228
  # deeplink platform. This signal will be used to promote YouTube Music screenful
19201
19229
  # candidates with CAST_VIDEO platform for free users because free users cannot
@@ -19236,17 +19264,25 @@ module Google
19236
19264
  # @return [Float]
19237
19265
  attr_accessor :scubed_p_sai_music
19238
19266
 
19267
+ # Type of the media item.
19268
+ # Corresponds to the JSON property `type`
19269
+ # @return [String]
19270
+ attr_accessor :type
19271
+
19239
19272
  def initialize(**args)
19240
19273
  update!(**args)
19241
19274
  end
19242
19275
 
19243
19276
  # Update properties of this object
19244
19277
  def update!(**args)
19278
+ @album_release_type = args[:album_release_type] if args.key?(:album_release_type)
19279
+ @has_type_semantic_edge = args[:has_type_semantic_edge] if args.key?(:has_type_semantic_edge)
19245
19280
  @is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
19246
19281
  @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
19247
19282
  @is_seed_radio_request = args[:is_seed_radio_request] if args.key?(:is_seed_radio_request)
19248
19283
  @msc_rate = args[:msc_rate] if args.key?(:msc_rate)
19249
19284
  @scubed_p_sai_music = args[:scubed_p_sai_music] if args.key?(:scubed_p_sai_music)
19285
+ @type = args[:type] if args.key?(:type)
19250
19286
  end
19251
19287
  end
19252
19288
 
@@ -20522,6 +20558,11 @@ module Google
20522
20558
  # @return [Fixnum]
20523
20559
  attr_accessor :device_arbitration_creation_timestamp_ms
20524
20560
 
20561
+ # The timestamp that DeviceTargetingInput is built in milliseconds.
20562
+ # Corresponds to the JSON property `deviceTargetingInputCreationTimestampMs`
20563
+ # @return [Fixnum]
20564
+ attr_accessor :device_targeting_input_creation_timestamp_ms
20565
+
20525
20566
  #
20526
20567
  # Corresponds to the JSON property `eliminatedByFurtherDistance`
20527
20568
  # @return [Fixnum]
@@ -20584,6 +20625,7 @@ module Google
20584
20625
  # Update properties of this object
20585
20626
  def update!(**args)
20586
20627
  @device_arbitration_creation_timestamp_ms = args[:device_arbitration_creation_timestamp_ms] if args.key?(:device_arbitration_creation_timestamp_ms)
20628
+ @device_targeting_input_creation_timestamp_ms = args[:device_targeting_input_creation_timestamp_ms] if args.key?(:device_targeting_input_creation_timestamp_ms)
20587
20629
  @eliminated_by_further_distance = args[:eliminated_by_further_distance] if args.key?(:eliminated_by_further_distance)
20588
20630
  @eliminated_by_local_closest = args[:eliminated_by_local_closest] if args.key?(:eliminated_by_local_closest)
20589
20631
  @eliminated_by_unknown_different_room = args[:eliminated_by_unknown_different_room] if args.key?(:eliminated_by_unknown_different_room)
@@ -20879,7 +20921,7 @@ module Google
20879
20921
 
20880
20922
  # Signals to be used by the Prefulfillment Ranker. Derived from the
20881
20923
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
20882
- # Next ID: 41
20924
+ # Next ID: 47
20883
20925
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
20884
20926
  include Google::Apis::Core::Hashable
20885
20927
 
@@ -20936,6 +20978,13 @@ module Google
20936
20978
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerGroundingProviderFeatures]
20937
20979
  attr_accessor :grounding_provider_features
20938
20980
 
20981
+ # Whether the interpretation has a Search answer group object, signifying it
20982
+ # came from Search resolution.
20983
+ # Corresponds to the JSON property `hasAnswerGroup`
20984
+ # @return [Boolean]
20985
+ attr_accessor :has_answer_group
20986
+ alias_method :has_answer_group?, :has_answer_group
20987
+
20939
20988
  # This is a cross-intent feature which is calculated by iterating all intent
20940
20989
  # candidates. This feature should be populated in post-IG stage (before GB).
20941
20990
  # Corresponds to the JSON property `inQueryMaxEffectiveArgSpanLength`
@@ -20972,12 +21021,24 @@ module Google
20972
21021
  attr_accessor :is_fully_grounded
20973
21022
  alias_method :is_fully_grounded?, :is_fully_grounded
20974
21023
 
21024
+ # Whether the intent is a media control intent.
21025
+ # Corresponds to the JSON property `isMediaControlIntent`
21026
+ # @return [Boolean]
21027
+ attr_accessor :is_media_control_intent
21028
+ alias_method :is_media_control_intent?, :is_media_control_intent
21029
+
20975
21030
  # Whether the intent is a PlayGenericMusic-type intent.
20976
21031
  # Corresponds to the JSON property `isPlayGenericMusic`
20977
21032
  # @return [Boolean]
20978
21033
  attr_accessor :is_play_generic_music
20979
21034
  alias_method :is_play_generic_music?, :is_play_generic_music
20980
21035
 
21036
+ # Whether the intent is a podcast intent.
21037
+ # Corresponds to the JSON property `isPodcastIntent`
21038
+ # @return [Boolean]
21039
+ attr_accessor :is_podcast_intent
21040
+ alias_method :is_podcast_intent?, :is_podcast_intent
21041
+
20981
21042
  # The rank order of the interpretation as determined by kscorer. The kscorer-
20982
21043
  # determined dominant interpretation, if any, gets a rank of 0. The remaining N
20983
21044
  # interpretations get a rank of 1 through N.
@@ -21006,6 +21067,11 @@ module Google
21006
21067
  # @return [Float]
21007
21068
  attr_accessor :max_hgr_score_across_binding_sets
21008
21069
 
21070
+ # Rank of the intent as reported by NSP.
21071
+ # Corresponds to the JSON property `nspRank`
21072
+ # @return [Fixnum]
21073
+ attr_accessor :nsp_rank
21074
+
21009
21075
  # Number of alternative hypotheses from speech recognition(S3).
21010
21076
  # Corresponds to the JSON property `numAlternativeHypothesis`
21011
21077
  # @return [Float]
@@ -21046,6 +21112,11 @@ module Google
21046
21112
  # @return [Float]
21047
21113
  attr_accessor :num_variables_grounded
21048
21114
 
21115
+ # A ID corresponding to which bucket a given parsing score belongs in.
21116
+ # Corresponds to the JSON property `parsingScoreMse8BucketId`
21117
+ # @return [Fixnum]
21118
+ attr_accessor :parsing_score_mse8_bucket_id
21119
+
21049
21120
  # Cosine similarity between predicted query-to-term model and assistant intent-
21050
21121
  # type-based salient terms. This is intended to be only used for ACE ranking and
21051
21122
  # only populated for assistant traffic.
@@ -21066,6 +21137,12 @@ module Google
21066
21137
  # @return [Float]
21067
21138
  attr_accessor :predicted_intent_confidence
21068
21139
 
21140
+ # Used in HGR to modify the ranker based on input experimental flag and intent
21141
+ # name.
21142
+ # Corresponds to the JSON property `rankerName`
21143
+ # @return [String]
21144
+ attr_accessor :ranker_name
21145
+
21069
21146
  # The determination made by the SearchDispatchingConfig as to whether and how
21070
21147
  # this interpretation should be dispatched to Search.
21071
21148
  # Corresponds to the JSON property `searchDispatch`
@@ -21100,17 +21177,21 @@ module Google
21100
21177
  @fulfillable_dominant_media = args[:fulfillable_dominant_media] if args.key?(:fulfillable_dominant_media)
21101
21178
  @groundability_score = args[:groundability_score] if args.key?(:groundability_score)
21102
21179
  @grounding_provider_features = args[:grounding_provider_features] if args.key?(:grounding_provider_features)
21180
+ @has_answer_group = args[:has_answer_group] if args.key?(:has_answer_group)
21103
21181
  @in_query_max_effective_arg_span_length = args[:in_query_max_effective_arg_span_length] if args.key?(:in_query_max_effective_arg_span_length)
21104
21182
  @intent_name = args[:intent_name] if args.key?(:intent_name)
21105
21183
  @intent_name_auis_score = args[:intent_name_auis_score] if args.key?(:intent_name_auis_score)
21106
21184
  @intent_name_auis_score_exp = args[:intent_name_auis_score_exp] if args.key?(:intent_name_auis_score_exp)
21107
21185
  @is_feasible = args[:is_feasible] if args.key?(:is_feasible)
21108
21186
  @is_fully_grounded = args[:is_fully_grounded] if args.key?(:is_fully_grounded)
21187
+ @is_media_control_intent = args[:is_media_control_intent] if args.key?(:is_media_control_intent)
21109
21188
  @is_play_generic_music = args[:is_play_generic_music] if args.key?(:is_play_generic_music)
21189
+ @is_podcast_intent = args[:is_podcast_intent] if args.key?(:is_podcast_intent)
21110
21190
  @kscorer_rank = args[:kscorer_rank] if args.key?(:kscorer_rank)
21111
21191
  @laa_features = args[:laa_features] if args.key?(:laa_features)
21112
21192
  @mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
21113
21193
  @max_hgr_score_across_binding_sets = args[:max_hgr_score_across_binding_sets] if args.key?(:max_hgr_score_across_binding_sets)
21194
+ @nsp_rank = args[:nsp_rank] if args.key?(:nsp_rank)
21114
21195
  @num_alternative_hypothesis = args[:num_alternative_hypothesis] if args.key?(:num_alternative_hypothesis)
21115
21196
  @num_constraints = args[:num_constraints] if args.key?(:num_constraints)
21116
21197
  @num_constraints_satisfied = args[:num_constraints_satisfied] if args.key?(:num_constraints_satisfied)
@@ -21118,9 +21199,11 @@ module Google
21118
21199
  @num_grounded_args = args[:num_grounded_args] if args.key?(:num_grounded_args)
21119
21200
  @num_variables = args[:num_variables] if args.key?(:num_variables)
21120
21201
  @num_variables_grounded = args[:num_variables_grounded] if args.key?(:num_variables_grounded)
21202
+ @parsing_score_mse8_bucket_id = args[:parsing_score_mse8_bucket_id] if args.key?(:parsing_score_mse8_bucket_id)
21121
21203
  @pq2t_vs_assistant_ibst_cosine = args[:pq2t_vs_assistant_ibst_cosine] if args.key?(:pq2t_vs_assistant_ibst_cosine)
21122
21204
  @pq2t_vs_ibst_cosine = args[:pq2t_vs_ibst_cosine] if args.key?(:pq2t_vs_ibst_cosine)
21123
21205
  @predicted_intent_confidence = args[:predicted_intent_confidence] if args.key?(:predicted_intent_confidence)
21206
+ @ranker_name = args[:ranker_name] if args.key?(:ranker_name)
21124
21207
  @search_dispatch = args[:search_dispatch] if args.key?(:search_dispatch)
21125
21208
  @top_hypothesis_confidence = args[:top_hypothesis_confidence] if args.key?(:top_hypothesis_confidence)
21126
21209
  @vertical_confidence_score = args[:vertical_confidence_score] if args.key?(:vertical_confidence_score)
@@ -32688,10 +32771,16 @@ module Google
32688
32771
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
32689
32772
  attr_accessor :id
32690
32773
 
32691
- # Inferred geometry defines the geometry of a feature through the geometry of
32692
- # other features. For instance, the geometry of a timezone can be specified as
32693
- # the union of all the countries it applies to. See: go/inferred-geometry and go/
32694
- # geo-schema:composite-geometry-editor for more details.
32774
+ # Inferred geometry defines the geometry of a feature as the union or exclusion
32775
+ # of the geometry of other features. For instance, the geometry of a timezone
32776
+ # can be specified as the union of all the countries it applies to. In this
32777
+ # scenario, the timezone will can be considered a "composite feature", while the
32778
+ # countries are its "composing features". A composite feature must have a
32779
+ # bidirectional reference between itself and all its composing features. A
32780
+ # composite feature refers to its composing features via `geometry_composition`,
32781
+ # while the composing features must refer back to the composing feature via `
32782
+ # defines_geometry_for`. See: go/inferred-geometry and go/geo-schema:composite-
32783
+ # geometry-editor for more details.
32695
32784
  # Corresponds to the JSON property `inferredGeometry`
32696
32785
  # @return [Google::Apis::ContentwarehouseV1::GeostoreInferredGeometryProto]
32697
32786
  attr_accessor :inferred_geometry
@@ -32929,9 +33018,9 @@ module Google
32929
33018
  # loops defining multiple disconnected regions possibly with holes. All loops
32930
33019
  # should be oriented CCW around the region they define. This applies to the
32931
33020
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
32932
- # infrastructure) the data fields may be replaced by a single shape_id; see
32933
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
32934
- # work with public functions in //geostore/base/public/polygon.h.
33021
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
33022
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
33023
+ # public functions in //geostore/base/public/polygon.h.
32935
33024
  # Corresponds to the JSON property `polygonForDisplay`
32936
33025
  # @return [Google::Apis::ContentwarehouseV1::GeostorePolygonProto]
32937
33026
  attr_accessor :polygon_for_display
@@ -33161,7 +33250,7 @@ module Google
33161
33250
  # @return [Google::Apis::ContentwarehouseV1::GeostoreExistenceProto]
33162
33251
  attr_accessor :status
33163
33252
 
33164
- # Represents information about the store front geoemtry. Only
33253
+ # Represents information about the store front geometry. Only
33165
33254
  # TYPE_ESTABLISHMENT_POI should have this field set.
33166
33255
  # Corresponds to the JSON property `storefrontGeometry`
33167
33256
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreAnchoredGeometryProto>]
@@ -33254,9 +33343,9 @@ module Google
33254
33343
  # loops defining multiple disconnected regions possibly with holes. All loops
33255
33344
  # should be oriented CCW around the region they define. This applies to the
33256
33345
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
33257
- # infrastructure) the data fields may be replaced by a single shape_id; see
33258
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
33259
- # work with public functions in //geostore/base/public/polygon.h.
33346
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
33347
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
33348
+ # public functions in //geostore/base/public/polygon.h.
33260
33349
  # Corresponds to the JSON property `waterRemovedPolygon`
33261
33350
  # @return [Google::Apis::ContentwarehouseV1::GeostorePolygonProto]
33262
33351
  attr_accessor :water_removed_polygon
@@ -33414,7 +33503,7 @@ module Google
33414
33503
 
33415
33504
  # Proto used to represent rights for a field type. See go/geo-rights for more
33416
33505
  # details. NOTE: Use google3/geostore/provenance/public/rights.h or google3/java/
33417
- # com/google/geostore/provenance/rights/Rights.swig instead of accessing this
33506
+ # com/google/geostore/provenance/rights/Rights.java instead of accessing this
33418
33507
  # proto directly.
33419
33508
  class GeostoreFieldWithRightsProto
33420
33509
  include Google::Apis::Core::Hashable
@@ -33731,9 +33820,9 @@ module Google
33731
33820
  # loops defining multiple disconnected regions possibly with holes. All loops
33732
33821
  # should be oriented CCW around the region they define. This applies to the
33733
33822
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
33734
- # infrastructure) the data fields may be replaced by a single shape_id; see
33735
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
33736
- # work with public functions in //geostore/base/public/polygon.h.
33823
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
33824
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
33825
+ # public functions in //geostore/base/public/polygon.h.
33737
33826
  # Corresponds to the JSON property `restOfWorldPolygon`
33738
33827
  # @return [Google::Apis::ContentwarehouseV1::GeostorePolygonProto]
33739
33828
  attr_accessor :rest_of_world_polygon
@@ -33742,9 +33831,9 @@ module Google
33742
33831
  # loops defining multiple disconnected regions possibly with holes. All loops
33743
33832
  # should be oriented CCW around the region they define. This applies to the
33744
33833
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
33745
- # infrastructure) the data fields may be replaced by a single shape_id; see
33746
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
33747
- # work with public functions in //geostore/base/public/polygon.h.
33834
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
33835
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
33836
+ # public functions in //geostore/base/public/polygon.h.
33748
33837
  # Corresponds to the JSON property `selfPolygon`
33749
33838
  # @return [Google::Apis::ContentwarehouseV1::GeostorePolygonProto]
33750
33839
  attr_accessor :self_polygon
@@ -33833,10 +33922,16 @@ module Google
33833
33922
  end
33834
33923
  end
33835
33924
 
33836
- # Inferred geometry defines the geometry of a feature through the geometry of
33837
- # other features. For instance, the geometry of a timezone can be specified as
33838
- # the union of all the countries it applies to. See: go/inferred-geometry and go/
33839
- # geo-schema:composite-geometry-editor for more details.
33925
+ # Inferred geometry defines the geometry of a feature as the union or exclusion
33926
+ # of the geometry of other features. For instance, the geometry of a timezone
33927
+ # can be specified as the union of all the countries it applies to. In this
33928
+ # scenario, the timezone will can be considered a "composite feature", while the
33929
+ # countries are its "composing features". A composite feature must have a
33930
+ # bidirectional reference between itself and all its composing features. A
33931
+ # composite feature refers to its composing features via `geometry_composition`,
33932
+ # while the composing features must refer back to the composing feature via `
33933
+ # defines_geometry_for`. See: go/inferred-geometry and go/geo-schema:composite-
33934
+ # geometry-editor for more details.
33840
33935
  class GeostoreInferredGeometryProto
33841
33936
  include Google::Apis::Core::Hashable
33842
33937
 
@@ -33883,7 +33978,7 @@ module Google
33883
33978
 
33884
33979
  # Proto used to represent rights for FeatureProto. See go/geo-rights for more
33885
33980
  # details. NOTE: Use google3/geostore/provenance/public/rights.h or google3/java/
33886
- # com/google/geostore/provenance/rights/Rights.swig instead of accessing this
33981
+ # com/google/geostore/provenance/rights/Rights.java instead of accessing this
33887
33982
  # proto directly.
33888
33983
  # Corresponds to the JSON property `rightsStatus`
33889
33984
  # @return [Google::Apis::ContentwarehouseV1::GeostoreRightsStatusProto]
@@ -34637,6 +34732,14 @@ module Google
34637
34732
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
34638
34733
  attr_accessor :segment
34639
34734
 
34735
+ # The inverse of the primary connection bit that provides a hint that this
34736
+ # connection is part of a merge and a vehicle following this connection should
34737
+ # yield to vehicles following other incoming connections.
34738
+ # Corresponds to the JSON property `yieldToOtherConnections`
34739
+ # @return [Boolean]
34740
+ attr_accessor :yield_to_other_connections
34741
+ alias_method :yield_to_other_connections?, :yield_to_other_connections
34742
+
34640
34743
  def initialize(**args)
34641
34744
  update!(**args)
34642
34745
  end
@@ -34650,6 +34753,7 @@ module Google
34650
34753
  @lane_number = args[:lane_number] if args.key?(:lane_number)
34651
34754
  @primary_connection = args[:primary_connection] if args.key?(:primary_connection)
34652
34755
  @segment = args[:segment] if args.key?(:segment)
34756
+ @yield_to_other_connections = args[:yield_to_other_connections] if args.key?(:yield_to_other_connections)
34653
34757
  end
34654
34758
  end
34655
34759
 
@@ -35753,9 +35857,9 @@ module Google
35753
35857
  # loops defining multiple disconnected regions possibly with holes. All loops
35754
35858
  # should be oriented CCW around the region they define. This applies to the
35755
35859
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
35756
- # infrastructure) the data fields may be replaced by a single shape_id; see
35757
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
35758
- # work with public functions in //geostore/base/public/polygon.h.
35860
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
35861
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
35862
+ # public functions in //geostore/base/public/polygon.h.
35759
35863
  class GeostorePolygonProto
35760
35864
  include Google::Apis::Core::Hashable
35761
35865
 
@@ -35813,17 +35917,6 @@ module Google
35813
35917
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFieldMetadataProto]
35814
35918
  attr_accessor :metadata
35815
35919
 
35816
- # A unique identifier for this polygon's data which is being held externally in
35817
- # Shapestore (see go/shapestore). This is only ever set internally within
35818
- # MapFacts or underlying infrastructure and if set is set in lieu of other
35819
- # fields. Clients of MapFacts (or anyone downstream of them) can rely on the
35820
- # guarantee that this field will never be set and that the actual data for the
35821
- # polygon will be present instead. This field has been deprecated in favor of
35822
- # FeatureProto.internal.polygon_shape_id
35823
- # Corresponds to the JSON property `shapeId`
35824
- # @return [String]
35825
- attr_accessor :shape_id
35826
-
35827
35920
  # This is proto2's version of MessageSet.
35828
35921
  # Corresponds to the JSON property `temporaryData`
35829
35922
  # @return [Google::Apis::ContentwarehouseV1::Proto2BridgeMessageSet]
@@ -35855,7 +35948,6 @@ module Google
35855
35948
  @height_meters = args[:height_meters] if args.key?(:height_meters)
35856
35949
  @loop = args[:loop] if args.key?(:loop)
35857
35950
  @metadata = args[:metadata] if args.key?(:metadata)
35858
- @shape_id = args[:shape_id] if args.key?(:shape_id)
35859
35951
  @temporary_data = args[:temporary_data] if args.key?(:temporary_data)
35860
35952
  @unsuitable_for_display = args[:unsuitable_for_display] if args.key?(:unsuitable_for_display)
35861
35953
  end
@@ -36976,7 +37068,7 @@ module Google
36976
37068
 
36977
37069
  # Proto used to represent rights for FeatureProto. See go/geo-rights for more
36978
37070
  # details. NOTE: Use google3/geostore/provenance/public/rights.h or google3/java/
36979
- # com/google/geostore/provenance/rights/Rights.swig instead of accessing this
37071
+ # com/google/geostore/provenance/rights/Rights.java instead of accessing this
36980
37072
  # proto directly.
36981
37073
  class GeostoreRightsStatusProto
36982
37074
  include Google::Apis::Core::Hashable
@@ -37712,9 +37804,13 @@ module Google
37712
37804
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
37713
37805
  attr_accessor :sibling
37714
37806
 
37807
+ # RESERVED
37808
+ # Corresponds to the JSON property `slope`
37809
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreSlopeProto>]
37810
+ attr_accessor :slope
37811
+
37715
37812
  # clang-format on LINT.ThenChange(//depot/google3/geostore/base/proto/lane.proto)
37716
- # If this option is missing it means that the surface is unknown. Specific
37717
- # lanes may override this segment-level surface type.
37813
+ # Specific lanes may override this segment-level surface type.
37718
37814
  # Corresponds to the JSON property `surface`
37719
37815
  # @return [String]
37720
37816
  attr_accessor :surface
@@ -37807,6 +37903,7 @@ module Google
37807
37903
  @route_association = args[:route_association] if args.key?(:route_association)
37808
37904
  @separated_roadways = args[:separated_roadways] if args.key?(:separated_roadways)
37809
37905
  @sibling = args[:sibling] if args.key?(:sibling)
37906
+ @slope = args[:slope] if args.key?(:slope)
37810
37907
  @surface = args[:surface] if args.key?(:surface)
37811
37908
  @surface_metadata = args[:surface_metadata] if args.key?(:surface_metadata)
37812
37909
  @sweep = args[:sweep] if args.key?(:sweep)
@@ -37954,6 +38051,34 @@ module Google
37954
38051
  end
37955
38052
  end
37956
38053
 
38054
+ #
38055
+ class GeostoreSlopeProto
38056
+ include Google::Apis::Core::Hashable
38057
+
38058
+ # Slope value as elevation change divided by horizontal distance, in the format
38059
+ # of decimal, e.g., ‘0.1234’ means a 12.34% slope. If a slope_value is unset, it
38060
+ # indicates we don’t have enough information to compute slope at this location.
38061
+ # Corresponds to the JSON property `slopeValue`
38062
+ # @return [Float]
38063
+ attr_accessor :slope_value
38064
+
38065
+ # Indicates how far along the segment this slope value starts to apply, in the
38066
+ # format of decimal between 0 and 1.
38067
+ # Corresponds to the JSON property `startPointFraction`
38068
+ # @return [Float]
38069
+ attr_accessor :start_point_fraction
38070
+
38071
+ def initialize(**args)
38072
+ update!(**args)
38073
+ end
38074
+
38075
+ # Update properties of this object
38076
+ def update!(**args)
38077
+ @slope_value = args[:slope_value] if args.key?(:slope_value)
38078
+ @start_point_fraction = args[:start_point_fraction] if args.key?(:start_point_fraction)
38079
+ end
38080
+ end
38081
+
37957
38082
  # MapFacts GAIA ID assigned to this feature. These values are virtual GAIA IDs
37958
38083
  # from MapFacts, and as such are not stored in Focus.
37959
38084
  class GeostoreSocialReferenceProto
@@ -38190,6 +38315,11 @@ module Google
38190
38315
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreRoadConditionalProto>]
38191
38316
  attr_accessor :condition
38192
38317
 
38318
+ # The source of the speed limit.
38319
+ # Corresponds to the JSON property `sourceType`
38320
+ # @return [String]
38321
+ attr_accessor :source_type
38322
+
38193
38323
  # A speed value and unit.
38194
38324
  # Corresponds to the JSON property `speedWithUnit`
38195
38325
  # @return [Google::Apis::ContentwarehouseV1::GeostoreSpeedProto]
@@ -38215,6 +38345,7 @@ module Google
38215
38345
  def update!(**args)
38216
38346
  @category = args[:category] if args.key?(:category)
38217
38347
  @condition = args[:condition] if args.key?(:condition)
38348
+ @source_type = args[:source_type] if args.key?(:source_type)
38218
38349
  @speed_with_unit = args[:speed_with_unit] if args.key?(:speed_with_unit)
38219
38350
  @unlimited_speed = args[:unlimited_speed] if args.key?(:unlimited_speed)
38220
38351
  @variable_speed = args[:variable_speed] if args.key?(:variable_speed)
@@ -38225,12 +38356,12 @@ module Google
38225
38356
  class GeostoreSpeedProto
38226
38357
  include Google::Apis::Core::Hashable
38227
38358
 
38228
- #
38359
+ # All speed values are stored in kilometers per hour.
38229
38360
  # Corresponds to the JSON property `speed`
38230
38361
  # @return [Float]
38231
38362
  attr_accessor :speed
38232
38363
 
38233
- #
38364
+ # Mapfacts only allows unit to be KILOMETERS_PER_HOUR.
38234
38365
  # Corresponds to the JSON property `unit`
38235
38366
  # @return [String]
38236
38367
  attr_accessor :unit
@@ -38343,9 +38474,9 @@ module Google
38343
38474
  # loops defining multiple disconnected regions possibly with holes. All loops
38344
38475
  # should be oriented CCW around the region they define. This applies to the
38345
38476
  # exterior loop(s) as well as any holes. Within MapFacts (and underlying
38346
- # infrastructure) the data fields may be replaced by a single shape_id; see
38347
- # comments on shape_id below. Any such PolygonProtos shouldn't be expected to
38348
- # work with public functions in //geostore/base/public/polygon.h.
38477
+ # infrastructure) the data fields may be replaced by a single shape_id stored in
38478
+ # internal_feature. Any such PolygonProtos shouldn't be expected to work with
38479
+ # public functions in //geostore/base/public/polygon.h.
38349
38480
  # Corresponds to the JSON property `polygon`
38350
38481
  # @return [Google::Apis::ContentwarehouseV1::GeostorePolygonProto]
38351
38482
  attr_accessor :polygon
@@ -41899,11 +42030,6 @@ module Google
41899
42030
  class GoogleAssistantAccessoryV1DeviceConfig
41900
42031
  include Google::Apis::Core::Hashable
41901
42032
 
41902
- # Contains fields to identify the device which sent the request.
41903
- # Corresponds to the JSON property `deviceBuild`
41904
- # @return [Google::Apis::ContentwarehouseV1::GoogleAssistantEmbeddedV1DeviceBuild]
41905
- attr_accessor :device_build
41906
-
41907
42033
  # Device model capabilities override from client.
41908
42034
  # Corresponds to the JSON property `deviceModelCapabilitiesOverride`
41909
42035
  # @return [Google::Apis::ContentwarehouseV1::GoogleAssistantEmbeddedV1DeviceModelCapabilitiesOverride]
@@ -41915,15 +42041,20 @@ module Google
41915
42041
  # @return [String]
41916
42042
  attr_accessor :heterodyne_token
41917
42043
 
42044
+ # Contains fields to identify the device which sent the request.
42045
+ # Corresponds to the JSON property `surfaceIdentity`
42046
+ # @return [Google::Apis::ContentwarehouseV1::GoogleAssistantEmbeddedV1SurfaceIdentity]
42047
+ attr_accessor :surface_identity
42048
+
41918
42049
  def initialize(**args)
41919
42050
  update!(**args)
41920
42051
  end
41921
42052
 
41922
42053
  # Update properties of this object
41923
42054
  def update!(**args)
41924
- @device_build = args[:device_build] if args.key?(:device_build)
41925
42055
  @device_model_capabilities_override = args[:device_model_capabilities_override] if args.key?(:device_model_capabilities_override)
41926
42056
  @heterodyne_token = args[:heterodyne_token] if args.key?(:heterodyne_token)
42057
+ @surface_identity = args[:surface_identity] if args.key?(:surface_identity)
41927
42058
  end
41928
42059
  end
41929
42060
 
@@ -42273,25 +42404,6 @@ module Google
42273
42404
  end
42274
42405
  end
42275
42406
 
42276
- # Contains fields to identify the device which sent the request.
42277
- class GoogleAssistantEmbeddedV1DeviceBuild
42278
- include Google::Apis::Core::Hashable
42279
-
42280
- # * Fully formed user agent suffix string.
42281
- # Corresponds to the JSON property `userAgentSuffix`
42282
- # @return [String]
42283
- attr_accessor :user_agent_suffix
42284
-
42285
- def initialize(**args)
42286
- update!(**args)
42287
- end
42288
-
42289
- # Update properties of this object
42290
- def update!(**args)
42291
- @user_agent_suffix = args[:user_agent_suffix] if args.key?(:user_agent_suffix)
42292
- end
42293
- end
42294
-
42295
42407
  # Device model capabilities override from client.
42296
42408
  class GoogleAssistantEmbeddedV1DeviceModelCapabilitiesOverride
42297
42409
  include Google::Apis::Core::Hashable
@@ -42392,6 +42504,31 @@ module Google
42392
42504
  end
42393
42505
  end
42394
42506
 
42507
+ # Contains fields to identify the device which sent the request.
42508
+ class GoogleAssistantEmbeddedV1SurfaceIdentity
42509
+ include Google::Apis::Core::Hashable
42510
+
42511
+ # Surface type that the device identifies as.
42512
+ # Corresponds to the JSON property `surfaceType`
42513
+ # @return [String]
42514
+ attr_accessor :surface_type
42515
+
42516
+ # * Fully formed user agent suffix string.
42517
+ # Corresponds to the JSON property `userAgentSuffix`
42518
+ # @return [String]
42519
+ attr_accessor :user_agent_suffix
42520
+
42521
+ def initialize(**args)
42522
+ update!(**args)
42523
+ end
42524
+
42525
+ # Update properties of this object
42526
+ def update!(**args)
42527
+ @surface_type = args[:surface_type] if args.key?(:surface_type)
42528
+ @user_agent_suffix = args[:user_agent_suffix] if args.key?(:user_agent_suffix)
42529
+ end
42530
+ end
42531
+
42395
42532
  # Conceptually, timers are clocks that count down from an initial duration and
42396
42533
  # ring when they reach 0. In practice, as a timer is running, it holds a stable
42397
42534
  # expiration time and computes the remaining duration using the current time.
@@ -42851,6 +42988,74 @@ module Google
42851
42988
  end
42852
42989
  end
42853
42990
 
42991
+ # Describes a data export job.
42992
+ class GoogleCloudContentwarehouseV1DataExportJob
42993
+ include Google::Apis::Core::Hashable
42994
+
42995
+ # The create time of the job.
42996
+ # Corresponds to the JSON property `createTime`
42997
+ # @return [String]
42998
+ attr_accessor :create_time
42999
+
43000
+ # BigQuery dataset name.
43001
+ # Corresponds to the JSON property `dataset`
43002
+ # @return [String]
43003
+ attr_accessor :dataset
43004
+
43005
+ # Frequency of the data export job.
43006
+ # Corresponds to the JSON property `frequency`
43007
+ # @return [String]
43008
+ attr_accessor :frequency
43009
+
43010
+ # The data export job ID.
43011
+ # Corresponds to the JSON property `id`
43012
+ # @return [String]
43013
+ attr_accessor :id
43014
+
43015
+ # Location of document warehouse API.
43016
+ # Corresponds to the JSON property `location`
43017
+ # @return [String]
43018
+ attr_accessor :location
43019
+
43020
+ # User project number. The project should have document warehouse API enabled.
43021
+ # The BigQuery database should also be in the same project.
43022
+ # Corresponds to the JSON property `projectNumber`
43023
+ # @return [Fixnum]
43024
+ attr_accessor :project_number
43025
+
43026
+ # The current state of the data export job.
43027
+ # Corresponds to the JSON property `state`
43028
+ # @return [String]
43029
+ attr_accessor :state
43030
+
43031
+ # BigQuery table name.
43032
+ # Corresponds to the JSON property `table`
43033
+ # @return [String]
43034
+ attr_accessor :table
43035
+
43036
+ # The last update time of the job.
43037
+ # Corresponds to the JSON property `updateTime`
43038
+ # @return [String]
43039
+ attr_accessor :update_time
43040
+
43041
+ def initialize(**args)
43042
+ update!(**args)
43043
+ end
43044
+
43045
+ # Update properties of this object
43046
+ def update!(**args)
43047
+ @create_time = args[:create_time] if args.key?(:create_time)
43048
+ @dataset = args[:dataset] if args.key?(:dataset)
43049
+ @frequency = args[:frequency] if args.key?(:frequency)
43050
+ @id = args[:id] if args.key?(:id)
43051
+ @location = args[:location] if args.key?(:location)
43052
+ @project_number = args[:project_number] if args.key?(:project_number)
43053
+ @state = args[:state] if args.key?(:state)
43054
+ @table = args[:table] if args.key?(:table)
43055
+ @update_time = args[:update_time] if args.key?(:update_time)
43056
+ end
43057
+ end
43058
+
42854
43059
  # Represents the action responsible for properties update operations.
42855
43060
  class GoogleCloudContentwarehouseV1DataUpdateAction
42856
43061
  include Google::Apis::Core::Hashable
@@ -43690,11 +43895,12 @@ module Google
43690
43895
  # @return [String]
43691
43896
  attr_accessor :input_path
43692
43897
 
43693
- # The Cloud Storage folder path used to store the raw results from processors.
43694
- # Format: gs:///.
43695
- # Corresponds to the JSON property `processorResultsFolderPath`
43898
+ # The Doc AI processor type name. Only used when the format of ingested files is
43899
+ # Doc AI Document proto format. Reference: https://source.corp.google.com/piper//
43900
+ # /depot/google3/cloud/ai/documentai/core/c/proto/processor.proto;l=21
43901
+ # Corresponds to the JSON property `processorType`
43696
43902
  # @return [String]
43697
- attr_accessor :processor_results_folder_path
43903
+ attr_accessor :processor_type
43698
43904
 
43699
43905
  # The Document Warehouse schema resource name. All documents processed by this
43700
43906
  # pipeline will use this schema. Format: projects/`project_number`/locations/`
@@ -43710,7 +43916,7 @@ module Google
43710
43916
  # Update properties of this object
43711
43917
  def update!(**args)
43712
43918
  @input_path = args[:input_path] if args.key?(:input_path)
43713
- @processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
43919
+ @processor_type = args[:processor_type] if args.key?(:processor_type)
43714
43920
  @schema_name = args[:schema_name] if args.key?(:schema_name)
43715
43921
  end
43716
43922
  end
@@ -44188,6 +44394,31 @@ module Google
44188
44394
  end
44189
44395
  end
44190
44396
 
44397
+ # Request message for DocumentService.LockDocument.
44398
+ class GoogleCloudContentwarehouseV1LockDocumentRequest
44399
+ include Google::Apis::Core::Hashable
44400
+
44401
+ # The collection the document connects to.
44402
+ # Corresponds to the JSON property `collectionId`
44403
+ # @return [String]
44404
+ attr_accessor :collection_id
44405
+
44406
+ # The user information.
44407
+ # Corresponds to the JSON property `lockingUser`
44408
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1UserInfo]
44409
+ attr_accessor :locking_user
44410
+
44411
+ def initialize(**args)
44412
+ update!(**args)
44413
+ end
44414
+
44415
+ # Update properties of this object
44416
+ def update!(**args)
44417
+ @collection_id = args[:collection_id] if args.key?(:collection_id)
44418
+ @locking_user = args[:locking_user] if args.key?(:locking_user)
44419
+ end
44420
+ end
44421
+
44191
44422
  # Map property value. Represents a structured entries of key value pairs,
44192
44423
  # consisting of field names which map to dynamically typed values.
44193
44424
  class GoogleCloudContentwarehouseV1MapProperty
@@ -44259,7 +44490,7 @@ module Google
44259
44490
 
44260
44491
  # The configuration of processing documents in Document Warehouse with DocAi
44261
44492
  # processors pipeline.
44262
- class GoogleCloudContentwarehouseV1ProcessWithDocAi
44493
+ class GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline
44263
44494
  include Google::Apis::Core::Hashable
44264
44495
 
44265
44496
  # The list of all the resource names of the documents to be processed. Format:
@@ -44978,9 +45209,14 @@ module Google
44978
45209
  # The configuration of processing documents in Document Warehouse with DocAi
44979
45210
  # processors pipeline.
44980
45211
  # Corresponds to the JSON property `processWithDocAiPipeline`
44981
- # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessWithDocAi]
45212
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline]
44982
45213
  attr_accessor :process_with_doc_ai_pipeline
44983
45214
 
45215
+ # Meta information is used to improve the performance of the service.
45216
+ # Corresponds to the JSON property `requestMetadata`
45217
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RequestMetadata]
45218
+ attr_accessor :request_metadata
45219
+
44984
45220
  def initialize(**args)
44985
45221
  update!(**args)
44986
45222
  end
@@ -44991,6 +45227,7 @@ module Google
44991
45227
  @gcs_ingest_pipeline = args[:gcs_ingest_pipeline] if args.key?(:gcs_ingest_pipeline)
44992
45228
  @gcs_ingest_with_doc_ai_processors_pipeline = args[:gcs_ingest_with_doc_ai_processors_pipeline] if args.key?(:gcs_ingest_with_doc_ai_processors_pipeline)
44993
45229
  @process_with_doc_ai_pipeline = args[:process_with_doc_ai_pipeline] if args.key?(:process_with_doc_ai_pipeline)
45230
+ @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
44994
45231
  end
44995
45232
  end
44996
45233
 
@@ -48057,6 +48294,11 @@ module Google
48057
48294
  # @return [String]
48058
48295
  attr_accessor :experimental_floor_id
48059
48296
 
48297
+ # The display label of this office location. For example a building name.
48298
+ # Corresponds to the JSON property `label`
48299
+ # @return [String]
48300
+ attr_accessor :label
48301
+
48060
48302
  def initialize(**args)
48061
48303
  update!(**args)
48062
48304
  end
@@ -48066,6 +48308,7 @@ module Google
48066
48308
  @experimental_building_id = args[:experimental_building_id] if args.key?(:experimental_building_id)
48067
48309
  @experimental_desk_id = args[:experimental_desk_id] if args.key?(:experimental_desk_id)
48068
48310
  @experimental_floor_id = args[:experimental_floor_id] if args.key?(:experimental_floor_id)
48311
+ @label = args[:label] if args.key?(:label)
48069
48312
  end
48070
48313
  end
48071
48314
 
@@ -51712,6 +51955,18 @@ module Google
51712
51955
  # @return [String]
51713
51956
  attr_accessor :type
51714
51957
 
51958
+ # The end timestamp of the video segment in microseconds that this preview is
51959
+ # generated from. Used for segmented video previews.
51960
+ # Corresponds to the JSON property `videoSegmentEndUs`
51961
+ # @return [Fixnum]
51962
+ attr_accessor :video_segment_end_us
51963
+
51964
+ # The start timestamp of the video segment in microseconds that this preview is
51965
+ # generated from. Used for segmented video previews.
51966
+ # Corresponds to the JSON property `videoSegmentStartUs`
51967
+ # @return [Fixnum]
51968
+ attr_accessor :video_segment_start_us
51969
+
51715
51970
  # Width of the stored preview.
51716
51971
  # Corresponds to the JSON property `width`
51717
51972
  # @return [Fixnum]
@@ -51733,6 +51988,8 @@ module Google
51733
51988
  @state = args[:state] if args.key?(:state)
51734
51989
  @timestamp = args[:timestamp] if args.key?(:timestamp)
51735
51990
  @type = args[:type] if args.key?(:type)
51991
+ @video_segment_end_us = args[:video_segment_end_us] if args.key?(:video_segment_end_us)
51992
+ @video_segment_start_us = args[:video_segment_start_us] if args.key?(:video_segment_start_us)
51736
51993
  @width = args[:width] if args.key?(:width)
51737
51994
  end
51738
51995
  end
@@ -52275,13 +52532,11 @@ module Google
52275
52532
  # @return [Google::Apis::ContentwarehouseV1::FaceIndexing]
52276
52533
  attr_accessor :packed_full_face_info
52277
52534
 
52278
- # This message holds person attributes from the LookNet-Person model (go/looknet-
52279
- # person) and the Style AI Iconic Person Scorer (http://go/styleai-indexing-
52280
- # g3doc#iconic-person-scorer) for the most iconic person in a style image. There
52281
- # is an ongoing collaboration with the Human Sensing team on LookNet-Person v3 (
52282
- # go/looknet-person-v3-collaboration) that deals with some of these signals
52283
- # together. Hence, the combined proto definition. Discretization of float values
52284
- # is recommended by CDS for cheaper and more efficient storage. Next ID: 11
52535
+ # This message holds person attributes from the Person Interpreter model (go/
52536
+ # person-interpreter) and the Style AI Iconic Person Scorer (go/styleai-indexing-
52537
+ # g3doc#iconic-person-scorer) for the most iconic person in a style image.
52538
+ # Discretization of float values is recommended by CDS for cheaper and more
52539
+ # efficient storage. Next ID: 11
52285
52540
  # Corresponds to the JSON property `personAttributes`
52286
52541
  # @return [Google::Apis::ContentwarehouseV1::LensDiscoveryStylePersonAttributes]
52287
52542
  attr_accessor :person_attributes
@@ -57254,8 +57509,12 @@ module Google
57254
57509
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57255
57510
  attr_accessor :chrome_counts
57256
57511
 
57257
- # LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/websearch_main.
57258
- # sdl)
57512
+ # LINT.ThenChange(//depot/google3/indexing/ames/spanner/schema/web-version.proto)
57513
+ # Corresponds to the JSON property `creator`
57514
+ # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57515
+ attr_accessor :creator
57516
+
57517
+ #
57259
57518
  # Corresponds to the JSON property `instantNavboost`
57260
57519
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57261
57520
  attr_accessor :instant_navboost
@@ -57265,31 +57524,16 @@ module Google
57265
57524
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57266
57525
  attr_accessor :localyp
57267
57526
 
57268
- #
57269
- # Corresponds to the JSON property `localypVersion`
57270
- # @return [String]
57271
- attr_accessor :localyp_version
57272
-
57273
57527
  #
57274
57528
  # Corresponds to the JSON property `modernFormatContent`
57275
57529
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57276
57530
  attr_accessor :modern_format_content
57277
57531
 
57278
- #
57279
- # Corresponds to the JSON property `modernFormatContentVersion`
57280
- # @return [String]
57281
- attr_accessor :modern_format_content_version
57282
-
57283
57532
  # LINT.IfChange
57284
57533
  # Corresponds to the JSON property `navboost`
57285
57534
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57286
57535
  attr_accessor :navboost
57287
57536
 
57288
- # DEPRECATED
57289
- # Corresponds to the JSON property `navboostVersion`
57290
- # @return [String]
57291
- attr_accessor :navboost_version
57292
-
57293
57537
  #
57294
57538
  # Corresponds to the JSON property `rankembed`
57295
57539
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
@@ -57305,21 +57549,11 @@ module Google
57305
57549
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57306
57550
  attr_accessor :video_scoring_signal
57307
57551
 
57308
- #
57309
- # Corresponds to the JSON property `videoScoringSignalVersion`
57310
- # @return [String]
57311
- attr_accessor :video_scoring_signal_version
57312
-
57313
57552
  #
57314
57553
  # Corresponds to the JSON property `volt`
57315
57554
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
57316
57555
  attr_accessor :volt
57317
57556
 
57318
- #
57319
- # Corresponds to the JSON property `voltVersion`
57320
- # @return [String]
57321
- attr_accessor :volt_version
57322
-
57323
57557
  def initialize(**args)
57324
57558
  update!(**args)
57325
57559
  end
@@ -57328,19 +57562,15 @@ module Google
57328
57562
  def update!(**args)
57329
57563
  @accelerated_shopping_signal = args[:accelerated_shopping_signal] if args.key?(:accelerated_shopping_signal)
57330
57564
  @chrome_counts = args[:chrome_counts] if args.key?(:chrome_counts)
57565
+ @creator = args[:creator] if args.key?(:creator)
57331
57566
  @instant_navboost = args[:instant_navboost] if args.key?(:instant_navboost)
57332
57567
  @localyp = args[:localyp] if args.key?(:localyp)
57333
- @localyp_version = args[:localyp_version] if args.key?(:localyp_version)
57334
57568
  @modern_format_content = args[:modern_format_content] if args.key?(:modern_format_content)
57335
- @modern_format_content_version = args[:modern_format_content_version] if args.key?(:modern_format_content_version)
57336
57569
  @navboost = args[:navboost] if args.key?(:navboost)
57337
- @navboost_version = args[:navboost_version] if args.key?(:navboost_version)
57338
57570
  @rankembed = args[:rankembed] if args.key?(:rankembed)
57339
57571
  @universal_facts = args[:universal_facts] if args.key?(:universal_facts)
57340
57572
  @video_scoring_signal = args[:video_scoring_signal] if args.key?(:video_scoring_signal)
57341
- @video_scoring_signal_version = args[:video_scoring_signal_version] if args.key?(:video_scoring_signal_version)
57342
57573
  @volt = args[:volt] if args.key?(:volt)
57343
- @volt_version = args[:volt_version] if args.key?(:volt_version)
57344
57574
  end
57345
57575
  end
57346
57576
 
@@ -62587,7 +62817,7 @@ module Google
62587
62817
 
62588
62818
  # Signals to be used by the Prefulfillment Ranker. Derived from the
62589
62819
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
62590
- # Next ID: 41
62820
+ # Next ID: 47
62591
62821
  # Corresponds to the JSON property `prefulfillmentSignals`
62592
62822
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
62593
62823
  attr_accessor :prefulfillment_signals
@@ -66916,13 +67146,11 @@ module Google
66916
67146
  end
66917
67147
  end
66918
67148
 
66919
- # This message holds person attributes from the LookNet-Person model (go/looknet-
66920
- # person) and the Style AI Iconic Person Scorer (http://go/styleai-indexing-
66921
- # g3doc#iconic-person-scorer) for the most iconic person in a style image. There
66922
- # is an ongoing collaboration with the Human Sensing team on LookNet-Person v3 (
66923
- # go/looknet-person-v3-collaboration) that deals with some of these signals
66924
- # together. Hence, the combined proto definition. Discretization of float values
66925
- # is recommended by CDS for cheaper and more efficient storage. Next ID: 11
67149
+ # This message holds person attributes from the Person Interpreter model (go/
67150
+ # person-interpreter) and the Style AI Iconic Person Scorer (go/styleai-indexing-
67151
+ # g3doc#iconic-person-scorer) for the most iconic person in a style image.
67152
+ # Discretization of float values is recommended by CDS for cheaper and more
67153
+ # efficient storage. Next ID: 11
66926
67154
  class LensDiscoveryStylePersonAttributes
66927
67155
  include Google::Apis::Core::Hashable
66928
67156
 
@@ -83641,7 +83869,7 @@ module Google
83641
83869
  # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsLink]
83642
83870
  attr_accessor :apps_link
83643
83871
 
83644
- # For indexing Asteroid Belt intent scores. See go/asteroid-belt for details.
83872
+ # Next ID: 7
83645
83873
  # Corresponds to the JSON property `asteroidBeltIntents`
83646
83874
  # @return [Google::Apis::ContentwarehouseV1::QualityOrbitAsteroidBeltDocumentIntentScores]
83647
83875
  attr_accessor :asteroid_belt_intents
@@ -90946,7 +91174,7 @@ module Google
90946
91174
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrChunksProto]
90947
91175
  attr_accessor :nsr_chunks
90948
91176
 
90949
- # These are annotated in the Goldmine NSR annotator.
91177
+ # Annotated in the SitechunksAnnotator and copied over in NsrAnnotator.
90950
91178
  # Corresponds to the JSON property `siteChunkSource`
90951
91179
  # @return [String]
90952
91180
  attr_accessor :site_chunk_source
@@ -91396,6 +91624,17 @@ module Google
91396
91624
  # @return [Array<String>]
91397
91625
  attr_accessor :raffia_lookup_keys
91398
91626
 
91627
+ # The url used by NsrSignalMerger (http://google3/indexing/signals/signal-merger.
91628
+ # h;l=1801;rcl=509297232) to select which NsrData value to keep. The
91629
+ # SignalMerger merges all the NsrData coming from the dup url cluster, and
91630
+ # select the NsrData value to return by choosing a single url in the cluster (
91631
+ # see NsrSignalMerger class for details). NOTE: This field is populated only
91632
+ # when there *is* a cluster. If there is no cluster, this is empty and the key
91633
+ # used is the canonical (and only) url.
91634
+ # Corresponds to the JSON property `raffiaSignalMergerUrl`
91635
+ # @return [String]
91636
+ attr_accessor :raffia_signal_merger_url
91637
+
91399
91638
  def initialize(**args)
91400
91639
  update!(**args)
91401
91640
  end
@@ -91412,6 +91651,7 @@ module Google
91412
91651
  @raffia_lookup_key = args[:raffia_lookup_key] if args.key?(:raffia_lookup_key)
91413
91652
  @raffia_lookup_key_per_field = args[:raffia_lookup_key_per_field] if args.key?(:raffia_lookup_key_per_field)
91414
91653
  @raffia_lookup_keys = args[:raffia_lookup_keys] if args.key?(:raffia_lookup_keys)
91654
+ @raffia_signal_merger_url = args[:raffia_signal_merger_url] if args.key?(:raffia_signal_merger_url)
91415
91655
  end
91416
91656
  end
91417
91657
 
@@ -91576,10 +91816,22 @@ module Google
91576
91816
  end
91577
91817
  end
91578
91818
 
91579
- #
91819
+ # Next ID: 7
91580
91820
  class QualityOrbitAsteroidBeltDocumentIntentScores
91581
91821
  include Google::Apis::Core::Hashable
91582
91822
 
91823
+ # Same as above, but for intents below triggering threshold. It can be assumed
91824
+ # that any intent in this list has trigger=false. Most intents do not have below-
91825
+ # threshold annotations.
91826
+ # Corresponds to the JSON property `belowThresholdIntents`
91827
+ # @return [Array<String>]
91828
+ attr_accessor :below_threshold_intents
91829
+
91830
+ #
91831
+ # Corresponds to the JSON property `belowThresholdScores`
91832
+ # @return [Array<Fixnum>]
91833
+ attr_accessor :below_threshold_scores
91834
+
91583
91835
  # Map of imageid key to ImageIntentScores, for images on cdoc.doc_images
91584
91836
  # Corresponds to the JSON property `imageIntentScores`
91585
91837
  # @return [Hash<String,Google::Apis::ContentwarehouseV1::QualityOrbitAsteroidBeltImageIntentScores>]
@@ -91611,6 +91863,8 @@ module Google
91611
91863
 
91612
91864
  # Update properties of this object
91613
91865
  def update!(**args)
91866
+ @below_threshold_intents = args[:below_threshold_intents] if args.key?(:below_threshold_intents)
91867
+ @below_threshold_scores = args[:below_threshold_scores] if args.key?(:below_threshold_scores)
91614
91868
  @image_intent_scores = args[:image_intent_scores] if args.key?(:image_intent_scores)
91615
91869
  @intents = args[:intents] if args.key?(:intents)
91616
91870
  @scores = args[:scores] if args.key?(:scores)
@@ -97595,11 +97849,6 @@ module Google
97595
97849
  class RepositoryWebrefDocumentMetadata
97596
97850
  include Google::Apis::Core::Hashable
97597
97851
 
97598
- # This is proto2's version of MessageSet.
97599
- # Corresponds to the JSON property `cdocAttachments`
97600
- # @return [Google::Apis::ContentwarehouseV1::Proto2BridgeMessageSet]
97601
- attr_accessor :cdoc_attachments
97602
-
97603
97852
  # The timestamp of when the document was crawled (if known). Copied from
97604
97853
  # CompositeDoc.Content.CrawlTime.
97605
97854
  # Corresponds to the JSON property `crawlTime`
@@ -97645,13 +97894,6 @@ module Google
97645
97894
  # @return [Float]
97646
97895
  attr_accessor :num_incoming_anchors
97647
97896
 
97648
- # Copies of selected repeated extensions from cdoc, controlled by: --
97649
- # webref_doc_metadata_copy_images (copies the repeated doc_images field (TypeId
97650
- # 8798074), defined in image/search/imagedoc.proto).
97651
- # Corresponds to the JSON property `repeatedCdocAttachments`
97652
- # @return [Array<Google::Apis::ContentwarehouseV1::Proto2BridgeMessageSet>]
97653
- attr_accessor :repeated_cdoc_attachments
97654
-
97655
97897
  # SalientTermSet is a collection of terms (unigrams and bigrams) with associated
97656
97898
  # weights that can describe something. The "salient terms".
97657
97899
  # Corresponds to the JSON property `salientTerms`
@@ -97681,7 +97923,6 @@ module Google
97681
97923
 
97682
97924
  # Update properties of this object
97683
97925
  def update!(**args)
97684
- @cdoc_attachments = args[:cdoc_attachments] if args.key?(:cdoc_attachments)
97685
97926
  @crawl_time = args[:crawl_time] if args.key?(:crawl_time)
97686
97927
  @doc_fp = args[:doc_fp] if args.key?(:doc_fp)
97687
97928
  @doc_id = args[:doc_id] if args.key?(:doc_id)
@@ -97689,7 +97930,6 @@ module Google
97689
97930
  @is_disambiguation_page = args[:is_disambiguation_page] if args.key?(:is_disambiguation_page)
97690
97931
  @language = args[:language] if args.key?(:language)
97691
97932
  @num_incoming_anchors = args[:num_incoming_anchors] if args.key?(:num_incoming_anchors)
97692
- @repeated_cdoc_attachments = args[:repeated_cdoc_attachments] if args.key?(:repeated_cdoc_attachments)
97693
97933
  @salient_terms = args[:salient_terms] if args.key?(:salient_terms)
97694
97934
  @title = args[:title] if args.key?(:title)
97695
97935
  @total_clicks = args[:total_clicks] if args.key?(:total_clicks)
@@ -99267,12 +99507,13 @@ module Google
99267
99507
  end
99268
99508
 
99269
99509
  # A single understood lexicon of the |category| on byte range from |begin_offset|
99270
- # (inclusive) to |end_offset| (exclusive). The byte range could be a subtoken
99271
- # range or span across multiple tokens.
99510
+ # (inclusive) to |end_offset| (exclusive). The offsets are all byte offsets
99511
+ # relative to the full original query and cover both the mentions and
99512
+ # surrounding markers.
99272
99513
  class RepositoryWebrefLexicalRange
99273
99514
  include Google::Apis::Core::Hashable
99274
99515
 
99275
- # Byte offset of the begin of the |category|.
99516
+ # Begin byte offset relative to the full original query.
99276
99517
  # Corresponds to the JSON property `beginOffset`
99277
99518
  # @return [Fixnum]
99278
99519
  attr_accessor :begin_offset
@@ -99287,7 +99528,7 @@ module Google
99287
99528
  # @return [String]
99288
99529
  attr_accessor :direction
99289
99530
 
99290
- # Byte offset of the end of the |category|.
99531
+ # End byte offset relative to the full original query.
99291
99532
  # Corresponds to the JSON property `endOffset`
99292
99533
  # @return [Fixnum]
99293
99534
  attr_accessor :end_offset
@@ -105560,6 +105801,17 @@ module Google
105560
105801
  class SafesearchVideoContentSignals
105561
105802
  include Google::Apis::Core::Hashable
105562
105803
 
105804
+ # This is used by Amarna to determine whether it should notify Raffia for
105805
+ # immediate reprocessing. This field will be generated in Amarna's
105806
+ # image_metadata corpus and exported to references_video_search corpus and
105807
+ # written to ExportState.module_state.critical_metadata_checksum for determining
105808
+ # whether Amarna should immediately notify Raffia whenever
105809
+ # is_abuse_with_high_confidence's value changes.
105810
+ # Corresponds to the JSON property `isAbuseWithHighConfidence`
105811
+ # @return [Boolean]
105812
+ attr_accessor :is_abuse_with_high_confidence
105813
+ alias_method :is_abuse_with_high_confidence?, :is_abuse_with_high_confidence
105814
+
105563
105815
  #
105564
105816
  # Corresponds to the JSON property `scores`
105565
105817
  # @return [Hash<String,Float>]
@@ -105590,6 +105842,7 @@ module Google
105590
105842
 
105591
105843
  # Update properties of this object
105592
105844
  def update!(**args)
105845
+ @is_abuse_with_high_confidence = args[:is_abuse_with_high_confidence] if args.key?(:is_abuse_with_high_confidence)
105593
105846
  @scores = args[:scores] if args.key?(:scores)
105594
105847
  @version_tag = args[:version_tag] if args.key?(:version_tag)
105595
105848
  @video_classifier_output = args[:video_classifier_output] if args.key?(:video_classifier_output)
@@ -107626,6 +107879,11 @@ module Google
107626
107879
  # @return [Google::Apis::ContentwarehouseV1::SearchPolicyRankableSensitivityFollowOn]
107627
107880
  attr_accessor :followon
107628
107881
 
107882
+ # Marks that sensitivity is from a Grounding Provider.
107883
+ # Corresponds to the JSON property `groundingProvider`
107884
+ # @return [Google::Apis::ContentwarehouseV1::SearchPolicyRankableSensitivityGroundingProvider]
107885
+ attr_accessor :grounding_provider
107886
+
107629
107887
  # Deprecated, do not use.
107630
107888
  # Corresponds to the JSON property `prefilter`
107631
107889
  # @return [Google::Apis::ContentwarehouseV1::SearchPolicyRankableSensitivityPrefilter]
@@ -107641,7 +107899,7 @@ module Google
107641
107899
  # @return [String]
107642
107900
  attr_accessor :sensitivity_mode
107643
107901
 
107644
- # Marks that this sensitivity is form a synthetic intent.
107902
+ # Marks that this sensitivity is from a synthetic intent.
107645
107903
  # Corresponds to the JSON property `syntheticIntent`
107646
107904
  # @return [Google::Apis::ContentwarehouseV1::SearchPolicyRankableSensitivitySyntheticIntent]
107647
107905
  attr_accessor :synthetic_intent
@@ -107661,6 +107919,7 @@ module Google
107661
107919
  @attentional_entity = args[:attentional_entity] if args.key?(:attentional_entity)
107662
107920
  @dasher_user = args[:dasher_user] if args.key?(:dasher_user)
107663
107921
  @followon = args[:followon] if args.key?(:followon)
107922
+ @grounding_provider = args[:grounding_provider] if args.key?(:grounding_provider)
107664
107923
  @prefilter = args[:prefilter] if args.key?(:prefilter)
107665
107924
  @qu = args[:qu] if args.key?(:qu)
107666
107925
  @sensitivity_mode = args[:sensitivity_mode] if args.key?(:sensitivity_mode)
@@ -107737,6 +107996,19 @@ module Google
107737
107996
  end
107738
107997
  end
107739
107998
 
107999
+ # Marks that sensitivity is from a Grounding Provider.
108000
+ class SearchPolicyRankableSensitivityGroundingProvider
108001
+ include Google::Apis::Core::Hashable
108002
+
108003
+ def initialize(**args)
108004
+ update!(**args)
108005
+ end
108006
+
108007
+ # Update properties of this object
108008
+ def update!(**args)
108009
+ end
108010
+ end
108011
+
107740
108012
  # Deprecated, do not use.
107741
108013
  class SearchPolicyRankableSensitivityPrefilter
107742
108014
  include Google::Apis::Core::Hashable
@@ -107788,7 +108060,7 @@ module Google
107788
108060
  end
107789
108061
  end
107790
108062
 
107791
- # Marks that this sensitivity is form a synthetic intent.
108063
+ # Marks that this sensitivity is from a synthetic intent.
107792
108064
  class SearchPolicyRankableSensitivitySyntheticIntent
107793
108065
  include Google::Apis::Core::Hashable
107794
108066
 
@@ -109086,6 +109358,12 @@ module Google
109086
109358
  # @return [String]
109087
109359
  attr_accessor :inferred_image_type
109088
109360
 
109361
+ # This field will only be populated if the inferred image is a neardup of an
109362
+ # inferred image. It stores the type and source of the images it is a neardup of.
109363
+ # Corresponds to the JSON property `neardupInfo`
109364
+ # @return [Array<Google::Apis::ContentwarehouseV1::ShoppingWebentityShoppingAnnotationInferredImageNeardupInfo>]
109365
+ attr_accessor :neardup_info
109366
+
109089
109367
  def initialize(**args)
109090
109368
  update!(**args)
109091
109369
  end
@@ -109095,6 +109373,32 @@ module Google
109095
109373
  @inferred_image_id = args[:inferred_image_id] if args.key?(:inferred_image_id)
109096
109374
  @inferred_image_source = args[:inferred_image_source] if args.key?(:inferred_image_source)
109097
109375
  @inferred_image_type = args[:inferred_image_type] if args.key?(:inferred_image_type)
109376
+ @neardup_info = args[:neardup_info] if args.key?(:neardup_info)
109377
+ end
109378
+ end
109379
+
109380
+ #
109381
+ class ShoppingWebentityShoppingAnnotationInferredImageNeardupInfo
109382
+ include Google::Apis::Core::Hashable
109383
+
109384
+ #
109385
+ # Corresponds to the JSON property `inferredImageSource`
109386
+ # @return [String]
109387
+ attr_accessor :inferred_image_source
109388
+
109389
+ #
109390
+ # Corresponds to the JSON property `inferredImageType`
109391
+ # @return [String]
109392
+ attr_accessor :inferred_image_type
109393
+
109394
+ def initialize(**args)
109395
+ update!(**args)
109396
+ end
109397
+
109398
+ # Update properties of this object
109399
+ def update!(**args)
109400
+ @inferred_image_source = args[:inferred_image_source] if args.key?(:inferred_image_source)
109401
+ @inferred_image_type = args[:inferred_image_type] if args.key?(:inferred_image_type)
109098
109402
  end
109099
109403
  end
109100
109404
 
@@ -109712,7 +110016,7 @@ module Google
109712
110016
  end
109713
110017
  end
109714
110018
 
109715
- # Next ID: 14
110019
+ # Next ID: 15
109716
110020
  class SnippetExtraInfoSnippetCandidateInfo
109717
110021
  include Google::Apis::Core::Hashable
109718
110022
 
@@ -109721,6 +110025,11 @@ module Google
109721
110025
  # @return [Array<Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRange>]
109722
110026
  attr_accessor :bolded_ranges
109723
110027
 
110028
+ # The extended version of this snippet.
110029
+ # Corresponds to the JSON property `extendedSnippet`
110030
+ # @return [Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetCandidateInfoExtendedSnippet]
110031
+ attr_accessor :extended_snippet
110032
+
109724
110033
  # Candidate identifier number, unique among all snippet candidates under each
109725
110034
  # document in each request. What does this number mean: - Muppet candidates:
109726
110035
  # This equals to the candidate's rank by Muppet snippets scorer. - Superroot
@@ -109782,6 +110091,7 @@ module Google
109782
110091
  # Update properties of this object
109783
110092
  def update!(**args)
109784
110093
  @bolded_ranges = args[:bolded_ranges] if args.key?(:bolded_ranges)
110094
+ @extended_snippet = args[:extended_snippet] if args.key?(:extended_snippet)
109785
110095
  @id = args[:id] if args.key?(:id)
109786
110096
  @is_muppet_selected_snippet = args[:is_muppet_selected_snippet] if args.key?(:is_muppet_selected_snippet)
109787
110097
  @is_snippet_brain_bolding_triggered = args[:is_snippet_brain_bolding_triggered] if args.key?(:is_snippet_brain_bolding_triggered)
@@ -109794,6 +110104,31 @@ module Google
109794
110104
  end
109795
110105
  end
109796
110106
 
110107
+ # The extended version of this snippet.
110108
+ class SnippetExtraInfoSnippetCandidateInfoExtendedSnippet
110109
+ include Google::Apis::Core::Hashable
110110
+
110111
+ #
110112
+ # Corresponds to the JSON property `numChars`
110113
+ # @return [Fixnum]
110114
+ attr_accessor :num_chars
110115
+
110116
+ #
110117
+ # Corresponds to the JSON property `snippetText`
110118
+ # @return [String]
110119
+ attr_accessor :snippet_text
110120
+
110121
+ def initialize(**args)
110122
+ update!(**args)
110123
+ end
110124
+
110125
+ # Update properties of this object
110126
+ def update!(**args)
110127
+ @num_chars = args[:num_chars] if args.key?(:num_chars)
110128
+ @snippet_text = args[:snippet_text] if args.key?(:snippet_text)
110129
+ end
110130
+ end
110131
+
109797
110132
  # Next ID: 9
109798
110133
  class SnippetExtraInfoSnippetScoringInfo
109799
110134
  include Google::Apis::Core::Hashable
@@ -113307,6 +113642,12 @@ module Google
113307
113642
  # @return [Google::Apis::ContentwarehouseV1::StorageGraphBfgLmsPolicyMetadata]
113308
113643
  attr_accessor :lms_policy_metadata
113309
113644
 
113645
+ # This triple is protected by the policies with PolicyDataScope identified by
113646
+ # these global unique ids.
113647
+ # Corresponds to the JSON property `policyDataScopeKeys`
113648
+ # @return [Array<Fixnum>]
113649
+ attr_accessor :policy_data_scope_keys
113650
+
113310
113651
  # Policy metadata are VERTICAL by default. Vertical policy makers / providers
113311
113652
  # does not need to set this field explicitly.
113312
113653
  # Corresponds to the JSON property `policySourceType`
@@ -113332,6 +113673,7 @@ module Google
113332
113673
  @legal_allowed_regions = args[:legal_allowed_regions] if args.key?(:legal_allowed_regions)
113333
113674
  @legal_removal_regions = args[:legal_removal_regions] if args.key?(:legal_removal_regions)
113334
113675
  @lms_policy_metadata = args[:lms_policy_metadata] if args.key?(:lms_policy_metadata)
113676
+ @policy_data_scope_keys = args[:policy_data_scope_keys] if args.key?(:policy_data_scope_keys)
113335
113677
  @policy_source_type = args[:policy_source_type] if args.key?(:policy_source_type)
113336
113678
  @ump_policy_metadata = args[:ump_policy_metadata] if args.key?(:ump_policy_metadata)
113337
113679
  end
@@ -117649,7 +117991,7 @@ module Google
117649
117991
  end
117650
117992
  end
117651
117993
 
117652
- # Contains anchor level features that apply to all anchor types. Next id: 18.
117994
+ # Contains anchor level features that apply to all anchor types. Next id: 22.
117653
117995
  class VideoContentSearchAnchorCommonFeatureSet
117654
117996
  include Google::Apis::Core::Hashable
117655
117997
 
@@ -117659,6 +118001,16 @@ module Google
117659
118001
  # @return [Float]
117660
118002
  attr_accessor :anchor_qbst_distance
117661
118003
 
118004
+ # Average of babel similarity between the anchor and all asr sentences.
118005
+ # Corresponds to the JSON property `asrAverageBabelSimilarityScore`
118006
+ # @return [Float]
118007
+ attr_accessor :asr_average_babel_similarity_score
118008
+
118009
+ # Maximum babel similarity between the anchor and the asr sentences.
118010
+ # Corresponds to the JSON property `asrMaximumBabelSimilarityScore`
118011
+ # @return [Float]
118012
+ attr_accessor :asr_maximum_babel_similarity_score
118013
+
117662
118014
  # Contains features needed for Bleurt inference.
117663
118015
  # Corresponds to the JSON property `bleurtFeatures`
117664
118016
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchBleurtFeatures]
@@ -117674,6 +118026,16 @@ module Google
117674
118026
  # @return [Float]
117675
118027
  attr_accessor :descartes_score_with_title
117676
118028
 
118029
+ # Average of babel similarity between the anchor and all description sentences.
118030
+ # Corresponds to the JSON property `descriptionAverageBabelSimilarityScore`
118031
+ # @return [Float]
118032
+ attr_accessor :description_average_babel_similarity_score
118033
+
118034
+ # Maximum babel similarity between the anchor and the description sentences.
118035
+ # Corresponds to the JSON property `descriptionMaximumBabelSimilarityScore`
118036
+ # @return [Float]
118037
+ attr_accessor :description_maximum_babel_similarity_score
118038
+
117677
118039
  # The predicted descriptiveness and usefulness rating scores generated by the
117678
118040
  # Unified Dolphin model. Rating template: experimental/video/
117679
118041
  # video_anchors_oneside_without_thumbnail/template.jhtml
@@ -117760,9 +118122,13 @@ module Google
117760
118122
  # Update properties of this object
117761
118123
  def update!(**args)
117762
118124
  @anchor_qbst_distance = args[:anchor_qbst_distance] if args.key?(:anchor_qbst_distance)
118125
+ @asr_average_babel_similarity_score = args[:asr_average_babel_similarity_score] if args.key?(:asr_average_babel_similarity_score)
118126
+ @asr_maximum_babel_similarity_score = args[:asr_maximum_babel_similarity_score] if args.key?(:asr_maximum_babel_similarity_score)
117763
118127
  @bleurt_features = args[:bleurt_features] if args.key?(:bleurt_features)
117764
118128
  @bleurt_score = args[:bleurt_score] if args.key?(:bleurt_score)
117765
118129
  @descartes_score_with_title = args[:descartes_score_with_title] if args.key?(:descartes_score_with_title)
118130
+ @description_average_babel_similarity_score = args[:description_average_babel_similarity_score] if args.key?(:description_average_babel_similarity_score)
118131
+ @description_maximum_babel_similarity_score = args[:description_maximum_babel_similarity_score] if args.key?(:description_maximum_babel_similarity_score)
117766
118132
  @dolphin_descriptiveness_score = args[:dolphin_descriptiveness_score] if args.key?(:dolphin_descriptiveness_score)
117767
118133
  @dolphin_ensemble_score = args[:dolphin_ensemble_score] if args.key?(:dolphin_ensemble_score)
117768
118134
  @dolphin_features = args[:dolphin_features] if args.key?(:dolphin_features)
@@ -121693,7 +122059,7 @@ module Google
121693
122059
  class VideoContentSearchVideoAnchorScoreInfo
121694
122060
  include Google::Apis::Core::Hashable
121695
122061
 
121696
- # Contains anchor level features that apply to all anchor types. Next id: 18.
122062
+ # Contains anchor level features that apply to all anchor types. Next id: 22.
121697
122063
  # Corresponds to the JSON property `anchorCommonFeatureSet`
121698
122064
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchAnchorCommonFeatureSet]
121699
122065
  attr_accessor :anchor_common_feature_set