google-apis-contentwarehouse_v1 0.21.0 → 0.23.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10835,10 +10835,14 @@ module Google
10835
10835
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesDeviceConfig]
10836
10836
  attr_accessor :device_config
10837
10837
 
10838
- # The device's surface type. This is the string version of surface_type. The
10839
- # server should use the SurfaceType value derived from this string. If the
10840
- # device_type isn't supported within the SurfaceType enum, it will be set as
10841
- # UNKNOWN. Developers should use the enum in ServerParams instead of this string.
10838
+ # DEPRECATED. assistant.api.core_types.governed.SurfaceIdentity.surface_type
10839
+ # field should be used instead. The device's surface type. This is the string
10840
+ # version of surface_type. The server should use the SurfaceType value derived
10841
+ # from this string. If the device_type isn't supported within the SurfaceType
10842
+ # enum, it will be set as UNKNOWN. Developers should use the enum in
10843
+ # ServerParams instead of this string. WARNING: Clients are not actually setting
10844
+ # this field. This field will be removed once references to it within the code
10845
+ # base have been removed.
10842
10846
  # Corresponds to the JSON property `deviceType`
10843
10847
  # @return [String]
10844
10848
  attr_accessor :device_type
@@ -11080,10 +11084,14 @@ module Google
11080
11084
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesGovernedDeviceConfig]
11081
11085
  attr_accessor :device_config
11082
11086
 
11083
- # The device's surface type. This is the string version of surface_type. The
11084
- # server should use the SurfaceType value derived from this string. If the
11085
- # device_type isn't supported within the SurfaceType enum, it will be set as
11086
- # UNKNOWN. Developers should use the enum in ServerParams instead of this string.
11087
+ # DEPRECATED. assistant.api.core_types.governed.SurfaceIdentity.surface_type
11088
+ # field should be used instead. The device's surface type. This is the string
11089
+ # version of surface_type. The server should use the SurfaceType value derived
11090
+ # from this string. If the device_type isn't supported within the SurfaceType
11091
+ # enum, it will be set as UNKNOWN. Developers should use the enum in
11092
+ # ServerParams instead of this string. WARNING: Clients are not actually setting
11093
+ # this field. This field will be removed once references to it within the code
11094
+ # base have been removed.
11087
11095
  # Corresponds to the JSON property `deviceType`
11088
11096
  # @return [String]
11089
11097
  attr_accessor :device_type
@@ -12217,16 +12225,17 @@ module Google
12217
12225
  attr_accessor :device_id
12218
12226
 
12219
12227
  # The device's surface type. The types are defined at google3/assistant/api/
12220
- # core_types/surfaces.gcl. NOTE: This is the new field that is going to replace
12221
- # the `surface_type_string` field above. For more details please refer to go/
12222
- # ontologicalize-surface-type.
12228
+ # core_types/surfaces.gcl. For more details, refer to go/ontologicalize-surface-
12229
+ # type.
12223
12230
  # Corresponds to the JSON property `surfaceType`
12224
12231
  # @return [String]
12225
12232
  attr_accessor :surface_type
12226
12233
 
12227
- # The device's surface type. This is the string version of the assistant.api.
12228
- # core_types.SurfaceType enum. The server should not use this field, rather it
12229
- # should use the SurfaceType value derived from this string.
12234
+ # DEPRECATED. assistant.api.core_types.governed.SurfaceIdentity.surface_type
12235
+ # field should be used instead. The device's surface type. This is the string
12236
+ # version of the assistant.api.core_types.SurfaceType enum. The server should
12237
+ # not use this field, rather it should use the SurfaceType value derived from
12238
+ # this string.
12230
12239
  # Corresponds to the JSON property `surfaceTypeString`
12231
12240
  # @return [String]
12232
12241
  attr_accessor :surface_type_string
@@ -12493,7 +12502,7 @@ module Google
12493
12502
  # enum. A surface's capabilities can differ from the device's. An example would
12494
12503
  # be ANDROID_ALLO running on Pixel. Allo does not support AudioInput while the
12495
12504
  # Pixel does. In this case, audio_input will be set to false for Assistant Allo
12496
- # requests while it might be set to true for OPA_NEXUS requests. Next ID: 35
12505
+ # requests while it might be set to true for OPA_NEXUS requests. Next ID: 36
12497
12506
  class AssistantApiDeviceCapabilities
12498
12507
  include Google::Apis::Core::Hashable
12499
12508
 
@@ -12504,6 +12513,11 @@ module Google
12504
12513
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiAndroidIntentCapabilities]
12505
12514
  attr_accessor :android_intent_capabilities
12506
12515
 
12516
+ # Capabilities if surface supports Google Assistant.
12517
+ # Corresponds to the JSON property `assistantCapability`
12518
+ # @return [String]
12519
+ attr_accessor :assistant_capability
12520
+
12507
12521
  # These capabilities represent the audio input features associated with the
12508
12522
  # device. This includes what kind of audio input the device can handle, and what
12509
12523
  # the privacy circumstances of that input are.
@@ -12698,6 +12712,7 @@ module Google
12698
12712
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesSurfaceIdentity]
12699
12713
  attr_accessor :surface_identity
12700
12714
 
12715
+ # DEPRECATED. surface_identity field below already contains this information.
12701
12716
  # The device's surface type. This is the string version of the assistant.api.
12702
12717
  # core_types.SurfaceType enum. The server should not use this field, rather it
12703
12718
  # should use the SurfaceType value derived from this string.
@@ -12722,6 +12737,7 @@ module Google
12722
12737
  # Update properties of this object
12723
12738
  def update!(**args)
12724
12739
  @android_intent_capabilities = args[:android_intent_capabilities] if args.key?(:android_intent_capabilities)
12740
+ @assistant_capability = args[:assistant_capability] if args.key?(:assistant_capability)
12725
12741
  @audio_input = args[:audio_input] if args.key?(:audio_input)
12726
12742
  @audio_output = args[:audio_output] if args.key?(:audio_output)
12727
12743
  @bluetooth_capabilities = args[:bluetooth_capabilities] if args.key?(:bluetooth_capabilities)
@@ -14619,7 +14635,7 @@ module Google
14619
14635
  # enum. A surface's capabilities can differ from the device's. An example would
14620
14636
  # be ANDROID_ALLO running on Pixel. Allo does not support AudioInput while the
14621
14637
  # Pixel does. In this case, audio_input will be set to false for Assistant Allo
14622
- # requests while it might be set to true for OPA_NEXUS requests. Next ID: 35
14638
+ # requests while it might be set to true for OPA_NEXUS requests. Next ID: 36
14623
14639
  # Corresponds to the JSON property `capabilities`
14624
14640
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiDeviceCapabilities]
14625
14641
  attr_accessor :capabilities
@@ -16776,7 +16792,7 @@ module Google
16776
16792
  attr_accessor :supported_client_op
16777
16793
 
16778
16794
  # These are the set of features that are supported by the device. It's a part of
16779
- # the SoftwareCapabilities of the device. Next ID: 66
16795
+ # the SoftwareCapabilities of the device. Next ID: 67
16780
16796
  # Corresponds to the JSON property `supportedFeatures`
16781
16797
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSupportedFeatures]
16782
16798
  attr_accessor :supported_features
@@ -17170,7 +17186,7 @@ module Google
17170
17186
  end
17171
17187
 
17172
17188
  # These are the set of features that are supported by the device. It's a part of
17173
- # the SoftwareCapabilities of the device. Next ID: 66
17189
+ # the SoftwareCapabilities of the device. Next ID: 67
17174
17190
  class AssistantApiSupportedFeatures
17175
17191
  include Google::Apis::Core::Hashable
17176
17192
 
@@ -17477,6 +17493,12 @@ module Google
17477
17493
  attr_accessor :read_messages_tts_tapering_supported
17478
17494
  alias_method :read_messages_tts_tapering_supported?, :read_messages_tts_tapering_supported
17479
17495
 
17496
+ # Whether the client supports message summarization.
17497
+ # Corresponds to the JSON property `readNotificationSummarizationSupported`
17498
+ # @return [Boolean]
17499
+ attr_accessor :read_notification_summarization_supported
17500
+ alias_method :read_notification_summarization_supported?, :read_notification_summarization_supported
17501
+
17480
17502
  # Whether the client has remote casting enabled. For ex: we want to disable this
17481
17503
  # for clients like Auto.
17482
17504
  # Corresponds to the JSON property `remoteCloudCastingEnabled`
@@ -17660,6 +17682,7 @@ module Google
17660
17682
  @persistent_display_supported = args[:persistent_display_supported] if args.key?(:persistent_display_supported)
17661
17683
  @privacy_aware_lockscreen_supported = args[:privacy_aware_lockscreen_supported] if args.key?(:privacy_aware_lockscreen_supported)
17662
17684
  @read_messages_tts_tapering_supported = args[:read_messages_tts_tapering_supported] if args.key?(:read_messages_tts_tapering_supported)
17685
+ @read_notification_summarization_supported = args[:read_notification_summarization_supported] if args.key?(:read_notification_summarization_supported)
17663
17686
  @remote_cloud_casting_enabled = args[:remote_cloud_casting_enabled] if args.key?(:remote_cloud_casting_enabled)
17664
17687
  @server_generated_feedback_chips_enabled = args[:server_generated_feedback_chips_enabled] if args.key?(:server_generated_feedback_chips_enabled)
17665
17688
  @sh_lock_screen_supported = args[:sh_lock_screen_supported] if args.key?(:sh_lock_screen_supported)
@@ -19980,13 +20003,13 @@ module Google
19980
20003
  attr_accessor :device_id
19981
20004
 
19982
20005
  # Features generated by Device Targeting library (Lumos). See go/hgr-lumos-
19983
- # integration and go/lumos-feature-extraction for more details.
20006
+ # integration and go/lumos-feature-extraction for more details. Next ID: 3
19984
20007
  # Corresponds to the JSON property `deviceTargetingFeatures`
19985
20008
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingFeatures]
19986
20009
  attr_accessor :device_targeting_features
19987
20010
 
19988
20011
  # Labels tagged by Device Targeting library (Lumos). See go/hgr-lumos-
19989
- # integration and go/lumos-feature-extraction for more details.
20012
+ # integration and go/lumos-feature-extraction for more details. Next ID: 2
19990
20013
  # Corresponds to the JSON property `deviceTargetingLabels`
19991
20014
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingLabels]
19992
20015
  attr_accessor :device_targeting_labels
@@ -20014,17 +20037,17 @@ module Google
20014
20037
  end
20015
20038
 
20016
20039
  # Features generated by Device Targeting library (Lumos). See go/hgr-lumos-
20017
- # integration and go/lumos-feature-extraction for more details.
20040
+ # integration and go/lumos-feature-extraction for more details. Next ID: 3
20018
20041
  class AssistantGroundingRankerDeviceTargetingFeatures
20019
20042
  include Google::Apis::Core::Hashable
20020
20043
 
20021
- # The properties of the device. They are static and won't change.
20044
+ # The properties of the device. They are static and won't change. Next ID: 4
20022
20045
  # Corresponds to the JSON property `properties`
20023
20046
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingFeaturesProperties]
20024
20047
  attr_accessor :properties
20025
20048
 
20026
20049
  # The states of the device. They are dynamic and may change based on the current
20027
- # context.
20050
+ # context. Next ID: 5
20028
20051
  # Corresponds to the JSON property `states`
20029
20052
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceTargetingFeaturesStates]
20030
20053
  attr_accessor :states
@@ -20040,7 +20063,7 @@ module Google
20040
20063
  end
20041
20064
  end
20042
20065
 
20043
- # The properties of the device. They are static and won't change.
20066
+ # The properties of the device. They are static and won't change. Next ID: 4
20044
20067
  class AssistantGroundingRankerDeviceTargetingFeaturesProperties
20045
20068
  include Google::Apis::Core::Hashable
20046
20069
 
@@ -20056,6 +20079,11 @@ module Google
20056
20079
  attr_accessor :is_owned_by_speaker
20057
20080
  alias_method :is_owned_by_speaker?, :is_owned_by_speaker
20058
20081
 
20082
+ # Assistant surface type (ontology).
20083
+ # Corresponds to the JSON property `surfaceType`
20084
+ # @return [String]
20085
+ attr_accessor :surface_type
20086
+
20059
20087
  def initialize(**args)
20060
20088
  update!(**args)
20061
20089
  end
@@ -20064,11 +20092,12 @@ module Google
20064
20092
  def update!(**args)
20065
20093
  @device_model_id = args[:device_model_id] if args.key?(:device_model_id)
20066
20094
  @is_owned_by_speaker = args[:is_owned_by_speaker] if args.key?(:is_owned_by_speaker)
20095
+ @surface_type = args[:surface_type] if args.key?(:surface_type)
20067
20096
  end
20068
20097
  end
20069
20098
 
20070
20099
  # The states of the device. They are dynamic and may change based on the current
20071
- # context.
20100
+ # context. Next ID: 5
20072
20101
  class AssistantGroundingRankerDeviceTargetingFeaturesStates
20073
20102
  include Google::Apis::Core::Hashable
20074
20103
 
@@ -20112,7 +20141,7 @@ module Google
20112
20141
  end
20113
20142
 
20114
20143
  # Labels tagged by Device Targeting library (Lumos). See go/hgr-lumos-
20115
- # integration and go/lumos-feature-extraction for more details.
20144
+ # integration and go/lumos-feature-extraction for more details. Next ID: 2
20116
20145
  class AssistantGroundingRankerDeviceTargetingLabels
20117
20146
  include Google::Apis::Core::Hashable
20118
20147
 
@@ -22309,7 +22338,7 @@ module Google
22309
22338
 
22310
22339
  # Signals to be used by the Prefulfillment Ranker. Derived from the
22311
22340
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
22312
- # Next ID: 60
22341
+ # Next ID: 61
22313
22342
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
22314
22343
  include Google::Apis::Core::Hashable
22315
22344
 
@@ -22467,6 +22496,12 @@ module Google
22467
22496
  attr_accessor :is_podcast_intent
22468
22497
  alias_method :is_podcast_intent?, :is_podcast_intent
22469
22498
 
22499
+ # Whether the intent is an intent marked disabled by the Sage IG.
22500
+ # Corresponds to the JSON property `isSageDisabledIntent`
22501
+ # @return [Boolean]
22502
+ attr_accessor :is_sage_disabled_intent
22503
+ alias_method :is_sage_disabled_intent?, :is_sage_disabled_intent
22504
+
22470
22505
  # Whether this intent was generated by Sage.
22471
22506
  # Corresponds to the JSON property `isSageIntent`
22472
22507
  # @return [Boolean]
@@ -22664,6 +22699,7 @@ module Google
22664
22699
  @is_play_generic_music = args[:is_play_generic_music] if args.key?(:is_play_generic_music)
22665
22700
  @is_podcast_generic_intent = args[:is_podcast_generic_intent] if args.key?(:is_podcast_generic_intent)
22666
22701
  @is_podcast_intent = args[:is_podcast_intent] if args.key?(:is_podcast_intent)
22702
+ @is_sage_disabled_intent = args[:is_sage_disabled_intent] if args.key?(:is_sage_disabled_intent)
22667
22703
  @is_sage_intent = args[:is_sage_intent] if args.key?(:is_sage_intent)
22668
22704
  @is_tvm_intent = args[:is_tvm_intent] if args.key?(:is_tvm_intent)
22669
22705
  @is_valid_smarthome_intent = args[:is_valid_smarthome_intent] if args.key?(:is_valid_smarthome_intent)
@@ -25955,7 +25991,7 @@ module Google
25955
25991
  # handle newly introduced data without modifying their code. Please also see the
25956
25992
  # comment of FieldProjector above. There are also some fields in DataInfo that
25957
25993
  # annotate who generates the data, the Index Signals or Goldmine annotator name.
25958
- # Next ID: 537
25994
+ # Next ID: 538
25959
25995
  # Corresponds to the JSON property `dataVersion`
25960
25996
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersion]
25961
25997
  attr_accessor :data_version
@@ -26098,9 +26134,9 @@ module Google
26098
26134
  # PToken expresses policy-relevant properties of the data objects being
26099
26135
  # processed and stored in Google's production systems. See go/ptoken to learn
26100
26136
  # more. PTokens are intentionally opaque: go/ptokens-are-opaque. The following
26101
- # should be considered implementation details. Next ID: 9 INTERNAL: If both the
26102
- # Scalar and the Compound extensions are populated, we use the Compound and
26103
- # discard the Scalar. In principle, this should never happen.
26137
+ # should be considered implementation details. Next ID: 9 LINT.IfChange INTERNAL:
26138
+ # If both the Scalar and the Compound extensions are populated, we use the
26139
+ # Compound and discard the Scalar. In principle, this should never happen.
26104
26140
  # Corresponds to the JSON property `ptoken`
26105
26141
  # @return [Google::Apis::ContentwarehouseV1::PtokenPToken]
26106
26142
  attr_accessor :ptoken
@@ -26546,15 +26582,6 @@ module Google
26546
26582
  # @return [Fixnum]
26547
26583
  attr_accessor :indexing_ts
26548
26584
 
26549
- # Page is deleted when indexing choice flips between different corpora (e.g.
26550
- # desktop, mobile, archive, scholar, etc.) for the same URL. It's only set for
26551
- # deletion cdocs. Downstreams using URL as key should ignore the current
26552
- # deletion if the field is set.
26553
- # Corresponds to the JSON property `isSiblingDeletion`
26554
- # @return [Boolean]
26555
- attr_accessor :is_sibling_deletion
26556
- alias_method :is_sibling_deletion?, :is_sibling_deletion
26557
-
26558
26585
  # If set, the timestamp in microseconds when the URL stopped being canonical.
26559
26586
  # This should never be set for exported canonical documents. This field is used
26560
26587
  # by dups during canonical flip, and by webmain when doc selection switched
@@ -26645,7 +26672,6 @@ module Google
26645
26672
  @ie_identifier = args[:ie_identifier] if args.key?(:ie_identifier)
26646
26673
  @image_indexing_info = args[:image_indexing_info] if args.key?(:image_indexing_info)
26647
26674
  @indexing_ts = args[:indexing_ts] if args.key?(:indexing_ts)
26648
- @is_sibling_deletion = args[:is_sibling_deletion] if args.key?(:is_sibling_deletion)
26649
26675
  @no_longer_canonical_timestamp = args[:no_longer_canonical_timestamp] if args.key?(:no_longer_canonical_timestamp)
26650
26676
  @normalized_click_score = args[:normalized_click_score] if args.key?(:normalized_click_score)
26651
26677
  @raw_navboost = args[:raw_navboost] if args.key?(:raw_navboost)
@@ -31434,12 +31460,14 @@ module Google
31434
31460
  # @return [Fixnum]
31435
31461
  attr_accessor :no_translate_reason
31436
31462
 
31437
- # Pagerank for doc (if known)
31463
+ # This field is long-deprecated in favour of Pagerank_NS, it is no longer
31464
+ # maintained and can break at any moment.
31438
31465
  # Corresponds to the JSON property `Pagerank`
31439
31466
  # @return [Fixnum]
31440
31467
  attr_accessor :pagerank
31441
31468
 
31442
- # Pagerank-NearestSeeds is an alternative pagerank score for the doc.
31469
+ # Pagerank-NearestSeeds is a pagerank score for the doc, calculated using
31470
+ # NearestSeeds method. This is the production PageRank value teams should use.
31443
31471
  # Corresponds to the JSON property `PagerankNS`
31444
31472
  # @return [Fixnum]
31445
31473
  attr_accessor :pagerank_ns
@@ -32891,7 +32919,11 @@ module Google
32891
32919
  end
32892
32920
  end
32893
32921
 
32894
- #
32922
+ # NOTE: BoundingMarkerProto could be compared against one another by
32923
+ # canonicalizing them via GetCanonicalBoundingMarker() in google3/geostore/base/
32924
+ # internal/lane.cc. Any fields that don't contribute to the definition of a
32925
+ # bounding marker in the real world should be bundled with the annotative fields
32926
+ # near the bottom and excluded in GetCanonicalBoundingMarker(). LINT.IfChange
32895
32927
  class GeostoreBoundingMarkerProto
32896
32928
  include Google::Apis::Core::Hashable
32897
32929
 
@@ -33555,7 +33587,12 @@ module Google
33555
33587
  class GeostoreCrossingStripePatternProto
33556
33588
  include Google::Apis::Core::Hashable
33557
33589
 
33558
- # Describes a single physical marker line.
33590
+ # Describes a single physical marker line. NOTE: PhysicalLineProto could be
33591
+ # compared against one another by canonicalizing them via
33592
+ # GetCanonicalPhysicalLine() in google3/geostore/base/internal/lane_marker.cc.
33593
+ # Any fields that don't contribute to the definition of a physical line in the
33594
+ # real world should be bundled with the annotative fields near the bottom and
33595
+ # excluded in GetCanonicalPhysicalLine(). LINT.IfChange
33559
33596
  # Corresponds to the JSON property `borderLine`
33560
33597
  # @return [Google::Apis::ContentwarehouseV1::GeostorePhysicalLineProto]
33561
33598
  attr_accessor :border_line
@@ -38072,7 +38109,12 @@ module Google
38072
38109
  end
38073
38110
  end
38074
38111
 
38075
- # Describes a single physical marker line.
38112
+ # Describes a single physical marker line. NOTE: PhysicalLineProto could be
38113
+ # compared against one another by canonicalizing them via
38114
+ # GetCanonicalPhysicalLine() in google3/geostore/base/internal/lane_marker.cc.
38115
+ # Any fields that don't contribute to the definition of a physical line in the
38116
+ # real world should be bundled with the annotative fields near the bottom and
38117
+ # excluded in GetCanonicalPhysicalLine(). LINT.IfChange
38076
38118
  class GeostorePhysicalLineProto
38077
38119
  include Google::Apis::Core::Hashable
38078
38120
 
@@ -39358,10 +39400,10 @@ module Google
39358
39400
  # no conditions is always true, i.e. its action is always prohibited. NOTE:
39359
39401
  # RestrictionProtos are often compared against one another (e.g. to check for
39360
39402
  # duplicate/redundant restrictions) by canonicalizing them via
39361
- # GetCanonicalRestriction() in //geostore/base/public/restriction.cc. Any fields
39362
- # that don't contribute to the definition of a restriction in the real world
39363
- # should be bundled with the annotative fields near the bottom and excluded in
39364
- # GetCanonicalRestriction(). LINT.IfChange
39403
+ # GetCanonicalRestriction() in google3/geostore/base/internal/restriction.cc.
39404
+ # Any fields that don't contribute to the definition of a restriction in the
39405
+ # real world should be bundled with the annotative fields near the bottom and
39406
+ # excluded in GetCanonicalRestriction(). LINT.IfChange
39365
39407
  class GeostoreRestrictionProto
39366
39408
  include Google::Apis::Core::Hashable
39367
39409
 
@@ -45244,22 +45286,22 @@ module Google
45244
45286
  # evaluates to `true`. A condition can add constraints based on attributes of
45245
45287
  # the request, the resource, or both. To learn which resources support
45246
45288
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
45247
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
45289
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
45248
45290
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
45249
45291
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
45250
45292
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
45251
45293
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
45252
45294
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
45253
45295
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
45254
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
45255
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
45256
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
45257
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
45258
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
45259
- # access description: Does not grant access after Sep 2020 expression: request.
45260
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
45261
- # a description of IAM and its features, see the [IAM documentation](https://
45262
- # cloud.google.com/iam/docs/).
45296
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
45297
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
45298
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
45299
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
45300
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
45301
+ # title: expirable access description: Does not grant access after Sep 2020
45302
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
45303
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
45304
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
45263
45305
  # Corresponds to the JSON property `policy`
45264
45306
  # @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
45265
45307
  attr_accessor :policy
@@ -45503,22 +45545,22 @@ module Google
45503
45545
  # evaluates to `true`. A condition can add constraints based on attributes of
45504
45546
  # the request, the resource, or both. To learn which resources support
45505
45547
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
45506
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
45548
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
45507
45549
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
45508
45550
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
45509
45551
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
45510
45552
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
45511
45553
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
45512
45554
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
45513
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
45514
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
45515
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
45516
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
45517
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
45518
- # access description: Does not grant access after Sep 2020 expression: request.
45519
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
45520
- # a description of IAM and its features, see the [IAM documentation](https://
45521
- # cloud.google.com/iam/docs/).
45555
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
45556
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
45557
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
45558
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
45559
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
45560
+ # title: expirable access description: Does not grant access after Sep 2020
45561
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
45562
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
45563
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
45522
45564
  # Corresponds to the JSON property `policy`
45523
45565
  # @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
45524
45566
  attr_accessor :policy
@@ -45791,6 +45833,12 @@ module Google
45791
45833
  # @return [String]
45792
45834
  attr_accessor :inline_raw_document
45793
45835
 
45836
+ # Output only. Indicates if the document has a legal hold on it.
45837
+ # Corresponds to the JSON property `legalHold`
45838
+ # @return [Boolean]
45839
+ attr_accessor :legal_hold
45840
+ alias_method :legal_hold?, :legal_hold
45841
+
45794
45842
  # The resource name of the document. Format: projects/`project_number`/locations/
45795
45843
  # `location`/documents/`document_id`. The name is ignored when creating a
45796
45844
  # document.
@@ -45869,6 +45917,7 @@ module Google
45869
45917
  @disposition_time = args[:disposition_time] if args.key?(:disposition_time)
45870
45918
  @document_schema_name = args[:document_schema_name] if args.key?(:document_schema_name)
45871
45919
  @inline_raw_document = args[:inline_raw_document] if args.key?(:inline_raw_document)
45920
+ @legal_hold = args[:legal_hold] if args.key?(:legal_hold)
45872
45921
  @name = args[:name] if args.key?(:name)
45873
45922
  @plain_text = args[:plain_text] if args.key?(:plain_text)
45874
45923
  @properties = args[:properties] if args.key?(:properties)
@@ -46284,6 +46333,50 @@ module Google
46284
46333
  end
46285
46334
  end
46286
46335
 
46336
+ # The configuration of exporting documents from the Document Warehouse to CDW
46337
+ # pipeline.
46338
+ class GoogleCloudContentwarehouseV1ExportToCdwPipeline
46339
+ include Google::Apis::Core::Hashable
46340
+
46341
+ # Optional. The CDW dataset resource name. This field is optional. If not set,
46342
+ # the documents will be exported to Cloud Storage only. Format: projects/`
46343
+ # project`/locations/`location`/processors/`processor`/dataset
46344
+ # Corresponds to the JSON property `docAiDataset`
46345
+ # @return [String]
46346
+ attr_accessor :doc_ai_dataset
46347
+
46348
+ # The list of all the resource names of the documents to be processed. Format:
46349
+ # projects/`project_number`/locations/`location`/documents/`document_id`.
46350
+ # Corresponds to the JSON property `documents`
46351
+ # @return [Array<String>]
46352
+ attr_accessor :documents
46353
+
46354
+ # The Cloud Storage folder path used to store the exported documents before
46355
+ # being sent to CDW. Format: `gs:///`.
46356
+ # Corresponds to the JSON property `exportFolderPath`
46357
+ # @return [String]
46358
+ attr_accessor :export_folder_path
46359
+
46360
+ # Ratio of training dataset split. When importing into Document AI Workbench,
46361
+ # documents will be automatically split into training and test split category
46362
+ # with the specified ratio. This field is required if doc_ai_dataset is set.
46363
+ # Corresponds to the JSON property `trainingSplitRatio`
46364
+ # @return [Float]
46365
+ attr_accessor :training_split_ratio
46366
+
46367
+ def initialize(**args)
46368
+ update!(**args)
46369
+ end
46370
+
46371
+ # Update properties of this object
46372
+ def update!(**args)
46373
+ @doc_ai_dataset = args[:doc_ai_dataset] if args.key?(:doc_ai_dataset)
46374
+ @documents = args[:documents] if args.key?(:documents)
46375
+ @export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
46376
+ @training_split_ratio = args[:training_split_ratio] if args.key?(:training_split_ratio)
46377
+ end
46378
+ end
46379
+
46287
46380
  # Request message for DocumentService.FetchAcl
46288
46381
  class GoogleCloudContentwarehouseV1FetchAclRequest
46289
46382
  include Google::Apis::Core::Hashable
@@ -46331,22 +46424,22 @@ module Google
46331
46424
  # evaluates to `true`. A condition can add constraints based on attributes of
46332
46425
  # the request, the resource, or both. To learn which resources support
46333
46426
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
46334
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
46427
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
46335
46428
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
46336
46429
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
46337
46430
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
46338
46431
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
46339
46432
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
46340
46433
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
46341
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
46342
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
46343
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
46344
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
46345
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
46346
- # access description: Does not grant access after Sep 2020 expression: request.
46347
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
46348
- # a description of IAM and its features, see the [IAM documentation](https://
46349
- # cloud.google.com/iam/docs/).
46434
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
46435
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
46436
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
46437
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
46438
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
46439
+ # title: expirable access description: Does not grant access after Sep 2020
46440
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
46441
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
46442
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
46350
46443
  # Corresponds to the JSON property `policy`
46351
46444
  # @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
46352
46445
  attr_accessor :policy
@@ -46413,6 +46506,113 @@ module Google
46413
46506
  end
46414
46507
  end
46415
46508
 
46509
+ # The configuration of the Cloud Storage Ingestion pipeline.
46510
+ class GoogleCloudContentwarehouseV1GcsIngestPipeline
46511
+ include Google::Apis::Core::Hashable
46512
+
46513
+ # The input Cloud Storage folder. All files under this folder will be imported
46514
+ # to Document Warehouse. Format: `gs:///`.
46515
+ # Corresponds to the JSON property `inputPath`
46516
+ # @return [String]
46517
+ attr_accessor :input_path
46518
+
46519
+ # The ingestion pipeline config.
46520
+ # Corresponds to the JSON property `pipelineConfig`
46521
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1IngestPipelineConfig]
46522
+ attr_accessor :pipeline_config
46523
+
46524
+ # The Doc AI processor type name. Only used when the format of ingested files is
46525
+ # Doc AI Document proto format.
46526
+ # Corresponds to the JSON property `processorType`
46527
+ # @return [String]
46528
+ attr_accessor :processor_type
46529
+
46530
+ # The Document Warehouse schema resource name. All documents processed by this
46531
+ # pipeline will use this schema. Format: projects/`project_number`/locations/`
46532
+ # location`/documentSchemas/`document_schema_id`.
46533
+ # Corresponds to the JSON property `schemaName`
46534
+ # @return [String]
46535
+ attr_accessor :schema_name
46536
+
46537
+ # The flag whether to skip ingested documents. If it is set to true, documents
46538
+ # in Cloud Storage contains key "status" with value "status=ingested" in custom
46539
+ # metadata will be skipped to ingest.
46540
+ # Corresponds to the JSON property `skipIngestedDocuments`
46541
+ # @return [Boolean]
46542
+ attr_accessor :skip_ingested_documents
46543
+ alias_method :skip_ingested_documents?, :skip_ingested_documents
46544
+
46545
+ def initialize(**args)
46546
+ update!(**args)
46547
+ end
46548
+
46549
+ # Update properties of this object
46550
+ def update!(**args)
46551
+ @input_path = args[:input_path] if args.key?(:input_path)
46552
+ @pipeline_config = args[:pipeline_config] if args.key?(:pipeline_config)
46553
+ @processor_type = args[:processor_type] if args.key?(:processor_type)
46554
+ @schema_name = args[:schema_name] if args.key?(:schema_name)
46555
+ @skip_ingested_documents = args[:skip_ingested_documents] if args.key?(:skip_ingested_documents)
46556
+ end
46557
+ end
46558
+
46559
+ # The configuration of the Cloud Storage Ingestion with DocAI Processors
46560
+ # pipeline.
46561
+ class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline
46562
+ include Google::Apis::Core::Hashable
46563
+
46564
+ # The extract processors information. One matched extract processor will be used
46565
+ # to process documents based on the classify processor result. If no classify
46566
+ # processor is specified, the first extract processor will be used.
46567
+ # Corresponds to the JSON property `extractProcessorInfos`
46568
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo>]
46569
+ attr_accessor :extract_processor_infos
46570
+
46571
+ # The input Cloud Storage folder. All files under this folder will be imported
46572
+ # to Document Warehouse. Format: `gs:///`.
46573
+ # Corresponds to the JSON property `inputPath`
46574
+ # @return [String]
46575
+ attr_accessor :input_path
46576
+
46577
+ # The ingestion pipeline config.
46578
+ # Corresponds to the JSON property `pipelineConfig`
46579
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1IngestPipelineConfig]
46580
+ attr_accessor :pipeline_config
46581
+
46582
+ # The Cloud Storage folder path used to store the raw results from processors.
46583
+ # Format: `gs:///`.
46584
+ # Corresponds to the JSON property `processorResultsFolderPath`
46585
+ # @return [String]
46586
+ attr_accessor :processor_results_folder_path
46587
+
46588
+ # The flag whether to skip ingested documents. If it is set to true, documents
46589
+ # in Cloud Storage contains key "status" with value "status=ingested" in custom
46590
+ # metadata will be skipped to ingest.
46591
+ # Corresponds to the JSON property `skipIngestedDocuments`
46592
+ # @return [Boolean]
46593
+ attr_accessor :skip_ingested_documents
46594
+ alias_method :skip_ingested_documents?, :skip_ingested_documents
46595
+
46596
+ # The DocAI processor information.
46597
+ # Corresponds to the JSON property `splitClassifyProcessorInfo`
46598
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
46599
+ attr_accessor :split_classify_processor_info
46600
+
46601
+ def initialize(**args)
46602
+ update!(**args)
46603
+ end
46604
+
46605
+ # Update properties of this object
46606
+ def update!(**args)
46607
+ @extract_processor_infos = args[:extract_processor_infos] if args.key?(:extract_processor_infos)
46608
+ @input_path = args[:input_path] if args.key?(:input_path)
46609
+ @pipeline_config = args[:pipeline_config] if args.key?(:pipeline_config)
46610
+ @processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
46611
+ @skip_ingested_documents = args[:skip_ingested_documents] if args.key?(:skip_ingested_documents)
46612
+ @split_classify_processor_info = args[:split_classify_processor_info] if args.key?(:split_classify_processor_info)
46613
+ end
46614
+ end
46615
+
46416
46616
  # Request message for DocumentService.GetDocument.
46417
46617
  class GoogleCloudContentwarehouseV1GetDocumentRequest
46418
46618
  include Google::Apis::Core::Hashable
@@ -46537,6 +46737,67 @@ module Google
46537
46737
  end
46538
46738
  end
46539
46739
 
46740
+ # The ingestion pipeline config.
46741
+ class GoogleCloudContentwarehouseV1IngestPipelineConfig
46742
+ include Google::Apis::Core::Hashable
46743
+
46744
+ # An Identity and Access Management (IAM) policy, which specifies access
46745
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
46746
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
46747
+ # Principals can be user accounts, service accounts, Google groups, and domains (
46748
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
46749
+ # an IAM predefined role or a user-created custom role. For some types of Google
46750
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
46751
+ # logical expression that allows access to a resource only if the expression
46752
+ # evaluates to `true`. A condition can add constraints based on attributes of
46753
+ # the request, the resource, or both. To learn which resources support
46754
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
46755
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
46756
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
46757
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
46758
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
46759
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
46760
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
46761
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
46762
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
46763
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
46764
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
46765
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
46766
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
46767
+ # title: expirable access description: Does not grant access after Sep 2020
46768
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
46769
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
46770
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
46771
+ # Corresponds to the JSON property `documentAclPolicy`
46772
+ # @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
46773
+ attr_accessor :document_acl_policy
46774
+
46775
+ # The document text extraction enabled flag. If the flag is set to true, DWH
46776
+ # will perform text extraction on the raw document.
46777
+ # Corresponds to the JSON property `enableDocumentTextExtraction`
46778
+ # @return [Boolean]
46779
+ attr_accessor :enable_document_text_extraction
46780
+ alias_method :enable_document_text_extraction?, :enable_document_text_extraction
46781
+
46782
+ # Optional. The name of the folder to which all ingested documents will be
46783
+ # linked during ingestion process. Format is `projects/`project`/locations/`
46784
+ # location`/documents/`folder_id``
46785
+ # Corresponds to the JSON property `folder`
46786
+ # @return [String]
46787
+ attr_accessor :folder
46788
+
46789
+ def initialize(**args)
46790
+ update!(**args)
46791
+ end
46792
+
46793
+ # Update properties of this object
46794
+ def update!(**args)
46795
+ @document_acl_policy = args[:document_acl_policy] if args.key?(:document_acl_policy)
46796
+ @enable_document_text_extraction = args[:enable_document_text_extraction] if args.key?(:enable_document_text_extraction)
46797
+ @folder = args[:folder] if args.key?(:folder)
46798
+ end
46799
+ end
46800
+
46540
46801
  # Request message for projectService.InitializeProject
46541
46802
  class GoogleCloudContentwarehouseV1InitializeProjectRequest
46542
46803
  include Google::Apis::Core::Hashable
@@ -46945,6 +47206,47 @@ module Google
46945
47206
  end
46946
47207
  end
46947
47208
 
47209
+ # The configuration of processing documents in Document Warehouse with DocAi
47210
+ # processors pipeline.
47211
+ class GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline
47212
+ include Google::Apis::Core::Hashable
47213
+
47214
+ # The list of all the resource names of the documents to be processed. Format:
47215
+ # projects/`project_number`/locations/`location`/documents/`document_id`.
47216
+ # Corresponds to the JSON property `documents`
47217
+ # @return [Array<String>]
47218
+ attr_accessor :documents
47219
+
47220
+ # The Cloud Storage folder path used to store the exported documents before
47221
+ # being sent to CDW. Format: `gs:///`.
47222
+ # Corresponds to the JSON property `exportFolderPath`
47223
+ # @return [String]
47224
+ attr_accessor :export_folder_path
47225
+
47226
+ # The DocAI processor information.
47227
+ # Corresponds to the JSON property `processorInfo`
47228
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
47229
+ attr_accessor :processor_info
47230
+
47231
+ # The Cloud Storage folder path used to store the raw results from processors.
47232
+ # Format: `gs:///`.
47233
+ # Corresponds to the JSON property `processorResultsFolderPath`
47234
+ # @return [String]
47235
+ attr_accessor :processor_results_folder_path
47236
+
47237
+ def initialize(**args)
47238
+ update!(**args)
47239
+ end
47240
+
47241
+ # Update properties of this object
47242
+ def update!(**args)
47243
+ @documents = args[:documents] if args.key?(:documents)
47244
+ @export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
47245
+ @processor_info = args[:processor_info] if args.key?(:processor_info)
47246
+ @processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
47247
+ end
47248
+ end
47249
+
46948
47250
  # The DocAI processor information.
46949
47251
  class GoogleCloudContentwarehouseV1ProcessorInfo
46950
47252
  include Google::Apis::Core::Hashable
@@ -47811,6 +48113,52 @@ module Google
47811
48113
  end
47812
48114
  end
47813
48115
 
48116
+ # Request message for DocumentService.RunPipeline.
48117
+ class GoogleCloudContentwarehouseV1RunPipelineRequest
48118
+ include Google::Apis::Core::Hashable
48119
+
48120
+ # The configuration of exporting documents from the Document Warehouse to CDW
48121
+ # pipeline.
48122
+ # Corresponds to the JSON property `exportCdwPipeline`
48123
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ExportToCdwPipeline]
48124
+ attr_accessor :export_cdw_pipeline
48125
+
48126
+ # The configuration of the Cloud Storage Ingestion pipeline.
48127
+ # Corresponds to the JSON property `gcsIngestPipeline`
48128
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestPipeline]
48129
+ attr_accessor :gcs_ingest_pipeline
48130
+
48131
+ # The configuration of the Cloud Storage Ingestion with DocAI Processors
48132
+ # pipeline.
48133
+ # Corresponds to the JSON property `gcsIngestWithDocAiProcessorsPipeline`
48134
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline]
48135
+ attr_accessor :gcs_ingest_with_doc_ai_processors_pipeline
48136
+
48137
+ # The configuration of processing documents in Document Warehouse with DocAi
48138
+ # processors pipeline.
48139
+ # Corresponds to the JSON property `processWithDocAiPipeline`
48140
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline]
48141
+ attr_accessor :process_with_doc_ai_pipeline
48142
+
48143
+ # Meta information is used to improve the performance of the service.
48144
+ # Corresponds to the JSON property `requestMetadata`
48145
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RequestMetadata]
48146
+ attr_accessor :request_metadata
48147
+
48148
+ def initialize(**args)
48149
+ update!(**args)
48150
+ end
48151
+
48152
+ # Update properties of this object
48153
+ def update!(**args)
48154
+ @export_cdw_pipeline = args[:export_cdw_pipeline] if args.key?(:export_cdw_pipeline)
48155
+ @gcs_ingest_pipeline = args[:gcs_ingest_pipeline] if args.key?(:gcs_ingest_pipeline)
48156
+ @gcs_ingest_with_doc_ai_processors_pipeline = args[:gcs_ingest_with_doc_ai_processors_pipeline] if args.key?(:gcs_ingest_with_doc_ai_processors_pipeline)
48157
+ @process_with_doc_ai_pipeline = args[:process_with_doc_ai_pipeline] if args.key?(:process_with_doc_ai_pipeline)
48158
+ @request_metadata = args[:request_metadata] if args.key?(:request_metadata)
48159
+ end
48160
+ end
48161
+
47814
48162
  # Request message for DocumentService.SearchDocuments.
47815
48163
  class GoogleCloudContentwarehouseV1SearchDocumentsRequest
47816
48164
  include Google::Apis::Core::Hashable
@@ -48031,22 +48379,22 @@ module Google
48031
48379
  # evaluates to `true`. A condition can add constraints based on attributes of
48032
48380
  # the request, the resource, or both. To learn which resources support
48033
48381
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
48034
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
48382
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
48035
48383
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
48036
48384
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
48037
48385
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
48038
48386
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
48039
48387
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
48040
48388
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
48041
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
48042
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
48043
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
48044
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
48045
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
48046
- # access description: Does not grant access after Sep 2020 expression: request.
48047
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
48048
- # a description of IAM and its features, see the [IAM documentation](https://
48049
- # cloud.google.com/iam/docs/).
48389
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
48390
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
48391
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
48392
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
48393
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
48394
+ # title: expirable access description: Does not grant access after Sep 2020
48395
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
48396
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
48397
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
48050
48398
  # Corresponds to the JSON property `policy`
48051
48399
  # @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
48052
48400
  attr_accessor :policy
@@ -48095,22 +48443,22 @@ module Google
48095
48443
  # evaluates to `true`. A condition can add constraints based on attributes of
48096
48444
  # the request, the resource, or both. To learn which resources support
48097
48445
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
48098
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
48446
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
48099
48447
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
48100
48448
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
48101
48449
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
48102
48450
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
48103
48451
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
48104
48452
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
48105
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
48106
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
48107
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
48108
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
48109
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
48110
- # access description: Does not grant access after Sep 2020 expression: request.
48111
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
48112
- # a description of IAM and its features, see the [IAM documentation](https://
48113
- # cloud.google.com/iam/docs/).
48453
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
48454
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
48455
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
48456
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
48457
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
48458
+ # title: expirable access description: Does not grant access after Sep 2020
48459
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
48460
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
48461
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
48114
48462
  # Corresponds to the JSON property `policy`
48115
48463
  # @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
48116
48464
  attr_accessor :policy
@@ -50713,22 +51061,22 @@ module Google
50713
51061
  # evaluates to `true`. A condition can add constraints based on attributes of
50714
51062
  # the request, the resource, or both. To learn which resources support
50715
51063
  # conditions in their IAM policies, see the [IAM documentation](https://cloud.
50716
- # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
51064
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
50717
51065
  # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
50718
51066
  # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
50719
51067
  # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
50720
51068
  # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
50721
51069
  # ], "condition": ` "title": "expirable access", "description": "Does not grant
50722
51070
  # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
50723
- # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
50724
- # bindings: - members: - user:mike@example.com - group:admins@example.com -
50725
- # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
50726
- # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
50727
- # com role: roles/resourcemanager.organizationViewer condition: title: expirable
50728
- # access description: Does not grant access after Sep 2020 expression: request.
50729
- # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
50730
- # a description of IAM and its features, see the [IAM documentation](https://
50731
- # cloud.google.com/iam/docs/).
51071
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
51072
+ # example:** ``` bindings: - members: - user:mike@example.com - group:admins@
51073
+ # example.com - domain:google.com - serviceAccount:my-project-id@appspot.
51074
+ # gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
51075
+ # user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
51076
+ # title: expirable access description: Does not grant access after Sep 2020
51077
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
51078
+ # BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
51079
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
50732
51080
  class GoogleIamV1Policy
50733
51081
  include Google::Apis::Core::Hashable
50734
51082
 
@@ -51601,13 +51949,13 @@ module Google
51601
51949
  # @return [String]
51602
51950
  attr_accessor :name
51603
51951
 
51604
- # The normal response of the operation in case of success. If the original
51605
- # method returns no data on success, such as `Delete`, the response is `google.
51606
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
51607
- # the response should be the resource. For other methods, the response should
51608
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
51609
- # example, if the original method name is `TakeSnapshot()`, the inferred
51610
- # response type is `TakeSnapshotResponse`.
51952
+ # The normal, successful response of the operation. If the original method
51953
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
51954
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
51955
+ # response should be the resource. For other methods, the response should have
51956
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
51957
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
51958
+ # `TakeSnapshotResponse`.
51611
51959
  # Corresponds to the JSON property `response`
51612
51960
  # @return [Hash<String,Object>]
51613
51961
  attr_accessor :response
@@ -57109,7 +57457,7 @@ module Google
57109
57457
  end
57110
57458
  end
57111
57459
 
57112
- # Next Tag: 49
57460
+ # Next Tag: 51
57113
57461
  class ImageRepositoryContentBasedVideoMetadata
57114
57462
  include Google::Apis::Core::Hashable
57115
57463
 
@@ -57151,6 +57499,11 @@ module Google
57151
57499
  # @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureSetData]
57152
57500
  attr_accessor :golden7_soapbox_summary
57153
57501
 
57502
+ # Information on frame-level people feature blob. (go/vpf-frame-features)
57503
+ # Corresponds to the JSON property `golden7SoapboxTracksBlobInfo`
57504
+ # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaSignalsBlobInfo]
57505
+ attr_accessor :golden7_soapbox_tracks_blob_info
57506
+
57154
57507
  # This message is used to store information about Inline Playback in the
57155
57508
  # VideoWebAttachment portion of the websearch index. LINT.IfChange
57156
57509
  # Corresponds to the JSON property `inlinePlayback`
@@ -57183,6 +57536,11 @@ module Google
57183
57536
  # @return [Google::Apis::ContentwarehouseV1::VideoMediaInfo]
57184
57537
  attr_accessor :media_info
57185
57538
 
57539
+ # This proto stores perdocs extracted from video frames.
57540
+ # Corresponds to the JSON property `multiThumbnailsFramePerdocs`
57541
+ # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryFramePerdocs]
57542
+ attr_accessor :multi_thumbnails_frame_perdocs
57543
+
57186
57544
  # This defines the per-doc data which is extracted from thumbnails and
57187
57545
  # propagated over to indexing. It contains all information that can be used for
57188
57546
  # restricts. Next tag id: 129
@@ -57341,12 +57699,14 @@ module Google
57341
57699
  @cloud_speech_signals = args[:cloud_speech_signals] if args.key?(:cloud_speech_signals)
57342
57700
  @feature_set_data = args[:feature_set_data] if args.key?(:feature_set_data)
57343
57701
  @golden7_soapbox_summary = args[:golden7_soapbox_summary] if args.key?(:golden7_soapbox_summary)
57702
+ @golden7_soapbox_tracks_blob_info = args[:golden7_soapbox_tracks_blob_info] if args.key?(:golden7_soapbox_tracks_blob_info)
57344
57703
  @inline_playback = args[:inline_playback] if args.key?(:inline_playback)
57345
57704
  @language_identification = args[:language_identification] if args.key?(:language_identification)
57346
57705
  @legos_annotation_data = args[:legos_annotation_data] if args.key?(:legos_annotation_data)
57347
57706
  @lms_preview_frame_perdocs = args[:lms_preview_frame_perdocs] if args.key?(:lms_preview_frame_perdocs)
57348
57707
  @loudness_data = args[:loudness_data] if args.key?(:loudness_data)
57349
57708
  @media_info = args[:media_info] if args.key?(:media_info)
57709
+ @multi_thumbnails_frame_perdocs = args[:multi_thumbnails_frame_perdocs] if args.key?(:multi_thumbnails_frame_perdocs)
57350
57710
  @representative_frame_data = args[:representative_frame_data] if args.key?(:representative_frame_data)
57351
57711
  @s3_asr = args[:s3_asr] if args.key?(:s3_asr)
57352
57712
  @s3_language_identification = args[:s3_language_identification] if args.key?(:s3_language_identification)
@@ -58320,7 +58680,7 @@ module Google
58320
58680
  attr_accessor :audio_only
58321
58681
  alias_method :audio_only?, :audio_only
58322
58682
 
58323
- # Next Tag: 49
58683
+ # Next Tag: 51
58324
58684
  # Corresponds to the JSON property `contentBasedMetadata`
58325
58685
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryContentBasedVideoMetadata]
58326
58686
  attr_accessor :content_based_metadata
@@ -58474,6 +58834,16 @@ module Google
58474
58834
  # @return [Float]
58475
58835
  attr_accessor :csai_score
58476
58836
 
58837
+ # Experimental score. Do not use. Google confidential!
58838
+ # Corresponds to the JSON property `csamA1Score`
58839
+ # @return [Float]
58840
+ attr_accessor :csam_a1_score
58841
+
58842
+ # Experimental score. Do not use. Google confidential!
58843
+ # Corresponds to the JSON property `csamAgeIndeterminateScore`
58844
+ # @return [Float]
58845
+ attr_accessor :csam_age_indeterminate_score
58846
+
58477
58847
  # This field contains the probability that an image is inappropriate for Images
58478
58848
  # Universal, according to this policy: go/iupolicy.
58479
58849
  # Corresponds to the JSON property `iuInappropriateScore`
@@ -58500,6 +58870,12 @@ module Google
58500
58870
  # @return [Float]
58501
58871
  attr_accessor :racy_score
58502
58872
 
58873
+ # This score is related to racy/sexual images where scores have semantic meaning
58874
+ # from 0 to 1.
58875
+ # Corresponds to the JSON property `semanticSexualizationScore`
58876
+ # @return [Float]
58877
+ attr_accessor :semantic_sexualization_score
58878
+
58503
58879
  #
58504
58880
  # Corresponds to the JSON property `spoofScore`
58505
58881
  # @return [Float]
@@ -58531,11 +58907,14 @@ module Google
58531
58907
  def update!(**args)
58532
58908
  @child_score = args[:child_score] if args.key?(:child_score)
58533
58909
  @csai_score = args[:csai_score] if args.key?(:csai_score)
58910
+ @csam_a1_score = args[:csam_a1_score] if args.key?(:csam_a1_score)
58911
+ @csam_age_indeterminate_score = args[:csam_age_indeterminate_score] if args.key?(:csam_age_indeterminate_score)
58534
58912
  @iu_inappropriate_score = args[:iu_inappropriate_score] if args.key?(:iu_inappropriate_score)
58535
58913
  @medical_score = args[:medical_score] if args.key?(:medical_score)
58536
58914
  @pedo_score = args[:pedo_score] if args.key?(:pedo_score)
58537
58915
  @porn_score = args[:porn_score] if args.key?(:porn_score)
58538
58916
  @racy_score = args[:racy_score] if args.key?(:racy_score)
58917
+ @semantic_sexualization_score = args[:semantic_sexualization_score] if args.key?(:semantic_sexualization_score)
58539
58918
  @spoof_score = args[:spoof_score] if args.key?(:spoof_score)
58540
58919
  @version = args[:version] if args.key?(:version)
58541
58920
  @violence_score = args[:violence_score] if args.key?(:violence_score)
@@ -60372,7 +60751,7 @@ module Google
60372
60751
  # handle newly introduced data without modifying their code. Please also see the
60373
60752
  # comment of FieldProjector above. There are also some fields in DataInfo that
60374
60753
  # annotate who generates the data, the Index Signals or Goldmine annotator name.
60375
- # Next ID: 537
60754
+ # Next ID: 538
60376
60755
  class IndexingDocjoinerDataVersion
60377
60756
  include Google::Apis::Core::Hashable
60378
60757
 
@@ -60716,6 +61095,11 @@ module Google
60716
61095
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
60717
61096
  attr_accessor :image_stock_stock_image_annotation
60718
61097
 
61098
+ # END DATA FIELDS
61099
+ # Corresponds to the JSON property `imageembed`
61100
+ # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
61101
+ attr_accessor :imageembed
61102
+
60719
61103
  #
60720
61104
  # Corresponds to the JSON property `indexingAnnotationsAnnotationMeta`
60721
61105
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
@@ -62871,7 +63255,7 @@ module Google
62871
63255
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
62872
63256
  attr_accessor :travel_assistant_travel_doc_classification
62873
63257
 
62874
- # END DATA FIELDS
63258
+ #
62875
63259
  # Corresponds to the JSON property `ucpSignal`
62876
63260
  # @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersionVersionInfo]
62877
63261
  attr_accessor :ucp_signal
@@ -63105,6 +63489,7 @@ module Google
63105
63489
  @image_repository_picasa_geo_data = args[:image_repository_picasa_geo_data] if args.key?(:image_repository_picasa_geo_data)
63106
63490
  @image_search_rejected_image_info_list = args[:image_search_rejected_image_info_list] if args.key?(:image_search_rejected_image_info_list)
63107
63491
  @image_stock_stock_image_annotation = args[:image_stock_stock_image_annotation] if args.key?(:image_stock_stock_image_annotation)
63492
+ @imageembed = args[:imageembed] if args.key?(:imageembed)
63108
63493
  @indexing_annotations_annotation_meta = args[:indexing_annotations_annotation_meta] if args.key?(:indexing_annotations_annotation_meta)
63109
63494
  @indexing_annotations_app_market_app_market_annotation = args[:indexing_annotations_app_market_app_market_annotation] if args.key?(:indexing_annotations_app_market_app_market_annotation)
63110
63495
  @indexing_annotations_apps_cache_colon_annotation = args[:indexing_annotations_apps_cache_colon_annotation] if args.key?(:indexing_annotations_apps_cache_colon_annotation)
@@ -68827,7 +69212,7 @@ module Google
68827
69212
 
68828
69213
  # Signals to be used by the Prefulfillment Ranker. Derived from the
68829
69214
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
68830
- # Next ID: 60
69215
+ # Next ID: 61
68831
69216
  # Corresponds to the JSON property `prefulfillmentSignals`
68832
69217
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
68833
69218
  attr_accessor :prefulfillment_signals
@@ -69422,13 +69807,6 @@ module Google
69422
69807
  # @return [Float]
69423
69808
  attr_accessor :in_query_max_effective_arg_span_length
69424
69809
 
69425
- # The proto that holds the complete call path info of the QRewrite client (e.g.
69426
- # the QUS's phase like "RBT","QBT"; the QUS's candidate type like "Identity";
69427
- # and the ACE's candidate type like "FuzzyMatcher"). Next ID: 5 ACE tags
69428
- # Corresponds to the JSON property `qrewriteCallPathInfo`
69429
- # @return [Google::Apis::ContentwarehouseV1::NlpLoggingQRewriteClientCallPathInfo]
69430
- attr_accessor :qrewrite_call_path_info
69431
-
69432
69810
  # This proto holds the fingerprint of the call path info of QRewrite client (e.g.
69433
69811
  # the QUS's phase like "RBT","QBT"; the QUS's candidate type like "Identity";
69434
69812
  # and the ACE's candidate type like "FuzzyMatcher").
@@ -69450,7 +69828,6 @@ module Google
69450
69828
  @calibrated_parsing_score = args[:calibrated_parsing_score] if args.key?(:calibrated_parsing_score)
69451
69829
  @effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
69452
69830
  @in_query_max_effective_arg_span_length = args[:in_query_max_effective_arg_span_length] if args.key?(:in_query_max_effective_arg_span_length)
69453
- @qrewrite_call_path_info = args[:qrewrite_call_path_info] if args.key?(:qrewrite_call_path_info)
69454
69831
  @qrewrite_call_path_info_fingerprint = args[:qrewrite_call_path_info_fingerprint] if args.key?(:qrewrite_call_path_info_fingerprint)
69455
69832
  @source = args[:source] if args.key?(:source)
69456
69833
  end
@@ -70615,7 +70992,18 @@ module Google
70615
70992
  end
70616
70993
  end
70617
70994
 
70618
- #
70995
+ # A LocationType configures a value whose type is a Location message, for
70996
+ # example, the output of the Location subgrammar. Note that this location type
70997
+ # is not the same as a "location entity" (an entity with a location indicating
70998
+ # type/collection, which is annotated by QRef). The scope of a LocationType is
70999
+ # usually broader than a location entity, it may represent - businesses, places,
71000
+ # and POIs (location entities from QRef) - addresses ("123 Main St., New York,
71001
+ # NY") or even just coordinates (latitude, longitude) - business categories (e.g.
71002
+ # , "pharmacies" or "gas stations") - SAFT locations - aliases (including "home"
71003
+ # and "work") - contacts - combinations of a location with modifiers and
71004
+ # constraints (e.g., "chinese restaurant near me" or "cheap kid-friendly hotels")
71005
+ # - ungrounded locations produced by ungrounded_location model See go/location-
71006
+ # type for the details of the location proto output by location subgrammar.
70619
71007
  class KnowledgeAnswersOpaqueLocationType
70620
71008
  include Google::Apis::Core::Hashable
70621
71009
 
@@ -70916,7 +71304,18 @@ module Google
70916
71304
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueHomeAutomationDeviceType]
70917
71305
  attr_accessor :home_automation_device_type
70918
71306
 
70919
- #
71307
+ # A LocationType configures a value whose type is a Location message, for
71308
+ # example, the output of the Location subgrammar. Note that this location type
71309
+ # is not the same as a "location entity" (an entity with a location indicating
71310
+ # type/collection, which is annotated by QRef). The scope of a LocationType is
71311
+ # usually broader than a location entity, it may represent - businesses, places,
71312
+ # and POIs (location entities from QRef) - addresses ("123 Main St., New York,
71313
+ # NY") or even just coordinates (latitude, longitude) - business categories (e.g.
71314
+ # , "pharmacies" or "gas stations") - SAFT locations - aliases (including "home"
71315
+ # and "work") - contacts - combinations of a location with modifiers and
71316
+ # constraints (e.g., "chinese restaurant near me" or "cheap kid-friendly hotels")
71317
+ # - ungrounded locations produced by ungrounded_location model See go/location-
71318
+ # type for the details of the location proto output by location subgrammar.
70920
71319
  # Corresponds to the JSON property `locationType`
70921
71320
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueLocationType]
70922
71321
  attr_accessor :location_type
@@ -75571,85 +75970,6 @@ module Google
75571
75970
  end
75572
75971
  end
75573
75972
 
75574
- # The proto that holds the complete call path info of the QRewrite client (e.g.
75575
- # the QUS's phase like "RBT","QBT"; the QUS's candidate type like "Identity";
75576
- # and the ACE's candidate type like "FuzzyMatcher"). Next ID: 5 ACE tags
75577
- class NlpLoggingQRewriteClientCallPathInfo
75578
- include Google::Apis::Core::Hashable
75579
-
75580
- # A complete query candidate Id includes a list of Id fields. The Id field order
75581
- # is maintained as the order by which each field is appended to the list.
75582
- # Corresponds to the JSON property `qrewriteCandidateId`
75583
- # @return [Google::Apis::ContentwarehouseV1::QualityQrewriteCandidateId]
75584
- attr_accessor :qrewrite_candidate_id
75585
-
75586
- # A complete query candidate Id includes a list of Id fields. The Id field order
75587
- # is maintained as the order by which each field is appended to the list.
75588
- # Corresponds to the JSON property `qusCandidateId`
75589
- # @return [Google::Apis::ContentwarehouseV1::QualityQrewriteCandidateId]
75590
- attr_accessor :qus_candidate_id
75591
-
75592
- # The proto that holds the complete call path info of the QUS client (e.g. the
75593
- # candidate type like "Identity", "FuzzyMatcher"; The intent generator like "
75594
- # QUS_IG" in ACE).
75595
- # Corresponds to the JSON property `qusClientCallPathInfo`
75596
- # @return [Google::Apis::ContentwarehouseV1::NlpLoggingQusClientCallPathInfo]
75597
- attr_accessor :qus_client_call_path_info
75598
-
75599
- # Indicates which QUS phase sends the QRewrite request. Note if the QRewrite
75600
- # response is reused in succeeding phases, this field should not be overridden
75601
- # and it is always the phase that initially sends the RPC.
75602
- # Corresponds to the JSON property `qusPhase`
75603
- # @return [String]
75604
- attr_accessor :qus_phase
75605
-
75606
- def initialize(**args)
75607
- update!(**args)
75608
- end
75609
-
75610
- # Update properties of this object
75611
- def update!(**args)
75612
- @qrewrite_candidate_id = args[:qrewrite_candidate_id] if args.key?(:qrewrite_candidate_id)
75613
- @qus_candidate_id = args[:qus_candidate_id] if args.key?(:qus_candidate_id)
75614
- @qus_client_call_path_info = args[:qus_client_call_path_info] if args.key?(:qus_client_call_path_info)
75615
- @qus_phase = args[:qus_phase] if args.key?(:qus_phase)
75616
- end
75617
- end
75618
-
75619
- # The proto that holds the complete call path info of the QUS client (e.g. the
75620
- # candidate type like "Identity", "FuzzyMatcher"; The intent generator like "
75621
- # QUS_IG" in ACE).
75622
- class NlpLoggingQusClientCallPathInfo
75623
- include Google::Apis::Core::Hashable
75624
-
75625
- # rewriter_type forms part of a unique key to be used to label QUS Requests from
75626
- # ACE. The need to distinguish between the variety of calls from AS into QUS is
75627
- # for two reasons: (a) currently, assistant eval can do NLU Eval only on certain
75628
- # rewrites (b) later AS Hermetic and NLU Eval can be integrated In the furure,
75629
- # the unique key will be expanded to add intent_generator_type or something
75630
- # similar. There are ongoing discussions to confirm these plans
75631
- # Corresponds to the JSON property `rewriterType`
75632
- # @return [String]
75633
- attr_accessor :rewriter_type
75634
-
75635
- # The timestamp when QUS request is built in ACE. For now we don't care about
75636
- # the actual meaning of this tag, and only want to guarantee its uniqueness per
75637
- # QUS call.
75638
- # Corresponds to the JSON property `temporaryAceTag`
75639
- # @return [Fixnum]
75640
- attr_accessor :temporary_ace_tag
75641
-
75642
- def initialize(**args)
75643
- update!(**args)
75644
- end
75645
-
75646
- # Update properties of this object
75647
- def update!(**args)
75648
- @rewriter_type = args[:rewriter_type] if args.key?(:rewriter_type)
75649
- @temporary_ace_tag = args[:temporary_ace_tag] if args.key?(:temporary_ace_tag)
75650
- end
75651
- end
75652
-
75653
75973
  #
75654
75974
  class NlpMeaningMeaningRemodeling
75655
75975
  include Google::Apis::Core::Hashable
@@ -77788,7 +78108,7 @@ module Google
77788
78108
  attr_accessor :association
77789
78109
 
77790
78110
  # A proto for storing inferred and reconciled metadata for Science Search. Next
77791
- # available tag: 72
78111
+ # available tag: 73
77792
78112
  # Corresponds to the JSON property `datasetMetadata`
77793
78113
  # @return [Google::Apis::ContentwarehouseV1::ResearchScienceSearchReconciledMetadata]
77794
78114
  attr_accessor :dataset_metadata
@@ -94229,9 +94549,9 @@ module Google
94229
94549
  # PToken expresses policy-relevant properties of the data objects being
94230
94550
  # processed and stored in Google's production systems. See go/ptoken to learn
94231
94551
  # more. PTokens are intentionally opaque: go/ptokens-are-opaque. The following
94232
- # should be considered implementation details. Next ID: 9 INTERNAL: If both the
94233
- # Scalar and the Compound extensions are populated, we use the Compound and
94234
- # discard the Scalar. In principle, this should never happen.
94552
+ # should be considered implementation details. Next ID: 9 LINT.IfChange INTERNAL:
94553
+ # If both the Scalar and the Compound extensions are populated, we use the
94554
+ # Compound and discard the Scalar. In principle, this should never happen.
94235
94555
  class PtokenPToken
94236
94556
  include Google::Apis::Core::Hashable
94237
94557
 
@@ -97153,6 +97473,11 @@ module Google
97153
97473
  # @return [Fixnum]
97154
97474
  attr_accessor :value_int32
97155
97475
 
97476
+ #
97477
+ # Corresponds to the JSON property `valueString`
97478
+ # @return [String]
97479
+ attr_accessor :value_string
97480
+
97156
97481
  #
97157
97482
  # Corresponds to the JSON property `valueUint32`
97158
97483
  # @return [Fixnum]
@@ -97173,6 +97498,7 @@ module Google
97173
97498
  @value_double = args[:value_double] if args.key?(:value_double)
97174
97499
  @value_float = args[:value_float] if args.key?(:value_float)
97175
97500
  @value_int32 = args[:value_int32] if args.key?(:value_int32)
97501
+ @value_string = args[:value_string] if args.key?(:value_string)
97176
97502
  @value_uint32 = args[:value_uint32] if args.key?(:value_uint32)
97177
97503
  @version_id = args[:version_id] if args.key?(:version_id)
97178
97504
  end
@@ -99148,52 +99474,6 @@ module Google
99148
99474
  end
99149
99475
  end
99150
99476
 
99151
- # A complete query candidate Id includes a list of Id fields. The Id field order
99152
- # is maintained as the order by which each field is appended to the list.
99153
- class QualityQrewriteCandidateId
99154
- include Google::Apis::Core::Hashable
99155
-
99156
- #
99157
- # Corresponds to the JSON property `field`
99158
- # @return [Array<Google::Apis::ContentwarehouseV1::QualityQrewriteCandidateIdField>]
99159
- attr_accessor :field
99160
-
99161
- def initialize(**args)
99162
- update!(**args)
99163
- end
99164
-
99165
- # Update properties of this object
99166
- def update!(**args)
99167
- @field = args[:field] if args.key?(:field)
99168
- end
99169
- end
99170
-
99171
- # The message represents a field in the query candidate Id.
99172
- class QualityQrewriteCandidateIdField
99173
- include Google::Apis::Core::Hashable
99174
-
99175
- # If needed, a servlet can use this field to assign an ID to distinguish between
99176
- # different candidates of the same CandidateType.
99177
- # Corresponds to the JSON property `index`
99178
- # @return [Fixnum]
99179
- attr_accessor :index
99180
-
99181
- #
99182
- # Corresponds to the JSON property `type`
99183
- # @return [String]
99184
- attr_accessor :type
99185
-
99186
- def initialize(**args)
99187
- update!(**args)
99188
- end
99189
-
99190
- # Update properties of this object
99191
- def update!(**args)
99192
- @index = args[:index] if args.key?(:index)
99193
- @type = args[:type] if args.key?(:type)
99194
- end
99195
- end
99196
-
99197
99477
  #
99198
99478
  class QualityQrewriteContactCalendarName
99199
99479
  include Google::Apis::Core::Hashable
@@ -100169,7 +100449,7 @@ module Google
100169
100449
  # that we can control individual fields that will sit in Muppet. Data here will
100170
100450
  # be used for scoring organic shopping web results and previews. Many shopping
100171
100451
  # related signals, e.g., product review score, are also served from this
100172
- # attachment. Next ID: 21
100452
+ # attachment. DEPRECATED: Please use UDR (go/udr) instead.
100173
100453
  class QualityShoppingShoppingAttachment
100174
100454
  include Google::Apis::Core::Hashable
100175
100455
 
@@ -101376,6 +101656,37 @@ module Google
101376
101656
  end
101377
101657
  end
101378
101658
 
101659
+ # Unreliable dates signals per URL. go/unreliable-dates-dd
101660
+ class QualityTimebasedDateReliability
101661
+ include Google::Apis::Core::Hashable
101662
+
101663
+ #
101664
+ # Corresponds to the JSON property `petacatScores`
101665
+ # @return [Array<Google::Apis::ContentwarehouseV1::QualityTimebasedPetacatDateReliability>]
101666
+ attr_accessor :petacat_scores
101667
+
101668
+ # max(petacat.unreliable_dates_score)
101669
+ # Corresponds to the JSON property `unreliableDatesScore`
101670
+ # @return [Float]
101671
+ attr_accessor :unreliable_dates_score
101672
+
101673
+ # max(petacat.unreliable_dates_score * petacat.date_exposure_score)
101674
+ # Corresponds to the JSON property `unreliableDatesScoreExposureAdjusted`
101675
+ # @return [Float]
101676
+ attr_accessor :unreliable_dates_score_exposure_adjusted
101677
+
101678
+ def initialize(**args)
101679
+ update!(**args)
101680
+ end
101681
+
101682
+ # Update properties of this object
101683
+ def update!(**args)
101684
+ @petacat_scores = args[:petacat_scores] if args.key?(:petacat_scores)
101685
+ @unreliable_dates_score = args[:unreliable_dates_score] if args.key?(:unreliable_dates_score)
101686
+ @unreliable_dates_score_exposure_adjusted = args[:unreliable_dates_score_exposure_adjusted] if args.key?(:unreliable_dates_score_exposure_adjusted)
101687
+ end
101688
+ end
101689
+
101379
101690
  #
101380
101691
  class QualityTimebasedLastSignificantUpdate
101381
101692
  include Google::Apis::Core::Hashable
@@ -101394,6 +101705,11 @@ module Google
101394
101705
  # @return [Fixnum]
101395
101706
  attr_accessor :date
101396
101707
 
101708
+ # Unreliable dates signals per URL. go/unreliable-dates-dd
101709
+ # Corresponds to the JSON property `dateReliabilityInfo`
101710
+ # @return [Google::Apis::ContentwarehouseV1::QualityTimebasedDateReliability]
101711
+ attr_accessor :date_reliability_info
101712
+
101397
101713
  # The source the signal comes from.
101398
101714
  # Corresponds to the JSON property `source`
101399
101715
  # @return [String]
@@ -101407,6 +101723,7 @@ module Google
101407
101723
  def update!(**args)
101408
101724
  @adjustment_info = args[:adjustment_info] if args.key?(:adjustment_info)
101409
101725
  @date = args[:date] if args.key?(:date)
101726
+ @date_reliability_info = args[:date_reliability_info] if args.key?(:date_reliability_info)
101410
101727
  @source = args[:source] if args.key?(:source)
101411
101728
  end
101412
101729
  end
@@ -101495,6 +101812,63 @@ module Google
101495
101812
  end
101496
101813
  end
101497
101814
 
101815
+ # Unreliable dates signals per Domain+Petacat. go/unreliable-dates-dd
101816
+ class QualityTimebasedPetacatDateReliability
101817
+ include Google::Apis::Core::Hashable
101818
+
101819
+ #
101820
+ # Corresponds to the JSON property `contentageReliability`
101821
+ # @return [Float]
101822
+ attr_accessor :contentage_reliability
101823
+
101824
+ #
101825
+ # Corresponds to the JSON property `dateExposure`
101826
+ # @return [Float]
101827
+ attr_accessor :date_exposure
101828
+
101829
+ # This is date_exposure after sigmoid transformation.
101830
+ # Corresponds to the JSON property `dateExposureScore`
101831
+ # @return [Float]
101832
+ attr_accessor :date_exposure_score
101833
+
101834
+ # Auxiliary scores. The unreliable_dates_score is a product of these scores excl.
101835
+ # date_exposure. The definition for each of the scores you can find at go/
101836
+ # unreliable-dates-dd
101837
+ # Corresponds to the JSON property `dateVsContentageDistributionSkew`
101838
+ # @return [Float]
101839
+ attr_accessor :date_vs_contentage_distribution_skew
101840
+
101841
+ #
101842
+ # Corresponds to the JSON property `isForumQnaSocialMediaProbability`
101843
+ # @return [Float]
101844
+ attr_accessor :is_forum_qna_social_media_probability
101845
+
101846
+ # go/verticals4
101847
+ # Corresponds to the JSON property `petacatId`
101848
+ # @return [Fixnum]
101849
+ attr_accessor :petacat_id
101850
+
101851
+ # This is a final score excl. date exposure component.
101852
+ # Corresponds to the JSON property `unreliableDatesScore`
101853
+ # @return [Float]
101854
+ attr_accessor :unreliable_dates_score
101855
+
101856
+ def initialize(**args)
101857
+ update!(**args)
101858
+ end
101859
+
101860
+ # Update properties of this object
101861
+ def update!(**args)
101862
+ @contentage_reliability = args[:contentage_reliability] if args.key?(:contentage_reliability)
101863
+ @date_exposure = args[:date_exposure] if args.key?(:date_exposure)
101864
+ @date_exposure_score = args[:date_exposure_score] if args.key?(:date_exposure_score)
101865
+ @date_vs_contentage_distribution_skew = args[:date_vs_contentage_distribution_skew] if args.key?(:date_vs_contentage_distribution_skew)
101866
+ @is_forum_qna_social_media_probability = args[:is_forum_qna_social_media_probability] if args.key?(:is_forum_qna_social_media_probability)
101867
+ @petacat_id = args[:petacat_id] if args.key?(:petacat_id)
101868
+ @unreliable_dates_score = args[:unreliable_dates_score] if args.key?(:unreliable_dates_score)
101869
+ end
101870
+ end
101871
+
101498
101872
  # Next ID: 21
101499
101873
  class QualityTimebasedSyntacticDate
101500
101874
  include Google::Apis::Core::Hashable
@@ -104759,17 +105133,12 @@ module Google
104759
105133
  # @return [Float]
104760
105134
  attr_accessor :entity_idf
104761
105135
 
104762
- # Probability that any given name of this entity is capitalized.
104763
- # Corresponds to the JSON property `nameCapitalizationProb`
104764
- # @return [Float]
104765
- attr_accessor :name_capitalization_prob
104766
-
104767
105136
  # The following fields are deprecated and should eventually be removed. They use
104768
105137
  # data and rules that have not been refreshed for ~10y and KG has changed a lot
104769
105138
  # in the meantime.
104770
- # Corresponds to the JSON property `personProb`
105139
+ # Corresponds to the JSON property `nameCapitalizationProb`
104771
105140
  # @return [Float]
104772
- attr_accessor :person_prob
105141
+ attr_accessor :name_capitalization_prob
104773
105142
 
104774
105143
  def initialize(**args)
104775
105144
  update!(**args)
@@ -104782,7 +105151,6 @@ module Google
104782
105151
  @common_ngram_prob = args[:common_ngram_prob] if args.key?(:common_ngram_prob)
104783
105152
  @entity_idf = args[:entity_idf] if args.key?(:entity_idf)
104784
105153
  @name_capitalization_prob = args[:name_capitalization_prob] if args.key?(:name_capitalization_prob)
104785
- @person_prob = args[:person_prob] if args.key?(:person_prob)
104786
105154
  end
104787
105155
  end
104788
105156
 
@@ -105122,13 +105490,23 @@ module Google
105122
105490
  # @return [Float]
105123
105491
  attr_accessor :score
105124
105492
 
105493
+ # Fingerprint of type hrid http://cs/google3/repository/webref/universal/base/kg-
105494
+ # schema.h;rcl=543911652;l=51
105495
+ # Corresponds to the JSON property `typeFprint`
105496
+ # @return [Fixnum]
105497
+ attr_accessor :type_fprint
105498
+
105125
105499
  # Mid of this type. Equivalent to type_name, but is more compact. When present,
105126
- # overrides type_name (which can be omitted in this case to save space).
105500
+ # overrides type_name (which can be omitted in this case to save space). This
105501
+ # field is deprecated and migrated to fprint.
105127
105502
  # Corresponds to the JSON property `typeMid`
105128
105503
  # @return [Fixnum]
105129
105504
  attr_accessor :type_mid
105130
105505
 
105131
- # e.g.: "/business/industry", "/book/book_subject", "/people/person"...
105506
+ # e.g.: "/business/industry", "/book/book_subject", "/people/person"... HRID of
105507
+ # the type. May be missing for optimisation reasons in Refcon, but is present
105508
+ # for Qref/Webref. At least one of type_name or type_fprint will be present at
105509
+ # all times
105132
105510
  # Corresponds to the JSON property `typeName`
105133
105511
  # @return [String]
105134
105512
  attr_accessor :type_name
@@ -105141,6 +105519,7 @@ module Google
105141
105519
  def update!(**args)
105142
105520
  @provenance = args[:provenance] if args.key?(:provenance)
105143
105521
  @score = args[:score] if args.key?(:score)
105522
+ @type_fprint = args[:type_fprint] if args.key?(:type_fprint)
105144
105523
  @type_mid = args[:type_mid] if args.key?(:type_mid)
105145
105524
  @type_name = args[:type_name] if args.key?(:type_name)
105146
105525
  end
@@ -105194,7 +105573,9 @@ module Google
105194
105573
  # @return [Google::Apis::ContentwarehouseV1::GeostoreAddressProto]
105195
105574
  attr_accessor :address
105196
105575
 
105197
- #
105576
+ # This field is only provided through the online qref interface (QrefMetadata).
105577
+ # This is a fairly simple extraction from the /geo/type/feature/
105578
+ # address_proto_blob triple.
105198
105579
  # Corresponds to the JSON property `addressSynonyms`
105199
105580
  # @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefGeoMetadataProtoAddressSynonym>]
105200
105581
  attr_accessor :address_synonyms
@@ -109841,37 +110222,37 @@ module Google
109841
110222
  # @return [Google::Apis::ContentwarehouseV1::ResearchScamQueryMetadata]
109842
110223
  attr_accessor :query_metadata
109843
110224
 
109844
- # RestrictTokens - used to perform "restricted searches" where boolean rules are
109845
- # used to filter the subset of the database eligible for matching. We currently
109846
- # support V1 and V3 restrict systems. V3 restrict is a superset of V1 restrict.
109847
- # New users are encouraged to use V3 directly for its rich features and cleaner
109848
- # semantics. See the document go/scam-v3-restricts, or read the comments in //
109849
- # research/scam/proto/restricts.proto for details. Nevertheless, V1 restrict is
109850
- # still supported by ScaM team. There's some minor tradeoff of performance
109851
- # between V1 and V3. User may prefer V1 over V3 if performance is the first
109852
- # priority. However, the CPU cost between V1 and V3 should be very minor. -------
109853
- # -------------------------------------------------------------------- The
109854
- # semantics of V1 restrict is described below: V1 "forward" restricts: The
109855
- # dataset defines a many:many mapping between the database points and a token
109856
- # space. Each token names a set of tokens and each database point is a member of
109857
- # zero-to-many tokens. Queries specify zero-to-many whitelist and blacklist
109858
- # tokens that activate database points according to the following rules: * If
109859
- # whitelist_token is populated, the search will be restricted to points named by
109860
- # at least one whitelist token. If whitelist_token is empty, all points are
109861
- # whitelisted by default. * If blacklist_token is populated, it overrides the
109862
- # whitelist. Points named by a blacklisted token are *not* searched. * Note that,
109863
- # if neither whitelist_token nor blacklist_token is populated, the search
109864
- # remains unrestricted. ---------------------------------------------------------
109865
- # ------------------ V1 "reverse" restricts: Each database point is whitelisted
109866
- # and/or blacklisted for zero or more tokens, specified by whitelist_token and
109867
- # blacklist_token fields. Each query specifies zero or more tokens, and the same
109868
- # rules apply: * If a point's whitelist_token is populated, the point will only
109869
- # be searched if the query has at least one matching whitelist token. If
109870
- # whitelist_token is empty, the point is always whitelisted by default. * If a
109871
- # point's blacklist_token is populated, it overrides the whitelist. The point
109872
- # will be ignored for any query with a matching blacklist token. * Note that, if
109873
- # neither whitelist_token nor blacklist_token is populated, the point will
109874
- # always be searched. NEXT ID TO USE: 9
110225
+ # copybara:strip_begin RestrictTokens - used to perform "restricted searches"
110226
+ # where boolean rules are used to filter the subset of the database eligible for
110227
+ # matching. We currently support V1 and V3 restrict systems. V3 restrict is a
110228
+ # superset of V1 restrict. New users are encouraged to use V3 directly for its
110229
+ # rich features and cleaner semantics. See the document go/scam-v3-restricts, or
110230
+ # read the comments in //research/scam/proto/restricts.proto for details.
110231
+ # Nevertheless, V1 restrict is still supported by ScaM team. There's some minor
110232
+ # tradeoff of performance between V1 and V3. User may prefer V1 over V3 if
110233
+ # performance is the first priority. However, the CPU cost between V1 and V3
110234
+ # should be very minor. ---------------------------------------------------------
110235
+ # ------------------ The semantics of V1 restrict is described below: V1 "
110236
+ # forward" restricts: The dataset defines a many:many mapping between the
110237
+ # database points and a token space. Each token names a set of tokens and each
110238
+ # database point is a member of zero-to-many tokens. Queries specify zero-to-
110239
+ # many whitelist and blacklist tokens that activate database points according to
110240
+ # the following rules: * If whitelist_token is populated, the search will be
110241
+ # restricted to points named by at least one whitelist token. If whitelist_token
110242
+ # is empty, all points are whitelisted by default. * If blacklist_token is
110243
+ # populated, it overrides the whitelist. Points named by a blacklisted token are
110244
+ # *not* searched. * Note that, if neither whitelist_token nor blacklist_token is
110245
+ # populated, the search remains unrestricted. -----------------------------------
110246
+ # ---------------------------------------- V1 "reverse" restricts: Each database
110247
+ # point is whitelisted and/or blacklisted for zero or more tokens, specified by
110248
+ # whitelist_token and blacklist_token fields. Each query specifies zero or more
110249
+ # tokens, and the same rules apply: * If a point's whitelist_token is populated,
110250
+ # the point will only be searched if the query has at least one matching
110251
+ # whitelist token. If whitelist_token is empty, the point is always whitelisted
110252
+ # by default. * If a point's blacklist_token is populated, it overrides the
110253
+ # whitelist. The point will be ignored for any query with a matching blacklist
110254
+ # token. * Note that, if neither whitelist_token nor blacklist_token is
110255
+ # populated, the point will always be searched. NEXT ID TO USE: 9
109875
110256
  # Corresponds to the JSON property `restrictTokens`
109876
110257
  # @return [Google::Apis::ContentwarehouseV1::ResearchScamGenericFeatureVectorRestrictTokens]
109877
110258
  attr_accessor :restrict_tokens
@@ -109974,37 +110355,37 @@ module Google
109974
110355
  end
109975
110356
  end
109976
110357
 
109977
- # RestrictTokens - used to perform "restricted searches" where boolean rules are
109978
- # used to filter the subset of the database eligible for matching. We currently
109979
- # support V1 and V3 restrict systems. V3 restrict is a superset of V1 restrict.
109980
- # New users are encouraged to use V3 directly for its rich features and cleaner
109981
- # semantics. See the document go/scam-v3-restricts, or read the comments in //
109982
- # research/scam/proto/restricts.proto for details. Nevertheless, V1 restrict is
109983
- # still supported by ScaM team. There's some minor tradeoff of performance
109984
- # between V1 and V3. User may prefer V1 over V3 if performance is the first
109985
- # priority. However, the CPU cost between V1 and V3 should be very minor. -------
109986
- # -------------------------------------------------------------------- The
109987
- # semantics of V1 restrict is described below: V1 "forward" restricts: The
109988
- # dataset defines a many:many mapping between the database points and a token
109989
- # space. Each token names a set of tokens and each database point is a member of
109990
- # zero-to-many tokens. Queries specify zero-to-many whitelist and blacklist
109991
- # tokens that activate database points according to the following rules: * If
109992
- # whitelist_token is populated, the search will be restricted to points named by
109993
- # at least one whitelist token. If whitelist_token is empty, all points are
109994
- # whitelisted by default. * If blacklist_token is populated, it overrides the
109995
- # whitelist. Points named by a blacklisted token are *not* searched. * Note that,
109996
- # if neither whitelist_token nor blacklist_token is populated, the search
109997
- # remains unrestricted. ---------------------------------------------------------
109998
- # ------------------ V1 "reverse" restricts: Each database point is whitelisted
109999
- # and/or blacklisted for zero or more tokens, specified by whitelist_token and
110000
- # blacklist_token fields. Each query specifies zero or more tokens, and the same
110001
- # rules apply: * If a point's whitelist_token is populated, the point will only
110002
- # be searched if the query has at least one matching whitelist token. If
110003
- # whitelist_token is empty, the point is always whitelisted by default. * If a
110004
- # point's blacklist_token is populated, it overrides the whitelist. The point
110005
- # will be ignored for any query with a matching blacklist token. * Note that, if
110006
- # neither whitelist_token nor blacklist_token is populated, the point will
110007
- # always be searched. NEXT ID TO USE: 9
110358
+ # copybara:strip_begin RestrictTokens - used to perform "restricted searches"
110359
+ # where boolean rules are used to filter the subset of the database eligible for
110360
+ # matching. We currently support V1 and V3 restrict systems. V3 restrict is a
110361
+ # superset of V1 restrict. New users are encouraged to use V3 directly for its
110362
+ # rich features and cleaner semantics. See the document go/scam-v3-restricts, or
110363
+ # read the comments in //research/scam/proto/restricts.proto for details.
110364
+ # Nevertheless, V1 restrict is still supported by ScaM team. There's some minor
110365
+ # tradeoff of performance between V1 and V3. User may prefer V1 over V3 if
110366
+ # performance is the first priority. However, the CPU cost between V1 and V3
110367
+ # should be very minor. ---------------------------------------------------------
110368
+ # ------------------ The semantics of V1 restrict is described below: V1 "
110369
+ # forward" restricts: The dataset defines a many:many mapping between the
110370
+ # database points and a token space. Each token names a set of tokens and each
110371
+ # database point is a member of zero-to-many tokens. Queries specify zero-to-
110372
+ # many whitelist and blacklist tokens that activate database points according to
110373
+ # the following rules: * If whitelist_token is populated, the search will be
110374
+ # restricted to points named by at least one whitelist token. If whitelist_token
110375
+ # is empty, all points are whitelisted by default. * If blacklist_token is
110376
+ # populated, it overrides the whitelist. Points named by a blacklisted token are
110377
+ # *not* searched. * Note that, if neither whitelist_token nor blacklist_token is
110378
+ # populated, the search remains unrestricted. -----------------------------------
110379
+ # ---------------------------------------- V1 "reverse" restricts: Each database
110380
+ # point is whitelisted and/or blacklisted for zero or more tokens, specified by
110381
+ # whitelist_token and blacklist_token fields. Each query specifies zero or more
110382
+ # tokens, and the same rules apply: * If a point's whitelist_token is populated,
110383
+ # the point will only be searched if the query has at least one matching
110384
+ # whitelist token. If whitelist_token is empty, the point is always whitelisted
110385
+ # by default. * If a point's blacklist_token is populated, it overrides the
110386
+ # whitelist. The point will be ignored for any query with a matching blacklist
110387
+ # token. * Note that, if neither whitelist_token nor blacklist_token is
110388
+ # populated, the point will always be searched. NEXT ID TO USE: 9
110008
110389
  class ResearchScamGenericFeatureVectorRestrictTokens
110009
110390
  include Google::Apis::Core::Hashable
110010
110391
 
@@ -111047,7 +111428,7 @@ module Google
111047
111428
  end
111048
111429
 
111049
111430
  # A proto for storing inferred and reconciled metadata for Science Search. Next
111050
- # available tag: 72
111431
+ # available tag: 73
111051
111432
  class ResearchScienceSearchReconciledMetadata
111052
111433
  include Google::Apis::Core::Hashable
111053
111434
 
@@ -111193,6 +111574,13 @@ module Google
111193
111574
  # @return [Array<Google::Apis::ContentwarehouseV1::ResearchScienceSearchOrganization>]
111194
111575
  attr_accessor :funder
111195
111576
 
111577
+ # Indicates if the dataset has croissant format (https://github.com/mlcommons/
111578
+ # croissant).
111579
+ # Corresponds to the JSON property `hasCroissantFormat`
111580
+ # @return [Boolean]
111581
+ attr_accessor :has_croissant_format
111582
+ alias_method :has_croissant_format?, :has_croissant_format
111583
+
111196
111584
  # Indicates if the dataset has table summaries. This field is only populated
111197
111585
  # during indexing time.
111198
111586
  # Corresponds to the JSON property `hasTableSummaries`
@@ -111421,6 +111809,7 @@ module Google
111421
111809
  @field_of_study = args[:field_of_study] if args.key?(:field_of_study)
111422
111810
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
111423
111811
  @funder = args[:funder] if args.key?(:funder)
111812
+ @has_croissant_format = args[:has_croissant_format] if args.key?(:has_croissant_format)
111424
111813
  @has_table_summaries = args[:has_table_summaries] if args.key?(:has_table_summaries)
111425
111814
  @id = args[:id] if args.key?(:id)
111426
111815
  @identifier_from_source = args[:identifier_from_source] if args.key?(:identifier_from_source)
@@ -111979,7 +112368,7 @@ module Google
111979
112368
  # message with a new extension declaration. For more details on extension
111980
112369
  # declaration please refer to http://go/proto-proposals/extension-declarations.
111981
112370
  # Please refer to http://go/proto2-extensions for details on message extensions.
111982
- # LINT.IfChange next extension id: 6
112371
+ # LINT.IfChange next extension id: 7
111983
112372
  class SafesearchVideoClassifierOutput
111984
112373
  include Google::Apis::Core::Hashable
111985
112374
 
@@ -112034,7 +112423,7 @@ module Google
112034
112423
  # message with a new extension declaration. For more details on extension
112035
112424
  # declaration please refer to http://go/proto-proposals/extension-declarations.
112036
112425
  # Please refer to http://go/proto2-extensions for details on message extensions.
112037
- # LINT.IfChange next extension id: 6
112426
+ # LINT.IfChange next extension id: 7
112038
112427
  # Corresponds to the JSON property `videoClassifierOutput`
112039
112428
  # @return [Google::Apis::ContentwarehouseV1::SafesearchVideoClassifierOutput]
112040
112429
  attr_accessor :video_classifier_output
@@ -116330,6 +116719,14 @@ module Google
116330
116719
  attr_accessor :contain_vulgar_candidates
116331
116720
  alias_method :contain_vulgar_candidates?, :contain_vulgar_candidates
116332
116721
 
116722
+ # Indicates that SR side should disable the ng3 scoring and soly rely on the
116723
+ # SnippetBrain scoring for selecting the final candidate. E.g. this can happen
116724
+ # when the offline snippet generation routine is triggered.
116725
+ # Corresponds to the JSON property `disableNg3Scoring`
116726
+ # @return [Boolean]
116727
+ attr_accessor :disable_ng3_scoring
116728
+ alias_method :disable_ng3_scoring?, :disable_ng3_scoring
116729
+
116333
116730
  # Indicates whether the query relevance features is disabled or not in Muppet
116334
116731
  # scoring.
116335
116732
  # Corresponds to the JSON property `disableQueryFeatures`
@@ -116358,6 +116755,7 @@ module Google
116358
116755
  @candidate_info = args[:candidate_info] if args.key?(:candidate_info)
116359
116756
  @contain_user_quotes = args[:contain_user_quotes] if args.key?(:contain_user_quotes)
116360
116757
  @contain_vulgar_candidates = args[:contain_vulgar_candidates] if args.key?(:contain_vulgar_candidates)
116758
+ @disable_ng3_scoring = args[:disable_ng3_scoring] if args.key?(:disable_ng3_scoring)
116361
116759
  @disable_query_features = args[:disable_query_features] if args.key?(:disable_query_features)
116362
116760
  @snippet_brain_selected_candidate_index = args[:snippet_brain_selected_candidate_index] if args.key?(:snippet_brain_selected_candidate_index)
116363
116761
  @snippetsbrain_model_info = args[:snippetsbrain_model_info] if args.key?(:snippetsbrain_model_info)
@@ -120180,6 +120578,11 @@ module Google
120180
120578
  # @return [String]
120181
120579
  attr_accessor :policy_source_type
120182
120580
 
120581
+ # Metadata fields for Real World Journey. See go/rwj-kg-dg for details.
120582
+ # Corresponds to the JSON property `rwjPolicyMetadata`
120583
+ # @return [Google::Apis::ContentwarehouseV1::StorageGraphBfgRwjPolicyMetadata]
120584
+ attr_accessor :rwj_policy_metadata
120585
+
120183
120586
  # Metadata fields for UMP. A piece of data satisfies UMP policy if: (data access
120184
120587
  # region is in the `regions_allowed` list) AND (data access time >=
120185
120588
  # availability_start_timestamp) AND (data access time <
@@ -120201,6 +120604,7 @@ module Google
120201
120604
  @lms_policy_metadata = args[:lms_policy_metadata] if args.key?(:lms_policy_metadata)
120202
120605
  @policy_data_scope_keys = args[:policy_data_scope_keys] if args.key?(:policy_data_scope_keys)
120203
120606
  @policy_source_type = args[:policy_source_type] if args.key?(:policy_source_type)
120607
+ @rwj_policy_metadata = args[:rwj_policy_metadata] if args.key?(:rwj_policy_metadata)
120204
120608
  @ump_policy_metadata = args[:ump_policy_metadata] if args.key?(:ump_policy_metadata)
120205
120609
  end
120206
120610
  end
@@ -120232,6 +120636,26 @@ module Google
120232
120636
  end
120233
120637
  end
120234
120638
 
120639
+ # Metadata fields for Real World Journey. See go/rwj-kg-dg for details.
120640
+ class StorageGraphBfgRwjPolicyMetadata
120641
+ include Google::Apis::Core::Hashable
120642
+
120643
+ # Int values correspond to the usecases used in CDS. See: google3/googlebase/
120644
+ # verticals/model/usecase_id.proto.
120645
+ # Corresponds to the JSON property `eligibleSurfaces`
120646
+ # @return [Array<Fixnum>]
120647
+ attr_accessor :eligible_surfaces
120648
+
120649
+ def initialize(**args)
120650
+ update!(**args)
120651
+ end
120652
+
120653
+ # Update properties of this object
120654
+ def update!(**args)
120655
+ @eligible_surfaces = args[:eligible_surfaces] if args.key?(:eligible_surfaces)
120656
+ end
120657
+ end
120658
+
120235
120659
  # A fact about potentially sensitive personal info (http://what/SPII) can be "
120236
120660
  # certified" iff it meets specific requirements. See go/kg-spii-certification
120237
120661
  # for details.
@@ -122282,7 +122706,7 @@ module Google
122282
122706
  # FetchReplyData. This data is meant to be logged, but not sent back in a fetch
122283
122707
  # reply (it should be added *after* the reply is prepared). Use
122284
122708
  # FetchResponsePreparatorImpl::AddTrawlerPrivateDataToFetchReplyData to add. See
122285
- # also the comment in fetch_response_preparator_impl.cc. Next Tag: 45
122709
+ # also the comment in fetch_response_preparator_impl.cc. Next Tag: 46
122286
122710
  # Corresponds to the JSON property `TrawlerPrivate`
122287
122711
  # @return [Google::Apis::ContentwarehouseV1::TrawlerTrawlerPrivateFetchReplyData]
122288
122712
  attr_accessor :trawler_private
@@ -123541,7 +123965,7 @@ module Google
123541
123965
  # FetchReplyData. This data is meant to be logged, but not sent back in a fetch
123542
123966
  # reply (it should be added *after* the reply is prepared). Use
123543
123967
  # FetchResponsePreparatorImpl::AddTrawlerPrivateDataToFetchReplyData to add. See
123544
- # also the comment in fetch_response_preparator_impl.cc. Next Tag: 45
123968
+ # also the comment in fetch_response_preparator_impl.cc. Next Tag: 46
123545
123969
  class TrawlerTrawlerPrivateFetchReplyData
123546
123970
  include Google::Apis::Core::Hashable
123547
123971
 
@@ -123716,6 +124140,11 @@ module Google
123716
124140
  # @return [Fixnum]
123717
124141
  attr_accessor :concurrent_stream_num
123718
124142
 
124143
+ # Log the credential id
124144
+ # Corresponds to the JSON property `credentialId`
124145
+ # @return [String]
124146
+ attr_accessor :credential_id
124147
+
123719
124148
  # Dependent fetch type
123720
124149
  # Corresponds to the JSON property `dependentFetchType`
123721
124150
  # @return [String]
@@ -123846,6 +124275,7 @@ module Google
123846
124275
  @cache_hit_type = args[:cache_hit_type] if args.key?(:cache_hit_type)
123847
124276
  @cdn_provider = args[:cdn_provider] if args.key?(:cdn_provider)
123848
124277
  @concurrent_stream_num = args[:concurrent_stream_num] if args.key?(:concurrent_stream_num)
124278
+ @credential_id = args[:credential_id] if args.key?(:credential_id)
123849
124279
  @dependent_fetch_type = args[:dependent_fetch_type] if args.key?(:dependent_fetch_type)
123850
124280
  @download_file_name = args[:download_file_name] if args.key?(:download_file_name)
123851
124281
  @http_version = args[:http_version] if args.key?(:http_version)
@@ -133443,7 +133873,7 @@ module Google
133443
133873
  # that we can control individual fields that will sit in Muppet. Data here will
133444
133874
  # be used for scoring organic shopping web results and previews. Many shopping
133445
133875
  # related signals, e.g., product review score, are also served from this
133446
- # attachment. Next ID: 21
133876
+ # attachment. DEPRECATED: Please use UDR (go/udr) instead.
133447
133877
  # Corresponds to the JSON property `shoppingAttachment`
133448
133878
  # @return [Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachment]
133449
133879
  attr_accessor :shopping_attachment