google-apis-contentwarehouse_v1 0.25.0 → 0.26.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.
@@ -16766,7 +16766,7 @@ module Google
16766
16766
  attr_accessor :supported_client_op
16767
16767
 
16768
16768
  # 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
16769
+ # the SoftwareCapabilities of the device. Next ID: 68
16770
16770
  # Corresponds to the JSON property `supportedFeatures`
16771
16771
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSupportedFeatures]
16772
16772
  attr_accessor :supported_features
@@ -17159,7 +17159,7 @@ module Google
17159
17159
  end
17160
17160
 
17161
17161
  # 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
17162
+ # the SoftwareCapabilities of the device. Next ID: 68
17163
17163
  class AssistantApiSupportedFeatures
17164
17164
  include Google::Apis::Core::Hashable
17165
17165
 
@@ -17243,6 +17243,13 @@ module Google
17243
17243
  attr_accessor :confirmation_before_reading_multiple_messages_supported
17244
17244
  alias_method :confirmation_before_reading_multiple_messages_supported?, :confirmation_before_reading_multiple_messages_supported
17245
17245
 
17246
+ # Whether the client can render conversational care responses. go/conversational-
17247
+ # care
17248
+ # Corresponds to the JSON property `conversationalCareSupported`
17249
+ # @return [Boolean]
17250
+ attr_accessor :conversational_care_supported
17251
+ alias_method :conversational_care_supported?, :conversational_care_supported
17252
+
17246
17253
  # Whether the client supports cross-device broadcast (i.e. on Torus).
17247
17254
  # Corresponds to the JSON property `crossDeviceBroadcastSupported`
17248
17255
  # @return [Boolean]
@@ -17623,6 +17630,7 @@ module Google
17623
17630
  @client1m_providers_supported = args[:client1m_providers_supported] if args.key?(:client1m_providers_supported)
17624
17631
  @client_op_result_batching_supported = args[:client_op_result_batching_supported] if args.key?(:client_op_result_batching_supported)
17625
17632
  @confirmation_before_reading_multiple_messages_supported = args[:confirmation_before_reading_multiple_messages_supported] if args.key?(:confirmation_before_reading_multiple_messages_supported)
17633
+ @conversational_care_supported = args[:conversational_care_supported] if args.key?(:conversational_care_supported)
17626
17634
  @cross_device_broadcast_supported = args[:cross_device_broadcast_supported] if args.key?(:cross_device_broadcast_supported)
17627
17635
  @cross_device_broadcast_version = args[:cross_device_broadcast_version] if args.key?(:cross_device_broadcast_version)
17628
17636
  @csat_visual_overlay_supported = args[:csat_visual_overlay_supported] if args.key?(:csat_visual_overlay_supported)
@@ -20020,7 +20028,7 @@ module Google
20020
20028
  attr_accessor :properties
20021
20029
 
20022
20030
  # The states of the device. They are dynamic and may change based on the current
20023
- # context. Next ID: 6
20031
+ # context. Next ID: 13
20024
20032
  # Corresponds to the JSON property `states`
20025
20033
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingFeaturesStates]
20026
20034
  attr_accessor :states
@@ -20070,7 +20078,7 @@ module Google
20070
20078
  end
20071
20079
 
20072
20080
  # The states of the device. They are dynamic and may change based on the current
20073
- # context. Next ID: 6
20081
+ # context. Next ID: 13
20074
20082
  class AssistantGroundingRankerDeviceTargetingFeaturesStates
20075
20083
  include Google::Apis::Core::Hashable
20076
20084
 
@@ -20079,6 +20087,55 @@ module Google
20079
20087
  # @return [String]
20080
20088
  attr_accessor :distance
20081
20089
 
20090
+ # Indicates that the device is running a media session that is currently
20091
+ # buffering.
20092
+ # Corresponds to the JSON property `hasBufferingMediaSession`
20093
+ # @return [Boolean]
20094
+ attr_accessor :has_buffering_media_session
20095
+ alias_method :has_buffering_media_session?, :has_buffering_media_session
20096
+
20097
+ # Indicates that the device is running a media session that is currently paused.
20098
+ # Corresponds to the JSON property `hasPausedMediaSession`
20099
+ # @return [Boolean]
20100
+ attr_accessor :has_paused_media_session
20101
+ alias_method :has_paused_media_session?, :has_paused_media_session
20102
+
20103
+ # Indicates that the device is running a media session that is currently playing.
20104
+ # Corresponds to the JSON property `hasPlayingMediaSession`
20105
+ # @return [Boolean]
20106
+ attr_accessor :has_playing_media_session
20107
+ alias_method :has_playing_media_session?, :has_playing_media_session
20108
+
20109
+ # Indicates whether or not the device is in the same room as any hearing devices.
20110
+ # Does not consider the device itself or the local device as a hearing device.
20111
+ # If no valid hearing devices, this field is not set.
20112
+ # Corresponds to the JSON property `inSameRoomAsHearingDevice`
20113
+ # @return [Boolean]
20114
+ attr_accessor :in_same_room_as_hearing_device
20115
+ alias_method :in_same_room_as_hearing_device?, :in_same_room_as_hearing_device
20116
+
20117
+ # Indicates whether or not the device is in the same room as the local device.
20118
+ # If the device is the local device, this field is not set.
20119
+ # Corresponds to the JSON property `inSameRoomAsLocalDevice`
20120
+ # @return [Boolean]
20121
+ attr_accessor :in_same_room_as_local_device
20122
+ alias_method :in_same_room_as_local_device?, :in_same_room_as_local_device
20123
+
20124
+ # Indicates whether or not the device is in the same structure as any hearing
20125
+ # devices. Does not consider the device itself or the local device as a hearing
20126
+ # device. If no valid hearing devices, this field is not set.
20127
+ # Corresponds to the JSON property `inSameStructureAsHearingDevice`
20128
+ # @return [Boolean]
20129
+ attr_accessor :in_same_structure_as_hearing_device
20130
+ alias_method :in_same_structure_as_hearing_device?, :in_same_structure_as_hearing_device
20131
+
20132
+ # Indicates whether or not the device is in the same structure as the local
20133
+ # device. If the device is the local device, this field is not set.
20134
+ # Corresponds to the JSON property `inSameStructureAsLocalDevice`
20135
+ # @return [Boolean]
20136
+ attr_accessor :in_same_structure_as_local_device
20137
+ alias_method :in_same_structure_as_local_device?, :in_same_structure_as_local_device
20138
+
20082
20139
  # Indicate whether the device is docked on a base.
20083
20140
  # Corresponds to the JSON property `isDocked`
20084
20141
  # @return [Boolean]
@@ -20117,6 +20174,13 @@ module Google
20117
20174
  # Update properties of this object
20118
20175
  def update!(**args)
20119
20176
  @distance = args[:distance] if args.key?(:distance)
20177
+ @has_buffering_media_session = args[:has_buffering_media_session] if args.key?(:has_buffering_media_session)
20178
+ @has_paused_media_session = args[:has_paused_media_session] if args.key?(:has_paused_media_session)
20179
+ @has_playing_media_session = args[:has_playing_media_session] if args.key?(:has_playing_media_session)
20180
+ @in_same_room_as_hearing_device = args[:in_same_room_as_hearing_device] if args.key?(:in_same_room_as_hearing_device)
20181
+ @in_same_room_as_local_device = args[:in_same_room_as_local_device] if args.key?(:in_same_room_as_local_device)
20182
+ @in_same_structure_as_hearing_device = args[:in_same_structure_as_hearing_device] if args.key?(:in_same_structure_as_hearing_device)
20183
+ @in_same_structure_as_local_device = args[:in_same_structure_as_local_device] if args.key?(:in_same_structure_as_local_device)
20120
20184
  @is_docked = args[:is_docked] if args.key?(:is_docked)
20121
20185
  @is_local = args[:is_local] if args.key?(:is_local)
20122
20186
  @is_locked = args[:is_locked] if args.key?(:is_locked)
@@ -20187,7 +20251,7 @@ module Google
20187
20251
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerEndpointGroundingProviderFeatures]
20188
20252
  attr_accessor :endpoint_grounding_provider_features
20189
20253
 
20190
- # Features to be passed from Media GP to HGR. Next ID: 18
20254
+ # Features to be passed from Media GP to HGR. Next ID: 19
20191
20255
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
20192
20256
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
20193
20257
  attr_accessor :media_grounding_provider_features
@@ -20367,7 +20431,7 @@ module Google
20367
20431
  end
20368
20432
  end
20369
20433
 
20370
- # Features to be passed from Media GP to HGR. Next ID: 18
20434
+ # Features to be passed from Media GP to HGR. Next ID: 19
20371
20435
  class AssistantGroundingRankerMediaGroundingProviderFeatures
20372
20436
  include Google::Apis::Core::Hashable
20373
20437
 
@@ -20409,6 +20473,13 @@ module Google
20409
20473
  attr_accessor :is_cast_video
20410
20474
  alias_method :is_cast_video?, :is_cast_video
20411
20475
 
20476
+ # True if the media item in Binding Set is exclusively available on the provider
20477
+ # in Binding set. Example: "Stranger things" is exclusive to "Netflix".
20478
+ # Corresponds to the JSON property `isExclusiveOriginalProvider`
20479
+ # @return [Boolean]
20480
+ attr_accessor :is_exclusive_original_provider
20481
+ alias_method :is_exclusive_original_provider?, :is_exclusive_original_provider
20482
+
20412
20483
  # True if the media search query is included in the entity name and artists.
20413
20484
  # Corresponds to the JSON property `isMediaSearchQuerySubsetOfEntityNameAndArtist`
20414
20485
  # @return [Boolean]
@@ -20496,6 +20567,7 @@ module Google
20496
20567
  @has_cast_video_deeplink = args[:has_cast_video_deeplink] if args.key?(:has_cast_video_deeplink)
20497
20568
  @has_type_semantic_edge = args[:has_type_semantic_edge] if args.key?(:has_type_semantic_edge)
20498
20569
  @is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
20570
+ @is_exclusive_original_provider = args[:is_exclusive_original_provider] if args.key?(:is_exclusive_original_provider)
20499
20571
  @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
20572
  @is_most_recent_song_album_ambiguous = args[:is_most_recent_song_album_ambiguous] if args.key?(:is_most_recent_song_album_ambiguous)
20501
20573
  @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
@@ -27234,6 +27306,31 @@ module Google
27234
27306
  end
27235
27307
  end
27236
27308
 
27309
+ #
27310
+ class ConceptsConceptId
27311
+ include Google::Apis::Core::Hashable
27312
+
27313
+ #
27314
+ # Corresponds to the JSON property `conceptId`
27315
+ # @return [String]
27316
+ attr_accessor :concept_id
27317
+
27318
+ # uint64 bring lots of issues, and string a better practice.
27319
+ # Corresponds to the JSON property `id`
27320
+ # @return [Fixnum]
27321
+ attr_accessor :id
27322
+
27323
+ def initialize(**args)
27324
+ update!(**args)
27325
+ end
27326
+
27327
+ # Update properties of this object
27328
+ def update!(**args)
27329
+ @concept_id = args[:concept_id] if args.key?(:concept_id)
27330
+ @id = args[:id] if args.key?(:id)
27331
+ end
27332
+ end
27333
+
27237
27334
  # The following protobuf is used to store an attribution from one page to (
27238
27335
  # usually) one other page, giving credit for the content. This information is
27239
27336
  # used during ranking to promote the attributed page. This protobuf is copied
@@ -29475,7 +29572,7 @@ module Google
29475
29572
  end
29476
29573
  end
29477
29574
 
29478
- # The attributes of encoded thumbnail images. Next id: 9.
29575
+ # The attributes of encoded thumbnail images. Next id: 10.
29479
29576
  class DrishtiVesperEncodedThumbnail
29480
29577
  include Google::Apis::Core::Hashable
29481
29578
 
@@ -29485,6 +29582,11 @@ module Google
29485
29582
  # @return [Fixnum]
29486
29583
  attr_accessor :byte_size
29487
29584
 
29585
+ # CRC-32 checksum of the image bytes. Can be used for data integrity check.
29586
+ # Corresponds to the JSON property `crc32c`
29587
+ # @return [Fixnum]
29588
+ attr_accessor :crc32c
29589
+
29488
29590
  # JPEG/WEBP quality factor in range [0,100].
29489
29591
  # Corresponds to the JSON property `encodingQuality`
29490
29592
  # @return [Fixnum]
@@ -29531,6 +29633,7 @@ module Google
29531
29633
  # Update properties of this object
29532
29634
  def update!(**args)
29533
29635
  @byte_size = args[:byte_size] if args.key?(:byte_size)
29636
+ @crc32c = args[:crc32c] if args.key?(:crc32c)
29534
29637
  @encoding_quality = args[:encoding_quality] if args.key?(:encoding_quality)
29535
29638
  @encoding_type = args[:encoding_type] if args.key?(:encoding_type)
29536
29639
  @height = args[:height] if args.key?(:height)
@@ -32341,16 +32444,16 @@ module Google
32341
32444
  # The unparsed portion (lines) of the address. An address can have multiple
32342
32445
  # unparsed portions. Multiple unparsed portions sharing the same language should
32343
32446
  # 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.
32447
+ # we also supported unparsed portions in different languages, but we no longer
32448
+ # do. Consequently, only one value is allowed for this field despite the fact
32449
+ # that it is repeated. See go/address-lines-multi-language for information about
32450
+ # why we made this change. If any components are filled in, this is supplemental
32451
+ # to (i.e. disjoint from) them. Furthermore, this must be the most specific
32452
+ # portion of the address (except for the portion, if any, stored in the name
32453
+ # field of feature.proto). Unparsed lines are always formatted together in a
32454
+ # block. Other address components are never formatted between the address lines.
32455
+ # This doesn't imply that the address lines are always either the first or the
32456
+ # last part of the formatted output.
32354
32457
  # Corresponds to the JSON property `addressLines`
32355
32458
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreAddressLinesProto>]
32356
32459
  attr_accessor :address_lines
@@ -34061,6 +34164,37 @@ module Google
34061
34164
  end
34062
34165
  end
34063
34166
 
34167
+ # This protocol buffer is used to store information about disputed areas. E.g.,
34168
+ # the political power that administers a disputed area or the countries that
34169
+ # claim it. It should only be used for features of TYPE_DISPUTED_AREA.
34170
+ class GeostoreDisputedAreaProto
34171
+ include Google::Apis::Core::Hashable
34172
+
34173
+ # If present this feature is administered by the power present in the field. In
34174
+ # most cases this will be a two letter ISO-3166 region code, but may be a
34175
+ # descriptive string if no region code is available.
34176
+ # Corresponds to the JSON property `administeredBy`
34177
+ # @return [String]
34178
+ attr_accessor :administered_by
34179
+
34180
+ # Feature IDs (usually a country feature ID) of all parties who claim this
34181
+ # feature. No claimants means the claim by the country that contains it (based
34182
+ # on country polygon) is not disputed.
34183
+ # Corresponds to the JSON property `claimant`
34184
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
34185
+ attr_accessor :claimant
34186
+
34187
+ def initialize(**args)
34188
+ update!(**args)
34189
+ end
34190
+
34191
+ # Update properties of this object
34192
+ def update!(**args)
34193
+ @administered_by = args[:administered_by] if args.key?(:administered_by)
34194
+ @claimant = args[:claimant] if args.key?(:claimant)
34195
+ end
34196
+ end
34197
+
34064
34198
  # This protocol buffer holds the doodle-specific attributes for features of type
34065
34199
  # TYPE_DOODLE.
34066
34200
  class GeostoreDoodleProto
@@ -35078,6 +35212,13 @@ module Google
35078
35212
  # @return [Google::Apis::ContentwarehouseV1::GeostoreDisplayDataProto]
35079
35213
  attr_accessor :display_data
35080
35214
 
35215
+ # This protocol buffer is used to store information about disputed areas. E.g.,
35216
+ # the political power that administers a disputed area or the countries that
35217
+ # claim it. It should only be used for features of TYPE_DISPUTED_AREA.
35218
+ # Corresponds to the JSON property `disputedArea`
35219
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreDisputedAreaProto]
35220
+ attr_accessor :disputed_area
35221
+
35081
35222
  # This protocol buffer holds the doodle-specific attributes for features of type
35082
35223
  # TYPE_DOODLE.
35083
35224
  # Corresponds to the JSON property `doodle`
@@ -35171,6 +35312,11 @@ module Google
35171
35312
  # @return [Float]
35172
35313
  attr_accessor :geometry_precision_meters
35173
35314
 
35315
+ # RESERVED
35316
+ # Corresponds to the JSON property `geopolitical`
35317
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreGeopoliticalProto]
35318
+ attr_accessor :geopolitical
35319
+
35174
35320
  # Geopolitical (unsimplified) polygons for a feature for different geopolitical
35175
35321
  # use cases. See go/unsimplified-poly.
35176
35322
  # Corresponds to the JSON property `geopoliticalGeometry`
@@ -35822,6 +35968,7 @@ module Google
35822
35968
  @covering = args[:covering] if args.key?(:covering)
35823
35969
  @data_source = args[:data_source] if args.key?(:data_source)
35824
35970
  @display_data = args[:display_data] if args.key?(:display_data)
35971
+ @disputed_area = args[:disputed_area] if args.key?(:disputed_area)
35825
35972
  @doodle = args[:doodle] if args.key?(:doodle)
35826
35973
  @elevation = args[:elevation] if args.key?(:elevation)
35827
35974
  @elevation_model = args[:elevation_model] if args.key?(:elevation_model)
@@ -35832,6 +35979,7 @@ module Google
35832
35979
  @future_geometry_for = args[:future_geometry_for] if args.key?(:future_geometry_for)
35833
35980
  @geometry3d = args[:geometry3d] if args.key?(:geometry3d)
35834
35981
  @geometry_precision_meters = args[:geometry_precision_meters] if args.key?(:geometry_precision_meters)
35982
+ @geopolitical = args[:geopolitical] if args.key?(:geopolitical)
35835
35983
  @geopolitical_geometry = args[:geopolitical_geometry] if args.key?(:geopolitical_geometry)
35836
35984
  @html_text = args[:html_text] if args.key?(:html_text)
35837
35985
  @id = args[:id] if args.key?(:id)
@@ -36339,6 +36487,34 @@ module Google
36339
36487
  end
36340
36488
  end
36341
36489
 
36490
+ #
36491
+ class GeostoreGeopoliticalProto
36492
+ include Google::Apis::Core::Hashable
36493
+
36494
+ # If present, some aspect of this feature (usually name or geometry) can signify
36495
+ # ownership of the area by the region specified. The string, if present, will be
36496
+ # a region code. E.g., suppose a TYPE_POSTAL_CODE feature has a Russian format
36497
+ # in Crimea (which is disputed by Ukraine), then this field would be set to "RU".
36498
+ # Corresponds to the JSON property `conveysAttributionTo`
36499
+ # @return [String]
36500
+ attr_accessor :conveys_attribution_to
36501
+
36502
+ # Any specific handling of this feature's name from different regions' POVs.
36503
+ # Corresponds to the JSON property `regionSpecificName`
36504
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreRegionSpecificNameProto>]
36505
+ attr_accessor :region_specific_name
36506
+
36507
+ def initialize(**args)
36508
+ update!(**args)
36509
+ end
36510
+
36511
+ # Update properties of this object
36512
+ def update!(**args)
36513
+ @conveys_attribution_to = args[:conveys_attribution_to] if args.key?(:conveys_attribution_to)
36514
+ @region_specific_name = args[:region_specific_name] if args.key?(:region_specific_name)
36515
+ end
36516
+ end
36517
+
36342
36518
  # The grade level of a segment represents the relative altitude of the segment
36343
36519
  # at a particular point along the segment. This level is in relation to other
36344
36520
  # segments at the same point. For example, you might have a freeway at level = 0
@@ -36551,12 +36727,13 @@ module Google
36551
36727
  class GeostoreInternalSegmentProto
36552
36728
  include Google::Apis::Core::Hashable
36553
36729
 
36554
- # RESERVED
36730
+ # A list of lane connections that are explicitly not allowed to be added. NOTE:
36731
+ # This should never reference existing lane connections on this segment.
36555
36732
  # Corresponds to the JSON property `disallowedConnections`
36556
36733
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference>]
36557
36734
  attr_accessor :disallowed_connections
36558
36735
 
36559
- # RESERVED
36736
+ # A list of lane connections which cannot have the primary_connection bit set.
36560
36737
  # Corresponds to the JSON property `disallowedPrimaryConnection`
36561
36738
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference>]
36562
36739
  attr_accessor :disallowed_primary_connection
@@ -38369,6 +38546,11 @@ module Google
38369
38546
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
38370
38547
  attr_accessor :capital
38371
38548
 
38549
+ # RESERVED
38550
+ # Corresponds to the JSON property `claim`
38551
+ # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto>]
38552
+ attr_accessor :claim
38553
+
38372
38554
  # The Gross Domestic Product of the political region measured in millions of
38373
38555
  # current United States dollars. It must not be negative.
38374
38556
  # Corresponds to the JSON property `grossDomesticProductUsdMillions`
@@ -38395,6 +38577,7 @@ module Google
38395
38577
  # Update properties of this object
38396
38578
  def update!(**args)
38397
38579
  @capital = args[:capital] if args.key?(:capital)
38580
+ @claim = args[:claim] if args.key?(:claim)
38398
38581
  @gross_domestic_product_usd_millions = args[:gross_domestic_product_usd_millions] if args.key?(:gross_domestic_product_usd_millions)
38399
38582
  @literacy_percent = args[:literacy_percent] if args.key?(:literacy_percent)
38400
38583
  @population = args[:population] if args.key?(:population)
@@ -39275,6 +39458,51 @@ module Google
39275
39458
  end
39276
39459
  end
39277
39460
 
39461
+ # This protocol buffer supports a name per region per language, allowing it to
39462
+ # represent the name of a given feature in different regions and languages. For
39463
+ # example, the Persian Gulf has different English names in UAE versus Lebanon.
39464
+ class GeostoreRegionSpecificNameProto
39465
+ include Google::Apis::Core::Hashable
39466
+
39467
+ # If true, this region specific name should be appended, in parentheses, to the
39468
+ # appropriate name from FeatureProto.name, for the default rest of world
39469
+ # behavior.
39470
+ # Corresponds to the JSON property `displayableAsAlternativeName`
39471
+ # @return [Boolean]
39472
+ attr_accessor :displayable_as_alternative_name
39473
+ alias_method :displayable_as_alternative_name?, :displayable_as_alternative_name
39474
+
39475
+ # A name for a Feature (street name, point of interest, city, building, etc). We
39476
+ # currently use NameProto for two essentially disjoint purposes: 1. Common names,
39477
+ # which can be language-specific, or have other kinds of variations. 2. Opaque
39478
+ # IDs, such as postal codes, which only have the `text` field set, and
39479
+ # potentially some flags. This includes internal-only features like template ids.
39480
+ # Each NameProto representing a common name corresponds to an assertion that a
39481
+ # fluent speaker or writer of a language would recognize NameProto.text to name
39482
+ # the given feature in that language. As such, NameProtos are stored in a
39483
+ # repeated field, often having: 1. multiple names with the same text and varying
39484
+ # languages, and 2. multiple names with the same language and varying texts.
39485
+ # Corresponds to the JSON property `name`
39486
+ # @return [Google::Apis::ContentwarehouseV1::GeostoreNameProto]
39487
+ attr_accessor :name
39488
+
39489
+ # Region code (or other identifier) for the region.
39490
+ # Corresponds to the JSON property `regionCode`
39491
+ # @return [String]
39492
+ attr_accessor :region_code
39493
+
39494
+ def initialize(**args)
39495
+ update!(**args)
39496
+ end
39497
+
39498
+ # Update properties of this object
39499
+ def update!(**args)
39500
+ @displayable_as_alternative_name = args[:displayable_as_alternative_name] if args.key?(:displayable_as_alternative_name)
39501
+ @name = args[:name] if args.key?(:name)
39502
+ @region_code = args[:region_code] if args.key?(:region_code)
39503
+ end
39504
+ end
39505
+
39278
39506
  # A collection of information that applies to a polygonal area.
39279
39507
  class GeostoreRegulatedAreaProto
39280
39508
  include Google::Apis::Core::Hashable
@@ -39631,6 +39859,7 @@ module Google
39631
39859
  # @return [Array<String>]
39632
39860
  attr_accessor :travel_mode
39633
39861
 
39862
+ # LINT.ThenChange(//depot/google3/google/geo/entities/v1/fields/segment.proto)
39634
39863
  # clang-format on The type of restriction. This is not a condition, but rather
39635
39864
  # tells you what kind of restriction it is. This field should always be set.
39636
39865
  # Corresponds to the JSON property `type`
@@ -46841,6 +47070,22 @@ module Google
46841
47070
  class GoogleCloudContentwarehouseV1IngestPipelineConfig
46842
47071
  include Google::Apis::Core::Hashable
46843
47072
 
47073
+ # The Cloud Function resource name. The Cloud Function needs to live inside
47074
+ # consumer project and is accessible to Document AI Warehouse P4SA. Only Cloud
47075
+ # Functions V2 is supported. Cloud function execution should complete within 5
47076
+ # minutes or this file ingestion may fail due to timeout. Format: `https://`
47077
+ # region`-`project_id`.cloudfunctions.net/`cloud_function`` The following keys
47078
+ # are available the request json payload. * display_name * properties *
47079
+ # plain_text * reference_id * document_schema_name * raw_document_path *
47080
+ # raw_document_file_type The following keys from the cloud function json
47081
+ # response payload will be ingested to the Document AI Warehouse as part of
47082
+ # Document proto content and/or related information. The original values will be
47083
+ # overridden if any key is present in the response. * display_name * properties *
47084
+ # plain_text * document_acl_policy * folder
47085
+ # Corresponds to the JSON property `cloudFunction`
47086
+ # @return [String]
47087
+ attr_accessor :cloud_function
47088
+
46844
47089
  # An Identity and Access Management (IAM) policy, which specifies access
46845
47090
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
46846
47091
  # A `binding` binds one or more `members`, or principals, to a single `role`.
@@ -46892,6 +47137,7 @@ module Google
46892
47137
 
46893
47138
  # Update properties of this object
46894
47139
  def update!(**args)
47140
+ @cloud_function = args[:cloud_function] if args.key?(:cloud_function)
46895
47141
  @document_acl_policy = args[:document_acl_policy] if args.key?(:document_acl_policy)
46896
47142
  @enable_document_text_extraction = args[:enable_document_text_extraction] if args.key?(:enable_document_text_extraction)
46897
47143
  @folder = args[:folder] if args.key?(:folder)
@@ -53133,10 +53379,11 @@ module Google
53133
53379
  # @return [String]
53134
53380
  attr_accessor :type
53135
53381
 
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.
53382
+ # The node value is applicable for TEXT_NODEs, DOCUMENT_TYPE_NODEs,
53383
+ # COMMENT_NODEs, and user input elements such as , and <option>. For
53384
+ # DOCUMENT_TYPE_NODEs, the value contains the publicId and SystemId. For input
53385
+ # elements, the value reflects the current value in the element at the time the
53386
+ # snapshot was taken.
53140
53387
  # Corresponds to the JSON property `value`
53141
53388
  # @return [String]
53142
53389
  attr_accessor :value
@@ -55329,7 +55576,7 @@ module Google
55329
55576
 
55330
55577
  # This defines the per-doc data which is extracted from thumbnails and
55331
55578
  # propagated over to indexing. It contains all information that can be used for
55332
- # restricts. Next tag id: 130
55579
+ # restricts. Next tag id: 131
55333
55580
  class ImageData
55334
55581
  include Google::Apis::Core::Hashable
55335
55582
 
@@ -55596,6 +55843,11 @@ module Google
55596
55843
  # @return [Fixnum]
55597
55844
  attr_accessor :imagerank
55598
55845
 
55846
+ # Vertical indexing information for the document and associated image outlinks.
55847
+ # Corresponds to the JSON property `indexedVerticals`
55848
+ # @return [Array<Google::Apis::ContentwarehouseV1::ImageDataVerticalIndexingInfoImage>]
55849
+ attr_accessor :indexed_verticals
55850
+
55599
55851
  # IIP in scope signal (go/iip). Set to true if the image is annotated with any
55600
55852
  # iip_in_scope entities (go/iukp-trust-v2).
55601
55853
  # Corresponds to the JSON property `isIipInScope`
@@ -55940,6 +56192,7 @@ module Google
55940
56192
  @image_license_info = args[:image_license_info] if args.key?(:image_license_info)
55941
56193
  @image_regions = args[:image_regions] if args.key?(:image_regions)
55942
56194
  @imagerank = args[:imagerank] if args.key?(:imagerank)
56195
+ @indexed_verticals = args[:indexed_verticals] if args.key?(:indexed_verticals)
55943
56196
  @is_iip_in_scope = args[:is_iip_in_scope] if args.key?(:is_iip_in_scope)
55944
56197
  @is_indexed_by_imagesearch = args[:is_indexed_by_imagesearch] if args.key?(:is_indexed_by_imagesearch)
55945
56198
  @is_multiframe = args[:is_multiframe] if args.key?(:is_multiframe)
@@ -56088,6 +56341,28 @@ module Google
56088
56341
  end
56089
56342
  end
56090
56343
 
56344
+ # Proto to store vertical indexing information for the document and associated
56345
+ # image outlinks. The image content can be indexed to multiple verticals,
56346
+ # including imagesearch. It can also be indexed only in verticals, not in
56347
+ # imagesearch.
56348
+ class ImageDataVerticalIndexingInfoImage
56349
+ include Google::Apis::Core::Hashable
56350
+
56351
+ # List the string representation of the vertical that this image is indexed into.
56352
+ # Corresponds to the JSON property `name`
56353
+ # @return [String]
56354
+ attr_accessor :name
56355
+
56356
+ def initialize(**args)
56357
+ update!(**args)
56358
+ end
56359
+
56360
+ # Update properties of this object
56361
+ def update!(**args)
56362
+ @name = args[:name] if args.key?(:name)
56363
+ end
56364
+ end
56365
+
56091
56366
  #
56092
56367
  class ImageExactBoost
56093
56368
  include Google::Apis::Core::Hashable
@@ -57319,7 +57594,7 @@ module Google
57319
57594
  end
57320
57595
  end
57321
57596
 
57322
- # Next Tag: 9
57597
+ # Next Tag: 10
57323
57598
  class ImageRepositoryAmarnaCloudSpeechSignals
57324
57599
  include Google::Apis::Core::Hashable
57325
57600
 
@@ -57331,14 +57606,21 @@ module Google
57331
57606
  attr_accessor :duplicate_of_yt_s3_asr
57332
57607
  alias_method :duplicate_of_yt_s3_asr?, :duplicate_of_yt_s3_asr
57333
57608
 
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.
57609
+ # DEPRECATED: Please switch to `langid_input`. The language id input for
57610
+ # creating this ASR without regional info. Same format as in go/ytlangid. This
57611
+ # field is populated in Kronos Amarna Cloud Speech operator and passed to Amarna,
57612
+ # but it is cleared before stored in Amarna's metadata table.
57338
57613
  # Corresponds to the JSON property `langWithoutLocale`
57339
57614
  # @return [String]
57340
57615
  attr_accessor :lang_without_locale
57341
57616
 
57617
+ # The language identification input used to generate this ASR. This field is
57618
+ # populated in Kronos Amarna Cloud Speech operator and passed to Amarna, but
57619
+ # cleared before stored in Amarna's metadata table.
57620
+ # Corresponds to the JSON property `langidInput`
57621
+ # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryLanguageIdentificationResult]
57622
+ attr_accessor :langid_input
57623
+
57342
57624
  #
57343
57625
  # Corresponds to the JSON property `modelIdentifier`
57344
57626
  # @return [String]
@@ -57368,6 +57650,7 @@ module Google
57368
57650
  def update!(**args)
57369
57651
  @duplicate_of_yt_s3_asr = args[:duplicate_of_yt_s3_asr] if args.key?(:duplicate_of_yt_s3_asr)
57370
57652
  @lang_without_locale = args[:lang_without_locale] if args.key?(:lang_without_locale)
57653
+ @langid_input = args[:langid_input] if args.key?(:langid_input)
57371
57654
  @model_identifier = args[:model_identifier] if args.key?(:model_identifier)
57372
57655
  @results = args[:results] if args.key?(:results)
57373
57656
  @s3_recognizer_metadata_response = args[:s3_recognizer_metadata_response] if args.key?(:s3_recognizer_metadata_response)
@@ -57596,7 +57879,7 @@ module Google
57596
57879
  attr_accessor :audio_only
57597
57880
  alias_method :audio_only?, :audio_only
57598
57881
 
57599
- # Next Tag: 9
57882
+ # Next Tag: 10
57600
57883
  # Corresponds to the JSON property `cloudSpeechSignals`
57601
57884
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals]
57602
57885
  attr_accessor :cloud_speech_signals
@@ -57660,12 +57943,12 @@ module Google
57660
57943
 
57661
57944
  # This defines the per-doc data which is extracted from thumbnails and
57662
57945
  # propagated over to indexing. It contains all information that can be used for
57663
- # restricts. Next tag id: 130
57946
+ # restricts. Next tag id: 131
57664
57947
  # Corresponds to the JSON property `representativeFrameData`
57665
57948
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
57666
57949
  attr_accessor :representative_frame_data
57667
57950
 
57668
- # Next Tag: 9
57951
+ # Next Tag: 10
57669
57952
  # Corresponds to the JSON property `s3Asr`
57670
57953
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals]
57671
57954
  attr_accessor :s3_asr
@@ -58028,7 +58311,7 @@ module Google
58028
58311
 
58029
58312
  # This defines the per-doc data which is extracted from thumbnails and
58030
58313
  # propagated over to indexing. It contains all information that can be used for
58031
- # restricts. Next tag id: 130
58314
+ # restricts. Next tag id: 131
58032
58315
  # Corresponds to the JSON property `perdoc`
58033
58316
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
58034
58317
  attr_accessor :perdoc
@@ -58070,6 +58353,39 @@ module Google
58070
58353
  end
58071
58354
  end
58072
58355
 
58356
+ #
58357
+ class ImageRepositoryLanguageIdentificationResult
58358
+ include Google::Apis::Core::Hashable
58359
+
58360
+ # Whether the locale got stripped from the original result before further
58361
+ # processing.
58362
+ # Corresponds to the JSON property `localeStripped`
58363
+ # @return [Boolean]
58364
+ attr_accessor :locale_stripped
58365
+ alias_method :locale_stripped?, :locale_stripped
58366
+
58367
+ # From cs/symbol:speech.s3.LanguageIdentificationResult owned by go/s3.
58368
+ # Corresponds to the JSON property `s3TopLocale`
58369
+ # @return [String]
58370
+ attr_accessor :s3_top_locale
58371
+
58372
+ # From cs/symbol:video_platform.operation.AudioLanguage owned gy go/ytcaps.
58373
+ # Corresponds to the JSON property `ytCapsAudioLanguage`
58374
+ # @return [String]
58375
+ attr_accessor :yt_caps_audio_language
58376
+
58377
+ def initialize(**args)
58378
+ update!(**args)
58379
+ end
58380
+
58381
+ # Update properties of this object
58382
+ def update!(**args)
58383
+ @locale_stripped = args[:locale_stripped] if args.key?(:locale_stripped)
58384
+ @s3_top_locale = args[:s3_top_locale] if args.key?(:s3_top_locale)
58385
+ @yt_caps_audio_language = args[:yt_caps_audio_language] if args.key?(:yt_caps_audio_language)
58386
+ end
58387
+ end
58388
+
58073
58389
  #
58074
58390
  class ImageRepositoryNimaOutput
58075
58391
  include Google::Apis::Core::Hashable
@@ -58850,6 +59166,13 @@ module Google
58850
59166
  # @return [Fixnum]
58851
59167
  attr_accessor :first_processing_timestamp_sec
58852
59168
 
59169
+ # Proto to store vertical indexing information for the document. The video can
59170
+ # be indexed to multiple verticals, including video search. It can also be
59171
+ # indexed only in verticals, not in video search.
59172
+ # Corresponds to the JSON property `indexedVerticals`
59173
+ # @return [Array<Google::Apis::ContentwarehouseV1::ImageRepositoryVideoPropertiesVerticalIndexingInfoVideo>]
59174
+ attr_accessor :indexed_verticals
59175
+
58853
59176
  # This message is used to store information about Inline Playback in the
58854
59177
  # VideoWebAttachment portion of the websearch index. LINT.IfChange
58855
59178
  # Corresponds to the JSON property `inlinePlayback`
@@ -58885,6 +59208,7 @@ module Google
58885
59208
  @crawl_state = args[:crawl_state] if args.key?(:crawl_state)
58886
59209
  @first_crawl_timestamp_sec = args[:first_crawl_timestamp_sec] if args.key?(:first_crawl_timestamp_sec)
58887
59210
  @first_processing_timestamp_sec = args[:first_processing_timestamp_sec] if args.key?(:first_processing_timestamp_sec)
59211
+ @indexed_verticals = args[:indexed_verticals] if args.key?(:indexed_verticals)
58888
59212
  @inline_playback = args[:inline_playback] if args.key?(:inline_playback)
58889
59213
  @last_crawl_request_timestamp_sec = args[:last_crawl_request_timestamp_sec] if args.key?(:last_crawl_request_timestamp_sec)
58890
59214
  @last_processing_timestamp_sec = args[:last_processing_timestamp_sec] if args.key?(:last_processing_timestamp_sec)
@@ -58892,6 +59216,28 @@ module Google
58892
59216
  end
58893
59217
  end
58894
59218
 
59219
+ # Proto to store vertical indexing information for the document and associated
59220
+ # video outlinks. The video content can be indexed to multiple verticals,
59221
+ # including videosearch. It can also be indexed only in verticals, not in
59222
+ # videosearch.
59223
+ class ImageRepositoryVideoPropertiesVerticalIndexingInfoVideo
59224
+ include Google::Apis::Core::Hashable
59225
+
59226
+ # List the string representation of the vertical that this image is indexed into.
59227
+ # Corresponds to the JSON property `name`
59228
+ # @return [String]
59229
+ attr_accessor :name
59230
+
59231
+ def initialize(**args)
59232
+ update!(**args)
59233
+ end
59234
+
59235
+ # Update properties of this object
59236
+ def update!(**args)
59237
+ @name = args[:name] if args.key?(:name)
59238
+ end
59239
+ end
59240
+
58895
59241
  # Word-specific information for recognized words.
58896
59242
  class ImageRepositoryWordInfo
58897
59243
  include Google::Apis::Core::Hashable
@@ -59030,9 +59376,7 @@ module Google
59030
59376
  # @return [Float]
59031
59377
  attr_accessor :spoof_score
59032
59378
 
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.
59379
+ #
59036
59380
  # Corresponds to the JSON property `version`
59037
59381
  # @return [String]
59038
59382
  attr_accessor :version
@@ -67726,7 +68070,7 @@ module Google
67726
68070
  attr_accessor :name
67727
68071
 
67728
68072
  # 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
68073
+ # 60 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
67730
68074
  # in the "ThenChange", fields under Argument.signals in the serving proto are
67731
68075
  # stored directly under Argument on the logging side. For example, see http://
67732
68076
  # google3/nlp/semantic_parsing/data_management/logs/web_logs/
@@ -68231,7 +68575,7 @@ module Google
68231
68575
  end
68232
68576
 
68233
68577
  # 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
68578
+ # 60 For //depot/google3/logs/proto/knowledge/interpretation/intent_query.proto
68235
68579
  # in the "ThenChange", fields under Argument.signals in the serving proto are
68236
68580
  # stored directly under Argument on the logging side. For example, see http://
68237
68581
  # google3/nlp/semantic_parsing/data_management/logs/web_logs/
@@ -68413,6 +68757,11 @@ module Google
68413
68757
  # @return [Google::Apis::ContentwarehouseV1::GeostorePointProto]
68414
68758
  attr_accessor :location
68415
68759
 
68760
+ # Confidence score of this argument being a location.
68761
+ # Corresponds to the JSON property `locationClassificationScore`
68762
+ # @return [Float]
68763
+ attr_accessor :location_classification_score
68764
+
68416
68765
  # Signals from LightweightToken. The span for an argument may have been extended
68417
68766
  # to include lightweight token markers such as FROM or TO. This signal provides
68418
68767
  # the semantics for the range extension.
@@ -68636,6 +68985,7 @@ module Google
68636
68985
  @is_intentgen_annotation = args[:is_intentgen_annotation] if args.key?(:is_intentgen_annotation)
68637
68986
  @is_nimble_annotation = args[:is_nimble_annotation] if args.key?(:is_nimble_annotation)
68638
68987
  @location = args[:location] if args.key?(:location)
68988
+ @location_classification_score = args[:location_classification_score] if args.key?(:location_classification_score)
68639
68989
  @location_markers_signals = args[:location_markers_signals] if args.key?(:location_markers_signals)
68640
68990
  @location_type = args[:location_type] if args.key?(:location_type)
68641
68991
  @media_entity_signals = args[:media_entity_signals] if args.key?(:media_entity_signals)
@@ -68816,7 +69166,7 @@ module Google
68816
69166
  attr_accessor :duration
68817
69167
 
68818
69168
  # 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
69169
+ # 21 Important: If you add new fields that do not reflect signals data, but
68820
69170
  # actual semantics of the FunctionCall, please also update
68821
69171
  # CreateFuncallCopyWithoutSignals and CreateFuncallCopyWithArgumentSignals in
68822
69172
  # function_call_utils. LINT.IfChange
@@ -69106,6 +69456,26 @@ module Google
69106
69456
  end
69107
69457
  end
69108
69458
 
69459
+ # Concept provides meaning semantics captured in a continuous space, as opposed
69460
+ # to MRF. go/concepts-roofshot.
69461
+ class KnowledgeAnswersIntentQueryConceptInfo
69462
+ include Google::Apis::Core::Hashable
69463
+
69464
+ #
69465
+ # Corresponds to the JSON property `id`
69466
+ # @return [Google::Apis::ContentwarehouseV1::ConceptsConceptId]
69467
+ attr_accessor :id
69468
+
69469
+ def initialize(**args)
69470
+ update!(**args)
69471
+ end
69472
+
69473
+ # Update properties of this object
69474
+ def update!(**args)
69475
+ @id = args[:id] if args.key?(:id)
69476
+ end
69477
+ end
69478
+
69109
69479
  # A message representing a coreferenced value defined elsewhere in the meaning
69110
69480
  # struct.
69111
69481
  class KnowledgeAnswersIntentQueryCoreference
@@ -69162,7 +69532,7 @@ module Google
69162
69532
  end
69163
69533
 
69164
69534
  # 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
69535
+ # 21 Important: If you add new fields that do not reflect signals data, but
69166
69536
  # actual semantics of the FunctionCall, please also update
69167
69537
  # CreateFuncallCopyWithoutSignals and CreateFuncallCopyWithArgumentSignals in
69168
69538
  # function_call_utils. LINT.IfChange
@@ -69180,6 +69550,12 @@ module Google
69180
69550
  # @return [Fixnum]
69181
69551
  attr_accessor :catalog_version
69182
69552
 
69553
+ # Concept provides meaning semantics captured in a continuous space, as opposed
69554
+ # to MRF. go/concepts-roofshot.
69555
+ # Corresponds to the JSON property `conceptInfo`
69556
+ # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryConceptInfo]
69557
+ attr_accessor :concept_info
69558
+
69183
69559
  # Contextual Sensitivity (go/contextual-sensitivity) metadata indicating that a
69184
69560
  # policy- or privacy- sensitive conversation context (previous queries,
69185
69561
  # rewritten user queries, and previous system responses, like attentional
@@ -69268,6 +69644,7 @@ module Google
69268
69644
  def update!(**args)
69269
69645
  @argument = args[:argument] if args.key?(:argument)
69270
69646
  @catalog_version = args[:catalog_version] if args.key?(:catalog_version)
69647
+ @concept_info = args[:concept_info] if args.key?(:concept_info)
69271
69648
  @contextual_sensitivity = args[:contextual_sensitivity] if args.key?(:contextual_sensitivity)
69272
69649
  @enabled_remodelings = args[:enabled_remodelings] if args.key?(:enabled_remodelings)
69273
69650
  @ignored_tokens = args[:ignored_tokens] if args.key?(:ignored_tokens)
@@ -72358,6 +72735,21 @@ module Google
72358
72735
  attr_accessor :encrypt_argument_value
72359
72736
  alias_method :encrypt_argument_value?, :encrypt_argument_value
72360
72737
 
72738
+ # If true, triggers encryption of |value_term| [1] and move into |
72739
+ # sensitive_value_term|. This is useful to support finer grain encryption
72740
+ # controls for disambiguation, where the broader |encrypt_argument_value| is too
72741
+ # restrictive. In particular, when we know that the values being disambiguated
72742
+ # are non-sensitive (e.g. opaque event IDs), but the value_terms are sensitive (
72743
+ # e.g. event titles), it can be helpful for debugging purposes to circulate the
72744
+ # value unencrypted. This policy only has an effect when configured at argument-
72745
+ # level. It has no effect in Intent or PreviousQuery stanzas. See go/delete-
72746
+ # event-disambiguation-redaction-v2 for context and usage. [1]cs/s:quality.
72747
+ # dialog_manager.IntentStateSignals.FieldCandidate.value_term
72748
+ # Corresponds to the JSON property `encryptFieldCandidateValueTerm`
72749
+ # @return [Boolean]
72750
+ attr_accessor :encrypt_field_candidate_value_term
72751
+ alias_method :encrypt_field_candidate_value_term?, :encrypt_field_candidate_value_term
72752
+
72361
72753
  # If this is set true, we encrypt QueryAnnotationDataProto prior to writing it
72362
72754
  # to Footprint ASSISTANT_EPHEMERAL corpus. This enables restricting ACL to the
72363
72755
  # data.
@@ -72381,6 +72773,7 @@ module Google
72381
72773
  # Update properties of this object
72382
72774
  def update!(**args)
72383
72775
  @encrypt_argument_value = args[:encrypt_argument_value] if args.key?(:encrypt_argument_value)
72776
+ @encrypt_field_candidate_value_term = args[:encrypt_field_candidate_value_term] if args.key?(:encrypt_field_candidate_value_term)
72384
72777
  @encrypt_query_annotation_data = args[:encrypt_query_annotation_data] if args.key?(:encrypt_query_annotation_data)
72385
72778
  @scrub_auxiliary_fields_in_conversation_snapshot = args[:scrub_auxiliary_fields_in_conversation_snapshot] if args.key?(:scrub_auxiliary_fields_in_conversation_snapshot)
72386
72779
  end
@@ -74957,7 +75350,7 @@ module Google
74957
75350
  # @return [Google::Apis::ContentwarehouseV1::LogsSemanticInterpretationIntentQueryLinkKindFlags]
74958
75351
  attr_accessor :flags
74959
75352
 
74960
- #
75353
+ # Not set for a while.
74961
75354
  # Corresponds to the JSON property `kcLinkName`
74962
75355
  # @return [String]
74963
75356
  attr_accessor :kc_link_name
@@ -106678,11 +107071,6 @@ module Google
106678
107071
  # @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefLinkKindFlags]
106679
107072
  attr_accessor :flags
106680
107073
 
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
107074
  # If the link was extracted from a property, the name of the property. Can start
106687
107075
  # with an exclamation mark "!" to indicate that the inverse relationship is
106688
107076
  # specified. (e.g. "!/tv/tv_series_episode/series" is the inverse of "tv/
@@ -106698,7 +107086,6 @@ module Google
106698
107086
  # Update properties of this object
106699
107087
  def update!(**args)
106700
107088
  @flags = args[:flags] if args.key?(:flags)
106701
- @kc_link_name = args[:kc_link_name] if args.key?(:kc_link_name)
106702
107089
  @topic_property_name = args[:topic_property_name] if args.key?(:topic_property_name)
106703
107090
  end
106704
107091
  end
@@ -107706,11 +108093,6 @@ module Google
107706
108093
  # @return [Fixnum]
107707
108094
  attr_accessor :feature_type
107708
108095
 
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
108096
  def initialize(**args)
107715
108097
  update!(**args)
107716
108098
  end
@@ -107718,7 +108100,6 @@ module Google
107718
108100
  # Update properties of this object
107719
108101
  def update!(**args)
107720
108102
  @feature_type = args[:feature_type] if args.key?(:feature_type)
107721
- @gconcepts = args[:gconcepts] if args.key?(:gconcepts)
107722
108103
  end
107723
108104
  end
107724
108105
 
@@ -125651,7 +126032,7 @@ module Google
125651
126032
 
125652
126033
  # This defines the per-doc data which is extracted from thumbnails and
125653
126034
  # propagated over to indexing. It contains all information that can be used for
125654
- # restricts. Next tag id: 130
126035
+ # restricts. Next tag id: 131
125655
126036
  # Corresponds to the JSON property `imageData`
125656
126037
  # @return [Google::Apis::ContentwarehouseV1::ImageData]
125657
126038
  attr_accessor :image_data
@@ -126415,7 +126796,7 @@ module Google
126415
126796
  # Intended to be simpler to work with than the ExportedStanza it's derived from
126416
126797
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
126417
126798
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
126418
- # 78
126799
+ # 80
126419
126800
  # Corresponds to the JSON property `miniStanza`
126420
126801
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsClusteringMiniStanza]
126421
126802
  attr_accessor :mini_stanza
@@ -131828,7 +132209,7 @@ module Google
131828
132209
  # in that source. Fields like lengths, fps, etc. are not guaranteed to be the
131829
132210
  # same as those of transcodes. If the relevant info in source is too broken, the
131830
132211
  # 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
132212
+ # meaning VSI cannot compute them from the given info. Next id: 84
131832
132213
  # Corresponds to the JSON property `info`
131833
132214
  # @return [Google::Apis::ContentwarehouseV1::VideoVideoStreamInfo]
131834
132215
  attr_accessor :info
@@ -132574,7 +132955,7 @@ module Google
132574
132955
  # in that source. Fields like lengths, fps, etc. are not guaranteed to be the
132575
132956
  # same as those of transcodes. If the relevant info in source is too broken, the
132576
132957
  # 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
132958
+ # meaning VSI cannot compute them from the given info. Next id: 84
132578
132959
  class VideoVideoStreamInfo
132579
132960
  include Google::Apis::Core::Hashable
132580
132961
 
@@ -132811,6 +133192,13 @@ module Google
132811
133192
  attr_accessor :parsed_by_ffmpeg
132812
133193
  alias_method :parsed_by_ffmpeg?, :parsed_by_ffmpeg
132813
133194
 
133195
+ # True if the file was successfully parsed by in-house parsers. Unset if parsing
133196
+ # wasn't attepmted.
133197
+ # Corresponds to the JSON property `parsedByInHouseParsers`
133198
+ # @return [Boolean]
133199
+ attr_accessor :parsed_by_in_house_parsers
133200
+ alias_method :parsed_by_in_house_parsers?, :parsed_by_in_house_parsers
133201
+
132814
133202
  # By default we assume that the entire file was given computing the VSI - if
132815
133203
  # that is not true this flag should be set to true.
132816
133204
  # Corresponds to the JSON property `partialFile`
@@ -133041,6 +133429,7 @@ module Google
133041
133429
  @num_timedtext_streams = args[:num_timedtext_streams] if args.key?(:num_timedtext_streams)
133042
133430
  @num_video_streams = args[:num_video_streams] if args.key?(:num_video_streams)
133043
133431
  @parsed_by_ffmpeg = args[:parsed_by_ffmpeg] if args.key?(:parsed_by_ffmpeg)
133432
+ @parsed_by_in_house_parsers = args[:parsed_by_in_house_parsers] if args.key?(:parsed_by_in_house_parsers)
133044
133433
  @partial_file = args[:partial_file] if args.key?(:partial_file)
133045
133434
  @pix_fmt = args[:pix_fmt] if args.key?(:pix_fmt)
133046
133435
  @profile = args[:profile] if args.key?(:profile)
@@ -135396,10 +135785,221 @@ module Google
135396
135785
  end
135397
135786
  end
135398
135787
 
135788
+ # Data representing a comment moderated restriction. A moderated comment is
135789
+ # hidden from all viewers except for comment author. A comment can be moderated
135790
+ # due to multiple moderated restrictions from multiple issuers. Each is
135791
+ # represented by a CommentModeratedRestriction entry which is uniquely
135792
+ # identified by the external comment id and the create time in the storage.
135793
+ # Conceptually, there should be exactly one moderated restriction for a specific
135794
+ # reason per issuer per reviewable value and this constraint will be enforced in
135795
+ # the Comment API endpoints. For more context see go/yt-comment-restriction-data-
135796
+ # model ## Next id: 11. ## Spanner primary key attributes
135797
+ class YoutubeCommentsApiCommentModeratedRestriction
135798
+ include Google::Apis::Core::Hashable
135799
+
135800
+ # Live chat auto moderation only. The HOLD decisions and whether they are
135801
+ # enforced correspondingly.
135802
+ # Corresponds to the JSON property `autoModEnforcements`
135803
+ # @return [Array<Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentModeratedRestrictionAutoModDecisionEnforcement>]
135804
+ attr_accessor :auto_mod_enforcements
135805
+
135806
+ # Required. The creation time of this restriction.
135807
+ # Corresponds to the JSON property `createTime`
135808
+ # @return [String]
135809
+ attr_accessor :create_time
135810
+
135811
+ # Required. The external ID of the comment that this restriction described.
135812
+ # Corresponds to the JSON property `externalCommentId`
135813
+ # @return [String]
135814
+ attr_accessor :external_comment_id
135815
+
135816
+ # The restriction issuers here identify "who" issues the restriction. It
135817
+ # represents restriction granularity at the issuer level so restrictions from
135818
+ # different issuers will not override each other.
135819
+ # Corresponds to the JSON property `issuer`
135820
+ # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentRestrictionIssuer]
135821
+ attr_accessor :issuer
135822
+
135823
+ # The restriction issuers here identify "why" the restriction is issued. Most
135824
+ # reasons are specific to one type of issuer but some of them are shared among
135825
+ # multiple issuers.
135826
+ # Corresponds to the JSON property `reason`
135827
+ # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentRestrictionReason]
135828
+ attr_accessor :reason
135829
+
135830
+ # True if moderation comes from T&S, Automod, and some of channel owner settings
135831
+ # and comments will be put into "Held For Review" queue for channel owner review.
135832
+ # After any creator review, this restriction will remain in this status to
135833
+ # capture the original restriction. True maps to ModerationState=HOLD in Stanza.
135834
+ # False if moderation results from channel owner manual opertation or author in
135835
+ # hidden user list, and maps to ModerationState=REJECTED in Stanza.
135836
+ # Corresponds to the JSON property `reviewable`
135837
+ # @return [Boolean]
135838
+ attr_accessor :reviewable
135839
+ alias_method :reviewable?, :reviewable
135840
+
135841
+ # Required. For moderated restriction on comment and live chat but not issued by
135842
+ # Automod, the field should be always set to ACTIVE. For Automod moderation on
135843
+ # live chat, the restriction is active as long as one of the HOLD decisions is
135844
+ # enforced. Can only be changed by upcoming QPS threshold configuration changes
135845
+ # and backfills.
135846
+ # Corresponds to the JSON property `status`
135847
+ # @return [String]
135848
+ attr_accessor :status
135849
+
135850
+ # The timestamp when this restriction is updated.
135851
+ # Corresponds to the JSON property `updateTime`
135852
+ # @return [String]
135853
+ attr_accessor :update_time
135854
+
135855
+ def initialize(**args)
135856
+ update!(**args)
135857
+ end
135858
+
135859
+ # Update properties of this object
135860
+ def update!(**args)
135861
+ @auto_mod_enforcements = args[:auto_mod_enforcements] if args.key?(:auto_mod_enforcements)
135862
+ @create_time = args[:create_time] if args.key?(:create_time)
135863
+ @external_comment_id = args[:external_comment_id] if args.key?(:external_comment_id)
135864
+ @issuer = args[:issuer] if args.key?(:issuer)
135865
+ @reason = args[:reason] if args.key?(:reason)
135866
+ @reviewable = args[:reviewable] if args.key?(:reviewable)
135867
+ @status = args[:status] if args.key?(:status)
135868
+ @update_time = args[:update_time] if args.key?(:update_time)
135869
+ end
135870
+ end
135871
+
135872
+ # Whether a HOLD decision is enforced based on the decision name and QPS
135873
+ # requirement. For LiveChat, there could be multiple Automod moderations
135874
+ # generated at chat message creation time. Only HOLD decisions are persisted. At
135875
+ # most one HOLD decision can be enforced based on write QPS.
135876
+ class YoutubeCommentsApiCommentModeratedRestrictionAutoModDecisionEnforcement
135877
+ include Google::Apis::Core::Hashable
135878
+
135879
+ # Whether or not the decision is enforced.
135880
+ # Corresponds to the JSON property `enforced`
135881
+ # @return [Boolean]
135882
+ attr_accessor :enforced
135883
+ alias_method :enforced?, :enforced
135884
+
135885
+ # Current the enforcement rule depends on live chat write QPS at chat message
135886
+ # creation time. Enforce MEDIAN when QPS<=4. Enforce HIGH_RECALL when QPS>4 AND
135887
+ # QPS<=10. Enforce ULTRA_HIGH_RECALL when QPS>10.
135888
+ # Corresponds to the JSON property `name`
135889
+ # @return [String]
135890
+ attr_accessor :name
135891
+
135892
+ def initialize(**args)
135893
+ update!(**args)
135894
+ end
135895
+
135896
+ # Update properties of this object
135897
+ def update!(**args)
135898
+ @enforced = args[:enforced] if args.key?(:enforced)
135899
+ @name = args[:name] if args.key?(:name)
135900
+ end
135901
+ end
135902
+
135903
+ # The restriction issuers here identify "who" issues the restriction. It
135904
+ # represents restriction granularity at the issuer level so restrictions from
135905
+ # different issuers will not override each other.
135906
+ class YoutubeCommentsApiCommentRestrictionIssuer
135907
+ include Google::Apis::Core::Hashable
135908
+
135909
+ # Channel moderator info details. Supports audit log functionality that shows
135910
+ # moderator activity.
135911
+ # Corresponds to the JSON property `channelModeratorDetails`
135912
+ # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentRestrictionIssuerChannelModeratorDetails]
135913
+ attr_accessor :channel_moderator_details
135914
+
135915
+ # Channel owner info details. Supports audit log functionality that shows
135916
+ # creator activity.
135917
+ # Corresponds to the JSON property `channelOwnerDetails`
135918
+ # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentRestrictionIssuerChannelOwnerDetails]
135919
+ attr_accessor :channel_owner_details
135920
+
135921
+ #
135922
+ # Corresponds to the JSON property `issuer`
135923
+ # @return [String]
135924
+ attr_accessor :issuer
135925
+
135926
+ def initialize(**args)
135927
+ update!(**args)
135928
+ end
135929
+
135930
+ # Update properties of this object
135931
+ def update!(**args)
135932
+ @channel_moderator_details = args[:channel_moderator_details] if args.key?(:channel_moderator_details)
135933
+ @channel_owner_details = args[:channel_owner_details] if args.key?(:channel_owner_details)
135934
+ @issuer = args[:issuer] if args.key?(:issuer)
135935
+ end
135936
+ end
135937
+
135938
+ # Channel moderator info details. Supports audit log functionality that shows
135939
+ # moderator activity.
135940
+ class YoutubeCommentsApiCommentRestrictionIssuerChannelModeratorDetails
135941
+ include Google::Apis::Core::Hashable
135942
+
135943
+ #
135944
+ # Corresponds to the JSON property `externalChannelId`
135945
+ # @return [String]
135946
+ attr_accessor :external_channel_id
135947
+
135948
+ def initialize(**args)
135949
+ update!(**args)
135950
+ end
135951
+
135952
+ # Update properties of this object
135953
+ def update!(**args)
135954
+ @external_channel_id = args[:external_channel_id] if args.key?(:external_channel_id)
135955
+ end
135956
+ end
135957
+
135958
+ # Channel owner info details. Supports audit log functionality that shows
135959
+ # creator activity.
135960
+ class YoutubeCommentsApiCommentRestrictionIssuerChannelOwnerDetails
135961
+ include Google::Apis::Core::Hashable
135962
+
135963
+ #
135964
+ # Corresponds to the JSON property `externalChannelId`
135965
+ # @return [String]
135966
+ attr_accessor :external_channel_id
135967
+
135968
+ def initialize(**args)
135969
+ update!(**args)
135970
+ end
135971
+
135972
+ # Update properties of this object
135973
+ def update!(**args)
135974
+ @external_channel_id = args[:external_channel_id] if args.key?(:external_channel_id)
135975
+ end
135976
+ end
135977
+
135978
+ # The restriction issuers here identify "why" the restriction is issued. Most
135979
+ # reasons are specific to one type of issuer but some of them are shared among
135980
+ # multiple issuers.
135981
+ class YoutubeCommentsApiCommentRestrictionReason
135982
+ include Google::Apis::Core::Hashable
135983
+
135984
+ #
135985
+ # Corresponds to the JSON property `reason`
135986
+ # @return [String]
135987
+ attr_accessor :reason
135988
+
135989
+ def initialize(**args)
135990
+ update!(**args)
135991
+ end
135992
+
135993
+ # Update properties of this object
135994
+ def update!(**args)
135995
+ @reason = args[:reason] if args.key?(:reason)
135996
+ end
135997
+ end
135998
+
135399
135999
  # Intended to be simpler to work with than the ExportedStanza it's derived from
135400
136000
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
135401
136001
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
135402
- # 78
136002
+ # 80
135403
136003
  class YoutubeCommentsClusteringMiniStanza
135404
136004
  include Google::Apis::Core::Hashable
135405
136005
 
@@ -135457,6 +136057,12 @@ module Google
135457
136057
  # @return [Hash<String,Float>]
135458
136058
  attr_accessor :comment_classification_ranking
135459
136059
 
136060
+ # Contains various comment moderated restrictions. Only available in the Atlas
136061
+ # version. Extracted from http://shortn/_2LzgPEF5K3
136062
+ # Corresponds to the JSON property `commentModeratedRestrictions`
136063
+ # @return [Array<Google::Apis::ContentwarehouseV1::YoutubeCommentsApiCommentModeratedRestriction>]
136064
+ attr_accessor :comment_moderated_restrictions
136065
+
135460
136066
  # Whether the comment is on a video, post, or other product.
135461
136067
  # Corresponds to the JSON property `commentType`
135462
136068
  # @return [String]
@@ -135597,6 +136203,12 @@ module Google
135597
136203
  # @return [Hash<String,Boolean>]
135598
136204
  attr_accessor :low_quality_decisions
135599
136205
 
136206
+ # Comment low quality scores. Keyed by various model names. Rename from the old
136207
+ # automod_scores.
136208
+ # Corresponds to the JSON property `lowQualityScores`
136209
+ # @return [Hash<String,Float>]
136210
+ attr_accessor :low_quality_scores
136211
+
135600
136212
  # Timed comments for the "mentioned" secondary key.
135601
136213
  # Corresponds to the JSON property `mentionedTimestampCommentSecond`
135602
136214
  # @return [Fixnum]
@@ -135812,6 +136424,7 @@ module Google
135812
136424
  @comment_classification = args[:comment_classification] if args.key?(:comment_classification)
135813
136425
  @comment_classification_buckets = args[:comment_classification_buckets] if args.key?(:comment_classification_buckets)
135814
136426
  @comment_classification_ranking = args[:comment_classification_ranking] if args.key?(:comment_classification_ranking)
136427
+ @comment_moderated_restrictions = args[:comment_moderated_restrictions] if args.key?(:comment_moderated_restrictions)
135815
136428
  @comment_type = args[:comment_type] if args.key?(:comment_type)
135816
136429
  @content = args[:content] if args.key?(:content)
135817
136430
  @content_update_timestamp = args[:content_update_timestamp] if args.key?(:content_update_timestamp)
@@ -135835,6 +136448,7 @@ module Google
135835
136448
  @language_code = args[:language_code] if args.key?(:language_code)
135836
136449
  @last_reply_timestamp_usec = args[:last_reply_timestamp_usec] if args.key?(:last_reply_timestamp_usec)
135837
136450
  @low_quality_decisions = args[:low_quality_decisions] if args.key?(:low_quality_decisions)
136451
+ @low_quality_scores = args[:low_quality_scores] if args.key?(:low_quality_scores)
135838
136452
  @mentioned_timestamp_comment_second = args[:mentioned_timestamp_comment_second] if args.key?(:mentioned_timestamp_comment_second)
135839
136453
  @misinfo_scores = args[:misinfo_scores] if args.key?(:misinfo_scores)
135840
136454
  @num_dislikes = args[:num_dislikes] if args.key?(:num_dislikes)