google-apis-contentwarehouse_v1 0.22.0 → 0.23.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 +6 -2
- data/lib/google/apis/contentwarehouse_v1/classes.rb +572 -185
- data/lib/google/apis/contentwarehouse_v1/gem_version.rb +2 -2
- data/lib/google/apis/contentwarehouse_v1/representations.rb +132 -2
- data/lib/google/apis/contentwarehouse_v1/service.rb +34 -0
- metadata +3 -3
@@ -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.
|
@@ -22328,7 +22338,7 @@ module Google
|
|
22328
22338
|
|
22329
22339
|
# Signals to be used by the Prefulfillment Ranker. Derived from the
|
22330
22340
|
# ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
|
22331
|
-
# Next ID:
|
22341
|
+
# Next ID: 61
|
22332
22342
|
class AssistantPrefulfillmentRankerPrefulfillmentSignals
|
22333
22343
|
include Google::Apis::Core::Hashable
|
22334
22344
|
|
@@ -22486,6 +22496,12 @@ module Google
|
|
22486
22496
|
attr_accessor :is_podcast_intent
|
22487
22497
|
alias_method :is_podcast_intent?, :is_podcast_intent
|
22488
22498
|
|
22499
|
+
# Whether the intent is an intent marked disabled by the Sage IG.
|
22500
|
+
# Corresponds to the JSON property `isSageDisabledIntent`
|
22501
|
+
# @return [Boolean]
|
22502
|
+
attr_accessor :is_sage_disabled_intent
|
22503
|
+
alias_method :is_sage_disabled_intent?, :is_sage_disabled_intent
|
22504
|
+
|
22489
22505
|
# Whether this intent was generated by Sage.
|
22490
22506
|
# Corresponds to the JSON property `isSageIntent`
|
22491
22507
|
# @return [Boolean]
|
@@ -22683,6 +22699,7 @@ module Google
|
|
22683
22699
|
@is_play_generic_music = args[:is_play_generic_music] if args.key?(:is_play_generic_music)
|
22684
22700
|
@is_podcast_generic_intent = args[:is_podcast_generic_intent] if args.key?(:is_podcast_generic_intent)
|
22685
22701
|
@is_podcast_intent = args[:is_podcast_intent] if args.key?(:is_podcast_intent)
|
22702
|
+
@is_sage_disabled_intent = args[:is_sage_disabled_intent] if args.key?(:is_sage_disabled_intent)
|
22686
22703
|
@is_sage_intent = args[:is_sage_intent] if args.key?(:is_sage_intent)
|
22687
22704
|
@is_tvm_intent = args[:is_tvm_intent] if args.key?(:is_tvm_intent)
|
22688
22705
|
@is_valid_smarthome_intent = args[:is_valid_smarthome_intent] if args.key?(:is_valid_smarthome_intent)
|
@@ -26565,15 +26582,6 @@ module Google
|
|
26565
26582
|
# @return [Fixnum]
|
26566
26583
|
attr_accessor :indexing_ts
|
26567
26584
|
|
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
26585
|
# If set, the timestamp in microseconds when the URL stopped being canonical.
|
26578
26586
|
# This should never be set for exported canonical documents. This field is used
|
26579
26587
|
# by dups during canonical flip, and by webmain when doc selection switched
|
@@ -26664,7 +26672,6 @@ module Google
|
|
26664
26672
|
@ie_identifier = args[:ie_identifier] if args.key?(:ie_identifier)
|
26665
26673
|
@image_indexing_info = args[:image_indexing_info] if args.key?(:image_indexing_info)
|
26666
26674
|
@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
26675
|
@no_longer_canonical_timestamp = args[:no_longer_canonical_timestamp] if args.key?(:no_longer_canonical_timestamp)
|
26669
26676
|
@normalized_click_score = args[:normalized_click_score] if args.key?(:normalized_click_score)
|
26670
26677
|
@raw_navboost = args[:raw_navboost] if args.key?(:raw_navboost)
|
@@ -31453,12 +31460,14 @@ module Google
|
|
31453
31460
|
# @return [Fixnum]
|
31454
31461
|
attr_accessor :no_translate_reason
|
31455
31462
|
|
31456
|
-
#
|
31463
|
+
# This field is long-deprecated in favour of Pagerank_NS, it is no longer
|
31464
|
+
# maintained and can break at any moment.
|
31457
31465
|
# Corresponds to the JSON property `Pagerank`
|
31458
31466
|
# @return [Fixnum]
|
31459
31467
|
attr_accessor :pagerank
|
31460
31468
|
|
31461
|
-
# Pagerank-NearestSeeds is
|
31469
|
+
# Pagerank-NearestSeeds is a pagerank score for the doc, calculated using
|
31470
|
+
# NearestSeeds method. This is the production PageRank value teams should use.
|
31462
31471
|
# Corresponds to the JSON property `PagerankNS`
|
31463
31472
|
# @return [Fixnum]
|
31464
31473
|
attr_accessor :pagerank_ns
|
@@ -32910,7 +32919,11 @@ module Google
|
|
32910
32919
|
end
|
32911
32920
|
end
|
32912
32921
|
|
32913
|
-
#
|
32922
|
+
# NOTE: BoundingMarkerProto could be compared against one another by
|
32923
|
+
# canonicalizing them via GetCanonicalBoundingMarker() in google3/geostore/base/
|
32924
|
+
# internal/lane.cc. Any fields that don't contribute to the definition of a
|
32925
|
+
# bounding marker in the real world should be bundled with the annotative fields
|
32926
|
+
# near the bottom and excluded in GetCanonicalBoundingMarker(). LINT.IfChange
|
32914
32927
|
class GeostoreBoundingMarkerProto
|
32915
32928
|
include Google::Apis::Core::Hashable
|
32916
32929
|
|
@@ -33576,9 +33589,9 @@ module Google
|
|
33576
33589
|
|
33577
33590
|
# Describes a single physical marker line. NOTE: PhysicalLineProto could be
|
33578
33591
|
# 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
|
33592
|
+
# GetCanonicalPhysicalLine() in google3/geostore/base/internal/lane_marker.cc.
|
33593
|
+
# Any fields that don't contribute to the definition of a physical line in the
|
33594
|
+
# real world should be bundled with the annotative fields near the bottom and
|
33582
33595
|
# excluded in GetCanonicalPhysicalLine(). LINT.IfChange
|
33583
33596
|
# Corresponds to the JSON property `borderLine`
|
33584
33597
|
# @return [Google::Apis::ContentwarehouseV1::GeostorePhysicalLineProto]
|
@@ -38098,9 +38111,9 @@ module Google
|
|
38098
38111
|
|
38099
38112
|
# Describes a single physical marker line. NOTE: PhysicalLineProto could be
|
38100
38113
|
# 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
|
38114
|
+
# GetCanonicalPhysicalLine() in google3/geostore/base/internal/lane_marker.cc.
|
38115
|
+
# Any fields that don't contribute to the definition of a physical line in the
|
38116
|
+
# real world should be bundled with the annotative fields near the bottom and
|
38104
38117
|
# excluded in GetCanonicalPhysicalLine(). LINT.IfChange
|
38105
38118
|
class GeostorePhysicalLineProto
|
38106
38119
|
include Google::Apis::Core::Hashable
|
@@ -39387,10 +39400,10 @@ module Google
|
|
39387
39400
|
# no conditions is always true, i.e. its action is always prohibited. NOTE:
|
39388
39401
|
# RestrictionProtos are often compared against one another (e.g. to check for
|
39389
39402
|
# 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
|
39403
|
+
# GetCanonicalRestriction() in google3/geostore/base/internal/restriction.cc.
|
39404
|
+
# Any fields that don't contribute to the definition of a restriction in the
|
39405
|
+
# real world should be bundled with the annotative fields near the bottom and
|
39406
|
+
# excluded in GetCanonicalRestriction(). LINT.IfChange
|
39394
39407
|
class GeostoreRestrictionProto
|
39395
39408
|
include Google::Apis::Core::Hashable
|
39396
39409
|
|
@@ -45273,22 +45286,22 @@ module Google
|
|
45273
45286
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
45274
45287
|
# the request, the resource, or both. To learn which resources support
|
45275
45288
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
45276
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
45289
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
45277
45290
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
45278
45291
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
45279
45292
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
45280
45293
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
45281
45294
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
45282
45295
|
# 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/).
|
45296
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
45297
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
45298
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
45299
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
45300
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
45301
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
45302
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
45303
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
45304
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
45292
45305
|
# Corresponds to the JSON property `policy`
|
45293
45306
|
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
45294
45307
|
attr_accessor :policy
|
@@ -45532,22 +45545,22 @@ module Google
|
|
45532
45545
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
45533
45546
|
# the request, the resource, or both. To learn which resources support
|
45534
45547
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
45535
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
45548
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
45536
45549
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
45537
45550
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
45538
45551
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
45539
45552
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
45540
45553
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
45541
45554
|
# 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/).
|
45555
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
45556
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
45557
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
45558
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
45559
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
45560
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
45561
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
45562
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
45563
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
45551
45564
|
# Corresponds to the JSON property `policy`
|
45552
45565
|
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
45553
45566
|
attr_accessor :policy
|
@@ -46320,6 +46333,50 @@ module Google
|
|
46320
46333
|
end
|
46321
46334
|
end
|
46322
46335
|
|
46336
|
+
# The configuration of exporting documents from the Document Warehouse to CDW
|
46337
|
+
# pipeline.
|
46338
|
+
class GoogleCloudContentwarehouseV1ExportToCdwPipeline
|
46339
|
+
include Google::Apis::Core::Hashable
|
46340
|
+
|
46341
|
+
# Optional. The CDW dataset resource name. This field is optional. If not set,
|
46342
|
+
# the documents will be exported to Cloud Storage only. Format: projects/`
|
46343
|
+
# project`/locations/`location`/processors/`processor`/dataset
|
46344
|
+
# Corresponds to the JSON property `docAiDataset`
|
46345
|
+
# @return [String]
|
46346
|
+
attr_accessor :doc_ai_dataset
|
46347
|
+
|
46348
|
+
# The list of all the resource names of the documents to be processed. Format:
|
46349
|
+
# projects/`project_number`/locations/`location`/documents/`document_id`.
|
46350
|
+
# Corresponds to the JSON property `documents`
|
46351
|
+
# @return [Array<String>]
|
46352
|
+
attr_accessor :documents
|
46353
|
+
|
46354
|
+
# The Cloud Storage folder path used to store the exported documents before
|
46355
|
+
# being sent to CDW. Format: `gs:///`.
|
46356
|
+
# Corresponds to the JSON property `exportFolderPath`
|
46357
|
+
# @return [String]
|
46358
|
+
attr_accessor :export_folder_path
|
46359
|
+
|
46360
|
+
# Ratio of training dataset split. When importing into Document AI Workbench,
|
46361
|
+
# documents will be automatically split into training and test split category
|
46362
|
+
# with the specified ratio. This field is required if doc_ai_dataset is set.
|
46363
|
+
# Corresponds to the JSON property `trainingSplitRatio`
|
46364
|
+
# @return [Float]
|
46365
|
+
attr_accessor :training_split_ratio
|
46366
|
+
|
46367
|
+
def initialize(**args)
|
46368
|
+
update!(**args)
|
46369
|
+
end
|
46370
|
+
|
46371
|
+
# Update properties of this object
|
46372
|
+
def update!(**args)
|
46373
|
+
@doc_ai_dataset = args[:doc_ai_dataset] if args.key?(:doc_ai_dataset)
|
46374
|
+
@documents = args[:documents] if args.key?(:documents)
|
46375
|
+
@export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
|
46376
|
+
@training_split_ratio = args[:training_split_ratio] if args.key?(:training_split_ratio)
|
46377
|
+
end
|
46378
|
+
end
|
46379
|
+
|
46323
46380
|
# Request message for DocumentService.FetchAcl
|
46324
46381
|
class GoogleCloudContentwarehouseV1FetchAclRequest
|
46325
46382
|
include Google::Apis::Core::Hashable
|
@@ -46367,22 +46424,22 @@ module Google
|
|
46367
46424
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
46368
46425
|
# the request, the resource, or both. To learn which resources support
|
46369
46426
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
46370
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
46427
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
46371
46428
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
46372
46429
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
46373
46430
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
46374
46431
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
46375
46432
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
46376
46433
|
# 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/).
|
46434
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
46435
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
46436
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
46437
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
46438
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
46439
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
46440
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
46441
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
46442
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
46386
46443
|
# Corresponds to the JSON property `policy`
|
46387
46444
|
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
46388
46445
|
attr_accessor :policy
|
@@ -46449,6 +46506,113 @@ module Google
|
|
46449
46506
|
end
|
46450
46507
|
end
|
46451
46508
|
|
46509
|
+
# The configuration of the Cloud Storage Ingestion pipeline.
|
46510
|
+
class GoogleCloudContentwarehouseV1GcsIngestPipeline
|
46511
|
+
include Google::Apis::Core::Hashable
|
46512
|
+
|
46513
|
+
# The input Cloud Storage folder. All files under this folder will be imported
|
46514
|
+
# to Document Warehouse. Format: `gs:///`.
|
46515
|
+
# Corresponds to the JSON property `inputPath`
|
46516
|
+
# @return [String]
|
46517
|
+
attr_accessor :input_path
|
46518
|
+
|
46519
|
+
# The ingestion pipeline config.
|
46520
|
+
# Corresponds to the JSON property `pipelineConfig`
|
46521
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1IngestPipelineConfig]
|
46522
|
+
attr_accessor :pipeline_config
|
46523
|
+
|
46524
|
+
# The Doc AI processor type name. Only used when the format of ingested files is
|
46525
|
+
# Doc AI Document proto format.
|
46526
|
+
# Corresponds to the JSON property `processorType`
|
46527
|
+
# @return [String]
|
46528
|
+
attr_accessor :processor_type
|
46529
|
+
|
46530
|
+
# The Document Warehouse schema resource name. All documents processed by this
|
46531
|
+
# pipeline will use this schema. Format: projects/`project_number`/locations/`
|
46532
|
+
# location`/documentSchemas/`document_schema_id`.
|
46533
|
+
# Corresponds to the JSON property `schemaName`
|
46534
|
+
# @return [String]
|
46535
|
+
attr_accessor :schema_name
|
46536
|
+
|
46537
|
+
# The flag whether to skip ingested documents. If it is set to true, documents
|
46538
|
+
# in Cloud Storage contains key "status" with value "status=ingested" in custom
|
46539
|
+
# metadata will be skipped to ingest.
|
46540
|
+
# Corresponds to the JSON property `skipIngestedDocuments`
|
46541
|
+
# @return [Boolean]
|
46542
|
+
attr_accessor :skip_ingested_documents
|
46543
|
+
alias_method :skip_ingested_documents?, :skip_ingested_documents
|
46544
|
+
|
46545
|
+
def initialize(**args)
|
46546
|
+
update!(**args)
|
46547
|
+
end
|
46548
|
+
|
46549
|
+
# Update properties of this object
|
46550
|
+
def update!(**args)
|
46551
|
+
@input_path = args[:input_path] if args.key?(:input_path)
|
46552
|
+
@pipeline_config = args[:pipeline_config] if args.key?(:pipeline_config)
|
46553
|
+
@processor_type = args[:processor_type] if args.key?(:processor_type)
|
46554
|
+
@schema_name = args[:schema_name] if args.key?(:schema_name)
|
46555
|
+
@skip_ingested_documents = args[:skip_ingested_documents] if args.key?(:skip_ingested_documents)
|
46556
|
+
end
|
46557
|
+
end
|
46558
|
+
|
46559
|
+
# The configuration of the Cloud Storage Ingestion with DocAI Processors
|
46560
|
+
# pipeline.
|
46561
|
+
class GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline
|
46562
|
+
include Google::Apis::Core::Hashable
|
46563
|
+
|
46564
|
+
# The extract processors information. One matched extract processor will be used
|
46565
|
+
# to process documents based on the classify processor result. If no classify
|
46566
|
+
# processor is specified, the first extract processor will be used.
|
46567
|
+
# Corresponds to the JSON property `extractProcessorInfos`
|
46568
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo>]
|
46569
|
+
attr_accessor :extract_processor_infos
|
46570
|
+
|
46571
|
+
# The input Cloud Storage folder. All files under this folder will be imported
|
46572
|
+
# to Document Warehouse. Format: `gs:///`.
|
46573
|
+
# Corresponds to the JSON property `inputPath`
|
46574
|
+
# @return [String]
|
46575
|
+
attr_accessor :input_path
|
46576
|
+
|
46577
|
+
# The ingestion pipeline config.
|
46578
|
+
# Corresponds to the JSON property `pipelineConfig`
|
46579
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1IngestPipelineConfig]
|
46580
|
+
attr_accessor :pipeline_config
|
46581
|
+
|
46582
|
+
# The Cloud Storage folder path used to store the raw results from processors.
|
46583
|
+
# Format: `gs:///`.
|
46584
|
+
# Corresponds to the JSON property `processorResultsFolderPath`
|
46585
|
+
# @return [String]
|
46586
|
+
attr_accessor :processor_results_folder_path
|
46587
|
+
|
46588
|
+
# The flag whether to skip ingested documents. If it is set to true, documents
|
46589
|
+
# in Cloud Storage contains key "status" with value "status=ingested" in custom
|
46590
|
+
# metadata will be skipped to ingest.
|
46591
|
+
# Corresponds to the JSON property `skipIngestedDocuments`
|
46592
|
+
# @return [Boolean]
|
46593
|
+
attr_accessor :skip_ingested_documents
|
46594
|
+
alias_method :skip_ingested_documents?, :skip_ingested_documents
|
46595
|
+
|
46596
|
+
# The DocAI processor information.
|
46597
|
+
# Corresponds to the JSON property `splitClassifyProcessorInfo`
|
46598
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
|
46599
|
+
attr_accessor :split_classify_processor_info
|
46600
|
+
|
46601
|
+
def initialize(**args)
|
46602
|
+
update!(**args)
|
46603
|
+
end
|
46604
|
+
|
46605
|
+
# Update properties of this object
|
46606
|
+
def update!(**args)
|
46607
|
+
@extract_processor_infos = args[:extract_processor_infos] if args.key?(:extract_processor_infos)
|
46608
|
+
@input_path = args[:input_path] if args.key?(:input_path)
|
46609
|
+
@pipeline_config = args[:pipeline_config] if args.key?(:pipeline_config)
|
46610
|
+
@processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
|
46611
|
+
@skip_ingested_documents = args[:skip_ingested_documents] if args.key?(:skip_ingested_documents)
|
46612
|
+
@split_classify_processor_info = args[:split_classify_processor_info] if args.key?(:split_classify_processor_info)
|
46613
|
+
end
|
46614
|
+
end
|
46615
|
+
|
46452
46616
|
# Request message for DocumentService.GetDocument.
|
46453
46617
|
class GoogleCloudContentwarehouseV1GetDocumentRequest
|
46454
46618
|
include Google::Apis::Core::Hashable
|
@@ -46573,6 +46737,67 @@ module Google
|
|
46573
46737
|
end
|
46574
46738
|
end
|
46575
46739
|
|
46740
|
+
# The ingestion pipeline config.
|
46741
|
+
class GoogleCloudContentwarehouseV1IngestPipelineConfig
|
46742
|
+
include Google::Apis::Core::Hashable
|
46743
|
+
|
46744
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
46745
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
46746
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
46747
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
46748
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
46749
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
46750
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
46751
|
+
# logical expression that allows access to a resource only if the expression
|
46752
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
46753
|
+
# the request, the resource, or both. To learn which resources support
|
46754
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
46755
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
46756
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
46757
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
46758
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
46759
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
46760
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
46761
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
46762
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
46763
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
46764
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
46765
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
46766
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
46767
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
46768
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
46769
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
46770
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
46771
|
+
# Corresponds to the JSON property `documentAclPolicy`
|
46772
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
46773
|
+
attr_accessor :document_acl_policy
|
46774
|
+
|
46775
|
+
# The document text extraction enabled flag. If the flag is set to true, DWH
|
46776
|
+
# will perform text extraction on the raw document.
|
46777
|
+
# Corresponds to the JSON property `enableDocumentTextExtraction`
|
46778
|
+
# @return [Boolean]
|
46779
|
+
attr_accessor :enable_document_text_extraction
|
46780
|
+
alias_method :enable_document_text_extraction?, :enable_document_text_extraction
|
46781
|
+
|
46782
|
+
# Optional. The name of the folder to which all ingested documents will be
|
46783
|
+
# linked during ingestion process. Format is `projects/`project`/locations/`
|
46784
|
+
# location`/documents/`folder_id``
|
46785
|
+
# Corresponds to the JSON property `folder`
|
46786
|
+
# @return [String]
|
46787
|
+
attr_accessor :folder
|
46788
|
+
|
46789
|
+
def initialize(**args)
|
46790
|
+
update!(**args)
|
46791
|
+
end
|
46792
|
+
|
46793
|
+
# Update properties of this object
|
46794
|
+
def update!(**args)
|
46795
|
+
@document_acl_policy = args[:document_acl_policy] if args.key?(:document_acl_policy)
|
46796
|
+
@enable_document_text_extraction = args[:enable_document_text_extraction] if args.key?(:enable_document_text_extraction)
|
46797
|
+
@folder = args[:folder] if args.key?(:folder)
|
46798
|
+
end
|
46799
|
+
end
|
46800
|
+
|
46576
46801
|
# Request message for projectService.InitializeProject
|
46577
46802
|
class GoogleCloudContentwarehouseV1InitializeProjectRequest
|
46578
46803
|
include Google::Apis::Core::Hashable
|
@@ -46981,6 +47206,47 @@ module Google
|
|
46981
47206
|
end
|
46982
47207
|
end
|
46983
47208
|
|
47209
|
+
# The configuration of processing documents in Document Warehouse with DocAi
|
47210
|
+
# processors pipeline.
|
47211
|
+
class GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline
|
47212
|
+
include Google::Apis::Core::Hashable
|
47213
|
+
|
47214
|
+
# The list of all the resource names of the documents to be processed. Format:
|
47215
|
+
# projects/`project_number`/locations/`location`/documents/`document_id`.
|
47216
|
+
# Corresponds to the JSON property `documents`
|
47217
|
+
# @return [Array<String>]
|
47218
|
+
attr_accessor :documents
|
47219
|
+
|
47220
|
+
# The Cloud Storage folder path used to store the exported documents before
|
47221
|
+
# being sent to CDW. Format: `gs:///`.
|
47222
|
+
# Corresponds to the JSON property `exportFolderPath`
|
47223
|
+
# @return [String]
|
47224
|
+
attr_accessor :export_folder_path
|
47225
|
+
|
47226
|
+
# The DocAI processor information.
|
47227
|
+
# Corresponds to the JSON property `processorInfo`
|
47228
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
|
47229
|
+
attr_accessor :processor_info
|
47230
|
+
|
47231
|
+
# The Cloud Storage folder path used to store the raw results from processors.
|
47232
|
+
# Format: `gs:///`.
|
47233
|
+
# Corresponds to the JSON property `processorResultsFolderPath`
|
47234
|
+
# @return [String]
|
47235
|
+
attr_accessor :processor_results_folder_path
|
47236
|
+
|
47237
|
+
def initialize(**args)
|
47238
|
+
update!(**args)
|
47239
|
+
end
|
47240
|
+
|
47241
|
+
# Update properties of this object
|
47242
|
+
def update!(**args)
|
47243
|
+
@documents = args[:documents] if args.key?(:documents)
|
47244
|
+
@export_folder_path = args[:export_folder_path] if args.key?(:export_folder_path)
|
47245
|
+
@processor_info = args[:processor_info] if args.key?(:processor_info)
|
47246
|
+
@processor_results_folder_path = args[:processor_results_folder_path] if args.key?(:processor_results_folder_path)
|
47247
|
+
end
|
47248
|
+
end
|
47249
|
+
|
46984
47250
|
# The DocAI processor information.
|
46985
47251
|
class GoogleCloudContentwarehouseV1ProcessorInfo
|
46986
47252
|
include Google::Apis::Core::Hashable
|
@@ -47847,6 +48113,52 @@ module Google
|
|
47847
48113
|
end
|
47848
48114
|
end
|
47849
48115
|
|
48116
|
+
# Request message for DocumentService.RunPipeline.
|
48117
|
+
class GoogleCloudContentwarehouseV1RunPipelineRequest
|
48118
|
+
include Google::Apis::Core::Hashable
|
48119
|
+
|
48120
|
+
# The configuration of exporting documents from the Document Warehouse to CDW
|
48121
|
+
# pipeline.
|
48122
|
+
# Corresponds to the JSON property `exportCdwPipeline`
|
48123
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ExportToCdwPipeline]
|
48124
|
+
attr_accessor :export_cdw_pipeline
|
48125
|
+
|
48126
|
+
# The configuration of the Cloud Storage Ingestion pipeline.
|
48127
|
+
# Corresponds to the JSON property `gcsIngestPipeline`
|
48128
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestPipeline]
|
48129
|
+
attr_accessor :gcs_ingest_pipeline
|
48130
|
+
|
48131
|
+
# The configuration of the Cloud Storage Ingestion with DocAI Processors
|
48132
|
+
# pipeline.
|
48133
|
+
# Corresponds to the JSON property `gcsIngestWithDocAiProcessorsPipeline`
|
48134
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1GcsIngestWithDocAiProcessorsPipeline]
|
48135
|
+
attr_accessor :gcs_ingest_with_doc_ai_processors_pipeline
|
48136
|
+
|
48137
|
+
# The configuration of processing documents in Document Warehouse with DocAi
|
48138
|
+
# processors pipeline.
|
48139
|
+
# Corresponds to the JSON property `processWithDocAiPipeline`
|
48140
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessWithDocAiPipeline]
|
48141
|
+
attr_accessor :process_with_doc_ai_pipeline
|
48142
|
+
|
48143
|
+
# Meta information is used to improve the performance of the service.
|
48144
|
+
# Corresponds to the JSON property `requestMetadata`
|
48145
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RequestMetadata]
|
48146
|
+
attr_accessor :request_metadata
|
48147
|
+
|
48148
|
+
def initialize(**args)
|
48149
|
+
update!(**args)
|
48150
|
+
end
|
48151
|
+
|
48152
|
+
# Update properties of this object
|
48153
|
+
def update!(**args)
|
48154
|
+
@export_cdw_pipeline = args[:export_cdw_pipeline] if args.key?(:export_cdw_pipeline)
|
48155
|
+
@gcs_ingest_pipeline = args[:gcs_ingest_pipeline] if args.key?(:gcs_ingest_pipeline)
|
48156
|
+
@gcs_ingest_with_doc_ai_processors_pipeline = args[:gcs_ingest_with_doc_ai_processors_pipeline] if args.key?(:gcs_ingest_with_doc_ai_processors_pipeline)
|
48157
|
+
@process_with_doc_ai_pipeline = args[:process_with_doc_ai_pipeline] if args.key?(:process_with_doc_ai_pipeline)
|
48158
|
+
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
|
48159
|
+
end
|
48160
|
+
end
|
48161
|
+
|
47850
48162
|
# Request message for DocumentService.SearchDocuments.
|
47851
48163
|
class GoogleCloudContentwarehouseV1SearchDocumentsRequest
|
47852
48164
|
include Google::Apis::Core::Hashable
|
@@ -48067,22 +48379,22 @@ module Google
|
|
48067
48379
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
48068
48380
|
# the request, the resource, or both. To learn which resources support
|
48069
48381
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
48070
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
48382
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
48071
48383
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
48072
48384
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
48073
48385
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
48074
48386
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
48075
48387
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
48076
48388
|
# 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/).
|
48389
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
48390
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
48391
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
48392
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
48393
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
48394
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
48395
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
48396
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
48397
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
48086
48398
|
# Corresponds to the JSON property `policy`
|
48087
48399
|
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
48088
48400
|
attr_accessor :policy
|
@@ -48131,22 +48443,22 @@ module Google
|
|
48131
48443
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
48132
48444
|
# the request, the resource, or both. To learn which resources support
|
48133
48445
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
48134
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
48446
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
48135
48447
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
48136
48448
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
48137
48449
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
48138
48450
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
48139
48451
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
48140
48452
|
# 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/).
|
48453
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
48454
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
48455
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
48456
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
48457
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
48458
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
48459
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
48460
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
48461
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
48150
48462
|
# Corresponds to the JSON property `policy`
|
48151
48463
|
# @return [Google::Apis::ContentwarehouseV1::GoogleIamV1Policy]
|
48152
48464
|
attr_accessor :policy
|
@@ -50749,22 +51061,22 @@ module Google
|
|
50749
51061
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
50750
51062
|
# the request, the resource, or both. To learn which resources support
|
50751
51063
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
50752
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
51064
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
50753
51065
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
50754
51066
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
50755
51067
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
50756
51068
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
50757
51069
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
50758
51070
|
# 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/).
|
51071
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
51072
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
51073
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
51074
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
51075
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
51076
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
51077
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
51078
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
51079
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
50768
51080
|
class GoogleIamV1Policy
|
50769
51081
|
include Google::Apis::Core::Hashable
|
50770
51082
|
|
@@ -51637,13 +51949,13 @@ module Google
|
|
51637
51949
|
# @return [String]
|
51638
51950
|
attr_accessor :name
|
51639
51951
|
|
51640
|
-
# The normal response of the operation
|
51641
|
-
#
|
51642
|
-
#
|
51643
|
-
#
|
51644
|
-
#
|
51645
|
-
#
|
51646
|
-
#
|
51952
|
+
# The normal, successful response of the operation. If the original method
|
51953
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
51954
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
51955
|
+
# response should be the resource. For other methods, the response should have
|
51956
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
51957
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
51958
|
+
# `TakeSnapshotResponse`.
|
51647
51959
|
# Corresponds to the JSON property `response`
|
51648
51960
|
# @return [Hash<String,Object>]
|
51649
51961
|
attr_accessor :response
|
@@ -57145,7 +57457,7 @@ module Google
|
|
57145
57457
|
end
|
57146
57458
|
end
|
57147
57459
|
|
57148
|
-
# Next Tag:
|
57460
|
+
# Next Tag: 51
|
57149
57461
|
class ImageRepositoryContentBasedVideoMetadata
|
57150
57462
|
include Google::Apis::Core::Hashable
|
57151
57463
|
|
@@ -57187,6 +57499,11 @@ module Google
|
|
57187
57499
|
# @return [Google::Apis::ContentwarehouseV1::DrishtiFeatureSetData]
|
57188
57500
|
attr_accessor :golden7_soapbox_summary
|
57189
57501
|
|
57502
|
+
# Information on frame-level people feature blob. (go/vpf-frame-features)
|
57503
|
+
# Corresponds to the JSON property `golden7SoapboxTracksBlobInfo`
|
57504
|
+
# @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaSignalsBlobInfo]
|
57505
|
+
attr_accessor :golden7_soapbox_tracks_blob_info
|
57506
|
+
|
57190
57507
|
# This message is used to store information about Inline Playback in the
|
57191
57508
|
# VideoWebAttachment portion of the websearch index. LINT.IfChange
|
57192
57509
|
# Corresponds to the JSON property `inlinePlayback`
|
@@ -57219,6 +57536,11 @@ module Google
|
|
57219
57536
|
# @return [Google::Apis::ContentwarehouseV1::VideoMediaInfo]
|
57220
57537
|
attr_accessor :media_info
|
57221
57538
|
|
57539
|
+
# This proto stores perdocs extracted from video frames.
|
57540
|
+
# Corresponds to the JSON property `multiThumbnailsFramePerdocs`
|
57541
|
+
# @return [Google::Apis::ContentwarehouseV1::ImageRepositoryFramePerdocs]
|
57542
|
+
attr_accessor :multi_thumbnails_frame_perdocs
|
57543
|
+
|
57222
57544
|
# This defines the per-doc data which is extracted from thumbnails and
|
57223
57545
|
# propagated over to indexing. It contains all information that can be used for
|
57224
57546
|
# restricts. Next tag id: 129
|
@@ -57377,12 +57699,14 @@ module Google
|
|
57377
57699
|
@cloud_speech_signals = args[:cloud_speech_signals] if args.key?(:cloud_speech_signals)
|
57378
57700
|
@feature_set_data = args[:feature_set_data] if args.key?(:feature_set_data)
|
57379
57701
|
@golden7_soapbox_summary = args[:golden7_soapbox_summary] if args.key?(:golden7_soapbox_summary)
|
57702
|
+
@golden7_soapbox_tracks_blob_info = args[:golden7_soapbox_tracks_blob_info] if args.key?(:golden7_soapbox_tracks_blob_info)
|
57380
57703
|
@inline_playback = args[:inline_playback] if args.key?(:inline_playback)
|
57381
57704
|
@language_identification = args[:language_identification] if args.key?(:language_identification)
|
57382
57705
|
@legos_annotation_data = args[:legos_annotation_data] if args.key?(:legos_annotation_data)
|
57383
57706
|
@lms_preview_frame_perdocs = args[:lms_preview_frame_perdocs] if args.key?(:lms_preview_frame_perdocs)
|
57384
57707
|
@loudness_data = args[:loudness_data] if args.key?(:loudness_data)
|
57385
57708
|
@media_info = args[:media_info] if args.key?(:media_info)
|
57709
|
+
@multi_thumbnails_frame_perdocs = args[:multi_thumbnails_frame_perdocs] if args.key?(:multi_thumbnails_frame_perdocs)
|
57386
57710
|
@representative_frame_data = args[:representative_frame_data] if args.key?(:representative_frame_data)
|
57387
57711
|
@s3_asr = args[:s3_asr] if args.key?(:s3_asr)
|
57388
57712
|
@s3_language_identification = args[:s3_language_identification] if args.key?(:s3_language_identification)
|
@@ -58356,7 +58680,7 @@ module Google
|
|
58356
58680
|
attr_accessor :audio_only
|
58357
58681
|
alias_method :audio_only?, :audio_only
|
58358
58682
|
|
58359
|
-
# Next Tag:
|
58683
|
+
# Next Tag: 51
|
58360
58684
|
# Corresponds to the JSON property `contentBasedMetadata`
|
58361
58685
|
# @return [Google::Apis::ContentwarehouseV1::ImageRepositoryContentBasedVideoMetadata]
|
58362
58686
|
attr_accessor :content_based_metadata
|
@@ -68888,7 +69212,7 @@ module Google
|
|
68888
69212
|
|
68889
69213
|
# Signals to be used by the Prefulfillment Ranker. Derived from the
|
68890
69214
|
# ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
|
68891
|
-
# Next ID:
|
69215
|
+
# Next ID: 61
|
68892
69216
|
# Corresponds to the JSON property `prefulfillmentSignals`
|
68893
69217
|
# @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
|
68894
69218
|
attr_accessor :prefulfillment_signals
|
@@ -70668,7 +70992,18 @@ module Google
|
|
70668
70992
|
end
|
70669
70993
|
end
|
70670
70994
|
|
70671
|
-
#
|
70995
|
+
# A LocationType configures a value whose type is a Location message, for
|
70996
|
+
# example, the output of the Location subgrammar. Note that this location type
|
70997
|
+
# is not the same as a "location entity" (an entity with a location indicating
|
70998
|
+
# type/collection, which is annotated by QRef). The scope of a LocationType is
|
70999
|
+
# usually broader than a location entity, it may represent - businesses, places,
|
71000
|
+
# and POIs (location entities from QRef) - addresses ("123 Main St., New York,
|
71001
|
+
# NY") or even just coordinates (latitude, longitude) - business categories (e.g.
|
71002
|
+
# , "pharmacies" or "gas stations") - SAFT locations - aliases (including "home"
|
71003
|
+
# and "work") - contacts - combinations of a location with modifiers and
|
71004
|
+
# constraints (e.g., "chinese restaurant near me" or "cheap kid-friendly hotels")
|
71005
|
+
# - ungrounded locations produced by ungrounded_location model See go/location-
|
71006
|
+
# type for the details of the location proto output by location subgrammar.
|
70672
71007
|
class KnowledgeAnswersOpaqueLocationType
|
70673
71008
|
include Google::Apis::Core::Hashable
|
70674
71009
|
|
@@ -70969,7 +71304,18 @@ module Google
|
|
70969
71304
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueHomeAutomationDeviceType]
|
70970
71305
|
attr_accessor :home_automation_device_type
|
70971
71306
|
|
70972
|
-
#
|
71307
|
+
# A LocationType configures a value whose type is a Location message, for
|
71308
|
+
# example, the output of the Location subgrammar. Note that this location type
|
71309
|
+
# is not the same as a "location entity" (an entity with a location indicating
|
71310
|
+
# type/collection, which is annotated by QRef). The scope of a LocationType is
|
71311
|
+
# usually broader than a location entity, it may represent - businesses, places,
|
71312
|
+
# and POIs (location entities from QRef) - addresses ("123 Main St., New York,
|
71313
|
+
# NY") or even just coordinates (latitude, longitude) - business categories (e.g.
|
71314
|
+
# , "pharmacies" or "gas stations") - SAFT locations - aliases (including "home"
|
71315
|
+
# and "work") - contacts - combinations of a location with modifiers and
|
71316
|
+
# constraints (e.g., "chinese restaurant near me" or "cheap kid-friendly hotels")
|
71317
|
+
# - ungrounded locations produced by ungrounded_location model See go/location-
|
71318
|
+
# type for the details of the location proto output by location subgrammar.
|
70973
71319
|
# Corresponds to the JSON property `locationType`
|
70974
71320
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersOpaqueLocationType]
|
70975
71321
|
attr_accessor :location_type
|
@@ -97127,6 +97473,11 @@ module Google
|
|
97127
97473
|
# @return [Fixnum]
|
97128
97474
|
attr_accessor :value_int32
|
97129
97475
|
|
97476
|
+
#
|
97477
|
+
# Corresponds to the JSON property `valueString`
|
97478
|
+
# @return [String]
|
97479
|
+
attr_accessor :value_string
|
97480
|
+
|
97130
97481
|
#
|
97131
97482
|
# Corresponds to the JSON property `valueUint32`
|
97132
97483
|
# @return [Fixnum]
|
@@ -97147,6 +97498,7 @@ module Google
|
|
97147
97498
|
@value_double = args[:value_double] if args.key?(:value_double)
|
97148
97499
|
@value_float = args[:value_float] if args.key?(:value_float)
|
97149
97500
|
@value_int32 = args[:value_int32] if args.key?(:value_int32)
|
97501
|
+
@value_string = args[:value_string] if args.key?(:value_string)
|
97150
97502
|
@value_uint32 = args[:value_uint32] if args.key?(:value_uint32)
|
97151
97503
|
@version_id = args[:version_id] if args.key?(:version_id)
|
97152
97504
|
end
|
@@ -104781,17 +105133,12 @@ module Google
|
|
104781
105133
|
# @return [Float]
|
104782
105134
|
attr_accessor :entity_idf
|
104783
105135
|
|
104784
|
-
# Probability that any given name of this entity is capitalized.
|
104785
|
-
# Corresponds to the JSON property `nameCapitalizationProb`
|
104786
|
-
# @return [Float]
|
104787
|
-
attr_accessor :name_capitalization_prob
|
104788
|
-
|
104789
105136
|
# The following fields are deprecated and should eventually be removed. They use
|
104790
105137
|
# data and rules that have not been refreshed for ~10y and KG has changed a lot
|
104791
105138
|
# in the meantime.
|
104792
|
-
# Corresponds to the JSON property `
|
105139
|
+
# Corresponds to the JSON property `nameCapitalizationProb`
|
104793
105140
|
# @return [Float]
|
104794
|
-
attr_accessor :
|
105141
|
+
attr_accessor :name_capitalization_prob
|
104795
105142
|
|
104796
105143
|
def initialize(**args)
|
104797
105144
|
update!(**args)
|
@@ -104804,7 +105151,6 @@ module Google
|
|
104804
105151
|
@common_ngram_prob = args[:common_ngram_prob] if args.key?(:common_ngram_prob)
|
104805
105152
|
@entity_idf = args[:entity_idf] if args.key?(:entity_idf)
|
104806
105153
|
@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
105154
|
end
|
104809
105155
|
end
|
104810
105156
|
|
@@ -105151,12 +105497,16 @@ module Google
|
|
105151
105497
|
attr_accessor :type_fprint
|
105152
105498
|
|
105153
105499
|
# 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).
|
105500
|
+
# overrides type_name (which can be omitted in this case to save space). This
|
105501
|
+
# field is deprecated and migrated to fprint.
|
105155
105502
|
# Corresponds to the JSON property `typeMid`
|
105156
105503
|
# @return [Fixnum]
|
105157
105504
|
attr_accessor :type_mid
|
105158
105505
|
|
105159
|
-
# e.g.: "/business/industry", "/book/book_subject", "/people/person"...
|
105506
|
+
# e.g.: "/business/industry", "/book/book_subject", "/people/person"... HRID of
|
105507
|
+
# the type. May be missing for optimisation reasons in Refcon, but is present
|
105508
|
+
# for Qref/Webref. At least one of type_name or type_fprint will be present at
|
105509
|
+
# all times
|
105160
105510
|
# Corresponds to the JSON property `typeName`
|
105161
105511
|
# @return [String]
|
105162
105512
|
attr_accessor :type_name
|
@@ -105223,7 +105573,9 @@ module Google
|
|
105223
105573
|
# @return [Google::Apis::ContentwarehouseV1::GeostoreAddressProto]
|
105224
105574
|
attr_accessor :address
|
105225
105575
|
|
105226
|
-
#
|
105576
|
+
# This field is only provided through the online qref interface (QrefMetadata).
|
105577
|
+
# This is a fairly simple extraction from the /geo/type/feature/
|
105578
|
+
# address_proto_blob triple.
|
105227
105579
|
# Corresponds to the JSON property `addressSynonyms`
|
105228
105580
|
# @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefGeoMetadataProtoAddressSynonym>]
|
105229
105581
|
attr_accessor :address_synonyms
|
@@ -109870,37 +110222,37 @@ module Google
|
|
109870
110222
|
# @return [Google::Apis::ContentwarehouseV1::ResearchScamQueryMetadata]
|
109871
110223
|
attr_accessor :query_metadata
|
109872
110224
|
|
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
|
110225
|
+
# copybara:strip_begin RestrictTokens - used to perform "restricted searches"
|
110226
|
+
# where boolean rules are used to filter the subset of the database eligible for
|
110227
|
+
# matching. We currently support V1 and V3 restrict systems. V3 restrict is a
|
110228
|
+
# superset of V1 restrict. New users are encouraged to use V3 directly for its
|
110229
|
+
# rich features and cleaner semantics. See the document go/scam-v3-restricts, or
|
110230
|
+
# read the comments in //research/scam/proto/restricts.proto for details.
|
110231
|
+
# Nevertheless, V1 restrict is still supported by ScaM team. There's some minor
|
110232
|
+
# tradeoff of performance between V1 and V3. User may prefer V1 over V3 if
|
110233
|
+
# performance is the first priority. However, the CPU cost between V1 and V3
|
110234
|
+
# should be very minor. ---------------------------------------------------------
|
110235
|
+
# ------------------ The semantics of V1 restrict is described below: V1 "
|
110236
|
+
# forward" restricts: The dataset defines a many:many mapping between the
|
110237
|
+
# database points and a token space. Each token names a set of tokens and each
|
110238
|
+
# database point is a member of zero-to-many tokens. Queries specify zero-to-
|
110239
|
+
# many whitelist and blacklist tokens that activate database points according to
|
110240
|
+
# the following rules: * If whitelist_token is populated, the search will be
|
110241
|
+
# restricted to points named by at least one whitelist token. If whitelist_token
|
110242
|
+
# is empty, all points are whitelisted by default. * If blacklist_token is
|
110243
|
+
# populated, it overrides the whitelist. Points named by a blacklisted token are
|
110244
|
+
# *not* searched. * Note that, if neither whitelist_token nor blacklist_token is
|
110245
|
+
# populated, the search remains unrestricted. -----------------------------------
|
110246
|
+
# ---------------------------------------- V1 "reverse" restricts: Each database
|
110247
|
+
# point is whitelisted and/or blacklisted for zero or more tokens, specified by
|
110248
|
+
# whitelist_token and blacklist_token fields. Each query specifies zero or more
|
110249
|
+
# tokens, and the same rules apply: * If a point's whitelist_token is populated,
|
110250
|
+
# the point will only be searched if the query has at least one matching
|
110251
|
+
# whitelist token. If whitelist_token is empty, the point is always whitelisted
|
110252
|
+
# by default. * If a point's blacklist_token is populated, it overrides the
|
110253
|
+
# whitelist. The point will be ignored for any query with a matching blacklist
|
110254
|
+
# token. * Note that, if neither whitelist_token nor blacklist_token is
|
110255
|
+
# populated, the point will always be searched. NEXT ID TO USE: 9
|
109904
110256
|
# Corresponds to the JSON property `restrictTokens`
|
109905
110257
|
# @return [Google::Apis::ContentwarehouseV1::ResearchScamGenericFeatureVectorRestrictTokens]
|
109906
110258
|
attr_accessor :restrict_tokens
|
@@ -110003,37 +110355,37 @@ module Google
|
|
110003
110355
|
end
|
110004
110356
|
end
|
110005
110357
|
|
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
|
110358
|
+
# copybara:strip_begin RestrictTokens - used to perform "restricted searches"
|
110359
|
+
# where boolean rules are used to filter the subset of the database eligible for
|
110360
|
+
# matching. We currently support V1 and V3 restrict systems. V3 restrict is a
|
110361
|
+
# superset of V1 restrict. New users are encouraged to use V3 directly for its
|
110362
|
+
# rich features and cleaner semantics. See the document go/scam-v3-restricts, or
|
110363
|
+
# read the comments in //research/scam/proto/restricts.proto for details.
|
110364
|
+
# Nevertheless, V1 restrict is still supported by ScaM team. There's some minor
|
110365
|
+
# tradeoff of performance between V1 and V3. User may prefer V1 over V3 if
|
110366
|
+
# performance is the first priority. However, the CPU cost between V1 and V3
|
110367
|
+
# should be very minor. ---------------------------------------------------------
|
110368
|
+
# ------------------ The semantics of V1 restrict is described below: V1 "
|
110369
|
+
# forward" restricts: The dataset defines a many:many mapping between the
|
110370
|
+
# database points and a token space. Each token names a set of tokens and each
|
110371
|
+
# database point is a member of zero-to-many tokens. Queries specify zero-to-
|
110372
|
+
# many whitelist and blacklist tokens that activate database points according to
|
110373
|
+
# the following rules: * If whitelist_token is populated, the search will be
|
110374
|
+
# restricted to points named by at least one whitelist token. If whitelist_token
|
110375
|
+
# is empty, all points are whitelisted by default. * If blacklist_token is
|
110376
|
+
# populated, it overrides the whitelist. Points named by a blacklisted token are
|
110377
|
+
# *not* searched. * Note that, if neither whitelist_token nor blacklist_token is
|
110378
|
+
# populated, the search remains unrestricted. -----------------------------------
|
110379
|
+
# ---------------------------------------- V1 "reverse" restricts: Each database
|
110380
|
+
# point is whitelisted and/or blacklisted for zero or more tokens, specified by
|
110381
|
+
# whitelist_token and blacklist_token fields. Each query specifies zero or more
|
110382
|
+
# tokens, and the same rules apply: * If a point's whitelist_token is populated,
|
110383
|
+
# the point will only be searched if the query has at least one matching
|
110384
|
+
# whitelist token. If whitelist_token is empty, the point is always whitelisted
|
110385
|
+
# by default. * If a point's blacklist_token is populated, it overrides the
|
110386
|
+
# whitelist. The point will be ignored for any query with a matching blacklist
|
110387
|
+
# token. * Note that, if neither whitelist_token nor blacklist_token is
|
110388
|
+
# populated, the point will always be searched. NEXT ID TO USE: 9
|
110037
110389
|
class ResearchScamGenericFeatureVectorRestrictTokens
|
110038
110390
|
include Google::Apis::Core::Hashable
|
110039
110391
|
|
@@ -112016,7 +112368,7 @@ module Google
|
|
112016
112368
|
# message with a new extension declaration. For more details on extension
|
112017
112369
|
# declaration please refer to http://go/proto-proposals/extension-declarations.
|
112018
112370
|
# Please refer to http://go/proto2-extensions for details on message extensions.
|
112019
|
-
# LINT.IfChange next extension id:
|
112371
|
+
# LINT.IfChange next extension id: 7
|
112020
112372
|
class SafesearchVideoClassifierOutput
|
112021
112373
|
include Google::Apis::Core::Hashable
|
112022
112374
|
|
@@ -112071,7 +112423,7 @@ module Google
|
|
112071
112423
|
# message with a new extension declaration. For more details on extension
|
112072
112424
|
# declaration please refer to http://go/proto-proposals/extension-declarations.
|
112073
112425
|
# Please refer to http://go/proto2-extensions for details on message extensions.
|
112074
|
-
# LINT.IfChange next extension id:
|
112426
|
+
# LINT.IfChange next extension id: 7
|
112075
112427
|
# Corresponds to the JSON property `videoClassifierOutput`
|
112076
112428
|
# @return [Google::Apis::ContentwarehouseV1::SafesearchVideoClassifierOutput]
|
112077
112429
|
attr_accessor :video_classifier_output
|
@@ -116367,6 +116719,14 @@ module Google
|
|
116367
116719
|
attr_accessor :contain_vulgar_candidates
|
116368
116720
|
alias_method :contain_vulgar_candidates?, :contain_vulgar_candidates
|
116369
116721
|
|
116722
|
+
# Indicates that SR side should disable the ng3 scoring and soly rely on the
|
116723
|
+
# SnippetBrain scoring for selecting the final candidate. E.g. this can happen
|
116724
|
+
# when the offline snippet generation routine is triggered.
|
116725
|
+
# Corresponds to the JSON property `disableNg3Scoring`
|
116726
|
+
# @return [Boolean]
|
116727
|
+
attr_accessor :disable_ng3_scoring
|
116728
|
+
alias_method :disable_ng3_scoring?, :disable_ng3_scoring
|
116729
|
+
|
116370
116730
|
# Indicates whether the query relevance features is disabled or not in Muppet
|
116371
116731
|
# scoring.
|
116372
116732
|
# Corresponds to the JSON property `disableQueryFeatures`
|
@@ -116395,6 +116755,7 @@ module Google
|
|
116395
116755
|
@candidate_info = args[:candidate_info] if args.key?(:candidate_info)
|
116396
116756
|
@contain_user_quotes = args[:contain_user_quotes] if args.key?(:contain_user_quotes)
|
116397
116757
|
@contain_vulgar_candidates = args[:contain_vulgar_candidates] if args.key?(:contain_vulgar_candidates)
|
116758
|
+
@disable_ng3_scoring = args[:disable_ng3_scoring] if args.key?(:disable_ng3_scoring)
|
116398
116759
|
@disable_query_features = args[:disable_query_features] if args.key?(:disable_query_features)
|
116399
116760
|
@snippet_brain_selected_candidate_index = args[:snippet_brain_selected_candidate_index] if args.key?(:snippet_brain_selected_candidate_index)
|
116400
116761
|
@snippetsbrain_model_info = args[:snippetsbrain_model_info] if args.key?(:snippetsbrain_model_info)
|
@@ -120217,6 +120578,11 @@ module Google
|
|
120217
120578
|
# @return [String]
|
120218
120579
|
attr_accessor :policy_source_type
|
120219
120580
|
|
120581
|
+
# Metadata fields for Real World Journey. See go/rwj-kg-dg for details.
|
120582
|
+
# Corresponds to the JSON property `rwjPolicyMetadata`
|
120583
|
+
# @return [Google::Apis::ContentwarehouseV1::StorageGraphBfgRwjPolicyMetadata]
|
120584
|
+
attr_accessor :rwj_policy_metadata
|
120585
|
+
|
120220
120586
|
# Metadata fields for UMP. A piece of data satisfies UMP policy if: (data access
|
120221
120587
|
# region is in the `regions_allowed` list) AND (data access time >=
|
120222
120588
|
# availability_start_timestamp) AND (data access time <
|
@@ -120238,6 +120604,7 @@ module Google
|
|
120238
120604
|
@lms_policy_metadata = args[:lms_policy_metadata] if args.key?(:lms_policy_metadata)
|
120239
120605
|
@policy_data_scope_keys = args[:policy_data_scope_keys] if args.key?(:policy_data_scope_keys)
|
120240
120606
|
@policy_source_type = args[:policy_source_type] if args.key?(:policy_source_type)
|
120607
|
+
@rwj_policy_metadata = args[:rwj_policy_metadata] if args.key?(:rwj_policy_metadata)
|
120241
120608
|
@ump_policy_metadata = args[:ump_policy_metadata] if args.key?(:ump_policy_metadata)
|
120242
120609
|
end
|
120243
120610
|
end
|
@@ -120269,6 +120636,26 @@ module Google
|
|
120269
120636
|
end
|
120270
120637
|
end
|
120271
120638
|
|
120639
|
+
# Metadata fields for Real World Journey. See go/rwj-kg-dg for details.
|
120640
|
+
class StorageGraphBfgRwjPolicyMetadata
|
120641
|
+
include Google::Apis::Core::Hashable
|
120642
|
+
|
120643
|
+
# Int values correspond to the usecases used in CDS. See: google3/googlebase/
|
120644
|
+
# verticals/model/usecase_id.proto.
|
120645
|
+
# Corresponds to the JSON property `eligibleSurfaces`
|
120646
|
+
# @return [Array<Fixnum>]
|
120647
|
+
attr_accessor :eligible_surfaces
|
120648
|
+
|
120649
|
+
def initialize(**args)
|
120650
|
+
update!(**args)
|
120651
|
+
end
|
120652
|
+
|
120653
|
+
# Update properties of this object
|
120654
|
+
def update!(**args)
|
120655
|
+
@eligible_surfaces = args[:eligible_surfaces] if args.key?(:eligible_surfaces)
|
120656
|
+
end
|
120657
|
+
end
|
120658
|
+
|
120272
120659
|
# A fact about potentially sensitive personal info (http://what/SPII) can be "
|
120273
120660
|
# certified" iff it meets specific requirements. See go/kg-spii-certification
|
120274
120661
|
# for details.
|