google-apis-contentwarehouse_v1 0.22.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -2
- data/lib/google/apis/contentwarehouse_v1/classes.rb +650 -260
- data/lib/google/apis/contentwarehouse_v1/gem_version.rb +2 -2
- data/lib/google/apis/contentwarehouse_v1/representations.rb +144 -26
- data/lib/google/apis/contentwarehouse_v1/service.rb +34 -0
- metadata +4 -4
@@ -10835,10 +10835,14 @@ module Google
|
|
10835
10835
|
# @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesDeviceConfig]
|
10836
10836
|
attr_accessor :device_config
|
10837
10837
|
|
10838
|
-
#
|
10839
|
-
#
|
10840
|
-
#
|
10841
|
-
#
|
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
|
-
#
|
11084
|
-
#
|
11085
|
-
#
|
11086
|
-
#
|
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.
|
12221
|
-
#
|
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
|
-
#
|
12228
|
-
#
|
12229
|
-
#
|
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
|
@@ -12703,6 +12712,7 @@ module Google
|
|
12703
12712
|
# @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesSurfaceIdentity]
|
12704
12713
|
attr_accessor :surface_identity
|
12705
12714
|
|
12715
|
+
# DEPRECATED. surface_identity field below already contains this information.
|
12706
12716
|
# The device's surface type. This is the string version of the assistant.api.
|
12707
12717
|
# core_types.SurfaceType enum. The server should not use this field, rather it
|
12708
12718
|
# should use the SurfaceType value derived from this string.
|
@@ -20193,7 +20203,7 @@ module Google
|
|
20193
20203
|
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerEndpointGroundingProviderFeatures]
|
20194
20204
|
attr_accessor :endpoint_grounding_provider_features
|
20195
20205
|
|
20196
|
-
# Features to be passed from Media GP to HGR. Next ID:
|
20206
|
+
# Features to be passed from Media GP to HGR. Next ID: 17
|
20197
20207
|
# Corresponds to the JSON property `mediaGroundingProviderFeatures`
|
20198
20208
|
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
|
20199
20209
|
attr_accessor :media_grounding_provider_features
|
@@ -20373,7 +20383,7 @@ module Google
|
|
20373
20383
|
end
|
20374
20384
|
end
|
20375
20385
|
|
20376
|
-
# Features to be passed from Media GP to HGR. Next ID:
|
20386
|
+
# Features to be passed from Media GP to HGR. Next ID: 17
|
20377
20387
|
class AssistantGroundingRankerMediaGroundingProviderFeatures
|
20378
20388
|
include Google::Apis::Core::Hashable
|
20379
20389
|
|
@@ -20387,6 +20397,11 @@ module Google
|
|
20387
20397
|
# @return [String]
|
20388
20398
|
attr_accessor :ambiguity_classifier
|
20389
20399
|
|
20400
|
+
# Mid of the media item. This is currently only used in manual rules.
|
20401
|
+
# Corresponds to the JSON property `entityMid`
|
20402
|
+
# @return [String]
|
20403
|
+
attr_accessor :entity_mid
|
20404
|
+
|
20390
20405
|
# True if the argument's type was explicitly mentioned in the query.
|
20391
20406
|
# Corresponds to the JSON property `hasTypeSemanticEdge`
|
20392
20407
|
# @return [Boolean]
|
@@ -20486,6 +20501,7 @@ module Google
|
|
20486
20501
|
def update!(**args)
|
20487
20502
|
@album_release_type = args[:album_release_type] if args.key?(:album_release_type)
|
20488
20503
|
@ambiguity_classifier = args[:ambiguity_classifier] if args.key?(:ambiguity_classifier)
|
20504
|
+
@entity_mid = args[:entity_mid] if args.key?(:entity_mid)
|
20489
20505
|
@has_type_semantic_edge = args[:has_type_semantic_edge] if args.key?(:has_type_semantic_edge)
|
20490
20506
|
@is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
|
20491
20507
|
@is_media_search_query_subset_of_entity_name_and_artist = args[:is_media_search_query_subset_of_entity_name_and_artist] if args.key?(:is_media_search_query_subset_of_entity_name_and_artist)
|
@@ -22328,7 +22344,7 @@ module Google
|
|
22328
22344
|
|
22329
22345
|
# Signals to be used by the Prefulfillment Ranker. Derived from the
|
22330
22346
|
# ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
|
22331
|
-
# Next ID:
|
22347
|
+
# Next ID: 62
|
22332
22348
|
class AssistantPrefulfillmentRankerPrefulfillmentSignals
|
22333
22349
|
include Google::Apis::Core::Hashable
|
22334
22350
|
|
@@ -22441,6 +22457,14 @@ module Google
|
|
22441
22457
|
# @return [Float]
|
22442
22458
|
attr_accessor :intent_name_pauis
|
22443
22459
|
|
22460
|
+
# intent_type differentiates between intents that share the top level intent
|
22461
|
+
# name. For eg: for TV_FALLBACK_SEARCH_INTENT, the top level intent name must be
|
22462
|
+
# "Find_media" and the media_object argument within it must be of type "
|
22463
|
+
# Media_unspecified".
|
22464
|
+
# Corresponds to the JSON property `intentType`
|
22465
|
+
# @return [String]
|
22466
|
+
attr_accessor :intent_type
|
22467
|
+
|
22444
22468
|
# Feasibility of fulfilling the binding set. Eg: For PlayMedia, this is
|
22445
22469
|
# equivalent to playability. More details: go/hgr-feasibility-feature.
|
22446
22470
|
# Corresponds to the JSON property `isFeasible`
|
@@ -22486,6 +22510,12 @@ module Google
|
|
22486
22510
|
attr_accessor :is_podcast_intent
|
22487
22511
|
alias_method :is_podcast_intent?, :is_podcast_intent
|
22488
22512
|
|
22513
|
+
# Whether the intent is an intent marked disabled by the Sage IG.
|
22514
|
+
# Corresponds to the JSON property `isSageDisabledIntent`
|
22515
|
+
# @return [Boolean]
|
22516
|
+
attr_accessor :is_sage_disabled_intent
|
22517
|
+
alias_method :is_sage_disabled_intent?, :is_sage_disabled_intent
|
22518
|
+
|
22489
22519
|
# Whether this intent was generated by Sage.
|
22490
22520
|
# Corresponds to the JSON property `isSageIntent`
|
22491
22521
|
# @return [Boolean]
|
@@ -22631,10 +22661,7 @@ module Google
|
|
22631
22661
|
# @return [Google::Apis::ContentwarehouseV1::AssistantPfrSmartHomeIntentMetadata]
|
22632
22662
|
attr_accessor :smarthome_intent_metadata
|
22633
22663
|
|
22634
|
-
#
|
22635
|
-
# name. For eg: for TV_FALLBACK_SEARCH_INTENT, the top level intent name must be
|
22636
|
-
# "Find_media" and the media_object argument within it must be of type "
|
22637
|
-
# Media_unspecified".
|
22664
|
+
#
|
22638
22665
|
# Corresponds to the JSON property `subIntentType`
|
22639
22666
|
# @return [String]
|
22640
22667
|
attr_accessor :sub_intent_type
|
@@ -22676,6 +22703,7 @@ module Google
|
|
22676
22703
|
@intent_name_auis_score = args[:intent_name_auis_score] if args.key?(:intent_name_auis_score)
|
22677
22704
|
@intent_name_auis_score_exp = args[:intent_name_auis_score_exp] if args.key?(:intent_name_auis_score_exp)
|
22678
22705
|
@intent_name_pauis = args[:intent_name_pauis] if args.key?(:intent_name_pauis)
|
22706
|
+
@intent_type = args[:intent_type] if args.key?(:intent_type)
|
22679
22707
|
@is_feasible = args[:is_feasible] if args.key?(:is_feasible)
|
22680
22708
|
@is_fully_grounded = args[:is_fully_grounded] if args.key?(:is_fully_grounded)
|
22681
22709
|
@is_high_confidence_podcast_intent = args[:is_high_confidence_podcast_intent] if args.key?(:is_high_confidence_podcast_intent)
|
@@ -22683,6 +22711,7 @@ module Google
|
|
22683
22711
|
@is_play_generic_music = args[:is_play_generic_music] if args.key?(:is_play_generic_music)
|
22684
22712
|
@is_podcast_generic_intent = args[:is_podcast_generic_intent] if args.key?(:is_podcast_generic_intent)
|
22685
22713
|
@is_podcast_intent = args[:is_podcast_intent] if args.key?(:is_podcast_intent)
|
22714
|
+
@is_sage_disabled_intent = args[:is_sage_disabled_intent] if args.key?(:is_sage_disabled_intent)
|
22686
22715
|
@is_sage_intent = args[:is_sage_intent] if args.key?(:is_sage_intent)
|
22687
22716
|
@is_tvm_intent = args[:is_tvm_intent] if args.key?(:is_tvm_intent)
|
22688
22717
|
@is_valid_smarthome_intent = args[:is_valid_smarthome_intent] if args.key?(:is_valid_smarthome_intent)
|
@@ -23330,7 +23359,7 @@ module Google
|
|
23330
23359
|
# @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoDeviceTargetingOutputQueryInfo]
|
23331
23360
|
attr_accessor :dto_query_info
|
23332
23361
|
|
23333
|
-
# Next ID:
|
23362
|
+
# Next ID: 45
|
23334
23363
|
# Corresponds to the JSON property `homeautomationMetadata`
|
23335
23364
|
# @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
|
23336
23365
|
attr_accessor :homeautomation_metadata
|
@@ -23377,7 +23406,7 @@ module Google
|
|
23377
23406
|
class AssistantVerticalsHomeautomationProtoHomeAutomationDeviceItem
|
23378
23407
|
include Google::Apis::Core::Hashable
|
23379
23408
|
|
23380
|
-
# Next ID:
|
23409
|
+
# Next ID: 45
|
23381
23410
|
# Corresponds to the JSON property `homeautomationMetadata`
|
23382
23411
|
# @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
|
23383
23412
|
attr_accessor :homeautomation_metadata
|
@@ -23410,7 +23439,7 @@ module Google
|
|
23410
23439
|
end
|
23411
23440
|
end
|
23412
23441
|
|
23413
|
-
# Next ID:
|
23442
|
+
# Next ID: 45
|
23414
23443
|
class AssistantVerticalsHomeautomationProtoHomeAutomationMetaData
|
23415
23444
|
include Google::Apis::Core::Hashable
|
23416
23445
|
|
@@ -23461,7 +23490,7 @@ module Google
|
|
23461
23490
|
attr_accessor :device_model_id
|
23462
23491
|
|
23463
23492
|
# GCM address for cloud execution across google cloud messaging rather than 3p
|
23464
|
-
# cloud
|
23493
|
+
# cloud.
|
23465
23494
|
# Corresponds to the JSON property `gcmExecutionAddress`
|
23466
23495
|
# @return [String]
|
23467
23496
|
attr_accessor :gcm_execution_address
|
@@ -23592,6 +23621,11 @@ module Google
|
|
23592
23621
|
# @return [String]
|
23593
23622
|
attr_accessor :primary_name
|
23594
23623
|
|
23624
|
+
# Whether device report state is out of sync with Query response.
|
23625
|
+
# Corresponds to the JSON property `reportStateStatus`
|
23626
|
+
# @return [String]
|
23627
|
+
attr_accessor :report_state_status
|
23628
|
+
|
23595
23629
|
# Represents the user’s role such as assistant only or manager for a device.
|
23596
23630
|
# Design doc: https://docs.google.com/document/d/
|
23597
23631
|
# 1c1hnauEbBfDkywO3GZkI8ejHP765l2tLspmPgckEe2Y/
|
@@ -23753,6 +23787,7 @@ module Google
|
|
23753
23787
|
@physical_location = args[:physical_location] if args.key?(:physical_location)
|
23754
23788
|
@plural = args[:plural] if args.key?(:plural)
|
23755
23789
|
@primary_name = args[:primary_name] if args.key?(:primary_name)
|
23790
|
+
@report_state_status = args[:report_state_status] if args.key?(:report_state_status)
|
23756
23791
|
@role_information = args[:role_information] if args.key?(:role_information)
|
23757
23792
|
@routable_via_gcm = args[:routable_via_gcm] if args.key?(:routable_via_gcm)
|
23758
23793
|
@saft_document = args[:saft_document] if args.key?(:saft_document)
|
@@ -24865,31 +24900,6 @@ module Google
|
|
24865
24900
|
end
|
24866
24901
|
end
|
24867
24902
|
|
24868
|
-
# Per-URL porn scores for the URLs associated with the corresponding image.
|
24869
|
-
class ClassifierPornAggregatedUrlPornScores
|
24870
|
-
include Google::Apis::Core::Hashable
|
24871
|
-
|
24872
|
-
#
|
24873
|
-
# Corresponds to the JSON property `averageUrlPornScore`
|
24874
|
-
# @return [Float]
|
24875
|
-
attr_accessor :average_url_porn_score
|
24876
|
-
|
24877
|
-
#
|
24878
|
-
# Corresponds to the JSON property `urlCount`
|
24879
|
-
# @return [Fixnum]
|
24880
|
-
attr_accessor :url_count
|
24881
|
-
|
24882
|
-
def initialize(**args)
|
24883
|
-
update!(**args)
|
24884
|
-
end
|
24885
|
-
|
24886
|
-
# Update properties of this object
|
24887
|
-
def update!(**args)
|
24888
|
-
@average_url_porn_score = args[:average_url_porn_score] if args.key?(:average_url_porn_score)
|
24889
|
-
@url_count = args[:url_count] if args.key?(:url_count)
|
24890
|
-
end
|
24891
|
-
end
|
24892
|
-
|
24893
24903
|
# Next ID: 6
|
24894
24904
|
class ClassifierPornClassifierData
|
24895
24905
|
include Google::Apis::Core::Hashable
|
@@ -25973,8 +25983,10 @@ module Google
|
|
25973
25983
|
# downstream systems can take advantage of this annotation to automatically
|
25974
25984
|
# handle newly introduced data without modifying their code. Please also see the
|
25975
25985
|
# comment of FieldProjector above. There are also some fields in DataInfo that
|
25976
|
-
# annotate who generates the data, the Index Signals or Goldmine annotator name
|
25977
|
-
#
|
25986
|
+
# annotate who generates the data, the Index Signals or Goldmine annotator name
|
25987
|
+
# for the fields already onboarded or being onboarded to FDP. Fields without
|
25988
|
+
# annotation of signal_names or goldmine_annotator_names are not onboarded. Next
|
25989
|
+
# ID: 538
|
25978
25990
|
# Corresponds to the JSON property `dataVersion`
|
25979
25991
|
# @return [Google::Apis::ContentwarehouseV1::IndexingDocjoinerDataVersion]
|
25980
25992
|
attr_accessor :data_version
|
@@ -26565,15 +26577,6 @@ module Google
|
|
26565
26577
|
# @return [Fixnum]
|
26566
26578
|
attr_accessor :indexing_ts
|
26567
26579
|
|
26568
|
-
# Page is deleted when indexing choice flips between different corpora (e.g.
|
26569
|
-
# desktop, mobile, archive, scholar, etc.) for the same URL. It's only set for
|
26570
|
-
# deletion cdocs. Downstreams using URL as key should ignore the current
|
26571
|
-
# deletion if the field is set.
|
26572
|
-
# Corresponds to the JSON property `isSiblingDeletion`
|
26573
|
-
# @return [Boolean]
|
26574
|
-
attr_accessor :is_sibling_deletion
|
26575
|
-
alias_method :is_sibling_deletion?, :is_sibling_deletion
|
26576
|
-
|
26577
26580
|
# If set, the timestamp in microseconds when the URL stopped being canonical.
|
26578
26581
|
# This should never be set for exported canonical documents. This field is used
|
26579
26582
|
# by dups during canonical flip, and by webmain when doc selection switched
|
@@ -26664,7 +26667,6 @@ module Google
|
|
26664
26667
|
@ie_identifier = args[:ie_identifier] if args.key?(:ie_identifier)
|
26665
26668
|
@image_indexing_info = args[:image_indexing_info] if args.key?(:image_indexing_info)
|
26666
26669
|
@indexing_ts = args[:indexing_ts] if args.key?(:indexing_ts)
|
26667
|
-
@is_sibling_deletion = args[:is_sibling_deletion] if args.key?(:is_sibling_deletion)
|
26668
26670
|
@no_longer_canonical_timestamp = args[:no_longer_canonical_timestamp] if args.key?(:no_longer_canonical_timestamp)
|
26669
26671
|
@normalized_click_score = args[:normalized_click_score] if args.key?(:normalized_click_score)
|
26670
26672
|
@raw_navboost = args[:raw_navboost] if args.key?(:raw_navboost)
|
@@ -27050,7 +27052,7 @@ module Google
|
|
27050
27052
|
# @return [Fixnum]
|
27051
27053
|
attr_accessor :pq_data
|
27052
27054
|
|
27053
|
-
# Next id:
|
27055
|
+
# Next id: 18
|
27054
27056
|
# Corresponds to the JSON property `pqDataProto`
|
27055
27057
|
# @return [Google::Apis::ContentwarehouseV1::QualityNsrPqData]
|
27056
27058
|
attr_accessor :pq_data_proto
|
@@ -31453,12 +31455,14 @@ module Google
|
|
31453
31455
|
# @return [Fixnum]
|
31454
31456
|
attr_accessor :no_translate_reason
|
31455
31457
|
|
31456
|
-
#
|
31458
|
+
# This field is long-deprecated in favour of Pagerank_NS, it is no longer
|
31459
|
+
# maintained and can break at any moment.
|
31457
31460
|
# Corresponds to the JSON property `Pagerank`
|
31458
31461
|
# @return [Fixnum]
|
31459
31462
|
attr_accessor :pagerank
|
31460
31463
|
|
31461
|
-
# Pagerank-NearestSeeds is
|
31464
|
+
# Pagerank-NearestSeeds is a pagerank score for the doc, calculated using
|
31465
|
+
# NearestSeeds method. This is the production PageRank value teams should use.
|
31462
31466
|
# Corresponds to the JSON property `PagerankNS`
|
31463
31467
|
# @return [Fixnum]
|
31464
31468
|
attr_accessor :pagerank_ns
|
@@ -32910,7 +32914,11 @@ module Google
|
|
32910
32914
|
end
|
32911
32915
|
end
|
32912
32916
|
|
32913
|
-
#
|
32917
|
+
# NOTE: BoundingMarkerProto could be compared against one another by
|
32918
|
+
# canonicalizing them via GetCanonicalBoundingMarker() in google3/geostore/base/
|
32919
|
+
# internal/lane.cc. Any fields that don't contribute to the definition of a
|
32920
|
+
# bounding marker in the real world should be bundled with the annotative fields
|
32921
|
+
# near the bottom and excluded in GetCanonicalBoundingMarker(). LINT.IfChange
|
32914
32922
|
class GeostoreBoundingMarkerProto
|
32915
32923
|
include Google::Apis::Core::Hashable
|
32916
32924
|
|
@@ -33576,9 +33584,9 @@ module Google
|
|
33576
33584
|
|
33577
33585
|
# Describes a single physical marker line. NOTE: PhysicalLineProto could be
|
33578
33586
|
# compared against one another by canonicalizing them via
|
33579
|
-
# GetCanonicalPhysicalLine() in
|
33580
|
-
# fields that don't contribute to the definition of a physical line in the
|
33581
|
-
# world should be bundled with the annotative fields near the bottom and
|
33587
|
+
# GetCanonicalPhysicalLine() in google3/geostore/base/internal/lane_marker.cc.
|
33588
|
+
# Any fields that don't contribute to the definition of a physical line in the
|
33589
|
+
# real world should be bundled with the annotative fields near the bottom and
|
33582
33590
|
# excluded in GetCanonicalPhysicalLine(). LINT.IfChange
|
33583
33591
|
# Corresponds to the JSON property `borderLine`
|
33584
33592
|
# @return [Google::Apis::ContentwarehouseV1::GeostorePhysicalLineProto]
|
@@ -38098,9 +38106,9 @@ module Google
|
|
38098
38106
|
|
38099
38107
|
# Describes a single physical marker line. NOTE: PhysicalLineProto could be
|
38100
38108
|
# compared against one another by canonicalizing them via
|
38101
|
-
# GetCanonicalPhysicalLine() in
|
38102
|
-
# fields that don't contribute to the definition of a physical line in the
|
38103
|
-
# world should be bundled with the annotative fields near the bottom and
|
38109
|
+
# GetCanonicalPhysicalLine() in google3/geostore/base/internal/lane_marker.cc.
|
38110
|
+
# Any fields that don't contribute to the definition of a physical line in the
|
38111
|
+
# real world should be bundled with the annotative fields near the bottom and
|
38104
38112
|
# excluded in GetCanonicalPhysicalLine(). LINT.IfChange
|
38105
38113
|
class GeostorePhysicalLineProto
|
38106
38114
|
include Google::Apis::Core::Hashable
|
@@ -39387,10 +39395,10 @@ module Google
|
|
39387
39395
|
# no conditions is always true, i.e. its action is always prohibited. NOTE:
|
39388
39396
|
# RestrictionProtos are often compared against one another (e.g. to check for
|
39389
39397
|
# duplicate/redundant restrictions) by canonicalizing them via
|
39390
|
-
# GetCanonicalRestriction() in
|
39391
|
-
# that don't contribute to the definition of a restriction in the
|
39392
|
-
# should be bundled with the annotative fields near the bottom and
|
39393
|
-
# GetCanonicalRestriction(). LINT.IfChange
|
39398
|
+
# GetCanonicalRestriction() in google3/geostore/base/internal/restriction.cc.
|
39399
|
+
# Any fields that don't contribute to the definition of a restriction in the
|
39400
|
+
# real world should be bundled with the annotative fields near the bottom and
|
39401
|
+
# excluded in GetCanonicalRestriction(). LINT.IfChange
|
39394
39402
|
class GeostoreRestrictionProto
|
39395
39403
|
include Google::Apis::Core::Hashable
|
39396
39404
|
|
@@ -45273,22 +45281,22 @@ module Google
|
|
45273
45281
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
45274
45282
|
# the request, the resource, or both. To learn which resources support
|
45275
45283
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
45276
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
45284
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
45277
45285
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
45278
45286
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
45279
45287
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
45280
45288
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
45281
45289
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
45282
45290
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
45283
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
45284
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
45285
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
45286
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
45287
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
45288
|
-
# access description: Does not grant access after Sep 2020
|
45289
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
45290
|
-
# a description of IAM and its features, see the
|
45291
|
-
# cloud.google.com/iam/docs/).
|
45291
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
45292
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
45293
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
45294
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
45295
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
45296
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
45297
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
45298
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
45299
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
45292
45300
|
# Corresponds to the JSON property `policy`
|
45293
45301
|
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
45294
45302
|
attr_accessor :policy
|
@@ -45532,22 +45540,22 @@ module Google
|
|
45532
45540
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
45533
45541
|
# the request, the resource, or both. To learn which resources support
|
45534
45542
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
45535
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
45543
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
45536
45544
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
45537
45545
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
45538
45546
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
45539
45547
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
45540
45548
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
45541
45549
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
45542
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
45543
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
45544
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
45545
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
45546
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
45547
|
-
# access description: Does not grant access after Sep 2020
|
45548
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
45549
|
-
# a description of IAM and its features, see the
|
45550
|
-
# cloud.google.com/iam/docs/).
|
45550
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
45551
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
45552
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
45553
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
45554
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
45555
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
45556
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
45557
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
45558
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
45551
45559
|
# Corresponds to the JSON property `policy`
|
45552
45560
|
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
45553
45561
|
attr_accessor :policy
|
@@ -46320,6 +46328,50 @@ module Google
|
|
46320
46328
|
end
|
46321
46329
|
end
|
46322
46330
|
|
46331
|
+
# The configuration of exporting documents from the Document Warehouse to CDW
|
46332
|
+
# pipeline.
|
46333
|
+
class GoogleCloudContentwarehouseV1ExportToCdwPipeline
|
46334
|
+
include Google::Apis::Core::Hashable
|
46335
|
+
|
46336
|
+
# Optional. The CDW dataset resource name. This field is optional. If not set,
|
46337
|
+
# the documents will be exported to Cloud Storage only. Format: projects/`
|
46338
|
+
# project`/locations/`location`/processors/`processor`/dataset
|
46339
|
+
# Corresponds to the JSON property `docAiDataset`
|
46340
|
+
# @return [String]
|
46341
|
+
attr_accessor :doc_ai_dataset
|
46342
|
+
|
46343
|
+
# The list of all the resource names of the documents to be processed. Format:
|
46344
|
+
# projects/`project_number`/locations/`location`/documents/`document_id`.
|
46345
|
+
# Corresponds to the JSON property `documents`
|
46346
|
+
# @return [Array<String>]
|
46347
|
+
attr_accessor :documents
|
46348
|
+
|
46349
|
+
# The Cloud Storage folder path used to store the exported documents before
|
46350
|
+
# being sent to CDW. Format: `gs:///`.
|
46351
|
+
# Corresponds to the JSON property `exportFolderPath`
|
46352
|
+
# @return [String]
|
46353
|
+
attr_accessor :export_folder_path
|
46354
|
+
|
46355
|
+
# Ratio of training dataset split. When importing into Document AI Workbench,
|
46356
|
+
# documents will be automatically split into training and test split category
|
46357
|
+
# with the specified ratio. This field is required if doc_ai_dataset is set.
|
46358
|
+
# Corresponds to the JSON property `trainingSplitRatio`
|
46359
|
+
# @return [Float]
|
46360
|
+
attr_accessor :training_split_ratio
|
46361
|
+
|
46362
|
+
def initialize(**args)
|
46363
|
+
update!(**args)
|
46364
|
+
end
|
46365
|
+
|
46366
|
+
# Update properties of this object
|
46367
|
+
def update!(**args)
|
46368
|
+
@doc_ai_dataset = args[:doc_ai_dataset] if args.key?(:doc_ai_dataset)
|
46369
|
+
@documents = args[:documents] if args.key?(:documents)
|
46370
|
+
@export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
|
46371
|
+
@training_split_ratio = args[:training_split_ratio] if args.key?(:training_split_ratio)
|
46372
|
+
end
|
46373
|
+
end
|
46374
|
+
|
46323
46375
|
# Request message for DocumentService.FetchAcl
|
46324
46376
|
class GoogleCloudContentwarehouseV1FetchAclRequest
|
46325
46377
|
include Google::Apis::Core::Hashable
|
@@ -46367,22 +46419,22 @@ module Google
|
|
46367
46419
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
46368
46420
|
# the request, the resource, or both. To learn which resources support
|
46369
46421
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
46370
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
46422
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
46371
46423
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
46372
46424
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
46373
46425
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
46374
46426
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
46375
46427
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
46376
46428
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
46377
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
46378
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
46379
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
46380
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
46381
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
46382
|
-
# access description: Does not grant access after Sep 2020
|
46383
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
46384
|
-
# a description of IAM and its features, see the
|
46385
|
-
# cloud.google.com/iam/docs/).
|
46429
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
46430
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
46431
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
46432
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
46433
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
46434
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
46435
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
46436
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
46437
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
46386
46438
|
# Corresponds to the JSON property `policy`
|
46387
46439
|
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
46388
46440
|
attr_accessor :policy
|
@@ -46449,6 +46501,113 @@ module Google
|
|
46449
46501
|
end
|
46450
46502
|
end
|
46451
46503
|
|
46504
|
+
# The configuration of the Cloud Storage Ingestion pipeline.
|
46505
|
+
class GoogleCloudContentwarehouseV1GcsIngestPipeline
|
46506
|
+
include Google::Apis::Core::Hashable
|
46507
|
+
|
46508
|
+
# The input Cloud Storage folder. All files under this folder will be imported
|
46509
|
+
# to Document Warehouse. Format: `gs:///`.
|
46510
|
+
# Corresponds to the JSON property `inputPath`
|
46511
|
+
# @return [String]
|
46512
|
+
attr_accessor :input_path
|
46513
|
+
|
46514
|
+
# The ingestion pipeline config.
|
46515
|
+
# Corresponds to the JSON property `pipelineConfig`
|
46516
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1IngestPipelineConfig]
|
46517
|
+
attr_accessor :pipeline_config
|
46518
|
+
|
46519
|
+
# The Doc AI processor type name. Only used when the format of ingested files is
|
46520
|
+
# Doc AI Document proto format.
|
46521
|
+
# Corresponds to the JSON property `processorType`
|
46522
|
+
# @return [String]
|
46523
|
+
attr_accessor :processor_type
|
46524
|
+
|
46525
|
+
# The Document Warehouse schema resource name. All documents processed by this
|
46526
|
+
# pipeline will use this schema. Format: projects/`project_number`/locations/`
|
46527
|
+
# location`/documentSchemas/`document_schema_id`.
|
46528
|
+
# Corresponds to the JSON property `schemaName`
|
46529
|
+
# @return [String]
|
46530
|
+
attr_accessor :schema_name
|
46531
|
+
|
46532
|
+
# The flag whether to skip ingested documents. If it is set to true, documents
|
46533
|
+
# in Cloud Storage contains key "status" with value "status=ingested" in custom
|
46534
|
+
# metadata will be skipped to ingest.
|
46535
|
+
# Corresponds to the JSON property `skipIngestedDocuments`
|
46536
|
+
# @return [Boolean]
|
46537
|
+
attr_accessor :skip_ingested_documents
|
46538
|
+
alias_method :skip_ingested_documents?, :skip_ingested_documents
|
46539
|
+
|
46540
|
+
def initialize(**args)
|
46541
|
+
update!(**args)
|
46542
|
+
end
|
46543
|
+
|
46544
|
+
# Update properties of this object
|
46545
|
+
def update!(**args)
|
46546
|
+
@input_path = args[:input_path] if args.key?(:input_path)
|
46547
|
+
@pipeline_config = args[:pipeline_config] if args.key?(:pipeline_config)
|
46548
|
+
@processor_type = args[:processor_type] if args.key?(:processor_type)
|
46549
|
+
@schema_name = args[:schema_name] if args.key?(:schema_name)
|
46550
|
+
@skip_ingested_documents = args[:skip_ingested_documents] if args.key?(:skip_ingested_documents)
|
46551
|
+
end
|
46552
|
+
end
|
46553
|
+
|
46554
|
+
# The configuration of the Cloud Storage Ingestion with DocAI Processors
|
46555
|
+
# pipeline.
|
46556
|
+
class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline
|
46557
|
+
include Google::Apis::Core::Hashable
|
46558
|
+
|
46559
|
+
# The extract processors information. One matched extract processor will be used
|
46560
|
+
# to process documents based on the classify processor result. If no classify
|
46561
|
+
# processor is specified, the first extract processor will be used.
|
46562
|
+
# Corresponds to the JSON property `extractProcessorInfos`
|
46563
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo>]
|
46564
|
+
attr_accessor :extract_processor_infos
|
46565
|
+
|
46566
|
+
# The input Cloud Storage folder. All files under this folder will be imported
|
46567
|
+
# to Document Warehouse. Format: `gs:///`.
|
46568
|
+
# Corresponds to the JSON property `inputPath`
|
46569
|
+
# @return [String]
|
46570
|
+
attr_accessor :input_path
|
46571
|
+
|
46572
|
+
# The ingestion pipeline config.
|
46573
|
+
# Corresponds to the JSON property `pipelineConfig`
|
46574
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1IngestPipelineConfig]
|
46575
|
+
attr_accessor :pipeline_config
|
46576
|
+
|
46577
|
+
# The Cloud Storage folder path used to store the raw results from processors.
|
46578
|
+
# Format: `gs:///`.
|
46579
|
+
# Corresponds to the JSON property `processorResultsFolderPath`
|
46580
|
+
# @return [String]
|
46581
|
+
attr_accessor :processor_results_folder_path
|
46582
|
+
|
46583
|
+
# The flag whether to skip ingested documents. If it is set to true, documents
|
46584
|
+
# in Cloud Storage contains key "status" with value "status=ingested" in custom
|
46585
|
+
# metadata will be skipped to ingest.
|
46586
|
+
# Corresponds to the JSON property `skipIngestedDocuments`
|
46587
|
+
# @return [Boolean]
|
46588
|
+
attr_accessor :skip_ingested_documents
|
46589
|
+
alias_method :skip_ingested_documents?, :skip_ingested_documents
|
46590
|
+
|
46591
|
+
# The DocAI processor information.
|
46592
|
+
# Corresponds to the JSON property `splitClassifyProcessorInfo`
|
46593
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
|
46594
|
+
attr_accessor :split_classify_processor_info
|
46595
|
+
|
46596
|
+
def initialize(**args)
|
46597
|
+
update!(**args)
|
46598
|
+
end
|
46599
|
+
|
46600
|
+
# Update properties of this object
|
46601
|
+
def update!(**args)
|
46602
|
+
@extract_processor_infos = args[:extract_processor_infos] if args.key?(:extract_processor_infos)
|
46603
|
+
@input_path = args[:input_path] if args.key?(:input_path)
|
46604
|
+
@pipeline_config = args[:pipeline_config] if args.key?(:pipeline_config)
|
46605
|
+
@processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
|
46606
|
+
@skip_ingested_documents = args[:skip_ingested_documents] if args.key?(:skip_ingested_documents)
|
46607
|
+
@split_classify_processor_info = args[:split_classify_processor_info] if args.key?(:split_classify_processor_info)
|
46608
|
+
end
|
46609
|
+
end
|
46610
|
+
|
46452
46611
|
# Request message for DocumentService.GetDocument.
|
46453
46612
|
class GoogleCloudContentwarehouseV1GetDocumentRequest
|
46454
46613
|
include Google::Apis::Core::Hashable
|
@@ -46573,6 +46732,67 @@ module Google
|
|
46573
46732
|
end
|
46574
46733
|
end
|
46575
46734
|
|
46735
|
+
# The ingestion pipeline config.
|
46736
|
+
class GoogleCloudContentwarehouseV1IngestPipelineConfig
|
46737
|
+
include Google::Apis::Core::Hashable
|
46738
|
+
|
46739
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
46740
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
46741
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
46742
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
46743
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
46744
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
46745
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
46746
|
+
# logical expression that allows access to a resource only if the expression
|
46747
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
46748
|
+
# the request, the resource, or both. To learn which resources support
|
46749
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
46750
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
46751
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
46752
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
46753
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
46754
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
46755
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
46756
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
46757
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
46758
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
46759
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
46760
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
46761
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
46762
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
46763
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
46764
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
46765
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
46766
|
+
# Corresponds to the JSON property `documentAclPolicy`
|
46767
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
46768
|
+
attr_accessor :document_acl_policy
|
46769
|
+
|
46770
|
+
# The document text extraction enabled flag. If the flag is set to true, DWH
|
46771
|
+
# will perform text extraction on the raw document.
|
46772
|
+
# Corresponds to the JSON property `enableDocumentTextExtraction`
|
46773
|
+
# @return [Boolean]
|
46774
|
+
attr_accessor :enable_document_text_extraction
|
46775
|
+
alias_method :enable_document_text_extraction?, :enable_document_text_extraction
|
46776
|
+
|
46777
|
+
# Optional. The name of the folder to which all ingested documents will be
|
46778
|
+
# linked during ingestion process. Format is `projects/`project`/locations/`
|
46779
|
+
# location`/documents/`folder_id``
|
46780
|
+
# Corresponds to the JSON property `folder`
|
46781
|
+
# @return [String]
|
46782
|
+
attr_accessor :folder
|
46783
|
+
|
46784
|
+
def initialize(**args)
|
46785
|
+
update!(**args)
|
46786
|
+
end
|
46787
|
+
|
46788
|
+
# Update properties of this object
|
46789
|
+
def update!(**args)
|
46790
|
+
@document_acl_policy = args[:document_acl_policy] if args.key?(:document_acl_policy)
|
46791
|
+
@enable_document_text_extraction = args[:enable_document_text_extraction] if args.key?(:enable_document_text_extraction)
|
46792
|
+
@folder = args[:folder] if args.key?(:folder)
|
46793
|
+
end
|
46794
|
+
end
|
46795
|
+
|
46576
46796
|
# Request message for projectService.InitializeProject
|
46577
46797
|
class GoogleCloudContentwarehouseV1InitializeProjectRequest
|
46578
46798
|
include Google::Apis::Core::Hashable
|
@@ -46981,6 +47201,47 @@ module Google
|
|
46981
47201
|
end
|
46982
47202
|
end
|
46983
47203
|
|
47204
|
+
# The configuration of processing documents in Document Warehouse with DocAi
|
47205
|
+
# processors pipeline.
|
47206
|
+
class GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline
|
47207
|
+
include Google::Apis::Core::Hashable
|
47208
|
+
|
47209
|
+
# The list of all the resource names of the documents to be processed. Format:
|
47210
|
+
# projects/`project_number`/locations/`location`/documents/`document_id`.
|
47211
|
+
# Corresponds to the JSON property `documents`
|
47212
|
+
# @return [Array<String>]
|
47213
|
+
attr_accessor :documents
|
47214
|
+
|
47215
|
+
# The Cloud Storage folder path used to store the exported documents before
|
47216
|
+
# being sent to CDW. Format: `gs:///`.
|
47217
|
+
# Corresponds to the JSON property `exportFolderPath`
|
47218
|
+
# @return [String]
|
47219
|
+
attr_accessor :export_folder_path
|
47220
|
+
|
47221
|
+
# The DocAI processor information.
|
47222
|
+
# Corresponds to the JSON property `processorInfo`
|
47223
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
|
47224
|
+
attr_accessor :processor_info
|
47225
|
+
|
47226
|
+
# The Cloud Storage folder path used to store the raw results from processors.
|
47227
|
+
# Format: `gs:///`.
|
47228
|
+
# Corresponds to the JSON property `processorResultsFolderPath`
|
47229
|
+
# @return [String]
|
47230
|
+
attr_accessor :processor_results_folder_path
|
47231
|
+
|
47232
|
+
def initialize(**args)
|
47233
|
+
update!(**args)
|
47234
|
+
end
|
47235
|
+
|
47236
|
+
# Update properties of this object
|
47237
|
+
def update!(**args)
|
47238
|
+
@documents = args[:documents] if args.key?(:documents)
|
47239
|
+
@export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
|
47240
|
+
@processor_info = args[:processor_info] if args.key?(:processor_info)
|
47241
|
+
@processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
|
47242
|
+
end
|
47243
|
+
end
|
47244
|
+
|
46984
47245
|
# The DocAI processor information.
|
46985
47246
|
class GoogleCloudContentwarehouseV1ProcessorInfo
|
46986
47247
|
include Google::Apis::Core::Hashable
|
@@ -47847,6 +48108,52 @@ module Google
|
|
47847
48108
|
end
|
47848
48109
|
end
|
47849
48110
|
|
48111
|
+
# Request message for DocumentService.RunPipeline.
|
48112
|
+
class GoogleCloudContentwarehouseV1RunPipelineRequest
|
48113
|
+
include Google::Apis::Core::Hashable
|
48114
|
+
|
48115
|
+
# The configuration of exporting documents from the Document Warehouse to CDW
|
48116
|
+
# pipeline.
|
48117
|
+
# Corresponds to the JSON property `exportCdwPipeline`
|
48118
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ExportToCdwPipeline]
|
48119
|
+
attr_accessor :export_cdw_pipeline
|
48120
|
+
|
48121
|
+
# The configuration of the Cloud Storage Ingestion pipeline.
|
48122
|
+
# Corresponds to the JSON property `gcsIngestPipeline`
|
48123
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestPipeline]
|
48124
|
+
attr_accessor :gcs_ingest_pipeline
|
48125
|
+
|
48126
|
+
# The configuration of the Cloud Storage Ingestion with DocAI Processors
|
48127
|
+
# pipeline.
|
48128
|
+
# Corresponds to the JSON property `gcsIngestWithDocAiProcessorsPipeline`
|
48129
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline]
|
48130
|
+
attr_accessor :gcs_ingest_with_doc_ai_processors_pipeline
|
48131
|
+
|
48132
|
+
# The configuration of processing documents in Document Warehouse with DocAi
|
48133
|
+
# processors pipeline.
|
48134
|
+
# Corresponds to the JSON property `processWithDocAiPipeline`
|
48135
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline]
|
48136
|
+
attr_accessor :process_with_doc_ai_pipeline
|
48137
|
+
|
48138
|
+
# Meta information is used to improve the performance of the service.
|
48139
|
+
# Corresponds to the JSON property `requestMetadata`
|
48140
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RequestMetadata]
|
48141
|
+
attr_accessor :request_metadata
|
48142
|
+
|
48143
|
+
def initialize(**args)
|
48144
|
+
update!(**args)
|
48145
|
+
end
|
48146
|
+
|
48147
|
+
# Update properties of this object
|
48148
|
+
def update!(**args)
|
48149
|
+
@export_cdw_pipeline = args[:export_cdw_pipeline] if args.key?(:export_cdw_pipeline)
|
48150
|
+
@gcs_ingest_pipeline = args[:gcs_ingest_pipeline] if args.key?(:gcs_ingest_pipeline)
|
48151
|
+
@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)
|
48152
|
+
@process_with_doc_ai_pipeline = args[:process_with_doc_ai_pipeline] if args.key?(:process_with_doc_ai_pipeline)
|
48153
|
+
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
48154
|
+
end
|
48155
|
+
end
|
48156
|
+
|
47850
48157
|
# Request message for DocumentService.SearchDocuments.
|
47851
48158
|
class GoogleCloudContentwarehouseV1SearchDocumentsRequest
|
47852
48159
|
include Google::Apis::Core::Hashable
|
@@ -48067,22 +48374,22 @@ module Google
|
|
48067
48374
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
48068
48375
|
# the request, the resource, or both. To learn which resources support
|
48069
48376
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
48070
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
48377
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
48071
48378
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
48072
48379
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
48073
48380
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
48074
48381
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
48075
48382
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
48076
48383
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
48077
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
48078
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
48079
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
48080
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
48081
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
48082
|
-
# access description: Does not grant access after Sep 2020
|
48083
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
48084
|
-
# a description of IAM and its features, see the
|
48085
|
-
# cloud.google.com/iam/docs/).
|
48384
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
48385
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
48386
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
48387
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
48388
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
48389
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
48390
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
48391
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
48392
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
48086
48393
|
# Corresponds to the JSON property `policy`
|
48087
48394
|
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
48088
48395
|
attr_accessor :policy
|
@@ -48131,22 +48438,22 @@ module Google
|
|
48131
48438
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
48132
48439
|
# the request, the resource, or both. To learn which resources support
|
48133
48440
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
48134
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
48441
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
48135
48442
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
48136
48443
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
48137
48444
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
48138
48445
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
48139
48446
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
48140
48447
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
48141
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
48142
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
48143
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
48144
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
48145
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
48146
|
-
# access description: Does not grant access after Sep 2020
|
48147
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
48148
|
-
# a description of IAM and its features, see the
|
48149
|
-
# cloud.google.com/iam/docs/).
|
48448
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
48449
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
48450
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
48451
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
48452
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
48453
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
48454
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
48455
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
48456
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
48150
48457
|
# Corresponds to the JSON property `policy`
|
48151
48458
|
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
48152
48459
|
attr_accessor :policy
|
@@ -50749,22 +51056,22 @@ module Google
|
|
50749
51056
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
50750
51057
|
# the request, the resource, or both. To learn which resources support
|
50751
51058
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
50752
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
51059
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
50753
51060
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
50754
51061
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
50755
51062
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
50756
51063
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
50757
51064
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
50758
51065
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
50759
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
50760
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
50761
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
50762
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
50763
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
50764
|
-
# access description: Does not grant access after Sep 2020
|
50765
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
50766
|
-
# a description of IAM and its features, see the
|
50767
|
-
# cloud.google.com/iam/docs/).
|
51066
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
51067
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
51068
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
51069
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
51070
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
51071
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
51072
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
51073
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
51074
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
50768
51075
|
class GoogleIamV1Policy
|
50769
51076
|
include Google::Apis::Core::Hashable
|
50770
51077
|
|
@@ -51637,13 +51944,13 @@ module Google
|
|
51637
51944
|
# @return [String]
|
51638
51945
|
attr_accessor :name
|
51639
51946
|
|
51640
|
-
# The normal response of the operation
|
51641
|
-
#
|
51642
|
-
#
|
51643
|
-
#
|
51644
|
-
#
|
51645
|
-
#
|
51646
|
-
#
|
51947
|
+
# The normal, successful response of the operation. If the original method
|
51948
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
51949
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
51950
|
+
# response should be the resource. For other methods, the response should have
|
51951
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
51952
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
51953
|
+
# `TakeSnapshotResponse`.
|
51647
51954
|
# Corresponds to the JSON property `response`
|
51648
51955
|
# @return [Hash<String,Object>]
|
51649
51956
|
attr_accessor :response
|
@@ -54094,7 +54401,7 @@ module Google
|
|
54094
54401
|
end
|
54095
54402
|
end
|
54096
54403
|
|
54097
|
-
# Next id: 54
|
54404
|
+
# Next id: 54 Font and text decorations:
|
54098
54405
|
class HtmlrenderWebkitHeadlessProtoStyle
|
54099
54406
|
include Google::Apis::Core::Hashable
|
54100
54407
|
|
@@ -54234,7 +54541,9 @@ module Google
|
|
54234
54541
|
# @return [String]
|
54235
54542
|
attr_accessor :display_prop
|
54236
54543
|
|
54237
|
-
#
|
54544
|
+
# `font_family` is the `font-family` computed style, not necessarily the actual
|
54545
|
+
# font. https://developer.mozilla.org/en-US/docs/Web/CSS/font-family. Note that
|
54546
|
+
# it may contain multiple font families, not just one.
|
54238
54547
|
# Corresponds to the JSON property `fontFamily`
|
54239
54548
|
# @return [String]
|
54240
54549
|
attr_accessor :font_family
|
@@ -57145,7 +57454,7 @@ module Google
|
|
57145
57454
|
end
|
57146
57455
|
end
|
57147
57456
|
|
57148
|
-
# Next Tag:
|
57457
|
+
# Next Tag: 51
|
57149
57458
|
class ImageRepositoryContentBasedVideoMetadata
|
57150
57459
|
include Google::Apis::Core::Hashable
|
57151
57460
|
|
@@ -57187,6 +57496,11 @@ module Google
|
|
57187
57496
|
# @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureSetData]
|
57188
57497
|
attr_accessor :golden7_soapbox_summary
|
57189
57498
|
|
57499
|
+
# Information on frame-level people feature blob. (go/vpf-frame-features)
|
57500
|
+
# Corresponds to the JSON property `golden7SoapboxTracksBlobInfo`
|
57501
|
+
# @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaSignalsBlobInfo]
|
57502
|
+
attr_accessor :golden7_soapbox_tracks_blob_info
|
57503
|
+
|
57190
57504
|
# This message is used to store information about Inline Playback in the
|
57191
57505
|
# VideoWebAttachment portion of the websearch index. LINT.IfChange
|
57192
57506
|
# Corresponds to the JSON property `inlinePlayback`
|
@@ -57219,6 +57533,11 @@ module Google
|
|
57219
57533
|
# @return [Google::Apis::ContentwarehouseV1::VideoMediaInfo]
|
57220
57534
|
attr_accessor :media_info
|
57221
57535
|
|
57536
|
+
# This proto stores perdocs extracted from video frames.
|
57537
|
+
# Corresponds to the JSON property `multiThumbnailsFramePerdocs`
|
57538
|
+
# @return [Google::Apis::ContentwarehouseV1::ImageRepositoryFramePerdocs]
|
57539
|
+
attr_accessor :multi_thumbnails_frame_perdocs
|
57540
|
+
|
57222
57541
|
# This defines the per-doc data which is extracted from thumbnails and
|
57223
57542
|
# propagated over to indexing. It contains all information that can be used for
|
57224
57543
|
# restricts. Next tag id: 129
|
@@ -57377,12 +57696,14 @@ module Google
|
|
57377
57696
|
@cloud_speech_signals = args[:cloud_speech_signals] if args.key?(:cloud_speech_signals)
|
57378
57697
|
@feature_set_data = args[:feature_set_data] if args.key?(:feature_set_data)
|
57379
57698
|
@golden7_soapbox_summary = args[:golden7_soapbox_summary] if args.key?(:golden7_soapbox_summary)
|
57699
|
+
@golden7_soapbox_tracks_blob_info = args[:golden7_soapbox_tracks_blob_info] if args.key?(:golden7_soapbox_tracks_blob_info)
|
57380
57700
|
@inline_playback = args[:inline_playback] if args.key?(:inline_playback)
|
57381
57701
|
@language_identification = args[:language_identification] if args.key?(:language_identification)
|
57382
57702
|
@legos_annotation_data = args[:legos_annotation_data] if args.key?(:legos_annotation_data)
|
57383
57703
|
@lms_preview_frame_perdocs = args[:lms_preview_frame_perdocs] if args.key?(:lms_preview_frame_perdocs)
|
57384
57704
|
@loudness_data = args[:loudness_data] if args.key?(:loudness_data)
|
57385
57705
|
@media_info = args[:media_info] if args.key?(:media_info)
|
57706
|
+
@multi_thumbnails_frame_perdocs = args[:multi_thumbnails_frame_perdocs] if args.key?(:multi_thumbnails_frame_perdocs)
|
57386
57707
|
@representative_frame_data = args[:representative_frame_data] if args.key?(:representative_frame_data)
|
57387
57708
|
@s3_asr = args[:s3_asr] if args.key?(:s3_asr)
|
57388
57709
|
@s3_language_identification = args[:s3_language_identification] if args.key?(:s3_language_identification)
|
@@ -58356,7 +58677,7 @@ module Google
|
|
58356
58677
|
attr_accessor :audio_only
|
58357
58678
|
alias_method :audio_only?, :audio_only
|
58358
58679
|
|
58359
|
-
# Next Tag:
|
58680
|
+
# Next Tag: 51
|
58360
58681
|
# Corresponds to the JSON property `contentBasedMetadata`
|
58361
58682
|
# @return [Google::Apis::ContentwarehouseV1::ImageRepositoryContentBasedVideoMetadata]
|
58362
58683
|
attr_accessor :content_based_metadata
|
@@ -60426,8 +60747,10 @@ module Google
|
|
60426
60747
|
# downstream systems can take advantage of this annotation to automatically
|
60427
60748
|
# handle newly introduced data without modifying their code. Please also see the
|
60428
60749
|
# comment of FieldProjector above. There are also some fields in DataInfo that
|
60429
|
-
# annotate who generates the data, the Index Signals or Goldmine annotator name
|
60430
|
-
#
|
60750
|
+
# annotate who generates the data, the Index Signals or Goldmine annotator name
|
60751
|
+
# for the fields already onboarded or being onboarded to FDP. Fields without
|
60752
|
+
# annotation of signal_names or goldmine_annotator_names are not onboarded. Next
|
60753
|
+
# ID: 538
|
60431
60754
|
class IndexingDocjoinerDataVersion
|
60432
60755
|
include Google::Apis::Core::Hashable
|
60433
60756
|
|
@@ -68687,7 +69010,7 @@ module Google
|
|
68687
69010
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersSensitivitySensitivity]
|
68688
69011
|
attr_accessor :sensitivity
|
68689
69012
|
|
68690
|
-
# Next ID:
|
69013
|
+
# Next ID: 37
|
68691
69014
|
# Corresponds to the JSON property `signals`
|
68692
69015
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryFunctionCallSignals]
|
68693
69016
|
attr_accessor :signals
|
@@ -68719,7 +69042,7 @@ module Google
|
|
68719
69042
|
end
|
68720
69043
|
end
|
68721
69044
|
|
68722
|
-
# Next ID:
|
69045
|
+
# Next ID: 37
|
68723
69046
|
class KnowledgeAnswersIntentQueryFunctionCallSignals
|
68724
69047
|
include Google::Apis::Core::Hashable
|
68725
69048
|
|
@@ -68888,7 +69211,7 @@ module Google
|
|
68888
69211
|
|
68889
69212
|
# Signals to be used by the Prefulfillment Ranker. Derived from the
|
68890
69213
|
# ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
|
68891
|
-
# Next ID:
|
69214
|
+
# Next ID: 62
|
68892
69215
|
# Corresponds to the JSON property `prefulfillmentSignals`
|
68893
69216
|
# @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
|
68894
69217
|
attr_accessor :prefulfillment_signals
|
@@ -68949,6 +69272,13 @@ module Google
|
|
68949
69272
|
# @return [Array<Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQuerySignalComputationFallbackIntent>]
|
68950
69273
|
attr_accessor :signals_fallback_intents
|
68951
69274
|
|
69275
|
+
# Identifies whether this intent intends to be scored and pruned by the
|
69276
|
+
# prefulfillment ranker after intent-generation.
|
69277
|
+
# Corresponds to the JSON property `usesPrefulfillmentRanker`
|
69278
|
+
# @return [Boolean]
|
69279
|
+
attr_accessor :uses_prefulfillment_ranker
|
69280
|
+
alias_method :uses_prefulfillment_ranker?, :uses_prefulfillment_ranker
|
69281
|
+
|
68952
69282
|
def initialize(**args)
|
68953
69283
|
update!(**args)
|
68954
69284
|
end
|
@@ -68987,6 +69317,7 @@ module Google
|
|
68987
69317
|
@selected_by_prefulfillment_ranking = args[:selected_by_prefulfillment_ranking] if args.key?(:selected_by_prefulfillment_ranking)
|
68988
69318
|
@shopping_ids = args[:shopping_ids] if args.key?(:shopping_ids)
|
68989
69319
|
@signals_fallback_intents = args[:signals_fallback_intents] if args.key?(:signals_fallback_intents)
|
69320
|
+
@uses_prefulfillment_ranker = args[:uses_prefulfillment_ranker] if args.key?(:uses_prefulfillment_ranker)
|
68990
69321
|
end
|
68991
69322
|
end
|
68992
69323
|
|
@@ -70668,7 +70999,18 @@ module Google
|
|
70668
70999
|
end
|
70669
71000
|
end
|
70670
71001
|
|
70671
|
-
#
|
71002
|
+
# A LocationType configures a value whose type is a Location message, for
|
71003
|
+
# example, the output of the Location subgrammar. Note that this location type
|
71004
|
+
# is not the same as a "location entity" (an entity with a location indicating
|
71005
|
+
# type/collection, which is annotated by QRef). The scope of a LocationType is
|
71006
|
+
# usually broader than a location entity, it may represent - businesses, places,
|
71007
|
+
# and POIs (location entities from QRef) - addresses ("123 Main St., New York,
|
71008
|
+
# NY") or even just coordinates (latitude, longitude) - business categories (e.g.
|
71009
|
+
# , "pharmacies" or "gas stations") - SAFT locations - aliases (including "home"
|
71010
|
+
# and "work") - contacts - combinations of a location with modifiers and
|
71011
|
+
# constraints (e.g., "chinese restaurant near me" or "cheap kid-friendly hotels")
|
71012
|
+
# - ungrounded locations produced by ungrounded_location model See go/location-
|
71013
|
+
# type for the details of the location proto output by location subgrammar.
|
70672
71014
|
class KnowledgeAnswersOpaqueLocationType
|
70673
71015
|
include Google::Apis::Core::Hashable
|
70674
71016
|
|
@@ -70969,7 +71311,18 @@ module Google
|
|
70969
71311
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueHomeAutomationDeviceType]
|
70970
71312
|
attr_accessor :home_automation_device_type
|
70971
71313
|
|
70972
|
-
#
|
71314
|
+
# A LocationType configures a value whose type is a Location message, for
|
71315
|
+
# example, the output of the Location subgrammar. Note that this location type
|
71316
|
+
# is not the same as a "location entity" (an entity with a location indicating
|
71317
|
+
# type/collection, which is annotated by QRef). The scope of a LocationType is
|
71318
|
+
# usually broader than a location entity, it may represent - businesses, places,
|
71319
|
+
# and POIs (location entities from QRef) - addresses ("123 Main St., New York,
|
71320
|
+
# NY") or even just coordinates (latitude, longitude) - business categories (e.g.
|
71321
|
+
# , "pharmacies" or "gas stations") - SAFT locations - aliases (including "home"
|
71322
|
+
# and "work") - contacts - combinations of a location with modifiers and
|
71323
|
+
# constraints (e.g., "chinese restaurant near me" or "cheap kid-friendly hotels")
|
71324
|
+
# - ungrounded locations produced by ungrounded_location model See go/location-
|
71325
|
+
# type for the details of the location proto output by location subgrammar.
|
70973
71326
|
# Corresponds to the JSON property `locationType`
|
70974
71327
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueLocationType]
|
70975
71328
|
attr_accessor :location_type
|
@@ -93768,11 +94121,6 @@ module Google
|
|
93768
94121
|
# @return [String]
|
93769
94122
|
attr_accessor :url
|
93770
94123
|
|
93771
|
-
# Per-URL porn scores for the URLs associated with the corresponding image.
|
93772
|
-
# Corresponds to the JSON property `urlPornScores`
|
93773
|
-
# @return [Google::Apis::ContentwarehouseV1::ClassifierPornAggregatedUrlPornScores]
|
93774
|
-
attr_accessor :url_porn_scores
|
93775
|
-
|
93776
94124
|
def initialize(**args)
|
93777
94125
|
update!(**args)
|
93778
94126
|
end
|
@@ -93798,7 +94146,6 @@ module Google
|
|
93798
94146
|
@referrer_counts = args[:referrer_counts] if args.key?(:referrer_counts)
|
93799
94147
|
@semantic_sexualization_score = args[:semantic_sexualization_score] if args.key?(:semantic_sexualization_score)
|
93800
94148
|
@url = args[:url] if args.key?(:url)
|
93801
|
-
@url_porn_scores = args[:url_porn_scores] if args.key?(:url_porn_scores)
|
93802
94149
|
end
|
93803
94150
|
end
|
93804
94151
|
|
@@ -97127,6 +97474,11 @@ module Google
|
|
97127
97474
|
# @return [Fixnum]
|
97128
97475
|
attr_accessor :value_int32
|
97129
97476
|
|
97477
|
+
#
|
97478
|
+
# Corresponds to the JSON property `valueString`
|
97479
|
+
# @return [String]
|
97480
|
+
attr_accessor :value_string
|
97481
|
+
|
97130
97482
|
#
|
97131
97483
|
# Corresponds to the JSON property `valueUint32`
|
97132
97484
|
# @return [Fixnum]
|
@@ -97147,6 +97499,7 @@ module Google
|
|
97147
97499
|
@value_double = args[:value_double] if args.key?(:value_double)
|
97148
97500
|
@value_float = args[:value_float] if args.key?(:value_float)
|
97149
97501
|
@value_int32 = args[:value_int32] if args.key?(:value_int32)
|
97502
|
+
@value_string = args[:value_string] if args.key?(:value_string)
|
97150
97503
|
@value_uint32 = args[:value_uint32] if args.key?(:value_uint32)
|
97151
97504
|
@version_id = args[:version_id] if args.key?(:version_id)
|
97152
97505
|
end
|
@@ -97737,7 +98090,7 @@ module Google
|
|
97737
98090
|
end
|
97738
98091
|
end
|
97739
98092
|
|
97740
|
-
# Next id:
|
98093
|
+
# Next id: 18
|
97741
98094
|
class QualityNsrPqData
|
97742
98095
|
include Google::Apis::Core::Hashable
|
97743
98096
|
|
@@ -97772,6 +98125,11 @@ module Google
|
|
97772
98125
|
# @return [Float]
|
97773
98126
|
attr_accessor :delta_subchunk_adjustment
|
97774
98127
|
|
98128
|
+
# Keto score.
|
98129
|
+
# Corresponds to the JSON property `keto`
|
98130
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::QualityNsrVersionedFloatSignal>]
|
98131
|
+
attr_accessor :keto
|
98132
|
+
|
97775
98133
|
#
|
97776
98134
|
# Corresponds to the JSON property `linkIncoming`
|
97777
98135
|
# @return [Float]
|
@@ -97824,6 +98182,7 @@ module Google
|
|
97824
98182
|
@delta_link_outgoing = args[:delta_link_outgoing] if args.key?(:delta_link_outgoing)
|
97825
98183
|
@delta_page_quality = args[:delta_page_quality] if args.key?(:delta_page_quality)
|
97826
98184
|
@delta_subchunk_adjustment = args[:delta_subchunk_adjustment] if args.key?(:delta_subchunk_adjustment)
|
98185
|
+
@keto = args[:keto] if args.key?(:keto)
|
97827
98186
|
@link_incoming = args[:link_incoming] if args.key?(:link_incoming)
|
97828
98187
|
@link_outgoing = args[:link_outgoing] if args.key?(:link_outgoing)
|
97829
98188
|
@num_offdomain_anchors = args[:num_offdomain_anchors] if args.key?(:num_offdomain_anchors)
|
@@ -101305,15 +101664,16 @@ module Google
|
|
101305
101664
|
end
|
101306
101665
|
|
101307
101666
|
# Unreliable dates signals per URL. go/unreliable-dates-dd
|
101308
|
-
class
|
101667
|
+
class QualityTimebasedDateUnreliability
|
101309
101668
|
include Google::Apis::Core::Hashable
|
101310
101669
|
|
101311
101670
|
#
|
101312
101671
|
# Corresponds to the JSON property `petacatScores`
|
101313
|
-
# @return [Array<Google::Apis::ContentwarehouseV1::
|
101672
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::QualityTimebasedPetacatDateUnreliability>]
|
101314
101673
|
attr_accessor :petacat_scores
|
101315
101674
|
|
101316
|
-
# max(petacat.
|
101675
|
+
# If scores are missing, the date is reliable by default. max(petacat.
|
101676
|
+
# unreliable_dates_score)
|
101317
101677
|
# Corresponds to the JSON property `unreliableDatesScore`
|
101318
101678
|
# @return [Float]
|
101319
101679
|
attr_accessor :unreliable_dates_score
|
@@ -101354,9 +101714,9 @@ module Google
|
|
101354
101714
|
attr_accessor :date
|
101355
101715
|
|
101356
101716
|
# Unreliable dates signals per URL. go/unreliable-dates-dd
|
101357
|
-
# Corresponds to the JSON property `
|
101358
|
-
# @return [Google::Apis::ContentwarehouseV1::
|
101359
|
-
attr_accessor :
|
101717
|
+
# Corresponds to the JSON property `dateUnreliabilityInfo`
|
101718
|
+
# @return [Google::Apis::ContentwarehouseV1::QualityTimebasedDateUnreliability]
|
101719
|
+
attr_accessor :date_unreliability_info
|
101360
101720
|
|
101361
101721
|
# The source the signal comes from.
|
101362
101722
|
# Corresponds to the JSON property `source`
|
@@ -101371,7 +101731,7 @@ module Google
|
|
101371
101731
|
def update!(**args)
|
101372
101732
|
@adjustment_info = args[:adjustment_info] if args.key?(:adjustment_info)
|
101373
101733
|
@date = args[:date] if args.key?(:date)
|
101374
|
-
@
|
101734
|
+
@date_unreliability_info = args[:date_unreliability_info] if args.key?(:date_unreliability_info)
|
101375
101735
|
@source = args[:source] if args.key?(:source)
|
101376
101736
|
end
|
101377
101737
|
end
|
@@ -101460,8 +101820,13 @@ module Google
|
|
101460
101820
|
end
|
101461
101821
|
end
|
101462
101822
|
|
101463
|
-
# Unreliable dates signals per Domain+Petacat. go/unreliable-dates-dd
|
101464
|
-
|
101823
|
+
# Unreliable dates signals per Domain+Petacat. go/unreliable-dates-dd NOTE(
|
101824
|
+
# tomwesolowski): As of now, we can safely keep up to 8 4-bytes fields in this
|
101825
|
+
# proto due to Laelaps constraint of max. 50k bytes per single value. We keep
|
101826
|
+
# all the petacats categories for a domain under the same key. The largest sites
|
101827
|
+
# (Youtube, Wikipedia, Facebook) have up to 1.5k different petacat verticals.
|
101828
|
+
# 1500 * 4 * 8 / 1024 bytes = 46.9k bytes
|
101829
|
+
class QualityTimebasedPetacatDateUnreliability
|
101465
101830
|
include Google::Apis::Core::Hashable
|
101466
101831
|
|
101467
101832
|
#
|
@@ -102920,11 +103285,6 @@ module Google
|
|
102920
103285
|
# @return [String]
|
102921
103286
|
attr_accessor :debug_string
|
102922
103287
|
|
102923
|
-
# Listiness score of the category.
|
102924
|
-
# Corresponds to the JSON property `listiness`
|
102925
|
-
# @return [Float]
|
102926
|
-
attr_accessor :listiness
|
102927
|
-
|
102928
103288
|
# The mid of the entity representing the category.
|
102929
103289
|
# Corresponds to the JSON property `mid`
|
102930
103290
|
# @return [Fixnum]
|
@@ -102937,7 +103297,6 @@ module Google
|
|
102937
103297
|
# Update properties of this object
|
102938
103298
|
def update!(**args)
|
102939
103299
|
@debug_string = args[:debug_string] if args.key?(:debug_string)
|
102940
|
-
@listiness = args[:listiness] if args.key?(:listiness)
|
102941
103300
|
@mid = args[:mid] if args.key?(:mid)
|
102942
103301
|
end
|
102943
103302
|
end
|
@@ -103774,7 +104133,8 @@ module Google
|
|
103774
104133
|
|
103775
104134
|
# Metadata proto to be stored in concept tables. Note: Name table only stores
|
103776
104135
|
# name_type_mask for better performance. Remember to change NameToConceptEntry
|
103777
|
-
# if you add a field to this proto.
|
104136
|
+
# if you add a field to this proto. Note: in the annotator output only URL and
|
104137
|
+
# PHONE_NUMBER are populated.
|
103778
104138
|
class RepositoryWebrefConceptNameMetadata
|
103779
104139
|
include Google::Apis::Core::Hashable
|
103780
104140
|
|
@@ -104755,11 +105115,6 @@ module Google
|
|
104755
105115
|
class RepositoryWebrefEntityScores
|
104756
105116
|
include Google::Apis::Core::Hashable
|
104757
105117
|
|
104758
|
-
# Probability that any given name of this entity is fully capitalized.
|
104759
|
-
# Corresponds to the JSON property `allCapsProb`
|
104760
|
-
# @return [Float]
|
104761
|
-
attr_accessor :all_caps_prob
|
104762
|
-
|
104763
105118
|
# This field is only for debugging and link weight experiments. It stores the
|
104764
105119
|
# entity's idf from the alpha model. Alpha idfs are used for link weight
|
104765
105120
|
# computations and available during model omega building via
|
@@ -104781,17 +105136,12 @@ module Google
|
|
104781
105136
|
# @return [Float]
|
104782
105137
|
attr_accessor :entity_idf
|
104783
105138
|
|
104784
|
-
#
|
104785
|
-
# Corresponds to the JSON property `nameCapitalizationProb`
|
104786
|
-
# @return [Float]
|
104787
|
-
attr_accessor :name_capitalization_prob
|
104788
|
-
|
104789
|
-
# The following fields are deprecated and should eventually be removed. They use
|
105139
|
+
# The following field is deprecated and should eventually be removed. It uses
|
104790
105140
|
# data and rules that have not been refreshed for ~10y and KG has changed a lot
|
104791
105141
|
# in the meantime.
|
104792
|
-
# Corresponds to the JSON property `
|
105142
|
+
# Corresponds to the JSON property `nameCapitalizationProb`
|
104793
105143
|
# @return [Float]
|
104794
|
-
attr_accessor :
|
105144
|
+
attr_accessor :name_capitalization_prob
|
104795
105145
|
|
104796
105146
|
def initialize(**args)
|
104797
105147
|
update!(**args)
|
@@ -104799,12 +105149,10 @@ module Google
|
|
104799
105149
|
|
104800
105150
|
# Update properties of this object
|
104801
105151
|
def update!(**args)
|
104802
|
-
@all_caps_prob = args[:all_caps_prob] if args.key?(:all_caps_prob)
|
104803
105152
|
@alpha_entity_idf = args[:alpha_entity_idf] if args.key?(:alpha_entity_idf)
|
104804
105153
|
@common_ngram_prob = args[:common_ngram_prob] if args.key?(:common_ngram_prob)
|
104805
105154
|
@entity_idf = args[:entity_idf] if args.key?(:entity_idf)
|
104806
105155
|
@name_capitalization_prob = args[:name_capitalization_prob] if args.key?(:name_capitalization_prob)
|
104807
|
-
@person_prob = args[:person_prob] if args.key?(:person_prob)
|
104808
105156
|
end
|
104809
105157
|
end
|
104810
105158
|
|
@@ -105151,12 +105499,16 @@ module Google
|
|
105151
105499
|
attr_accessor :type_fprint
|
105152
105500
|
|
105153
105501
|
# Mid of this type. Equivalent to type_name, but is more compact. When present,
|
105154
|
-
# overrides type_name (which can be omitted in this case to save space).
|
105502
|
+
# overrides type_name (which can be omitted in this case to save space). This
|
105503
|
+
# field is deprecated and migrated to fprint.
|
105155
105504
|
# Corresponds to the JSON property `typeMid`
|
105156
105505
|
# @return [Fixnum]
|
105157
105506
|
attr_accessor :type_mid
|
105158
105507
|
|
105159
|
-
# e.g.: "/business/industry", "/book/book_subject", "/people/person"...
|
105508
|
+
# e.g.: "/business/industry", "/book/book_subject", "/people/person"... HRID of
|
105509
|
+
# the type. May be missing for optimisation reasons in Refcon, but is present
|
105510
|
+
# for Qref/Webref. At least one of type_name or type_fprint will be present at
|
105511
|
+
# all times
|
105160
105512
|
# Corresponds to the JSON property `typeName`
|
105161
105513
|
# @return [String]
|
105162
105514
|
attr_accessor :type_name
|
@@ -105223,7 +105575,9 @@ module Google
|
|
105223
105575
|
# @return [Google::Apis::ContentwarehouseV1::GeostoreAddressProto]
|
105224
105576
|
attr_accessor :address
|
105225
105577
|
|
105226
|
-
#
|
105578
|
+
# This field is only provided through the online qref interface (QrefMetadata).
|
105579
|
+
# This is a fairly simple extraction from the /geo/type/feature/
|
105580
|
+
# address_proto_blob triple.
|
105227
105581
|
# Corresponds to the JSON property `addressSynonyms`
|
105228
105582
|
# @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefGeoMetadataProtoAddressSynonym>]
|
105229
105583
|
attr_accessor :address_synonyms
|
@@ -106268,7 +106622,8 @@ module Google
|
|
106268
106622
|
|
106269
106623
|
# Metadata proto to be stored in concept tables. Note: Name table only stores
|
106270
106624
|
# name_type_mask for better performance. Remember to change NameToConceptEntry
|
106271
|
-
# if you add a field to this proto.
|
106625
|
+
# if you add a field to this proto. Note: in the annotator output only URL and
|
106626
|
+
# PHONE_NUMBER are populated.
|
106272
106627
|
# Corresponds to the JSON property `nameMetadata`
|
106273
106628
|
# @return [Google::Apis::ContentwarehouseV1::RepositoryWebrefConceptNameMetadata]
|
106274
106629
|
attr_accessor :name_metadata
|
@@ -109870,37 +110225,37 @@ module Google
|
|
109870
110225
|
# @return [Google::Apis::ContentwarehouseV1::ResearchScamQueryMetadata]
|
109871
110226
|
attr_accessor :query_metadata
|
109872
110227
|
|
109873
|
-
# RestrictTokens - used to perform "restricted searches"
|
109874
|
-
# used to filter the subset of the database eligible for
|
109875
|
-
# support V1 and V3 restrict systems. V3 restrict is a
|
109876
|
-
# New users are encouraged to use V3 directly for its
|
109877
|
-
# semantics. See the document go/scam-v3-restricts, or
|
109878
|
-
# research/scam/proto/restricts.proto for details.
|
109879
|
-
# still supported by ScaM team. There's some minor
|
109880
|
-
# between V1 and V3. User may prefer V1 over V3 if
|
109881
|
-
# priority. However, the CPU cost between V1 and V3
|
109882
|
-
#
|
109883
|
-
# semantics of V1 restrict is described below: V1 "
|
109884
|
-
# dataset defines a many:many mapping between the
|
109885
|
-
# space. Each token names a set of tokens and each
|
109886
|
-
# zero-to-many tokens. Queries specify zero-to-
|
109887
|
-
# tokens that activate database points according to
|
109888
|
-
# whitelist_token is populated, the search will be
|
109889
|
-
# at least one whitelist token. If whitelist_token
|
109890
|
-
# whitelisted by default. * If blacklist_token is
|
109891
|
-
# whitelist. Points named by a blacklisted token are
|
109892
|
-
# if neither whitelist_token nor blacklist_token is
|
109893
|
-
# remains unrestricted.
|
109894
|
-
#
|
109895
|
-
# and/or blacklisted for zero or more tokens, specified by
|
109896
|
-
# blacklist_token fields. Each query specifies zero or more
|
109897
|
-
# rules apply: * If a point's whitelist_token is populated,
|
109898
|
-
# be searched if the query has at least one matching
|
109899
|
-
# whitelist_token is empty, the point is always whitelisted
|
109900
|
-
# point's blacklist_token is populated, it overrides the
|
109901
|
-
# will be ignored for any query with a matching blacklist
|
109902
|
-
# neither whitelist_token nor blacklist_token is
|
109903
|
-
# always be searched. NEXT ID TO USE: 9
|
110228
|
+
# copybara:strip_begin RestrictTokens - used to perform "restricted searches"
|
110229
|
+
# where boolean rules are used to filter the subset of the database eligible for
|
110230
|
+
# matching. We currently support V1 and V3 restrict systems. V3 restrict is a
|
110231
|
+
# superset of V1 restrict. New users are encouraged to use V3 directly for its
|
110232
|
+
# rich features and cleaner semantics. See the document go/scam-v3-restricts, or
|
110233
|
+
# read the comments in //research/scam/proto/restricts.proto for details.
|
110234
|
+
# Nevertheless, V1 restrict is still supported by ScaM team. There's some minor
|
110235
|
+
# tradeoff of performance between V1 and V3. User may prefer V1 over V3 if
|
110236
|
+
# performance is the first priority. However, the CPU cost between V1 and V3
|
110237
|
+
# should be very minor. ---------------------------------------------------------
|
110238
|
+
# ------------------ The semantics of V1 restrict is described below: V1 "
|
110239
|
+
# forward" restricts: The dataset defines a many:many mapping between the
|
110240
|
+
# database points and a token space. Each token names a set of tokens and each
|
110241
|
+
# database point is a member of zero-to-many tokens. Queries specify zero-to-
|
110242
|
+
# many whitelist and blacklist tokens that activate database points according to
|
110243
|
+
# the following rules: * If whitelist_token is populated, the search will be
|
110244
|
+
# restricted to points named by at least one whitelist token. If whitelist_token
|
110245
|
+
# is empty, all points are whitelisted by default. * If blacklist_token is
|
110246
|
+
# populated, it overrides the whitelist. Points named by a blacklisted token are
|
110247
|
+
# *not* searched. * Note that, if neither whitelist_token nor blacklist_token is
|
110248
|
+
# populated, the search remains unrestricted. -----------------------------------
|
110249
|
+
# ---------------------------------------- V1 "reverse" restricts: Each database
|
110250
|
+
# point is whitelisted and/or blacklisted for zero or more tokens, specified by
|
110251
|
+
# whitelist_token and blacklist_token fields. Each query specifies zero or more
|
110252
|
+
# tokens, and the same rules apply: * If a point's whitelist_token is populated,
|
110253
|
+
# the point will only be searched if the query has at least one matching
|
110254
|
+
# whitelist token. If whitelist_token is empty, the point is always whitelisted
|
110255
|
+
# by default. * If a point's blacklist_token is populated, it overrides the
|
110256
|
+
# whitelist. The point will be ignored for any query with a matching blacklist
|
110257
|
+
# token. * Note that, if neither whitelist_token nor blacklist_token is
|
110258
|
+
# populated, the point will always be searched. NEXT ID TO USE: 9
|
109904
110259
|
# Corresponds to the JSON property `restrictTokens`
|
109905
110260
|
# @return [Google::Apis::ContentwarehouseV1::ResearchScamGenericFeatureVectorRestrictTokens]
|
109906
110261
|
attr_accessor :restrict_tokens
|
@@ -110003,37 +110358,37 @@ module Google
|
|
110003
110358
|
end
|
110004
110359
|
end
|
110005
110360
|
|
110006
|
-
# RestrictTokens - used to perform "restricted searches"
|
110007
|
-
# used to filter the subset of the database eligible for
|
110008
|
-
# support V1 and V3 restrict systems. V3 restrict is a
|
110009
|
-
# New users are encouraged to use V3 directly for its
|
110010
|
-
# semantics. See the document go/scam-v3-restricts, or
|
110011
|
-
# research/scam/proto/restricts.proto for details.
|
110012
|
-
# still supported by ScaM team. There's some minor
|
110013
|
-
# between V1 and V3. User may prefer V1 over V3 if
|
110014
|
-
# priority. However, the CPU cost between V1 and V3
|
110015
|
-
#
|
110016
|
-
# semantics of V1 restrict is described below: V1 "
|
110017
|
-
# dataset defines a many:many mapping between the
|
110018
|
-
# space. Each token names a set of tokens and each
|
110019
|
-
# zero-to-many tokens. Queries specify zero-to-
|
110020
|
-
# tokens that activate database points according to
|
110021
|
-
# whitelist_token is populated, the search will be
|
110022
|
-
# at least one whitelist token. If whitelist_token
|
110023
|
-
# whitelisted by default. * If blacklist_token is
|
110024
|
-
# whitelist. Points named by a blacklisted token are
|
110025
|
-
# if neither whitelist_token nor blacklist_token is
|
110026
|
-
# remains unrestricted.
|
110027
|
-
#
|
110028
|
-
# and/or blacklisted for zero or more tokens, specified by
|
110029
|
-
# blacklist_token fields. Each query specifies zero or more
|
110030
|
-
# rules apply: * If a point's whitelist_token is populated,
|
110031
|
-
# be searched if the query has at least one matching
|
110032
|
-
# whitelist_token is empty, the point is always whitelisted
|
110033
|
-
# point's blacklist_token is populated, it overrides the
|
110034
|
-
# will be ignored for any query with a matching blacklist
|
110035
|
-
# neither whitelist_token nor blacklist_token is
|
110036
|
-
# always be searched. NEXT ID TO USE: 9
|
110361
|
+
# copybara:strip_begin RestrictTokens - used to perform "restricted searches"
|
110362
|
+
# where boolean rules are used to filter the subset of the database eligible for
|
110363
|
+
# matching. We currently support V1 and V3 restrict systems. V3 restrict is a
|
110364
|
+
# superset of V1 restrict. New users are encouraged to use V3 directly for its
|
110365
|
+
# rich features and cleaner semantics. See the document go/scam-v3-restricts, or
|
110366
|
+
# read the comments in //research/scam/proto/restricts.proto for details.
|
110367
|
+
# Nevertheless, V1 restrict is still supported by ScaM team. There's some minor
|
110368
|
+
# tradeoff of performance between V1 and V3. User may prefer V1 over V3 if
|
110369
|
+
# performance is the first priority. However, the CPU cost between V1 and V3
|
110370
|
+
# should be very minor. ---------------------------------------------------------
|
110371
|
+
# ------------------ The semantics of V1 restrict is described below: V1 "
|
110372
|
+
# forward" restricts: The dataset defines a many:many mapping between the
|
110373
|
+
# database points and a token space. Each token names a set of tokens and each
|
110374
|
+
# database point is a member of zero-to-many tokens. Queries specify zero-to-
|
110375
|
+
# many whitelist and blacklist tokens that activate database points according to
|
110376
|
+
# the following rules: * If whitelist_token is populated, the search will be
|
110377
|
+
# restricted to points named by at least one whitelist token. If whitelist_token
|
110378
|
+
# is empty, all points are whitelisted by default. * If blacklist_token is
|
110379
|
+
# populated, it overrides the whitelist. Points named by a blacklisted token are
|
110380
|
+
# *not* searched. * Note that, if neither whitelist_token nor blacklist_token is
|
110381
|
+
# populated, the search remains unrestricted. -----------------------------------
|
110382
|
+
# ---------------------------------------- V1 "reverse" restricts: Each database
|
110383
|
+
# point is whitelisted and/or blacklisted for zero or more tokens, specified by
|
110384
|
+
# whitelist_token and blacklist_token fields. Each query specifies zero or more
|
110385
|
+
# tokens, and the same rules apply: * If a point's whitelist_token is populated,
|
110386
|
+
# the point will only be searched if the query has at least one matching
|
110387
|
+
# whitelist token. If whitelist_token is empty, the point is always whitelisted
|
110388
|
+
# by default. * If a point's blacklist_token is populated, it overrides the
|
110389
|
+
# whitelist. The point will be ignored for any query with a matching blacklist
|
110390
|
+
# token. * Note that, if neither whitelist_token nor blacklist_token is
|
110391
|
+
# populated, the point will always be searched. NEXT ID TO USE: 9
|
110037
110392
|
class ResearchScamGenericFeatureVectorRestrictTokens
|
110038
110393
|
include Google::Apis::Core::Hashable
|
110039
110394
|
|
@@ -112016,7 +112371,7 @@ module Google
|
|
112016
112371
|
# message with a new extension declaration. For more details on extension
|
112017
112372
|
# declaration please refer to http://go/proto-proposals/extension-declarations.
|
112018
112373
|
# Please refer to http://go/proto2-extensions for details on message extensions.
|
112019
|
-
# LINT.IfChange next extension id:
|
112374
|
+
# LINT.IfChange next extension id: 7
|
112020
112375
|
class SafesearchVideoClassifierOutput
|
112021
112376
|
include Google::Apis::Core::Hashable
|
112022
112377
|
|
@@ -112071,7 +112426,7 @@ module Google
|
|
112071
112426
|
# message with a new extension declaration. For more details on extension
|
112072
112427
|
# declaration please refer to http://go/proto-proposals/extension-declarations.
|
112073
112428
|
# Please refer to http://go/proto2-extensions for details on message extensions.
|
112074
|
-
# LINT.IfChange next extension id:
|
112429
|
+
# LINT.IfChange next extension id: 7
|
112075
112430
|
# Corresponds to the JSON property `videoClassifierOutput`
|
112076
112431
|
# @return [Google::Apis::ContentwarehouseV1::SafesearchVideoClassifierOutput]
|
112077
112432
|
attr_accessor :video_classifier_output
|
@@ -116367,6 +116722,14 @@ module Google
|
|
116367
116722
|
attr_accessor :contain_vulgar_candidates
|
116368
116723
|
alias_method :contain_vulgar_candidates?, :contain_vulgar_candidates
|
116369
116724
|
|
116725
|
+
# Indicates that SR side should disable the ng3 scoring and soly rely on the
|
116726
|
+
# SnippetBrain scoring for selecting the final candidate. E.g. this can happen
|
116727
|
+
# when the offline snippet generation routine is triggered.
|
116728
|
+
# Corresponds to the JSON property `disableNg3Scoring`
|
116729
|
+
# @return [Boolean]
|
116730
|
+
attr_accessor :disable_ng3_scoring
|
116731
|
+
alias_method :disable_ng3_scoring?, :disable_ng3_scoring
|
116732
|
+
|
116370
116733
|
# Indicates whether the query relevance features is disabled or not in Muppet
|
116371
116734
|
# scoring.
|
116372
116735
|
# Corresponds to the JSON property `disableQueryFeatures`
|
@@ -116395,6 +116758,7 @@ module Google
|
|
116395
116758
|
@candidate_info = args[:candidate_info] if args.key?(:candidate_info)
|
116396
116759
|
@contain_user_quotes = args[:contain_user_quotes] if args.key?(:contain_user_quotes)
|
116397
116760
|
@contain_vulgar_candidates = args[:contain_vulgar_candidates] if args.key?(:contain_vulgar_candidates)
|
116761
|
+
@disable_ng3_scoring = args[:disable_ng3_scoring] if args.key?(:disable_ng3_scoring)
|
116398
116762
|
@disable_query_features = args[:disable_query_features] if args.key?(:disable_query_features)
|
116399
116763
|
@snippet_brain_selected_candidate_index = args[:snippet_brain_selected_candidate_index] if args.key?(:snippet_brain_selected_candidate_index)
|
116400
116764
|
@snippetsbrain_model_info = args[:snippetsbrain_model_info] if args.key?(:snippetsbrain_model_info)
|
@@ -120217,6 +120581,11 @@ module Google
|
|
120217
120581
|
# @return [String]
|
120218
120582
|
attr_accessor :policy_source_type
|
120219
120583
|
|
120584
|
+
# Metadata fields for Real World Journey. See go/rwj-kg-dg for details.
|
120585
|
+
# Corresponds to the JSON property `rwjPolicyMetadata`
|
120586
|
+
# @return [Google::Apis::ContentwarehouseV1::StorageGraphBfgRwjPolicyMetadata]
|
120587
|
+
attr_accessor :rwj_policy_metadata
|
120588
|
+
|
120220
120589
|
# Metadata fields for UMP. A piece of data satisfies UMP policy if: (data access
|
120221
120590
|
# region is in the `regions_allowed` list) AND (data access time >=
|
120222
120591
|
# availability_start_timestamp) AND (data access time <
|
@@ -120238,6 +120607,7 @@ module Google
|
|
120238
120607
|
@lms_policy_metadata = args[:lms_policy_metadata] if args.key?(:lms_policy_metadata)
|
120239
120608
|
@policy_data_scope_keys = args[:policy_data_scope_keys] if args.key?(:policy_data_scope_keys)
|
120240
120609
|
@policy_source_type = args[:policy_source_type] if args.key?(:policy_source_type)
|
120610
|
+
@rwj_policy_metadata = args[:rwj_policy_metadata] if args.key?(:rwj_policy_metadata)
|
120241
120611
|
@ump_policy_metadata = args[:ump_policy_metadata] if args.key?(:ump_policy_metadata)
|
120242
120612
|
end
|
120243
120613
|
end
|
@@ -120269,6 +120639,26 @@ module Google
|
|
120269
120639
|
end
|
120270
120640
|
end
|
120271
120641
|
|
120642
|
+
# Metadata fields for Real World Journey. See go/rwj-kg-dg for details.
|
120643
|
+
class StorageGraphBfgRwjPolicyMetadata
|
120644
|
+
include Google::Apis::Core::Hashable
|
120645
|
+
|
120646
|
+
# Int values correspond to the usecases used in CDS. See: google3/googlebase/
|
120647
|
+
# verticals/model/usecase_id.proto.
|
120648
|
+
# Corresponds to the JSON property `eligibleSurfaces`
|
120649
|
+
# @return [Array<Fixnum>]
|
120650
|
+
attr_accessor :eligible_surfaces
|
120651
|
+
|
120652
|
+
def initialize(**args)
|
120653
|
+
update!(**args)
|
120654
|
+
end
|
120655
|
+
|
120656
|
+
# Update properties of this object
|
120657
|
+
def update!(**args)
|
120658
|
+
@eligible_surfaces = args[:eligible_surfaces] if args.key?(:eligible_surfaces)
|
120659
|
+
end
|
120660
|
+
end
|
120661
|
+
|
120272
120662
|
# A fact about potentially sensitive personal info (http://what/SPII) can be "
|
120273
120663
|
# certified" iff it meets specific requirements. See go/kg-spii-certification
|
120274
120664
|
# for details.
|