google-apis-contentwarehouse_v1 0.25.0 → 0.27.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -6726,7 +6726,8 @@ module Google
6726
6726
  # container type. This field correlates to person.metadata.identity_info.
6727
6727
  # source_id.id. This field may not be populated in some special cases, where the
6728
6728
  # id is not visible to the querying user. e.g. ListAutocompletions with full
6729
- # phone number query.
6729
+ # phone number query. For value format, see google3/social/graph/api/proto/
6730
+ # main_merged_person.proto?q=symbol:SourceIdentity.id
6730
6731
  # Corresponds to the JSON property `encodedContainerId`
6731
6732
  # @return [String]
6732
6733
  attr_accessor :encoded_container_id
@@ -7881,7 +7882,9 @@ module Google
7881
7882
  # The base64 serialized social.graph.peopleapi.proto.internal.RawDeviceContactId.
7882
7883
  # This id should be used to correlate to field.metadata.encoded_container_id
7883
7884
  # when the field.metadata.container_type is RAW_DEVICE_CONTACT The id also
7884
- # correlates to person.metadata.identity_info.source_id.id.
7885
+ # correlates to person.metadata.identity_info.source_id.id. For value format,
7886
+ # see google3/social/graph/api/proto/main_merged_person.proto?q=symbol:
7887
+ # SourceIdentity.id
7885
7888
  # Corresponds to the JSON property `id`
7886
7889
  # @return [String]
7887
7890
  attr_accessor :id
@@ -16766,7 +16769,7 @@ module Google
16766
16769
  attr_accessor :supported_client_op
16767
16770
 
16768
16771
  # These are the set of features that are supported by the device. It's a part of
16769
- # the SoftwareCapabilities of the device. Next ID: 67
16772
+ # the SoftwareCapabilities of the device. Next ID: 68
16770
16773
  # Corresponds to the JSON property `supportedFeatures`
16771
16774
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSupportedFeatures]
16772
16775
  attr_accessor :supported_features
@@ -17159,7 +17162,7 @@ module Google
17159
17162
  end
17160
17163
 
17161
17164
  # These are the set of features that are supported by the device. It's a part of
17162
- # the SoftwareCapabilities of the device. Next ID: 67
17165
+ # the SoftwareCapabilities of the device. Next ID: 68
17163
17166
  class AssistantApiSupportedFeatures
17164
17167
  include Google::Apis::Core::Hashable
17165
17168
 
@@ -17243,6 +17246,13 @@ module Google
17243
17246
  attr_accessor :confirmation_before_reading_multiple_messages_supported
17244
17247
  alias_method :confirmation_before_reading_multiple_messages_supported?, :confirmation_before_reading_multiple_messages_supported
17245
17248
 
17249
+ # Whether the client can render conversational care responses. go/conversational-
17250
+ # care
17251
+ # Corresponds to the JSON property `conversationalCareSupported`
17252
+ # @return [Boolean]
17253
+ attr_accessor :conversational_care_supported
17254
+ alias_method :conversational_care_supported?, :conversational_care_supported
17255
+
17246
17256
  # Whether the client supports cross-device broadcast (i.e. on Torus).
17247
17257
  # Corresponds to the JSON property `crossDeviceBroadcastSupported`
17248
17258
  # @return [Boolean]
@@ -17623,6 +17633,7 @@ module Google
17623
17633
  @client1m_providers_supported = args[:client1m_providers_supported] if args.key?(:client1m_providers_supported)
17624
17634
  @client_op_result_batching_supported = args[:client_op_result_batching_supported] if args.key?(:client_op_result_batching_supported)
17625
17635
  @confirmation_before_reading_multiple_messages_supported = args[:confirmation_before_reading_multiple_messages_supported] if args.key?(:confirmation_before_reading_multiple_messages_supported)
17636
+ @conversational_care_supported = args[:conversational_care_supported] if args.key?(:conversational_care_supported)
17626
17637
  @cross_device_broadcast_supported = args[:cross_device_broadcast_supported] if args.key?(:cross_device_broadcast_supported)
17627
17638
  @cross_device_broadcast_version = args[:cross_device_broadcast_version] if args.key?(:cross_device_broadcast_version)
17628
17639
  @csat_visual_overlay_supported = args[:csat_visual_overlay_supported] if args.key?(:csat_visual_overlay_supported)
@@ -20020,7 +20031,7 @@ module Google
20020
20031
  attr_accessor :properties
20021
20032
 
20022
20033
  # The states of the device. They are dynamic and may change based on the current
20023
- # context. Next ID: 6
20034
+ # context. Next ID: 13
20024
20035
  # Corresponds to the JSON property `states`
20025
20036
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingFeaturesStates]
20026
20037
  attr_accessor :states
@@ -20070,7 +20081,7 @@ module Google
20070
20081
  end
20071
20082
 
20072
20083
  # The states of the device. They are dynamic and may change based on the current
20073
- # context. Next ID: 6
20084
+ # context. Next ID: 13
20074
20085
  class AssistantGroundingRankerDeviceTargetingFeaturesStates
20075
20086
  include Google::Apis::Core::Hashable
20076
20087
 
@@ -20079,6 +20090,55 @@ module Google
20079
20090
  # @return [String]
20080
20091
  attr_accessor :distance
20081
20092
 
20093
+ # Indicates that the device is running a media session that is currently
20094
+ # buffering.
20095
+ # Corresponds to the JSON property `hasBufferingMediaSession`
20096
+ # @return [Boolean]
20097
+ attr_accessor :has_buffering_media_session
20098
+ alias_method :has_buffering_media_session?, :has_buffering_media_session
20099
+
20100
+ # Indicates that the device is running a media session that is currently paused.
20101
+ # Corresponds to the JSON property `hasPausedMediaSession`
20102
+ # @return [Boolean]
20103
+ attr_accessor :has_paused_media_session
20104
+ alias_method :has_paused_media_session?, :has_paused_media_session
20105
+
20106
+ # Indicates that the device is running a media session that is currently playing.
20107
+ # Corresponds to the JSON property `hasPlayingMediaSession`
20108
+ # @return [Boolean]
20109
+ attr_accessor :has_playing_media_session
20110
+ alias_method :has_playing_media_session?, :has_playing_media_session
20111
+
20112
+ # Indicates whether or not the device is in the same room as any hearing devices.
20113
+ # Does not consider the device itself or the local device as a hearing device.
20114
+ # If no valid hearing devices, this field is not set.
20115
+ # Corresponds to the JSON property `inSameRoomAsHearingDevice`
20116
+ # @return [Boolean]
20117
+ attr_accessor :in_same_room_as_hearing_device
20118
+ alias_method :in_same_room_as_hearing_device?, :in_same_room_as_hearing_device
20119
+
20120
+ # Indicates whether or not the device is in the same room as the local device.
20121
+ # If the device is the local device, this field is not set.
20122
+ # Corresponds to the JSON property `inSameRoomAsLocalDevice`
20123
+ # @return [Boolean]
20124
+ attr_accessor :in_same_room_as_local_device
20125
+ alias_method :in_same_room_as_local_device?, :in_same_room_as_local_device
20126
+
20127
+ # Indicates whether or not the device is in the same structure as any hearing
20128
+ # devices. Does not consider the device itself or the local device as a hearing
20129
+ # device. If no valid hearing devices, this field is not set.
20130
+ # Corresponds to the JSON property `inSameStructureAsHearingDevice`
20131
+ # @return [Boolean]
20132
+ attr_accessor :in_same_structure_as_hearing_device
20133
+ alias_method :in_same_structure_as_hearing_device?, :in_same_structure_as_hearing_device
20134
+
20135
+ # Indicates whether or not the device is in the same structure as the local
20136
+ # device. If the device is the local device, this field is not set.
20137
+ # Corresponds to the JSON property `inSameStructureAsLocalDevice`
20138
+ # @return [Boolean]
20139
+ attr_accessor :in_same_structure_as_local_device
20140
+ alias_method :in_same_structure_as_local_device?, :in_same_structure_as_local_device
20141
+
20082
20142
  # Indicate whether the device is docked on a base.
20083
20143
  # Corresponds to the JSON property `isDocked`
20084
20144
  # @return [Boolean]
@@ -20117,6 +20177,13 @@ module Google
20117
20177
  # Update properties of this object
20118
20178
  def update!(**args)
20119
20179
  @distance = args[:distance] if args.key?(:distance)
20180
+ @has_buffering_media_session = args[:has_buffering_media_session] if args.key?(:has_buffering_media_session)
20181
+ @has_paused_media_session = args[:has_paused_media_session] if args.key?(:has_paused_media_session)
20182
+ @has_playing_media_session = args[:has_playing_media_session] if args.key?(:has_playing_media_session)
20183
+ @in_same_room_as_hearing_device = args[:in_same_room_as_hearing_device] if args.key?(:in_same_room_as_hearing_device)
20184
+ @in_same_room_as_local_device = args[:in_same_room_as_local_device] if args.key?(:in_same_room_as_local_device)
20185
+ @in_same_structure_as_hearing_device = args[:in_same_structure_as_hearing_device] if args.key?(:in_same_structure_as_hearing_device)
20186
+ @in_same_structure_as_local_device = args[:in_same_structure_as_local_device] if args.key?(:in_same_structure_as_local_device)
20120
20187
  @is_docked = args[:is_docked] if args.key?(:is_docked)
20121
20188
  @is_local = args[:is_local] if args.key?(:is_local)
20122
20189
  @is_locked = args[:is_locked] if args.key?(:is_locked)
@@ -20187,7 +20254,7 @@ module Google
20187
20254
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerEndpointGroundingProviderFeatures]
20188
20255
  attr_accessor :endpoint_grounding_provider_features
20189
20256
 
20190
- # Features to be passed from Media GP to HGR. Next ID: 18
20257
+ # Features to be passed from Media GP to HGR. Next ID: 19
20191
20258
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
20192
20259
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
20193
20260
  attr_accessor :media_grounding_provider_features
@@ -20367,7 +20434,7 @@ module Google
20367
20434
  end
20368
20435
  end
20369
20436
 
20370
- # Features to be passed from Media GP to HGR. Next ID: 18
20437
+ # Features to be passed from Media GP to HGR. Next ID: 19
20371
20438
  class AssistantGroundingRankerMediaGroundingProviderFeatures
20372
20439
  include Google::Apis::Core::Hashable
20373
20440
 
@@ -20409,6 +20476,13 @@ module Google
20409
20476
  attr_accessor :is_cast_video
20410
20477
  alias_method :is_cast_video?, :is_cast_video
20411
20478
 
20479
+ # True if the media item in Binding Set is exclusively available on the provider
20480
+ # in Binding set. Example: "Stranger things" is exclusive to "Netflix".
20481
+ # Corresponds to the JSON property `isExclusiveOriginalProvider`
20482
+ # @return [Boolean]
20483
+ attr_accessor :is_exclusive_original_provider
20484
+ alias_method :is_exclusive_original_provider?, :is_exclusive_original_provider
20485
+
20412
20486
  # True if the media search query is included in the entity name and artists.
20413
20487
  # Corresponds to the JSON property `isMediaSearchQuerySubsetOfEntityNameAndArtist`
20414
20488
  # @return [Boolean]
@@ -20496,6 +20570,7 @@ module Google
20496
20570
  @has_cast_video_deeplink = args[:has_cast_video_deeplink] if args.key?(:has_cast_video_deeplink)
20497
20571
  @has_type_semantic_edge = args[:has_type_semantic_edge] if args.key?(:has_type_semantic_edge)
20498
20572
  @is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
20573
+ @is_exclusive_original_provider = args[:is_exclusive_original_provider] if args.key?(:is_exclusive_original_provider)
20499
20574
  @is_media_search_query_subset_of_entity_name_and_artist = args[:is_media_search_query_subset_of_entity_name_and_artist] if args.key?(:is_media_search_query_subset_of_entity_name_and_artist)
20500
20575
  @is_most_recent_song_album_ambiguous = args[:is_most_recent_song_album_ambiguous] if args.key?(:is_most_recent_song_album_ambiguous)
20501
20576
  @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
@@ -22369,7 +22444,7 @@ module Google
22369
22444
 
22370
22445
  # Signals to be used by the Prefulfillment Ranker. Derived from the
22371
22446
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
22372
- # Next ID: 65
22447
+ # Next ID: 66
22373
22448
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
22374
22449
  include Google::Apis::Core::Hashable
22375
22450
 
@@ -22554,6 +22629,13 @@ module Google
22554
22629
  attr_accessor :is_sage_intent
22555
22630
  alias_method :is_sage_intent?, :is_sage_intent
22556
22631
 
22632
+ # Whether this intent is a score-based intent, relying on PFR for scoring and
22633
+ # pruning to the top intent.
22634
+ # Corresponds to the JSON property `isScoreBasedIntent`
22635
+ # @return [Boolean]
22636
+ attr_accessor :is_score_based_intent
22637
+ alias_method :is_score_based_intent?, :is_score_based_intent
22638
+
22557
22639
  # Whether the intent is a media object tvm intent.
22558
22640
  # Corresponds to the JSON property `isTvmIntent`
22559
22641
  # @return [Boolean]
@@ -22758,6 +22840,7 @@ module Google
22758
22840
  @is_sage_disabled_intent = args[:is_sage_disabled_intent] if args.key?(:is_sage_disabled_intent)
22759
22841
  @is_sage_in_nage_intent = args[:is_sage_in_nage_intent] if args.key?(:is_sage_in_nage_intent)
22760
22842
  @is_sage_intent = args[:is_sage_intent] if args.key?(:is_sage_intent)
22843
+ @is_score_based_intent = args[:is_score_based_intent] if args.key?(:is_score_based_intent)
22761
22844
  @is_tvm_intent = args[:is_tvm_intent] if args.key?(:is_tvm_intent)
22762
22845
  @is_valid_smarthome_intent = args[:is_valid_smarthome_intent] if args.key?(:is_valid_smarthome_intent)
22763
22846
  @is_video_intent = args[:is_video_intent] if args.key?(:is_video_intent)
@@ -27234,6 +27317,31 @@ module Google
27234
27317
  end
27235
27318
  end
27236
27319
 
27320
+ #
27321
+ class ConceptsConceptId
27322
+ include Google::Apis::Core::Hashable
27323
+
27324
+ #
27325
+ # Corresponds to the JSON property `conceptId`
27326
+ # @return [String]
27327
+ attr_accessor :concept_id
27328
+
27329
+ # uint64 bring lots of issues, and string a better practice.
27330
+ # Corresponds to the JSON property `id`
27331
+ # @return [Fixnum]
27332
+ attr_accessor :id
27333
+
27334
+ def initialize(**args)
27335
+ update!(**args)
27336
+ end
27337
+
27338
+ # Update properties of this object
27339
+ def update!(**args)
27340
+ @concept_id = args[:concept_id] if args.key?(:concept_id)
27341
+ @id = args[:id] if args.key?(:id)
27342
+ end
27343
+ end
27344
+
27237
27345
  # The following protobuf is used to store an attribution from one page to (
27238
27346
  # usually) one other page, giving credit for the content. This information is
27239
27347
  # used during ranking to promote the attributed page. This protobuf is copied
@@ -29475,7 +29583,7 @@ module Google
29475
29583
  end
29476
29584
  end
29477
29585
 
29478
- # The attributes of encoded thumbnail images. Next id: 9.
29586
+ # The attributes of encoded thumbnail images. Next id: 10.
29479
29587
  class DrishtiVesperEncodedThumbnail
29480
29588
  include Google::Apis::Core::Hashable
29481
29589
 
@@ -29485,6 +29593,11 @@ module Google
29485
29593
  # @return [Fixnum]
29486
29594
  attr_accessor :byte_size
29487
29595
 
29596
+ # CRC-32 checksum of the image bytes. Can be used for data integrity check.
29597
+ # Corresponds to the JSON property `crc32c`
29598
+ # @return [Fixnum]
29599
+ attr_accessor :crc32c
29600
+
29488
29601
  # JPEG/WEBP quality factor in range [0,100].
29489
29602
  # Corresponds to the JSON property `encodingQuality`
29490
29603
  # @return [Fixnum]
@@ -29531,6 +29644,7 @@ module Google
29531
29644
  # Update properties of this object
29532
29645
  def update!(**args)
29533
29646
  @byte_size = args[:byte_size] if args.key?(:byte_size)
29647
+ @crc32c = args[:crc32c] if args.key?(:crc32c)
29534
29648
  @encoding_quality = args[:encoding_quality] if args.key?(:encoding_quality)
29535
29649
  @encoding_type = args[:encoding_type] if args.key?(:encoding_type)
29536
29650
  @height = args[:height] if args.key?(:height)
@@ -32341,16 +32455,16 @@ module Google
32341
32455
  # The unparsed portion (lines) of the address. An address can have multiple
32342
32456
  # unparsed portions. Multiple unparsed portions sharing the same language should
32343
32457
  # be modeled as one address_lines instance having multiple lines. Historically,
32344
- # we also supported uparsed portions in different languages, but we no longer do.
32345
- # Consequently, only one value is allowed for this field despite the fact that
32346
- # it is repeated. See go/address-lines-multi-language for information about why
32347
- # we made this change. If any components are filled in, this is supplemental to (
32348
- # i.e. disjoint from) them. Furthermore, this must be the most specific portion
32349
- # of the address (except for the portion, if any, stored in the name field of
32350
- # feature.proto). Unparsed lines are always formatted together in a block. Other
32351
- # address components are never formatted between the address lines. This doesn't
32352
- # imply that the address lines are always either the first or the last part of
32353
- # the formatted output.
32458
+ # we also supported unparsed portions in different languages, but we no longer
32459
+ # do. Consequently, only one value is allowed for this field despite the fact
32460
+ # that it is repeated. See go/address-lines-multi-language for information about
32461
+ # why we made this change. If any components are filled in, this is supplemental
32462
+ # to (i.e. disjoint from) them. Furthermore, this must be the most specific
32463
+ # portion of the address (except for the portion, if any, stored in the name
32464
+ # field of feature.proto). Unparsed lines are always formatted together in a
32465
+ # block. Other address components are never formatted between the address lines.
32466
+ # This doesn't imply that the address lines are always either the first or the
32467
+ # last part of the formatted output.
32354
32468
  # Corresponds to the JSON property `addressLines`
32355
32469
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreAddressLinesProto>]
32356
32470
  attr_accessor :address_lines
@@ -34061,6 +34175,37 @@ module Google
34061
34175
  end
34062
34176
  end
34063
34177
 
34178
+ # This protocol buffer is used to store information about disputed areas. E.g.,
34179
+ # the political power that administers a disputed area or the countries that
34180
+ # claim it. It should only be used for features of TYPE_DISPUTED_AREA.
34181
+ class GeostoreDisputedAreaProto
34182
+ include Google::Apis::Core::Hashable
34183
+
34184
+ # If present this feature is administered by the power present in the field. In
34185
+ # most cases this will be a two letter ISO-3166 region code, but may be a
34186
+ # descriptive string if no region code is available.
34187
+ # Corresponds to the JSON property `administeredBy`
34188
+ # @return [String]
34189
+ attr_accessor :administered_by
34190
+
34191
+ # Feature IDs (usually a country feature ID) of all parties who claim this
34192
+ # feature. No claimants means the claim by the country that contains it (based
34193
+ # on country polygon) is not disputed.
34194
+ # Corresponds to the JSON property `claimant`
34195
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
34196
+ attr_accessor :claimant
34197
+
34198
+ def initialize(**args)
34199
+ update!(**args)
34200
+ end
34201
+
34202
+ # Update properties of this object
34203
+ def update!(**args)
34204
+ @administered_by = args[:administered_by] if args.key?(:administered_by)
34205
+ @claimant = args[:claimant] if args.key?(:claimant)
34206
+ end
34207
+ end
34208
+
34064
34209
  # This protocol buffer holds the doodle-specific attributes for features of type
34065
34210
  # TYPE_DOODLE.
34066
34211
  class GeostoreDoodleProto
@@ -35078,6 +35223,13 @@ module Google
35078
35223
  # @return [Google::Apis::ContentwarehouseV1::GeostoreDisplayDataProto]
35079
35224
  attr_accessor :display_data
35080
35225
 
35226
+ # This protocol buffer is used to store information about disputed areas. E.g.,
35227
+ # the political power that administers a disputed area or the countries that
35228
+ # claim it. It should only be used for features of TYPE_DISPUTED_AREA.
35229
+ # Corresponds to the JSON property `disputedArea`
35230
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreDisputedAreaProto]
35231
+ attr_accessor :disputed_area
35232
+
35081
35233
  # This protocol buffer holds the doodle-specific attributes for features of type
35082
35234
  # TYPE_DOODLE.
35083
35235
  # Corresponds to the JSON property `doodle`
@@ -35171,6 +35323,11 @@ module Google
35171
35323
  # @return [Float]
35172
35324
  attr_accessor :geometry_precision_meters
35173
35325
 
35326
+ #
35327
+ # Corresponds to the JSON property `geopolitical`
35328
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreGeopoliticalProto]
35329
+ attr_accessor :geopolitical
35330
+
35174
35331
  # Geopolitical (unsimplified) polygons for a feature for different geopolitical
35175
35332
  # use cases. See go/unsimplified-poly.
35176
35333
  # Corresponds to the JSON property `geopoliticalGeometry`
@@ -35822,6 +35979,7 @@ module Google
35822
35979
  @covering = args[:covering] if args.key?(:covering)
35823
35980
  @data_source = args[:data_source] if args.key?(:data_source)
35824
35981
  @display_data = args[:display_data] if args.key?(:display_data)
35982
+ @disputed_area = args[:disputed_area] if args.key?(:disputed_area)
35825
35983
  @doodle = args[:doodle] if args.key?(:doodle)
35826
35984
  @elevation = args[:elevation] if args.key?(:elevation)
35827
35985
  @elevation_model = args[:elevation_model] if args.key?(:elevation_model)
@@ -35832,6 +35990,7 @@ module Google
35832
35990
  @future_geometry_for = args[:future_geometry_for] if args.key?(:future_geometry_for)
35833
35991
  @geometry3d = args[:geometry3d] if args.key?(:geometry3d)
35834
35992
  @geometry_precision_meters = args[:geometry_precision_meters] if args.key?(:geometry_precision_meters)
35993
+ @geopolitical = args[:geopolitical] if args.key?(:geopolitical)
35835
35994
  @geopolitical_geometry = args[:geopolitical_geometry] if args.key?(:geopolitical_geometry)
35836
35995
  @html_text = args[:html_text] if args.key?(:html_text)
35837
35996
  @id = args[:id] if args.key?(:id)
@@ -36000,7 +36159,9 @@ module Google
36000
36159
  class GeostoreFlowLineProto
36001
36160
  include Google::Apis::Core::Hashable
36002
36161
 
36003
- # RESERVED
36162
+ # Curvature of the flowline. Note that, curvature can be present even if the
36163
+ # flowline doesn't have a track. In which case, curvature will be derived from
36164
+ # the segment polyline.
36004
36165
  # Corresponds to the JSON property `curvature`
36005
36166
  # @return [Google::Apis::ContentwarehouseV1::GeostoreCurvatureProto]
36006
36167
  attr_accessor :curvature
@@ -36339,6 +36500,34 @@ module Google
36339
36500
  end
36340
36501
  end
36341
36502
 
36503
+ #
36504
+ class GeostoreGeopoliticalProto
36505
+ include Google::Apis::Core::Hashable
36506
+
36507
+ # If present, some aspect of this feature (usually name or geometry) can signify
36508
+ # ownership of the area by the region specified. The string, if present, will be
36509
+ # a region code. E.g., suppose a TYPE_POSTAL_CODE feature has a Russian format
36510
+ # in Crimea (which is disputed by Ukraine), then this field would be set to "RU".
36511
+ # Corresponds to the JSON property `conveysAttributionTo`
36512
+ # @return [String]
36513
+ attr_accessor :conveys_attribution_to
36514
+
36515
+ # Any specific handling of this feature's name from different regions' POVs.
36516
+ # Corresponds to the JSON property `regionSpecificName`
36517
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreRegionSpecificNameProto>]
36518
+ attr_accessor :region_specific_name
36519
+
36520
+ def initialize(**args)
36521
+ update!(**args)
36522
+ end
36523
+
36524
+ # Update properties of this object
36525
+ def update!(**args)
36526
+ @conveys_attribution_to = args[:conveys_attribution_to] if args.key?(:conveys_attribution_to)
36527
+ @region_specific_name = args[:region_specific_name] if args.key?(:region_specific_name)
36528
+ end
36529
+ end
36530
+
36342
36531
  # The grade level of a segment represents the relative altitude of the segment
36343
36532
  # at a particular point along the segment. This level is in relation to other
36344
36533
  # segments at the same point. For example, you might have a freeway at level = 0
@@ -36551,12 +36740,13 @@ module Google
36551
36740
  class GeostoreInternalSegmentProto
36552
36741
  include Google::Apis::Core::Hashable
36553
36742
 
36554
- # RESERVED
36743
+ # A list of lane connections that are explicitly not allowed to be added. NOTE:
36744
+ # This should never reference existing lane connections on this segment.
36555
36745
  # Corresponds to the JSON property `disallowedConnections`
36556
36746
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference>]
36557
36747
  attr_accessor :disallowed_connections
36558
36748
 
36559
- # RESERVED
36749
+ # A list of lane connections which cannot have the primary_connection bit set.
36560
36750
  # Corresponds to the JSON property `disallowedPrimaryConnection`
36561
36751
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference>]
36562
36752
  attr_accessor :disallowed_primary_connection
@@ -38369,6 +38559,12 @@ module Google
38369
38559
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
38370
38560
  attr_accessor :capital
38371
38561
 
38562
+ # Feature IDs of the features claimed by this feature's government that are not
38563
+ # necessarily included in the feature's geometry.
38564
+ # Corresponds to the JSON property `claim`
38565
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
38566
+ attr_accessor :claim
38567
+
38372
38568
  # The Gross Domestic Product of the political region measured in millions of
38373
38569
  # current United States dollars. It must not be negative.
38374
38570
  # Corresponds to the JSON property `grossDomesticProductUsdMillions`
@@ -38395,6 +38591,7 @@ module Google
38395
38591
  # Update properties of this object
38396
38592
  def update!(**args)
38397
38593
  @capital = args[:capital] if args.key?(:capital)
38594
+ @claim = args[:claim] if args.key?(:claim)
38398
38595
  @gross_domestic_product_usd_millions = args[:gross_domestic_product_usd_millions] if args.key?(:gross_domestic_product_usd_millions)
38399
38596
  @literacy_percent = args[:literacy_percent] if args.key?(:literacy_percent)
38400
38597
  @population = args[:population] if args.key?(:population)
@@ -39275,6 +39472,51 @@ module Google
39275
39472
  end
39276
39473
  end
39277
39474
 
39475
+ # This protocol buffer supports a name per region per language, allowing it to
39476
+ # represent the name of a given feature in different regions and languages. For
39477
+ # example, the Persian Gulf has different English names in UAE versus Lebanon.
39478
+ class GeostoreRegionSpecificNameProto
39479
+ include Google::Apis::Core::Hashable
39480
+
39481
+ # If true, this region specific name should be appended, in parentheses, to the
39482
+ # appropriate name from FeatureProto.name, for the default rest of world
39483
+ # behavior.
39484
+ # Corresponds to the JSON property `displayableAsAlternativeName`
39485
+ # @return [Boolean]
39486
+ attr_accessor :displayable_as_alternative_name
39487
+ alias_method :displayable_as_alternative_name?, :displayable_as_alternative_name
39488
+
39489
+ # A name for a Feature (street name, point of interest, city, building, etc). We
39490
+ # currently use NameProto for two essentially disjoint purposes: 1. Common names,
39491
+ # which can be language-specific, or have other kinds of variations. 2. Opaque
39492
+ # IDs, such as postal codes, which only have the `text` field set, and
39493
+ # potentially some flags. This includes internal-only features like template ids.
39494
+ # Each NameProto representing a common name corresponds to an assertion that a
39495
+ # fluent speaker or writer of a language would recognize NameProto.text to name
39496
+ # the given feature in that language. As such, NameProtos are stored in a
39497
+ # repeated field, often having: 1. multiple names with the same text and varying
39498
+ # languages, and 2. multiple names with the same language and varying texts.
39499
+ # Corresponds to the JSON property `name`
39500
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreNameProto]
39501
+ attr_accessor :name
39502
+
39503
+ # Region code (or other identifier) for the region.
39504
+ # Corresponds to the JSON property `regionCode`
39505
+ # @return [String]
39506
+ attr_accessor :region_code
39507
+
39508
+ def initialize(**args)
39509
+ update!(**args)
39510
+ end
39511
+
39512
+ # Update properties of this object
39513
+ def update!(**args)
39514
+ @displayable_as_alternative_name = args[:displayable_as_alternative_name] if args.key?(:displayable_as_alternative_name)
39515
+ @name = args[:name] if args.key?(:name)
39516
+ @region_code = args[:region_code] if args.key?(:region_code)
39517
+ end
39518
+ end
39519
+
39278
39520
  # A collection of information that applies to a polygonal area.
39279
39521
  class GeostoreRegulatedAreaProto
39280
39522
  include Google::Apis::Core::Hashable
@@ -39631,6 +39873,7 @@ module Google
39631
39873
  # @return [Array<String>]
39632
39874
  attr_accessor :travel_mode
39633
39875
 
39876
+ # LINT.ThenChange(//depot/google3/google/geo/entities/v1/fields/segment.proto)
39634
39877
  # clang-format on The type of restriction. This is not a condition, but rather
39635
39878
  # tells you what kind of restriction it is. This field should always be set.
39636
39879
  # Corresponds to the JSON property `type`
@@ -46841,6 +47084,22 @@ module Google
46841
47084
  class GoogleCloudContentwarehouseV1IngestPipelineConfig
46842
47085
  include Google::Apis::Core::Hashable
46843
47086
 
47087
+ # The Cloud Function resource name. The Cloud Function needs to live inside
47088
+ # consumer project and is accessible to Document AI Warehouse P4SA. Only Cloud
47089
+ # Functions V2 is supported. Cloud function execution should complete within 5
47090
+ # minutes or this file ingestion may fail due to timeout. Format: `https://`
47091
+ # region`-`project_id`.cloudfunctions.net/`cloud_function`` The following keys
47092
+ # are available the request json payload. * display_name * properties *
47093
+ # plain_text * reference_id * document_schema_name * raw_document_path *
47094
+ # raw_document_file_type The following keys from the cloud function json
47095
+ # response payload will be ingested to the Document AI Warehouse as part of
47096
+ # Document proto content and/or related information. The original values will be
47097
+ # overridden if any key is present in the response. * display_name * properties *
47098
+ # plain_text * document_acl_policy * folder
47099
+ # Corresponds to the JSON property `cloudFunction`
47100
+ # @return [String]
47101
+ attr_accessor :cloud_function
47102
+
46844
47103
  # An Identity and Access Management (IAM) policy, which specifies access
46845
47104
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
46846
47105
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -46892,6 +47151,7 @@ module Google
46892
47151
 
46893
47152
  # Update properties of this object
46894
47153
  def update!(**args)
47154
+ @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
46895
47155
  @document_acl_policy = args[:document_acl_policy] if args.key?(:document_acl_policy)
46896
47156
  @enable_document_text_extraction = args[:enable_document_text_extraction] if args.key?(:enable_document_text_extraction)
46897
47157
  @folder = args[:folder] if args.key?(:folder)
@@ -48436,6 +48696,12 @@ module Google
48436
48696
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1Document]
48437
48697
  attr_accessor :document
48438
48698
 
48699
+ # Return the 1-based page indices where those pages have one or more matched
48700
+ # tokens.
48701
+ # Corresponds to the JSON property `matchedTokenPageIndices`
48702
+ # @return [Array<Fixnum>]
48703
+ attr_accessor :matched_token_page_indices
48704
+
48439
48705
  # Additional result info for the question-answering feature.
48440
48706
  # Corresponds to the JSON property `qaResult`
48441
48707
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1QaResult]
@@ -48459,6 +48725,7 @@ module Google
48459
48725
  # Update properties of this object
48460
48726
  def update!(**args)
48461
48727
  @document = args[:document] if args.key?(:document)
48728
+ @matched_token_page_indices = args[:matched_token_page_indices] if args.key?(:matched_token_page_indices)
48462
48729
  @qa_result = args[:qa_result] if args.key?(:qa_result)
48463
48730
  @search_text_snippet = args[:search_text_snippet] if args.key?(:search_text_snippet)
48464
48731
  end
@@ -53133,10 +53400,11 @@ module Google
53133
53400
  # @return [String]
53134
53401
  attr_accessor :type
53135
53402
 
53136
- # The node value is applicable for TEXT_NODEs, DOCUMENT_TYPE_NODEs, and user
53137
- # input elements such as , and <option>. For DOCUMENT_TYPE_NODEs, the value
53138
- # contains the publicId and SystemId. For input elements, the value reflects the
53139
- # current value in the element at the time the snapshot was taken.
53403
+ # The node value is applicable for TEXT_NODEs, DOCUMENT_TYPE_NODEs,
53404
+ # COMMENT_NODEs, and user input elements such as , and <option>. For
53405
+ # DOCUMENT_TYPE_NODEs, the value contains the publicId and SystemId. For input
53406
+ # elements, the value reflects the current value in the element at the time the
53407
+ # snapshot was taken.
53140
53408
  # Corresponds to the JSON property `value`
53141
53409
  # @return [String]
53142
53410
  attr_accessor :value
@@ -55329,7 +55597,7 @@ module Google
55329
55597
 
55330
55598
  # This defines the per-doc data which is extracted from thumbnails and
55331
55599
  # propagated over to indexing. It contains all information that can be used for
55332
- # restricts. Next tag id: 130
55600
+ # restricts. Next tag id: 131
55333
55601
  class ImageData
55334
55602
  include Google::Apis::Core::Hashable
55335
55603
 
@@ -55596,6 +55864,11 @@ module Google
55596
55864
  # @return [Fixnum]
55597
55865
  attr_accessor :imagerank
55598
55866
 
55867
+ # Vertical indexing information for the document and associated image outlinks.
55868
+ # Corresponds to the JSON property `indexedVerticals`
55869
+ # @return [Array<Google::Apis::ContentwarehouseV1::ImageDataVerticalIndexingInfoImage>]
55870
+ attr_accessor :indexed_verticals
55871
+
55599
55872
  # IIP in scope signal (go/iip). Set to true if the image is annotated with any
55600
55873
  # iip_in_scope entities (go/iukp-trust-v2).
55601
55874
  # Corresponds to the JSON property `isIipInScope`
@@ -55940,6 +56213,7 @@ module Google
55940
56213
  @image_license_info = args[:image_license_info] if args.key?(:image_license_info)
55941
56214
  @image_regions = args[:image_regions] if args.key?(:image_regions)
55942
56215
  @imagerank = args[:imagerank] if args.key?(:imagerank)
56216
+ @indexed_verticals = args[:indexed_verticals] if args.key?(:indexed_verticals)
55943
56217
  @is_iip_in_scope = args[:is_iip_in_scope] if args.key?(:is_iip_in_scope)
55944
56218
  @is_indexed_by_imagesearch = args[:is_indexed_by_imagesearch] if args.key?(:is_indexed_by_imagesearch)
55945
56219
  @is_multiframe = args[:is_multiframe] if args.key?(:is_multiframe)
@@ -56088,6 +56362,28 @@ module Google
56088
56362
  end
56089
56363
  end
56090
56364
 
56365
+ # Proto to store vertical indexing information for the document and associated
56366
+ # image outlinks. The image content can be indexed to multiple verticals,
56367
+ # including imagesearch. It can also be indexed only in verticals, not in
56368
+ # imagesearch.
56369
+ class ImageDataVerticalIndexingInfoImage
56370
+ include Google::Apis::Core::Hashable
56371
+
56372
+ # List the string representation of the vertical that this image is indexed into.
56373
+ # Corresponds to the JSON property `name`
56374
+ # @return [String]
56375
+ attr_accessor :name
56376
+
56377
+ def initialize(**args)
56378
+ update!(**args)
56379
+ end
56380
+
56381
+ # Update properties of this object
56382
+ def update!(**args)
56383
+ @name = args[:name] if args.key?(:name)
56384
+ end
56385
+ end
56386
+
56091
56387
  #
56092
56388
  class ImageExactBoost
56093
56389
  include Google::Apis::Core::Hashable
@@ -57319,7 +57615,7 @@ module Google
57319
57615
  end
57320
57616
  end
57321
57617
 
57322
- # Next Tag: 9
57618
+ # Next Tag: 10
57323
57619
  class ImageRepositoryAmarnaCloudSpeechSignals
57324
57620
  include Google::Apis::Core::Hashable
57325
57621
 
@@ -57331,14 +57627,21 @@ module Google
57331
57627
  attr_accessor :duplicate_of_yt_s3_asr
57332
57628
  alias_method :duplicate_of_yt_s3_asr?, :duplicate_of_yt_s3_asr
57333
57629
 
57334
- # The language id input for creating this ASR without regional info. Same format
57335
- # as in go/ytlangid. This field is populated in Kronos Amarna Cloud Speech
57336
- # operator and passed to Amarna, but it is cleared before stored in Amarna's
57337
- # metadata table.
57630
+ # DEPRECATED: Please switch to `langid_input`. The language id input for
57631
+ # creating this ASR without regional info. Same format as in go/ytlangid. This
57632
+ # field is populated in Kronos Amarna Cloud Speech operator and passed to Amarna,
57633
+ # but it is cleared before stored in Amarna's metadata table.
57338
57634
  # Corresponds to the JSON property `langWithoutLocale`
57339
57635
  # @return [String]
57340
57636
  attr_accessor :lang_without_locale
57341
57637
 
57638
+ # The language identification input used to generate this ASR. This field is
57639
+ # populated in Kronos Amarna Cloud Speech operator and passed to Amarna, but
57640
+ # cleared before stored in Amarna's metadata table.
57641
+ # Corresponds to the JSON property `langidInput`
57642
+ # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryLanguageIdentificationResult]
57643
+ attr_accessor :langid_input
57644
+
57342
57645
  #
57343
57646
  # Corresponds to the JSON property `modelIdentifier`
57344
57647
  # @return [String]
@@ -57368,6 +57671,7 @@ module Google
57368
57671
  def update!(**args)
57369
57672
  @duplicate_of_yt_s3_asr = args[:duplicate_of_yt_s3_asr] if args.key?(:duplicate_of_yt_s3_asr)
57370
57673
  @lang_without_locale = args[:lang_without_locale] if args.key?(:lang_without_locale)
57674
+ @langid_input = args[:langid_input] if args.key?(:langid_input)
57371
57675
  @model_identifier = args[:model_identifier] if args.key?(:model_identifier)
57372
57676
  @results = args[:results] if args.key?(:results)
57373
57677
  @s3_recognizer_metadata_response = args[:s3_recognizer_metadata_response] if args.key?(:s3_recognizer_metadata_response)
@@ -57596,7 +57900,7 @@ module Google
57596
57900
  attr_accessor :audio_only
57597
57901
  alias_method :audio_only?, :audio_only
57598
57902
 
57599
- # Next Tag: 9
57903
+ # Next Tag: 10
57600
57904
  # Corresponds to the JSON property `cloudSpeechSignals`
57601
57905
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals]
57602
57906
  attr_accessor :cloud_speech_signals
@@ -57660,12 +57964,12 @@ module Google
57660
57964
 
57661
57965
  # This defines the per-doc data which is extracted from thumbnails and
57662
57966
  # propagated over to indexing. It contains all information that can be used for
57663
- # restricts. Next tag id: 130
57967
+ # restricts. Next tag id: 131
57664
57968
  # Corresponds to the JSON property `representativeFrameData`
57665
57969
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
57666
57970
  attr_accessor :representative_frame_data
57667
57971
 
57668
- # Next Tag: 9
57972
+ # Next Tag: 10
57669
57973
  # Corresponds to the JSON property `s3Asr`
57670
57974
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals]
57671
57975
  attr_accessor :s3_asr
@@ -58028,7 +58332,7 @@ module Google
58028
58332
 
58029
58333
  # This defines the per-doc data which is extracted from thumbnails and
58030
58334
  # propagated over to indexing. It contains all information that can be used for
58031
- # restricts. Next tag id: 130
58335
+ # restricts. Next tag id: 131
58032
58336
  # Corresponds to the JSON property `perdoc`
58033
58337
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
58034
58338
  attr_accessor :perdoc
@@ -58070,6 +58374,39 @@ module Google
58070
58374
  end
58071
58375
  end
58072
58376
 
58377
+ #
58378
+ class ImageRepositoryLanguageIdentificationResult
58379
+ include Google::Apis::Core::Hashable
58380
+
58381
+ # Whether the locale got stripped from the original result before further
58382
+ # processing.
58383
+ # Corresponds to the JSON property `localeStripped`
58384
+ # @return [Boolean]
58385
+ attr_accessor :locale_stripped
58386
+ alias_method :locale_stripped?, :locale_stripped
58387
+
58388
+ # From cs/symbol:speech.s3.LanguageIdentificationResult owned by go/s3.
58389
+ # Corresponds to the JSON property `s3TopLocale`
58390
+ # @return [String]
58391
+ attr_accessor :s3_top_locale
58392
+
58393
+ # From cs/symbol:video_platform.operation.AudioLanguage owned gy go/ytcaps.
58394
+ # Corresponds to the JSON property `ytCapsAudioLanguage`
58395
+ # @return [String]
58396
+ attr_accessor :yt_caps_audio_language
58397
+
58398
+ def initialize(**args)
58399
+ update!(**args)
58400
+ end
58401
+
58402
+ # Update properties of this object
58403
+ def update!(**args)
58404
+ @locale_stripped = args[:locale_stripped] if args.key?(:locale_stripped)
58405
+ @s3_top_locale = args[:s3_top_locale] if args.key?(:s3_top_locale)
58406
+ @yt_caps_audio_language = args[:yt_caps_audio_language] if args.key?(:yt_caps_audio_language)
58407
+ end
58408
+ end
58409
+
58073
58410
  #
58074
58411
  class ImageRepositoryNimaOutput
58075
58412
  include Google::Apis::Core::Hashable
@@ -58850,6 +59187,13 @@ module Google
58850
59187
  # @return [Fixnum]
58851
59188
  attr_accessor :first_processing_timestamp_sec
58852
59189
 
59190
+ # Proto to store vertical indexing information for the document. The video can
59191
+ # be indexed to multiple verticals, including video search. It can also be
59192
+ # indexed only in verticals, not in video search.
59193
+ # Corresponds to the JSON property `indexedVerticals`
59194
+ # @return [Array<Google::Apis::ContentwarehouseV1::ImageRepositoryVideoPropertiesVerticalIndexingInfoVideo>]
59195
+ attr_accessor :indexed_verticals
59196
+
58853
59197
  # This message is used to store information about Inline Playback in the
58854
59198
  # VideoWebAttachment portion of the websearch index. LINT.IfChange
58855
59199
  # Corresponds to the JSON property `inlinePlayback`
@@ -58885,6 +59229,7 @@ module Google
58885
59229
  @crawl_state = args[:crawl_state] if args.key?(:crawl_state)
58886
59230
  @first_crawl_timestamp_sec = args[:first_crawl_timestamp_sec] if args.key?(:first_crawl_timestamp_sec)
58887
59231
  @first_processing_timestamp_sec = args[:first_processing_timestamp_sec] if args.key?(:first_processing_timestamp_sec)
59232
+ @indexed_verticals = args[:indexed_verticals] if args.key?(:indexed_verticals)
58888
59233
  @inline_playback = args[:inline_playback] if args.key?(:inline_playback)
58889
59234
  @last_crawl_request_timestamp_sec = args[:last_crawl_request_timestamp_sec] if args.key?(:last_crawl_request_timestamp_sec)
58890
59235
  @last_processing_timestamp_sec = args[:last_processing_timestamp_sec] if args.key?(:last_processing_timestamp_sec)
@@ -58892,6 +59237,28 @@ module Google
58892
59237
  end
58893
59238
  end
58894
59239
 
59240
+ # Proto to store vertical indexing information for the document and associated
59241
+ # video outlinks. The video content can be indexed to multiple verticals,
59242
+ # including videosearch. It can also be indexed only in verticals, not in
59243
+ # videosearch.
59244
+ class ImageRepositoryVideoPropertiesVerticalIndexingInfoVideo
59245
+ include Google::Apis::Core::Hashable
59246
+
59247
+ # List the string representation of the vertical that this image is indexed into.
59248
+ # Corresponds to the JSON property `name`
59249
+ # @return [String]
59250
+ attr_accessor :name
59251
+
59252
+ def initialize(**args)
59253
+ update!(**args)
59254
+ end
59255
+
59256
+ # Update properties of this object
59257
+ def update!(**args)
59258
+ @name = args[:name] if args.key?(:name)
59259
+ end
59260
+ end
59261
+
58895
59262
  # Word-specific information for recognized words.
58896
59263
  class ImageRepositoryWordInfo
58897
59264
  include Google::Apis::Core::Hashable
@@ -59030,9 +59397,7 @@ module Google
59030
59397
  # @return [Float]
59031
59398
  attr_accessor :spoof_score
59032
59399
 
59033
- # This field is an experimental one with a quite vague meaning. Please contact
59034
- # safesearch@ before any meaningful use of it. There is no guarantee it will
59035
- # preserve its behavior in the future.
59400
+ #
59036
59401
  # Corresponds to the JSON property `version`
59037
59402
  # @return [String]
59038
59403
  attr_accessor :version
@@ -67726,7 +68091,7 @@ module Google
67726
68091
  attr_accessor :name
67727
68092
 
67728
68093
  # A message representing the signals associated with an argument. NEXT ID TO USE:
67729
- # 59 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
68094
+ # 60 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
67730
68095
  # in the "ThenChange", fields under Argument.signals in the serving proto are
67731
68096
  # stored directly under Argument on the logging side. For example, see http://
67732
68097
  # google3/nlp/semantic_parsing/data_management/logs/web_logs/
@@ -68231,7 +68596,7 @@ module Google
68231
68596
  end
68232
68597
 
68233
68598
  # A message representing the signals associated with an argument. NEXT ID TO USE:
68234
- # 59 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
68599
+ # 60 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
68235
68600
  # in the "ThenChange", fields under Argument.signals in the serving proto are
68236
68601
  # stored directly under Argument on the logging side. For example, see http://
68237
68602
  # google3/nlp/semantic_parsing/data_management/logs/web_logs/
@@ -68413,6 +68778,11 @@ module Google
68413
68778
  # @return [Google::Apis::ContentwarehouseV1::GeostorePointProto]
68414
68779
  attr_accessor :location
68415
68780
 
68781
+ # Confidence score of this argument being a location.
68782
+ # Corresponds to the JSON property `locationClassificationScore`
68783
+ # @return [Float]
68784
+ attr_accessor :location_classification_score
68785
+
68416
68786
  # Signals from LightweightToken. The span for an argument may have been extended
68417
68787
  # to include lightweight token markers such as FROM or TO. This signal provides
68418
68788
  # the semantics for the range extension.
@@ -68636,6 +69006,7 @@ module Google
68636
69006
  @is_intentgen_annotation = args[:is_intentgen_annotation] if args.key?(:is_intentgen_annotation)
68637
69007
  @is_nimble_annotation = args[:is_nimble_annotation] if args.key?(:is_nimble_annotation)
68638
69008
  @location = args[:location] if args.key?(:location)
69009
+ @location_classification_score = args[:location_classification_score] if args.key?(:location_classification_score)
68639
69010
  @location_markers_signals = args[:location_markers_signals] if args.key?(:location_markers_signals)
68640
69011
  @location_type = args[:location_type] if args.key?(:location_type)
68641
69012
  @media_entity_signals = args[:media_entity_signals] if args.key?(:media_entity_signals)
@@ -68816,7 +69187,7 @@ module Google
68816
69187
  attr_accessor :duration
68817
69188
 
68818
69189
  # A message representing the function call of an answers intent query. Next ID:
68819
- # 19 Important: If you add new fields that do not reflect signals data, but
69190
+ # 21 Important: If you add new fields that do not reflect signals data, but
68820
69191
  # actual semantics of the FunctionCall, please also update
68821
69192
  # CreateFuncallCopyWithoutSignals and CreateFuncallCopyWithArgumentSignals in
68822
69193
  # function_call_utils. LINT.IfChange
@@ -69106,6 +69477,45 @@ module Google
69106
69477
  end
69107
69478
  end
69108
69479
 
69480
+ # Concept provides meaning semantics captured in a continuous space, as opposed
69481
+ # to MRF. go/concepts-roofshot.
69482
+ class KnowledgeAnswersIntentQueryConceptInfo
69483
+ include Google::Apis::Core::Hashable
69484
+
69485
+ #
69486
+ # Corresponds to the JSON property `id`
69487
+ # @return [Google::Apis::ContentwarehouseV1::ConceptsConceptId]
69488
+ attr_accessor :id
69489
+
69490
+ def initialize(**args)
69491
+ update!(**args)
69492
+ end
69493
+
69494
+ # Update properties of this object
69495
+ def update!(**args)
69496
+ @id = args[:id] if args.key?(:id)
69497
+ end
69498
+ end
69499
+
69500
+ # Signal data for associated Concepts (go/concept-roofshot).
69501
+ class KnowledgeAnswersIntentQueryConceptSignals
69502
+ include Google::Apis::Core::Hashable
69503
+
69504
+ # Concepts data epoch used to annotate the queries.
69505
+ # Corresponds to the JSON property `dataEpochId`
69506
+ # @return [Fixnum]
69507
+ attr_accessor :data_epoch_id
69508
+
69509
+ def initialize(**args)
69510
+ update!(**args)
69511
+ end
69512
+
69513
+ # Update properties of this object
69514
+ def update!(**args)
69515
+ @data_epoch_id = args[:data_epoch_id] if args.key?(:data_epoch_id)
69516
+ end
69517
+ end
69518
+
69109
69519
  # A message representing a coreferenced value defined elsewhere in the meaning
69110
69520
  # struct.
69111
69521
  class KnowledgeAnswersIntentQueryCoreference
@@ -69162,7 +69572,7 @@ module Google
69162
69572
  end
69163
69573
 
69164
69574
  # A message representing the function call of an answers intent query. Next ID:
69165
- # 19 Important: If you add new fields that do not reflect signals data, but
69575
+ # 21 Important: If you add new fields that do not reflect signals data, but
69166
69576
  # actual semantics of the FunctionCall, please also update
69167
69577
  # CreateFuncallCopyWithoutSignals and CreateFuncallCopyWithArgumentSignals in
69168
69578
  # function_call_utils. LINT.IfChange
@@ -69180,6 +69590,12 @@ module Google
69180
69590
  # @return [Fixnum]
69181
69591
  attr_accessor :catalog_version
69182
69592
 
69593
+ # Concept provides meaning semantics captured in a continuous space, as opposed
69594
+ # to MRF. go/concepts-roofshot.
69595
+ # Corresponds to the JSON property `conceptInfo`
69596
+ # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryConceptInfo]
69597
+ attr_accessor :concept_info
69598
+
69183
69599
  # Contextual Sensitivity (go/contextual-sensitivity) metadata indicating that a
69184
69600
  # policy- or privacy- sensitive conversation context (previous queries,
69185
69601
  # rewritten user queries, and previous system responses, like attentional
@@ -69249,7 +69665,7 @@ module Google
69249
69665
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersSensitivitySensitivity]
69250
69666
  attr_accessor :sensitivity
69251
69667
 
69252
- # Next ID: 38
69668
+ # Next ID: 39
69253
69669
  # Corresponds to the JSON property `signals`
69254
69670
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryFunctionCallSignals]
69255
69671
  attr_accessor :signals
@@ -69268,6 +69684,7 @@ module Google
69268
69684
  def update!(**args)
69269
69685
  @argument = args[:argument] if args.key?(:argument)
69270
69686
  @catalog_version = args[:catalog_version] if args.key?(:catalog_version)
69687
+ @concept_info = args[:concept_info] if args.key?(:concept_info)
69271
69688
  @contextual_sensitivity = args[:contextual_sensitivity] if args.key?(:contextual_sensitivity)
69272
69689
  @enabled_remodelings = args[:enabled_remodelings] if args.key?(:enabled_remodelings)
69273
69690
  @ignored_tokens = args[:ignored_tokens] if args.key?(:ignored_tokens)
@@ -69281,7 +69698,7 @@ module Google
69281
69698
  end
69282
69699
  end
69283
69700
 
69284
- # Next ID: 38
69701
+ # Next ID: 39
69285
69702
  class KnowledgeAnswersIntentQueryFunctionCallSignals
69286
69703
  include Google::Apis::Core::Hashable
69287
69704
 
@@ -69305,6 +69722,11 @@ module Google
69305
69722
  # @return [String]
69306
69723
  attr_accessor :concept_entity_mid
69307
69724
 
69725
+ # Signal data for associated Concepts (go/concept-roofshot).
69726
+ # Corresponds to the JSON property `conceptSignals`
69727
+ # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryConceptSignals]
69728
+ attr_accessor :concept_signals
69729
+
69308
69730
  #
69309
69731
  # Corresponds to the JSON property `confidenceLevel`
69310
69732
  # @return [String]
@@ -69458,7 +69880,7 @@ module Google
69458
69880
 
69459
69881
  # Signals to be used by the Prefulfillment Ranker. Derived from the
69460
69882
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
69461
- # Next ID: 65
69883
+ # Next ID: 66
69462
69884
  # Corresponds to the JSON property `prefulfillmentSignals`
69463
69885
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
69464
69886
  attr_accessor :prefulfillment_signals
@@ -69535,6 +69957,7 @@ module Google
69535
69957
  @argument_composing_mid = args[:argument_composing_mid] if args.key?(:argument_composing_mid)
69536
69958
  @attribute_signals = args[:attribute_signals] if args.key?(:attribute_signals)
69537
69959
  @concept_entity_mid = args[:concept_entity_mid] if args.key?(:concept_entity_mid)
69960
+ @concept_signals = args[:concept_signals] if args.key?(:concept_signals)
69538
69961
  @confidence_level = args[:confidence_level] if args.key?(:confidence_level)
69539
69962
  @deduped_funcalls = args[:deduped_funcalls] if args.key?(:deduped_funcalls)
69540
69963
  @expression_status = args[:expression_status] if args.key?(:expression_status)
@@ -72358,6 +72781,21 @@ module Google
72358
72781
  attr_accessor :encrypt_argument_value
72359
72782
  alias_method :encrypt_argument_value?, :encrypt_argument_value
72360
72783
 
72784
+ # If true, triggers encryption of |value_term| [1] and move into |
72785
+ # sensitive_value_term|. This is useful to support finer grain encryption
72786
+ # controls for disambiguation, where the broader |encrypt_argument_value| is too
72787
+ # restrictive. In particular, when we know that the values being disambiguated
72788
+ # are non-sensitive (e.g. opaque event IDs), but the value_terms are sensitive (
72789
+ # e.g. event titles), it can be helpful for debugging purposes to circulate the
72790
+ # value unencrypted. This policy only has an effect when configured at argument-
72791
+ # level. It has no effect in Intent or PreviousQuery stanzas. See go/delete-
72792
+ # event-disambiguation-redaction-v2 for context and usage. [1]cs/s:quality.
72793
+ # dialog_manager.IntentStateSignals.FieldCandidate.value_term
72794
+ # Corresponds to the JSON property `encryptFieldCandidateValueTerm`
72795
+ # @return [Boolean]
72796
+ attr_accessor :encrypt_field_candidate_value_term
72797
+ alias_method :encrypt_field_candidate_value_term?, :encrypt_field_candidate_value_term
72798
+
72361
72799
  # If this is set true, we encrypt QueryAnnotationDataProto prior to writing it
72362
72800
  # to Footprint ASSISTANT_EPHEMERAL corpus. This enables restricting ACL to the
72363
72801
  # data.
@@ -72381,6 +72819,7 @@ module Google
72381
72819
  # Update properties of this object
72382
72820
  def update!(**args)
72383
72821
  @encrypt_argument_value = args[:encrypt_argument_value] if args.key?(:encrypt_argument_value)
72822
+ @encrypt_field_candidate_value_term = args[:encrypt_field_candidate_value_term] if args.key?(:encrypt_field_candidate_value_term)
72384
72823
  @encrypt_query_annotation_data = args[:encrypt_query_annotation_data] if args.key?(:encrypt_query_annotation_data)
72385
72824
  @scrub_auxiliary_fields_in_conversation_snapshot = args[:scrub_auxiliary_fields_in_conversation_snapshot] if args.key?(:scrub_auxiliary_fields_in_conversation_snapshot)
72386
72825
  end
@@ -74957,7 +75396,7 @@ module Google
74957
75396
  # @return [Google::Apis::ContentwarehouseV1::LogsSemanticInterpretationIntentQueryLinkKindFlags]
74958
75397
  attr_accessor :flags
74959
75398
 
74960
- #
75399
+ # Not set for a while.
74961
75400
  # Corresponds to the JSON property `kcLinkName`
74962
75401
  # @return [String]
74963
75402
  attr_accessor :kc_link_name
@@ -98718,7 +99157,9 @@ module Google
98718
99157
  end
98719
99158
  end
98720
99159
 
98721
- #
99160
+ # These scores are for image scores *in the context of a landing page*, which is
99161
+ # now a discouraged path of building image classifications. See go/orbit-for-
99162
+ # images-v2 for an alternative.
98722
99163
  class QualityOrbitAsteroidBeltImageIntentScores
98723
99164
  include Google::Apis::Core::Hashable
98724
99165
 
@@ -98932,7 +99373,7 @@ module Google
98932
99373
  # used as: - a collection of signals to score and select titles in production -
98933
99374
  # an input for training title models NOTE: When adding a floating point value
98934
99375
  # for Ranklab purposes, use float32 instead of float64, because some of the
98935
- # Ranklab library still does not fully support float64. Next ID: 67
99376
+ # Ranklab library still does not fully support float64. Next ID: 68
98936
99377
  class QualityPreviewRanklabTitle
98937
99378
  include Google::Apis::Core::Hashable
98938
99379
 
@@ -99185,6 +99626,12 @@ module Google
99185
99626
  # @return [Float]
99186
99627
  attr_accessor :query_relevance
99187
99628
 
99629
+ #
99630
+ # Corresponds to the JSON property `sourceGeneratedTitle`
99631
+ # @return [Boolean]
99632
+ attr_accessor :source_generated_title
99633
+ alias_method :source_generated_title?, :source_generated_title
99634
+
99188
99635
  #
99189
99636
  # Corresponds to the JSON property `sourceGeometry`
99190
99637
  # @return [Boolean]
@@ -99311,6 +99758,7 @@ module Google
99311
99758
  @query_match = args[:query_match] if args.key?(:query_match)
99312
99759
  @query_match_fraction = args[:query_match_fraction] if args.key?(:query_match_fraction)
99313
99760
  @query_relevance = args[:query_relevance] if args.key?(:query_relevance)
99761
+ @source_generated_title = args[:source_generated_title] if args.key?(:source_generated_title)
99314
99762
  @source_geometry = args[:source_geometry] if args.key?(:source_geometry)
99315
99763
  @source_heading_tag = args[:source_heading_tag] if args.key?(:source_heading_tag)
99316
99764
  @source_local_title = args[:source_local_title] if args.key?(:source_local_title)
@@ -105803,16 +106251,6 @@ module Google
105803
106251
  class RepositoryWebrefFprintModifierProto
105804
106252
  include Google::Apis::Core::Hashable
105805
106253
 
105806
- #
105807
- # Corresponds to the JSON property `capitalization`
105808
- # @return [String]
105809
- attr_accessor :capitalization
105810
-
105811
- #
105812
- # Corresponds to the JSON property `enclosing`
105813
- # @return [String]
105814
- attr_accessor :enclosing
105815
-
105816
106254
  # i18.languages.Language enum defined in i18n/languages/proto/languages.proto
105817
106255
  # UNKNOWN_LANGUAGE
105818
106256
  # Corresponds to the JSON property `language`
@@ -105824,52 +106262,14 @@ module Google
105824
106262
  # @return [String]
105825
106263
  attr_accessor :namespace_type
105826
106264
 
105827
- #
105828
- # Corresponds to the JSON property `punctuation`
105829
- # @return [String]
105830
- attr_accessor :punctuation
105831
-
105832
- #
105833
- # Corresponds to the JSON property `sentence`
105834
- # @return [String]
105835
- attr_accessor :sentence
105836
-
105837
- #
105838
- # Corresponds to the JSON property `sourceType`
105839
- # @return [String]
105840
- attr_accessor :source_type
105841
-
105842
- #
105843
- # Corresponds to the JSON property `stemming`
105844
- # @return [String]
105845
- attr_accessor :stemming
105846
-
105847
- #
105848
- # Corresponds to the JSON property `style`
105849
- # @return [String]
105850
- attr_accessor :style
105851
-
105852
- #
105853
- # Corresponds to the JSON property `tokenType`
105854
- # @return [String]
105855
- attr_accessor :token_type
105856
-
105857
106265
  def initialize(**args)
105858
106266
  update!(**args)
105859
106267
  end
105860
106268
 
105861
106269
  # Update properties of this object
105862
106270
  def update!(**args)
105863
- @capitalization = args[:capitalization] if args.key?(:capitalization)
105864
- @enclosing = args[:enclosing] if args.key?(:enclosing)
105865
106271
  @language = args[:language] if args.key?(:language)
105866
106272
  @namespace_type = args[:namespace_type] if args.key?(:namespace_type)
105867
- @punctuation = args[:punctuation] if args.key?(:punctuation)
105868
- @sentence = args[:sentence] if args.key?(:sentence)
105869
- @source_type = args[:source_type] if args.key?(:source_type)
105870
- @stemming = args[:stemming] if args.key?(:stemming)
105871
- @style = args[:style] if args.key?(:style)
105872
- @token_type = args[:token_type] if args.key?(:token_type)
105873
106273
  end
105874
106274
  end
105875
106275
 
@@ -106678,11 +107078,6 @@ module Google
106678
107078
  # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefLinkKindFlags]
106679
107079
  attr_accessor :flags
106680
107080
 
106681
- # Link name extracted from Knowledge Card facts.
106682
- # Corresponds to the JSON property `kcLinkName`
106683
- # @return [String]
106684
- attr_accessor :kc_link_name
106685
-
106686
107081
  # If the link was extracted from a property, the name of the property. Can start
106687
107082
  # with an exclamation mark "!" to indicate that the inverse relationship is
106688
107083
  # specified. (e.g. "!/tv/tv_series_episode/series" is the inverse of "tv/
@@ -106698,7 +107093,6 @@ module Google
106698
107093
  # Update properties of this object
106699
107094
  def update!(**args)
106700
107095
  @flags = args[:flags] if args.key?(:flags)
106701
- @kc_link_name = args[:kc_link_name] if args.key?(:kc_link_name)
106702
107096
  @topic_property_name = args[:topic_property_name] if args.key?(:topic_property_name)
106703
107097
  end
106704
107098
  end
@@ -107706,11 +108100,6 @@ module Google
107706
108100
  # @return [Fixnum]
107707
108101
  attr_accessor :feature_type
107708
108102
 
107709
- # The container for all GConceptInstances associated with a feature.
107710
- # Corresponds to the JSON property `gconcepts`
107711
- # @return [Google::Apis::ContentwarehouseV1::GeostoreOntologyRawGConceptInstanceContainerProto]
107712
- attr_accessor :gconcepts
107713
-
107714
108103
  def initialize(**args)
107715
108104
  update!(**args)
107716
108105
  end
@@ -107718,7 +108107,6 @@ module Google
107718
108107
  # Update properties of this object
107719
108108
  def update!(**args)
107720
108109
  @feature_type = args[:feature_type] if args.key?(:feature_type)
107721
- @gconcepts = args[:gconcepts] if args.key?(:gconcepts)
107722
108110
  end
107723
108111
  end
107724
108112
 
@@ -125651,7 +126039,7 @@ module Google
125651
126039
 
125652
126040
  # This defines the per-doc data which is extracted from thumbnails and
125653
126041
  # propagated over to indexing. It contains all information that can be used for
125654
- # restricts. Next tag id: 130
126042
+ # restricts. Next tag id: 131
125655
126043
  # Corresponds to the JSON property `imageData`
125656
126044
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
125657
126045
  attr_accessor :image_data
@@ -126415,7 +126803,7 @@ module Google
126415
126803
  # Intended to be simpler to work with than the ExportedStanza it's derived from
126416
126804
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
126417
126805
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
126418
- # 78
126806
+ # 80
126419
126807
  # Corresponds to the JSON property `miniStanza`
126420
126808
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsClusteringMiniStanza]
126421
126809
  attr_accessor :mini_stanza
@@ -131828,7 +132216,7 @@ module Google
131828
132216
  # in that source. Fields like lengths, fps, etc. are not guaranteed to be the
131829
132217
  # same as those of transcodes. If the relevant info in source is too broken, the
131830
132218
  # corresponding fields (e.g., lengths) could be unset or with the default value,
131831
- # meaning VSI cannot compute them from the given info. Next id: 83
132219
+ # meaning VSI cannot compute them from the given info. Next id: 84
131832
132220
  # Corresponds to the JSON property `info`
131833
132221
  # @return [Google::Apis::ContentwarehouseV1::VideoVideoStreamInfo]
131834
132222
  attr_accessor :info
@@ -132574,7 +132962,7 @@ module Google
132574
132962
  # in that source. Fields like lengths, fps, etc. are not guaranteed to be the
132575
132963
  # same as those of transcodes. If the relevant info in source is too broken, the
132576
132964
  # corresponding fields (e.g., lengths) could be unset or with the default value,
132577
- # meaning VSI cannot compute them from the given info. Next id: 83
132965
+ # meaning VSI cannot compute them from the given info. Next id: 84
132578
132966
  class VideoVideoStreamInfo
132579
132967
  include Google::Apis::Core::Hashable
132580
132968
 
@@ -132811,6 +133199,13 @@ module Google
132811
133199
  attr_accessor :parsed_by_ffmpeg
132812
133200
  alias_method :parsed_by_ffmpeg?, :parsed_by_ffmpeg
132813
133201
 
133202
+ # True if the file was successfully parsed by in-house parsers. Unset if parsing
133203
+ # wasn't attepmted.
133204
+ # Corresponds to the JSON property `parsedByInHouseParsers`
133205
+ # @return [Boolean]
133206
+ attr_accessor :parsed_by_in_house_parsers
133207
+ alias_method :parsed_by_in_house_parsers?, :parsed_by_in_house_parsers
133208
+
132814
133209
  # By default we assume that the entire file was given computing the VSI - if
132815
133210
  # that is not true this flag should be set to true.
132816
133211
  # Corresponds to the JSON property `partialFile`
@@ -133041,6 +133436,7 @@ module Google
133041
133436
  @num_timedtext_streams = args[:num_timedtext_streams] if args.key?(:num_timedtext_streams)
133042
133437
  @num_video_streams = args[:num_video_streams] if args.key?(:num_video_streams)
133043
133438
  @parsed_by_ffmpeg = args[:parsed_by_ffmpeg] if args.key?(:parsed_by_ffmpeg)
133439
+ @parsed_by_in_house_parsers = args[:parsed_by_in_house_parsers] if args.key?(:parsed_by_in_house_parsers)
133044
133440
  @partial_file = args[:partial_file] if args.key?(:partial_file)
133045
133441
  @pix_fmt = args[:pix_fmt] if args.key?(:pix_fmt)
133046
133442
  @profile = args[:profile] if args.key?(:profile)
@@ -135396,10 +135792,221 @@ module Google
135396
135792
  end
135397
135793
  end
135398
135794
 
135795
+ # Data representing a comment moderated restriction. A moderated comment is
135796
+ # hidden from all viewers except for comment author. A comment can be moderated
135797
+ # due to multiple moderated restrictions from multiple issuers. Each is
135798
+ # represented by a CommentModeratedRestriction entry which is uniquely
135799
+ # identified by the external comment id and the create time in the storage.
135800
+ # Conceptually, there should be exactly one moderated restriction for a specific
135801
+ # reason per issuer per reviewable value and this constraint will be enforced in
135802
+ # the Comment API endpoints. For more context see go/yt-comment-restriction-data-
135803
+ # model ## Next id: 11. ## Spanner primary key attributes
135804
+ class YoutubeCommentsApiCommentModeratedRestriction
135805
+ include Google::Apis::Core::Hashable
135806
+
135807
+ # Live chat auto moderation only. The HOLD decisions and whether they are
135808
+ # enforced correspondingly.
135809
+ # Corresponds to the JSON property `autoModEnforcements`
135810
+ # @return [Array<Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentModeratedRestrictionAutoModDecisionEnforcement>]
135811
+ attr_accessor :auto_mod_enforcements
135812
+
135813
+ # Required. The creation time of this restriction.
135814
+ # Corresponds to the JSON property `createTime`
135815
+ # @return [String]
135816
+ attr_accessor :create_time
135817
+
135818
+ # Required. The external ID of the comment that this restriction described.
135819
+ # Corresponds to the JSON property `externalCommentId`
135820
+ # @return [String]
135821
+ attr_accessor :external_comment_id
135822
+
135823
+ # The restriction issuers here identify "who" issues the restriction. It
135824
+ # represents restriction granularity at the issuer level so restrictions from
135825
+ # different issuers will not override each other.
135826
+ # Corresponds to the JSON property `issuer`
135827
+ # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentRestrictionIssuer]
135828
+ attr_accessor :issuer
135829
+
135830
+ # The restriction issuers here identify "why" the restriction is issued. Most
135831
+ # reasons are specific to one type of issuer but some of them are shared among
135832
+ # multiple issuers.
135833
+ # Corresponds to the JSON property `reason`
135834
+ # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentRestrictionReason]
135835
+ attr_accessor :reason
135836
+
135837
+ # True if moderation comes from T&S, Automod, and some of channel owner settings
135838
+ # and comments will be put into "Held For Review" queue for channel owner review.
135839
+ # After any creator review, this restriction will remain in this status to
135840
+ # capture the original restriction. True maps to ModerationState=HOLD in Stanza.
135841
+ # False if moderation results from channel owner manual opertation or author in
135842
+ # hidden user list, and maps to ModerationState=REJECTED in Stanza.
135843
+ # Corresponds to the JSON property `reviewable`
135844
+ # @return [Boolean]
135845
+ attr_accessor :reviewable
135846
+ alias_method :reviewable?, :reviewable
135847
+
135848
+ # Required. For moderated restriction on comment and live chat but not issued by
135849
+ # Automod, the field should be always set to ACTIVE. For Automod moderation on
135850
+ # live chat, the restriction is active as long as one of the HOLD decisions is
135851
+ # enforced. Can only be changed by upcoming QPS threshold configuration changes
135852
+ # and backfills.
135853
+ # Corresponds to the JSON property `status`
135854
+ # @return [String]
135855
+ attr_accessor :status
135856
+
135857
+ # The timestamp when this restriction is updated.
135858
+ # Corresponds to the JSON property `updateTime`
135859
+ # @return [String]
135860
+ attr_accessor :update_time
135861
+
135862
+ def initialize(**args)
135863
+ update!(**args)
135864
+ end
135865
+
135866
+ # Update properties of this object
135867
+ def update!(**args)
135868
+ @auto_mod_enforcements = args[:auto_mod_enforcements] if args.key?(:auto_mod_enforcements)
135869
+ @create_time = args[:create_time] if args.key?(:create_time)
135870
+ @external_comment_id = args[:external_comment_id] if args.key?(:external_comment_id)
135871
+ @issuer = args[:issuer] if args.key?(:issuer)
135872
+ @reason = args[:reason] if args.key?(:reason)
135873
+ @reviewable = args[:reviewable] if args.key?(:reviewable)
135874
+ @status = args[:status] if args.key?(:status)
135875
+ @update_time = args[:update_time] if args.key?(:update_time)
135876
+ end
135877
+ end
135878
+
135879
+ # Whether a HOLD decision is enforced based on the decision name and QPS
135880
+ # requirement. For LiveChat, there could be multiple Automod moderations
135881
+ # generated at chat message creation time. Only HOLD decisions are persisted. At
135882
+ # most one HOLD decision can be enforced based on write QPS.
135883
+ class YoutubeCommentsApiCommentModeratedRestrictionAutoModDecisionEnforcement
135884
+ include Google::Apis::Core::Hashable
135885
+
135886
+ # Whether or not the decision is enforced.
135887
+ # Corresponds to the JSON property `enforced`
135888
+ # @return [Boolean]
135889
+ attr_accessor :enforced
135890
+ alias_method :enforced?, :enforced
135891
+
135892
+ # Current the enforcement rule depends on live chat write QPS at chat message
135893
+ # creation time. Enforce MEDIAN when QPS<=4. Enforce HIGH_RECALL when QPS>4 AND
135894
+ # QPS<=10. Enforce ULTRA_HIGH_RECALL when QPS>10.
135895
+ # Corresponds to the JSON property `name`
135896
+ # @return [String]
135897
+ attr_accessor :name
135898
+
135899
+ def initialize(**args)
135900
+ update!(**args)
135901
+ end
135902
+
135903
+ # Update properties of this object
135904
+ def update!(**args)
135905
+ @enforced = args[:enforced] if args.key?(:enforced)
135906
+ @name = args[:name] if args.key?(:name)
135907
+ end
135908
+ end
135909
+
135910
+ # The restriction issuers here identify "who" issues the restriction. It
135911
+ # represents restriction granularity at the issuer level so restrictions from
135912
+ # different issuers will not override each other.
135913
+ class YoutubeCommentsApiCommentRestrictionIssuer
135914
+ include Google::Apis::Core::Hashable
135915
+
135916
+ # Channel moderator info details. Supports audit log functionality that shows
135917
+ # moderator activity.
135918
+ # Corresponds to the JSON property `channelModeratorDetails`
135919
+ # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentRestrictionIssuerChannelModeratorDetails]
135920
+ attr_accessor :channel_moderator_details
135921
+
135922
+ # Channel owner info details. Supports audit log functionality that shows
135923
+ # creator activity.
135924
+ # Corresponds to the JSON property `channelOwnerDetails`
135925
+ # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentRestrictionIssuerChannelOwnerDetails]
135926
+ attr_accessor :channel_owner_details
135927
+
135928
+ #
135929
+ # Corresponds to the JSON property `issuer`
135930
+ # @return [String]
135931
+ attr_accessor :issuer
135932
+
135933
+ def initialize(**args)
135934
+ update!(**args)
135935
+ end
135936
+
135937
+ # Update properties of this object
135938
+ def update!(**args)
135939
+ @channel_moderator_details = args[:channel_moderator_details] if args.key?(:channel_moderator_details)
135940
+ @channel_owner_details = args[:channel_owner_details] if args.key?(:channel_owner_details)
135941
+ @issuer = args[:issuer] if args.key?(:issuer)
135942
+ end
135943
+ end
135944
+
135945
+ # Channel moderator info details. Supports audit log functionality that shows
135946
+ # moderator activity.
135947
+ class YoutubeCommentsApiCommentRestrictionIssuerChannelModeratorDetails
135948
+ include Google::Apis::Core::Hashable
135949
+
135950
+ #
135951
+ # Corresponds to the JSON property `externalChannelId`
135952
+ # @return [String]
135953
+ attr_accessor :external_channel_id
135954
+
135955
+ def initialize(**args)
135956
+ update!(**args)
135957
+ end
135958
+
135959
+ # Update properties of this object
135960
+ def update!(**args)
135961
+ @external_channel_id = args[:external_channel_id] if args.key?(:external_channel_id)
135962
+ end
135963
+ end
135964
+
135965
+ # Channel owner info details. Supports audit log functionality that shows
135966
+ # creator activity.
135967
+ class YoutubeCommentsApiCommentRestrictionIssuerChannelOwnerDetails
135968
+ include Google::Apis::Core::Hashable
135969
+
135970
+ #
135971
+ # Corresponds to the JSON property `externalChannelId`
135972
+ # @return [String]
135973
+ attr_accessor :external_channel_id
135974
+
135975
+ def initialize(**args)
135976
+ update!(**args)
135977
+ end
135978
+
135979
+ # Update properties of this object
135980
+ def update!(**args)
135981
+ @external_channel_id = args[:external_channel_id] if args.key?(:external_channel_id)
135982
+ end
135983
+ end
135984
+
135985
+ # The restriction issuers here identify "why" the restriction is issued. Most
135986
+ # reasons are specific to one type of issuer but some of them are shared among
135987
+ # multiple issuers.
135988
+ class YoutubeCommentsApiCommentRestrictionReason
135989
+ include Google::Apis::Core::Hashable
135990
+
135991
+ #
135992
+ # Corresponds to the JSON property `reason`
135993
+ # @return [String]
135994
+ attr_accessor :reason
135995
+
135996
+ def initialize(**args)
135997
+ update!(**args)
135998
+ end
135999
+
136000
+ # Update properties of this object
136001
+ def update!(**args)
136002
+ @reason = args[:reason] if args.key?(:reason)
136003
+ end
136004
+ end
136005
+
135399
136006
  # Intended to be simpler to work with than the ExportedStanza it's derived from
135400
136007
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
135401
136008
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
135402
- # 78
136009
+ # 80
135403
136010
  class YoutubeCommentsClusteringMiniStanza
135404
136011
  include Google::Apis::Core::Hashable
135405
136012
 
@@ -135457,6 +136064,12 @@ module Google
135457
136064
  # @return [Hash<String,Float>]
135458
136065
  attr_accessor :comment_classification_ranking
135459
136066
 
136067
+ # Contains various comment moderated restrictions. Only available in the Atlas
136068
+ # version. Extracted from http://shortn/_2LzgPEF5K3
136069
+ # Corresponds to the JSON property `commentModeratedRestrictions`
136070
+ # @return [Array<Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentModeratedRestriction>]
136071
+ attr_accessor :comment_moderated_restrictions
136072
+
135460
136073
  # Whether the comment is on a video, post, or other product.
135461
136074
  # Corresponds to the JSON property `commentType`
135462
136075
  # @return [String]
@@ -135597,6 +136210,12 @@ module Google
135597
136210
  # @return [Hash<String,Boolean>]
135598
136211
  attr_accessor :low_quality_decisions
135599
136212
 
136213
+ # Comment low quality scores. Keyed by various model names. Rename from the old
136214
+ # automod_scores.
136215
+ # Corresponds to the JSON property `lowQualityScores`
136216
+ # @return [Hash<String,Float>]
136217
+ attr_accessor :low_quality_scores
136218
+
135600
136219
  # Timed comments for the "mentioned" secondary key.
135601
136220
  # Corresponds to the JSON property `mentionedTimestampCommentSecond`
135602
136221
  # @return [Fixnum]
@@ -135812,6 +136431,7 @@ module Google
135812
136431
  @comment_classification = args[:comment_classification] if args.key?(:comment_classification)
135813
136432
  @comment_classification_buckets = args[:comment_classification_buckets] if args.key?(:comment_classification_buckets)
135814
136433
  @comment_classification_ranking = args[:comment_classification_ranking] if args.key?(:comment_classification_ranking)
136434
+ @comment_moderated_restrictions = args[:comment_moderated_restrictions] if args.key?(:comment_moderated_restrictions)
135815
136435
  @comment_type = args[:comment_type] if args.key?(:comment_type)
135816
136436
  @content = args[:content] if args.key?(:content)
135817
136437
  @content_update_timestamp = args[:content_update_timestamp] if args.key?(:content_update_timestamp)
@@ -135835,6 +136455,7 @@ module Google
135835
136455
  @language_code = args[:language_code] if args.key?(:language_code)
135836
136456
  @last_reply_timestamp_usec = args[:last_reply_timestamp_usec] if args.key?(:last_reply_timestamp_usec)
135837
136457
  @low_quality_decisions = args[:low_quality_decisions] if args.key?(:low_quality_decisions)
136458
+ @low_quality_scores = args[:low_quality_scores] if args.key?(:low_quality_scores)
135838
136459
  @mentioned_timestamp_comment_second = args[:mentioned_timestamp_comment_second] if args.key?(:mentioned_timestamp_comment_second)
135839
136460
  @misinfo_scores = args[:misinfo_scores] if args.key?(:misinfo_scores)
135840
136461
  @num_dislikes = args[:num_dislikes] if args.key?(:num_dislikes)