google-apis-contentwarehouse_v1 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf27fe6b00bf70bf0657e306945e7d58385af0e00bd4d280aa883f736555a421
4
- data.tar.gz: e8df27f611f05a8b970fee9b0359559dd02c7bb00d427b1dffd514bad1968a62
3
+ metadata.gz: 35469fdf81cdf9873ce57fd1df4d05a8f6ea72556408cb2daa7b1a00837716b7
4
+ data.tar.gz: 78ebf13bfe5f4882e1fce4eb1554810979ec06c2a9b46f0eed00fd1265628ada
5
5
  SHA512:
6
- metadata.gz: 877bf75849075af880a9f95edad7384641f6b556c98ab41ebf2b31cf23b1db621cec7a811b533bbee71cf532be146a422194d9937d17b86a942674acbc8087a9
7
- data.tar.gz: 5d4e73c5203cbee5d46d1f9fe7de1f9266b83dca61e18ceb2a7f461a57c5458157f36d0fe72dba47b08d0ccf6472a8f5f1e52338e037e67e71efebb2039e3197
6
+ metadata.gz: 6d205e294464111c50fdb460400cbe422fa60a7746c68341cd60020215910fb45274a82f23e377e6697ca19eb01c1a07165d4117436a219f173a775b44e4b7b9
7
+ data.tar.gz: 9cf93305060b852c704afd0e6b7c31d1952d28e7f2bea6b0e8cf5035744dd00a747c63a2e0a4fba59ec81b0a272f1d4a4ab6cdd0a7406ade3a2ec033477ec19f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-contentwarehouse_v1
2
2
 
3
+ ### v0.7.0 (2023-01-15)
4
+
5
+ * Regenerated from discovery document revision 20230106
6
+ * Regenerated using generator version 0.11.1
7
+
3
8
  ### v0.6.0 (2022-12-22)
4
9
 
5
10
  * Regenerated from discovery document revision 20221219
@@ -12161,7 +12161,7 @@ module Google
12161
12161
 
12162
12162
  # These capabilities represent the tactile features associated with the device.
12163
12163
  # This includes, for example, whether the device has a screen, how big the
12164
- # screen is, and privacy of the screen. Next ID: 10
12164
+ # screen is, and privacy of the screen. Next ID: 11
12165
12165
  # Corresponds to the JSON property `screen`
12166
12166
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiScreenCapabilities]
12167
12167
  attr_accessor :screen
@@ -13627,10 +13627,18 @@ module Google
13627
13627
 
13628
13628
  # These capabilities represent the tactile features associated with the device.
13629
13629
  # This includes, for example, whether the device has a screen, how big the
13630
- # screen is, and privacy of the screen. Next ID: 10
13630
+ # screen is, and privacy of the screen. Next ID: 11
13631
13631
  class AssistantApiScreenCapabilities
13632
13632
  include Google::Apis::Core::Hashable
13633
13633
 
13634
+ # The scale factor used to convert Scalable Pixel (SP) units to Density-
13635
+ # independent Pixel (DP) units (DP = SP * scale factor). Fonts are measured in
13636
+ # units of SP, and on some platforms such as Android the SP to DP scale factor
13637
+ # can be affected by the font size a user selects in accessibility settings.
13638
+ # Corresponds to the JSON property `fontScaleFactor`
13639
+ # @return [Float]
13640
+ attr_accessor :font_scale_factor
13641
+
13634
13642
  # The types of input that this screen supports. Note that this can be empty in
13635
13643
  # which case the screen's input type is unknown.
13636
13644
  # Corresponds to the JSON property `inputType`
@@ -13692,6 +13700,7 @@ module Google
13692
13700
 
13693
13701
  # Update properties of this object
13694
13702
  def update!(**args)
13703
+ @font_scale_factor = args[:font_scale_factor] if args.key?(:font_scale_factor)
13695
13704
  @input_type = args[:input_type] if args.key?(:input_type)
13696
13705
  @mask = args[:mask] if args.key?(:mask)
13697
13706
  @proto_layout_targeted_schema = args[:proto_layout_targeted_schema] if args.key?(:proto_layout_targeted_schema)
@@ -20471,7 +20480,7 @@ module Google
20471
20480
 
20472
20481
  # Signals to be used by the Prefulfillment Ranker. Derived from the
20473
20482
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
20474
- # Next ID: 34
20483
+ # Next ID: 36
20475
20484
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
20476
20485
  include Google::Apis::Core::Hashable
20477
20486
 
@@ -20480,6 +20489,11 @@ module Google
20480
20489
  # @return [Float]
20481
20490
  attr_accessor :binding_set_auis
20482
20491
 
20492
+ # Pauis score for the binding set
20493
+ # Corresponds to the JSON property `bindingSetPauis`
20494
+ # @return [Float]
20495
+ attr_accessor :binding_set_pauis
20496
+
20483
20497
  # A parsing score that is independently calibrated by each parser/IG.
20484
20498
  # Corresponds to the JSON property `calibratedParsingScore`
20485
20499
  # @return [Float]
@@ -20557,6 +20571,12 @@ module Google
20557
20571
  attr_accessor :mask_candidate_level_features
20558
20572
  alias_method :mask_candidate_level_features?, :mask_candidate_level_features
20559
20573
 
20574
+ # The maximum score assigned by the Horizontal Grounding Ranker (HGR) across all
20575
+ # of the intent's binding sets.
20576
+ # Corresponds to the JSON property `maxHgrScoreAcrossBindingSets`
20577
+ # @return [Float]
20578
+ attr_accessor :max_hgr_score_across_binding_sets
20579
+
20560
20580
  # Number of alternative hypotheses from speech recognition(S3).
20561
20581
  # Corresponds to the JSON property `numAlternativeHypothesis`
20562
20582
  # @return [Float]
@@ -20643,6 +20663,7 @@ module Google
20643
20663
  # Update properties of this object
20644
20664
  def update!(**args)
20645
20665
  @binding_set_auis = args[:binding_set_auis] if args.key?(:binding_set_auis)
20666
+ @binding_set_pauis = args[:binding_set_pauis] if args.key?(:binding_set_pauis)
20646
20667
  @calibrated_parsing_score = args[:calibrated_parsing_score] if args.key?(:calibrated_parsing_score)
20647
20668
  @dominant = args[:dominant] if args.key?(:dominant)
20648
20669
  @effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
@@ -20655,6 +20676,7 @@ module Google
20655
20676
  @is_feasible = args[:is_feasible] if args.key?(:is_feasible)
20656
20677
  @kscorer_rank = args[:kscorer_rank] if args.key?(:kscorer_rank)
20657
20678
  @mask_candidate_level_features = args[:mask_candidate_level_features] if args.key?(:mask_candidate_level_features)
20679
+ @max_hgr_score_across_binding_sets = args[:max_hgr_score_across_binding_sets] if args.key?(:max_hgr_score_across_binding_sets)
20658
20680
  @num_alternative_hypothesis = args[:num_alternative_hypothesis] if args.key?(:num_alternative_hypothesis)
20659
20681
  @num_constraints = args[:num_constraints] if args.key?(:num_constraints)
20660
20682
  @num_constraints_satisfied = args[:num_constraints_satisfied] if args.key?(:num_constraints_satisfied)
@@ -21288,7 +21310,7 @@ module Google
21288
21310
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoDeviceTargetingOutputQueryInfo]
21289
21311
  attr_accessor :dto_query_info
21290
21312
 
21291
- # Next ID: 42
21313
+ # Next ID: 43
21292
21314
  # Corresponds to the JSON property `homeautomationMetadata`
21293
21315
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
21294
21316
  attr_accessor :homeautomation_metadata
@@ -21335,7 +21357,7 @@ module Google
21335
21357
  class AssistantVerticalsHomeautomationProtoHomeAutomationDeviceItem
21336
21358
  include Google::Apis::Core::Hashable
21337
21359
 
21338
- # Next ID: 42
21360
+ # Next ID: 43
21339
21361
  # Corresponds to the JSON property `homeautomationMetadata`
21340
21362
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
21341
21363
  attr_accessor :homeautomation_metadata
@@ -21368,7 +21390,7 @@ module Google
21368
21390
  end
21369
21391
  end
21370
21392
 
21371
- # Next ID: 42
21393
+ # Next ID: 43
21372
21394
  class AssistantVerticalsHomeautomationProtoHomeAutomationMetaData
21373
21395
  include Google::Apis::Core::Hashable
21374
21396
 
@@ -21424,6 +21446,13 @@ module Google
21424
21446
  # @return [String]
21425
21447
  attr_accessor :gcm_execution_address
21426
21448
 
21449
+ # List of parent group IDs, if the device is added to one or multiple device
21450
+ # groups (see go/home-groups). Will be consumed by Smart Home APIs and (in the
21451
+ # future) Assistant CTF to populate the group member list of device groups.
21452
+ # Corresponds to the JSON property `groupIds`
21453
+ # @return [Array<String>]
21454
+ attr_accessor :group_ids
21455
+
21427
21456
  # The hash value from go/de-consistency-check
21428
21457
  # Corresponds to the JSON property `hashValue`
21429
21458
  # @return [String]
@@ -21682,6 +21711,7 @@ module Google
21682
21711
  @derived_type = args[:derived_type] if args.key?(:derived_type)
21683
21712
  @device_model_id = args[:device_model_id] if args.key?(:device_model_id)
21684
21713
  @gcm_execution_address = args[:gcm_execution_address] if args.key?(:gcm_execution_address)
21714
+ @group_ids = args[:group_ids] if args.key?(:group_ids)
21685
21715
  @hash_value = args[:hash_value] if args.key?(:hash_value)
21686
21716
  @lanscan_opted_in = args[:lanscan_opted_in] if args.key?(:lanscan_opted_in)
21687
21717
  @model_name = args[:model_name] if args.key?(:model_name)
@@ -22864,7 +22894,7 @@ module Google
22864
22894
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornClassifierData]
22865
22895
  attr_accessor :classifierdata
22866
22896
 
22867
- # Next ID: 51
22897
+ # Next ID: 52
22868
22898
  # Corresponds to the JSON property `sitedata`
22869
22899
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornSiteData]
22870
22900
  attr_accessor :sitedata
@@ -23056,7 +23086,7 @@ module Google
23056
23086
  end
23057
23087
  end
23058
23088
 
23059
- # Next ID: 51
23089
+ # Next ID: 52
23060
23090
  class ClassifierPornSiteData
23061
23091
  include Google::Apis::Core::Hashable
23062
23092
 
@@ -23080,6 +23110,12 @@ module Google
23080
23110
  # @return [Fixnum]
23081
23111
  attr_accessor :number_of_pedo_pages
23082
23112
 
23113
+ # Sitechunk used to compute the signals. The field is present only for data
23114
+ # created after December 2022.
23115
+ # Corresponds to the JSON property `site`
23116
+ # @return [String]
23117
+ attr_accessor :site
23118
+
23083
23119
  # The ratio of porn/softporn of the site this page belongs to.
23084
23120
  # Corresponds to the JSON property `sitePornRatio`
23085
23121
  # @return [Float]
@@ -23110,6 +23146,7 @@ module Google
23110
23146
  @final_pedo_site_score = args[:final_pedo_site_score] if args.key?(:final_pedo_site_score)
23111
23147
  @number_of_pages = args[:number_of_pages] if args.key?(:number_of_pages)
23112
23148
  @number_of_pedo_pages = args[:number_of_pedo_pages] if args.key?(:number_of_pedo_pages)
23149
+ @site = args[:site] if args.key?(:site)
23113
23150
  @site_porn_ratio = args[:site_porn_ratio] if args.key?(:site_porn_ratio)
23114
23151
  @site_softporn_ratio = args[:site_softporn_ratio] if args.key?(:site_softporn_ratio)
23115
23152
  @versionedscore = args[:versionedscore] if args.key?(:versionedscore)
@@ -23548,7 +23585,10 @@ module Google
23548
23585
 
23549
23586
  # PToken expresses policy-relevant properties of the data objects being
23550
23587
  # processed and stored in Google's production systems. See go/ptoken to learn
23551
- # more. Next ID: 8
23588
+ # more. PTokens are intentionally opaque: go/ptokens-are-opaque. The following
23589
+ # should be considered implementation details. Next ID: 8 INTERNAL: If both the
23590
+ # Scalar and the Compound extensions are populated, we use the Compound and
23591
+ # discard the Scalar. In principle, this should never happen.
23552
23592
  # Corresponds to the JSON property `ptoken`
23553
23593
  # @return [Google::Apis::ContentwarehouseV1::PtokenPToken]
23554
23594
  attr_accessor :ptoken
@@ -35601,7 +35641,7 @@ module Google
35601
35641
  # is not expected to have the language field set unless there is a name or
35602
35642
  # description. When the language field is not set, it is understood to be the
35603
35643
  # preferred language of the locale where the establishment is located. An empty
35604
- # string for any of the fields is treated the same as having the fields not set.
35644
+ # string for any of the fields is not allowed (as enforced by lints).
35605
35645
  class GeostorePriceListNameInfoProto
35606
35646
  include Google::Apis::Core::Hashable
35607
35647
 
@@ -35745,6 +35785,16 @@ module Google
35745
35785
  # @return [Array<String>]
35746
35786
  attr_accessor :item_type
35747
35787
 
35788
+ # The external form of a Google International Identifiers Initiative (III)
35789
+ # LanguageCode object. See google3/i18n/identifiers/languagecode.h for details.
35790
+ # We place extra restrictions on languages in addition to what the III library
35791
+ # requires. See go/geo-schema-reference/feature-properties/languages. When set,
35792
+ # represents the language of the section and its items. Any section and item
35793
+ # level name infos must match this language. Optional.
35794
+ # Corresponds to the JSON property `language`
35795
+ # @return [String]
35796
+ attr_accessor :language
35797
+
35748
35798
  # One or more media items (photos, videos, etc.) describing this section /
35749
35799
  # category.
35750
35800
  # Corresponds to the JSON property `media`
@@ -35769,6 +35819,7 @@ module Google
35769
35819
  @food_item = args[:food_item] if args.key?(:food_item)
35770
35820
  @item = args[:item] if args.key?(:item)
35771
35821
  @item_type = args[:item_type] if args.key?(:item_type)
35822
+ @language = args[:language] if args.key?(:language)
35772
35823
  @media = args[:media] if args.key?(:media)
35773
35824
  @name_info = args[:name_info] if args.key?(:name_info)
35774
35825
  end
@@ -41522,6 +41573,14 @@ module Google
41522
41573
  # @return [Google::Apis::ContentwarehouseV1::GoogleAssistantAccessoryV1ScreenOutConfigDimensions]
41523
41574
  attr_accessor :dimensions
41524
41575
 
41576
+ # The scale factor used to convert Scalable Pixel (SP) units to Density-
41577
+ # independent Pixel (DP) units (DP = SP * scale factor). Fonts are measured in
41578
+ # units of SP, and on some platforms such as Android the SP to DP scale factor
41579
+ # can be affected by the font size a user selects in accessibility settings.
41580
+ # Corresponds to the JSON property `fontScaleFactor`
41581
+ # @return [Float]
41582
+ attr_accessor :font_scale_factor
41583
+
41525
41584
  def initialize(**args)
41526
41585
  update!(**args)
41527
41586
  end
@@ -41529,6 +41588,7 @@ module Google
41529
41588
  # Update properties of this object
41530
41589
  def update!(**args)
41531
41590
  @dimensions = args[:dimensions] if args.key?(:dimensions)
41591
+ @font_scale_factor = args[:font_scale_factor] if args.key?(:font_scale_factor)
41532
41592
  end
41533
41593
  end
41534
41594
 
@@ -42252,6 +42312,26 @@ module Google
42252
42312
  end
42253
42313
  end
42254
42314
 
42315
+ # To support the custom weighting across document schemas.
42316
+ class GoogleCloudContentwarehouseV1CustomWeightsMetadata
42317
+ include Google::Apis::Core::Hashable
42318
+
42319
+ # List of schema and property name. Allows a maximum of 10 schemas to be
42320
+ # specified for relevance boosting.
42321
+ # Corresponds to the JSON property `weightedSchemaProperties`
42322
+ # @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1WeightedSchemaProperty>]
42323
+ attr_accessor :weighted_schema_properties
42324
+
42325
+ def initialize(**args)
42326
+ update!(**args)
42327
+ end
42328
+
42329
+ # Update properties of this object
42330
+ def update!(**args)
42331
+ @weighted_schema_properties = args[:weighted_schema_properties] if args.key?(:weighted_schema_properties)
42332
+ end
42333
+ end
42334
+
42255
42335
  # Represents the action responsible for properties update operations.
42256
42336
  class GoogleCloudContentwarehouseV1DataUpdateAction
42257
42337
  include Google::Apis::Core::Hashable
@@ -42610,6 +42690,11 @@ module Google
42610
42690
  # @return [String]
42611
42691
  attr_accessor :custom_property_filter
42612
42692
 
42693
+ # To support the custom weighting across document schemas.
42694
+ # Corresponds to the JSON property `customWeightsMetadata`
42695
+ # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1CustomWeightsMetadata]
42696
+ attr_accessor :custom_weights_metadata
42697
+
42613
42698
  # The exact creator(s) of the documents to search against. If a value isn't
42614
42699
  # specified, documents within the search results are associated with any creator.
42615
42700
  # If multiple values are specified, documents within the search results may be
@@ -42707,6 +42792,7 @@ module Google
42707
42792
  # Update properties of this object
42708
42793
  def update!(**args)
42709
42794
  @custom_property_filter = args[:custom_property_filter] if args.key?(:custom_property_filter)
42795
+ @custom_weights_metadata = args[:custom_weights_metadata] if args.key?(:custom_weights_metadata)
42710
42796
  @document_creator_filter = args[:document_creator_filter] if args.key?(:document_creator_filter)
42711
42797
  @document_schema_names = args[:document_schema_names] if args.key?(:document_schema_names)
42712
42798
  @file_type_filter = args[:file_type_filter] if args.key?(:file_type_filter)
@@ -43170,6 +43256,11 @@ module Google
43170
43256
  # @return [String]
43171
43257
  attr_accessor :database_type
43172
43258
 
43259
+ # Optional. The default role for the person who create a document.
43260
+ # Corresponds to the JSON property `documentCreatorDefaultRole`
43261
+ # @return [String]
43262
+ attr_accessor :document_creator_default_role
43263
+
43173
43264
  # Optional. The KMS key used for CMEK encryption. It is required that the kms
43174
43265
  # key is in the same region as the endpoint. The same key will be used for all
43175
43266
  # provisioned resources, if encryption is available. If the kms_key is left
@@ -43186,6 +43277,7 @@ module Google
43186
43277
  def update!(**args)
43187
43278
  @access_control_mode = args[:access_control_mode] if args.key?(:access_control_mode)
43188
43279
  @database_type = args[:database_type] if args.key?(:database_type)
43280
+ @document_creator_default_role = args[:document_creator_default_role] if args.key?(:document_creator_default_role)
43189
43281
  @kms_key = args[:kms_key] if args.key?(:kms_key)
43190
43282
  end
43191
43283
  end
@@ -43694,6 +43786,11 @@ module Google
43694
43786
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1PropertyTypeOptions]
43695
43787
  attr_accessor :property_type_options
43696
43788
 
43789
+ # The retrieval importance of the property during search.
43790
+ # Corresponds to the JSON property `retrievalImportance`
43791
+ # @return [String]
43792
+ attr_accessor :retrieval_importance
43793
+
43697
43794
  # Configurations for a text property.
43698
43795
  # Corresponds to the JSON property `textTypeOptions`
43699
43796
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1TextTypeOptions]
@@ -43723,6 +43820,7 @@ module Google
43723
43820
  @map_type_options = args[:map_type_options] if args.key?(:map_type_options)
43724
43821
  @name = args[:name] if args.key?(:name)
43725
43822
  @property_type_options = args[:property_type_options] if args.key?(:property_type_options)
43823
+ @retrieval_importance = args[:retrieval_importance] if args.key?(:retrieval_importance)
43726
43824
  @text_type_options = args[:text_type_options] if args.key?(:text_type_options)
43727
43825
  @timestamp_type_options = args[:timestamp_type_options] if args.key?(:timestamp_type_options)
43728
43826
  end
@@ -44847,6 +44945,31 @@ module Google
44847
44945
  end
44848
44946
  end
44849
44947
 
44948
+ # Specifies the schema property name.
44949
+ class GoogleCloudContentwarehouseV1WeightedSchemaProperty
44950
+ include Google::Apis::Core::Hashable
44951
+
44952
+ # The document schema name.
44953
+ # Corresponds to the JSON property `documentSchemaName`
44954
+ # @return [String]
44955
+ attr_accessor :document_schema_name
44956
+
44957
+ # The property definition names in the schema.
44958
+ # Corresponds to the JSON property `propertyNames`
44959
+ # @return [Array<String>]
44960
+ attr_accessor :property_names
44961
+
44962
+ def initialize(**args)
44963
+ update!(**args)
44964
+ end
44965
+
44966
+ # Update properties of this object
44967
+ def update!(**args)
44968
+ @document_schema_name = args[:document_schema_name] if args.key?(:document_schema_name)
44969
+ @property_names = args[:property_names] if args.key?(:property_names)
44970
+ end
44971
+ end
44972
+
44850
44973
  # Metadata object for CreateDocument request (currently empty).
44851
44974
  class GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata
44852
44975
  include Google::Apis::Core::Hashable
@@ -48441,7 +48564,7 @@ module Google
48441
48564
  alias_method :cloud_fulfillment_only?, :cloud_fulfillment_only
48442
48565
 
48443
48566
  # Trait name, e.g., "action.devices.traits.MediaInitiation". See [device traits](
48444
- # https://developers.google.com/assistant/smarthome/traits). See java/com/google/
48567
+ # https://developers.home.google.com/cloud-to-cloud/traits). See java/com/google/
48445
48568
  # home/graph/common/devices/config/protoconf.pi for the exhaustive list of trait-
48446
48569
  # strings.
48447
48570
  # Corresponds to the JSON property `trait`
@@ -54115,6 +54238,12 @@ module Google
54115
54238
  # @return [Fixnum]
54116
54239
  attr_accessor :venom_mutation_generation
54117
54240
 
54241
+ # This field is not persisted anywhere. It is only used in deletion service for
54242
+ # converying the VideoVenomSetting when deleting Venom data.
54243
+ # Corresponds to the JSON property `videoVenomSetting`
54244
+ # @return [String]
54245
+ attr_accessor :video_venom_setting
54246
+
54118
54247
  def initialize(**args)
54119
54248
  update!(**args)
54120
54249
  end
@@ -54133,6 +54262,7 @@ module Google
54133
54262
  @transition = args[:transition] if args.key?(:transition)
54134
54263
  @venom_id = args[:venom_id] if args.key?(:venom_id)
54135
54264
  @venom_mutation_generation = args[:venom_mutation_generation] if args.key?(:venom_mutation_generation)
54265
+ @video_venom_setting = args[:video_venom_setting] if args.key?(:video_venom_setting)
54136
54266
  end
54137
54267
  end
54138
54268
 
@@ -61631,7 +61761,7 @@ module Google
61631
61761
 
61632
61762
  # Signals to be used by the Prefulfillment Ranker. Derived from the
61633
61763
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
61634
- # Next ID: 34
61764
+ # Next ID: 36
61635
61765
  # Corresponds to the JSON property `prefulfillmentSignals`
61636
61766
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
61637
61767
  attr_accessor :prefulfillment_signals
@@ -67536,7 +67666,7 @@ module Google
67536
67666
  end
67537
67667
  end
67538
67668
 
67539
- # Metadata associated with a region in an image. NEXT_ID: 13
67669
+ # Metadata associated with a region in an image. NEXT_ID: 14
67540
67670
  class MediaIndexRegion
67541
67671
  include Google::Apis::Core::Hashable
67542
67672
 
@@ -67609,6 +67739,11 @@ module Google
67609
67739
  # @return [Google::Apis::ContentwarehouseV1::ImageContentStarburstVersionGroup]
67610
67740
  attr_accessor :starburst_v4
67611
67741
 
67742
+ #
67743
+ # Corresponds to the JSON property `starburstV5`
67744
+ # @return [Google::Apis::ContentwarehouseV1::ImageContentStarburstVersionGroup]
67745
+ attr_accessor :starburst_v5
67746
+
67612
67747
  def initialize(**args)
67613
67748
  update!(**args)
67614
67749
  end
@@ -67627,6 +67762,7 @@ module Google
67627
67762
  @starburst_tokens_v4 = args[:starburst_tokens_v4] if args.key?(:starburst_tokens_v4)
67628
67763
  @starburst_tokens_v5 = args[:starburst_tokens_v5] if args.key?(:starburst_tokens_v5)
67629
67764
  @starburst_v4 = args[:starburst_v4] if args.key?(:starburst_v4)
67765
+ @starburst_v5 = args[:starburst_v5] if args.key?(:starburst_v5)
67630
67766
  end
67631
67767
  end
67632
67768
 
@@ -72386,6 +72522,11 @@ module Google
72386
72522
  # @return [String]
72387
72523
  attr_accessor :status
72388
72524
 
72525
+ # Completeness probability as calculated by the parser's completeness layer.
72526
+ # Corresponds to the JSON property `textCompletenessProbability`
72527
+ # @return [Float]
72528
+ attr_accessor :text_completeness_probability
72529
+
72389
72530
  def initialize(**args)
72390
72531
  update!(**args)
72391
72532
  end
@@ -72393,6 +72534,7 @@ module Google
72393
72534
  # Update properties of this object
72394
72535
  def update!(**args)
72395
72536
  @status = args[:status] if args.key?(:status)
72537
+ @text_completeness_probability = args[:text_completeness_probability] if args.key?(:text_completeness_probability)
72396
72538
  end
72397
72539
  end
72398
72540
 
@@ -86855,30 +86997,19 @@ module Google
86855
86997
 
86856
86998
  # PToken expresses policy-relevant properties of the data objects being
86857
86999
  # processed and stored in Google's production systems. See go/ptoken to learn
86858
- # more. Next ID: 8
87000
+ # more. PTokens are intentionally opaque: go/ptokens-are-opaque. The following
87001
+ # should be considered implementation details. Next ID: 8 INTERNAL: If both the
87002
+ # Scalar and the Compound extensions are populated, we use the Compound and
87003
+ # discard the Scalar. In principle, this should never happen.
86859
87004
  class PtokenPToken
86860
87005
  include Google::Apis::Core::Hashable
86861
87006
 
86862
- #
86863
- # Corresponds to the JSON property `compoundPtokenData`
86864
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
86865
- # @return [String]
86866
- attr_accessor :compound_ptoken_data
86867
-
86868
- #
86869
- # Corresponds to the JSON property `ptokenData`
86870
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
86871
- # @return [String]
86872
- attr_accessor :ptoken_data
86873
-
86874
87007
  def initialize(**args)
86875
87008
  update!(**args)
86876
87009
  end
86877
87010
 
86878
87011
  # Update properties of this object
86879
87012
  def update!(**args)
86880
- @compound_ptoken_data = args[:compound_ptoken_data] if args.key?(:compound_ptoken_data)
86881
- @ptoken_data = args[:ptoken_data] if args.key?(:ptoken_data)
86882
87013
  end
86883
87014
  end
86884
87015
 
@@ -90205,6 +90336,18 @@ module Google
90205
90336
  class QualityNsrNsrDataMetadata
90206
90337
  include Google::Apis::Core::Hashable
90207
90338
 
90339
+ # Encoded lookup information. The fields set above are expensive to store.
90340
+ # Storing them in docjoins is fine, but we cannot store them in MDU shards. In
90341
+ # order for the MDU shards to display field provenance information, we store
90342
+ # them as a bitfield. For details about the encoding and decoding scheme, see
90343
+ # quality_nsr::util::EncodeMetadataLookupInformation. We expect this to occupy 8
90344
+ # bytes as long as there are less than 64 fields in NsrData proto, 12 bytes
90345
+ # between 64 and 92 fields, etc.
90346
+ # Corresponds to the JSON property `encodedLookupInformation`
90347
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
90348
+ # @return [String]
90349
+ attr_accessor :encoded_lookup_information
90350
+
90208
90351
  # Same as raffia_lookup_key_per_field. Note that the goldmine_lookups have
90209
90352
  # priority; if a field appears in both goldmine and raffia entries, it means it
90210
90353
  # was taken from goldmine. If it's missing here but present in
@@ -90248,6 +90391,7 @@ module Google
90248
90391
 
90249
90392
  # Update properties of this object
90250
90393
  def update!(**args)
90394
+ @encoded_lookup_information = args[:encoded_lookup_information] if args.key?(:encoded_lookup_information)
90251
90395
  @goldmine_lookup_key_per_field = args[:goldmine_lookup_key_per_field] if args.key?(:goldmine_lookup_key_per_field)
90252
90396
  @goldmine_lookup_keys = args[:goldmine_lookup_keys] if args.key?(:goldmine_lookup_keys)
90253
90397
  @raffia_lookup_key = args[:raffia_lookup_key] if args.key?(:raffia_lookup_key)
@@ -91658,7 +91802,8 @@ module Google
91658
91802
  class QualityQrewriteCandidateIdField
91659
91803
  include Google::Apis::Core::Hashable
91660
91804
 
91661
- #
91805
+ # If needed, a servlet can use this field to assign an ID to distinguish between
91806
+ # different candidates of the same CandidateType.
91662
91807
  # Corresponds to the JSON property `index`
91663
91808
  # @return [Fixnum]
91664
91809
  attr_accessor :index
@@ -93859,7 +94004,9 @@ module Google
93859
94004
  class QualityTimebasedLastSignificantUpdateAdjustments
93860
94005
  include Google::Apis::Core::Hashable
93861
94006
 
93862
- #
94007
+ # If the selected LSU has been adjusted, i.e. the maximum passage timestamp,
94008
+ # firstseen or contentage were assigned to LSU, the adjustment source is stored
94009
+ # here.
93863
94010
  # Corresponds to the JSON property `adjustmentSource`
93864
94011
  # @return [String]
93865
94012
  attr_accessor :adjustment_source
@@ -93873,10 +94020,15 @@ module Google
93873
94020
 
93874
94021
  # The timestamp that was picked up by the component indicated in the
93875
94022
  # LastSignificantUpdateSource but was dropped due to exceeding the upper bound.
93876
- # The two following fields are present only when the adjustment took place.
93877
- # Corresponds to the JSON property `unadjustedTimestampInSeconds`
94023
+ # Set only if it's not equal to final LSU.
94024
+ # Corresponds to the JSON property `unboundedTimestampInSeconds`
93878
94025
  # @return [Fixnum]
93879
- attr_accessor :unadjusted_timestamp_in_seconds
94026
+ attr_accessor :unbounded_timestamp_in_seconds
94027
+
94028
+ # The source that produced the unbounded timestamp.
94029
+ # Corresponds to the JSON property `unboundedTimestampSource`
94030
+ # @return [String]
94031
+ attr_accessor :unbounded_timestamp_source
93880
94032
 
93881
94033
  # The upperbound value derived from passage timestamps. If present, the LSU date
93882
94034
  # should never exceed this value. Design doc: go/lsu-max-passage-timestamp
@@ -93892,7 +94044,8 @@ module Google
93892
94044
  def update!(**args)
93893
94045
  @adjustment_source = args[:adjustment_source] if args.key?(:adjustment_source)
93894
94046
  @is_upperbound_timestamp_precise = args[:is_upperbound_timestamp_precise] if args.key?(:is_upperbound_timestamp_precise)
93895
- @unadjusted_timestamp_in_seconds = args[:unadjusted_timestamp_in_seconds] if args.key?(:unadjusted_timestamp_in_seconds)
94047
+ @unbounded_timestamp_in_seconds = args[:unbounded_timestamp_in_seconds] if args.key?(:unbounded_timestamp_in_seconds)
94048
+ @unbounded_timestamp_source = args[:unbounded_timestamp_source] if args.key?(:unbounded_timestamp_source)
93896
94049
  @upperbound_timestamp_in_seconds = args[:upperbound_timestamp_in_seconds] if args.key?(:upperbound_timestamp_in_seconds)
93897
94050
  end
93898
94051
  end
@@ -100471,13 +100624,6 @@ module Google
100471
100624
  # @return [Float]
100472
100625
  attr_accessor :book_score
100473
100626
 
100474
- # Fraction of importance_ratio (IR) that is explained by this entity and implied
100475
- # entities. E.g. a page about a song with IR 0.2 for the song and 0.5 for the
100476
- # artist actually has explained_normalized_topicality 0.7 for the song.
100477
- # Corresponds to the JSON property `explainedNormalizedTopicality`
100478
- # @return [Float]
100479
- attr_accessor :explained_normalized_topicality
100480
-
100481
100627
  # The raw topicality score of the primary entity.
100482
100628
  # Corresponds to the JSON property `firstScore`
100483
100629
  # @return [Float]
@@ -100506,13 +100652,6 @@ module Google
100506
100652
  # @return [Float]
100507
100653
  attr_accessor :reference_page_score
100508
100654
 
100509
- # The score used to sort reference pages for a given entity. This score tries to
100510
- # assign higher scores to reference pages that are more useful to the model
100511
- # building.
100512
- # Corresponds to the JSON property `referencePageSelectionScore`
100513
- # @return [Float]
100514
- attr_accessor :reference_page_selection_score
100515
-
100516
100655
  # True if the entity is selected as the reference page owner.
100517
100656
  # Corresponds to the JSON property `selected`
100518
100657
  # @return [Boolean]
@@ -100549,13 +100688,11 @@ module Google
100549
100688
  # Update properties of this object
100550
100689
  def update!(**args)
100551
100690
  @book_score = args[:book_score] if args.key?(:book_score)
100552
- @explained_normalized_topicality = args[:explained_normalized_topicality] if args.key?(:explained_normalized_topicality)
100553
100691
  @first_score = args[:first_score] if args.key?(:first_score)
100554
100692
  @has_special_links = args[:has_special_links] if args.key?(:has_special_links)
100555
100693
  @median_mention_score = args[:median_mention_score] if args.key?(:median_mention_score)
100556
100694
  @navboost_coverage = args[:navboost_coverage] if args.key?(:navboost_coverage)
100557
100695
  @reference_page_score = args[:reference_page_score] if args.key?(:reference_page_score)
100558
- @reference_page_selection_score = args[:reference_page_selection_score] if args.key?(:reference_page_selection_score)
100559
100696
  @selected = args[:selected] if args.key?(:selected)
100560
100697
  @single_topicness = args[:single_topicness] if args.key?(:single_topicness)
100561
100698
  @single_topicness_v2 = args[:single_topicness_v2] if args.key?(:single_topicness_v2)
@@ -103433,6 +103570,11 @@ module Google
103433
103570
  # @return [String]
103434
103571
  attr_accessor :location_name
103435
103572
 
103573
+ #
103574
+ # Corresponds to the JSON property `locationResource`
103575
+ # @return [String]
103576
+ attr_accessor :location_resource
103577
+
103436
103578
  # Latitude and longitude for a single point in the form of "lat,long".
103437
103579
  # Corresponds to the JSON property `pointCoordinates`
103438
103580
  # @return [String]
@@ -103455,6 +103597,7 @@ module Google
103455
103597
  @location_mid = args[:location_mid] if args.key?(:location_mid)
103456
103598
  @location_mid_label = args[:location_mid_label] if args.key?(:location_mid_label)
103457
103599
  @location_name = args[:location_name] if args.key?(:location_name)
103600
+ @location_resource = args[:location_resource] if args.key?(:location_resource)
103458
103601
  @point_coordinates = args[:point_coordinates] if args.key?(:point_coordinates)
103459
103602
  @unformatted_coordinates = args[:unformatted_coordinates] if args.key?(:unformatted_coordinates)
103460
103603
  end
@@ -104177,6 +104320,11 @@ module Google
104177
104320
  # @return [String]
104178
104321
  attr_accessor :entity_type
104179
104322
 
104323
+ # HRID of the KG collections
104324
+ # Corresponds to the JSON property `kgCollection`
104325
+ # @return [Array<String>]
104326
+ attr_accessor :kg_collection
104327
+
104180
104328
  # The KG identifier of the WebrefEntity.
104181
104329
  # Corresponds to the JSON property `mid`
104182
104330
  # @return [String]
@@ -104190,6 +104338,7 @@ module Google
104190
104338
  def update!(**args)
104191
104339
  @description = args[:description] if args.key?(:description)
104192
104340
  @entity_type = args[:entity_type] if args.key?(:entity_type)
104341
+ @kg_collection = args[:kg_collection] if args.key?(:kg_collection)
104193
104342
  @mid = args[:mid] if args.key?(:mid)
104194
104343
  end
104195
104344
  end
@@ -108578,7 +108727,7 @@ module Google
108578
108727
  end
108579
108728
  end
108580
108729
 
108581
- # Next ID: 13
108730
+ # Next ID: 14
108582
108731
  class SnippetExtraInfoSnippetCandidateInfo
108583
108732
  include Google::Apis::Core::Hashable
108584
108733
 
@@ -108620,6 +108769,11 @@ module Google
108620
108769
  # @return [Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetScoringInfo]
108621
108770
  attr_accessor :scoring_info
108622
108771
 
108772
+ # Sentence starting positions in the printed snippet lines.
108773
+ # Corresponds to the JSON property `sentenceStarts`
108774
+ # @return [Array<Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRangePosition>]
108775
+ attr_accessor :sentence_starts
108776
+
108623
108777
  # Muppet fills snippet lines in `snippet` field.
108624
108778
  # Corresponds to the JSON property `snippet`
108625
108779
  # @return [Array<String>]
@@ -108648,6 +108802,7 @@ module Google
108648
108802
  @is_snippet_brain_bolding_triggered = args[:is_snippet_brain_bolding_triggered] if args.key?(:is_snippet_brain_bolding_triggered)
108649
108803
  @list_info = args[:list_info] if args.key?(:list_info)
108650
108804
  @scoring_info = args[:scoring_info] if args.key?(:scoring_info)
108805
+ @sentence_starts = args[:sentence_starts] if args.key?(:sentence_starts)
108651
108806
  @snippet = args[:snippet] if args.key?(:snippet)
108652
108807
  @snippet_text = args[:snippet_text] if args.key?(:snippet_text)
108653
108808
  @snippet_type = args[:snippet_type] if args.key?(:snippet_type)
@@ -116193,7 +116348,8 @@ module Google
116193
116348
  attr_accessor :id
116194
116349
 
116195
116350
  # LINT.ThenChange( //depot/google3/googledata/production/playbooks/video-assets/
116196
- # clients.md ) REQUIRED.
116351
+ # clients.md, //depot/google3/video/assets/venom/proto/namespace.proto )
116352
+ # REQUIRED.
116197
116353
  # Corresponds to the JSON property `ns`
116198
116354
  # @return [String]
116199
116355
  attr_accessor :ns
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContentwarehouseV1
18
18
  # Version of the google-apis-contentwarehouse_v1 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.11.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221219"
25
+ REVISION = "20230106"
26
26
  end
27
27
  end
28
28
  end
@@ -5200,6 +5200,12 @@ module Google
5200
5200
  include Google::Apis::Core::JsonObjectSupport
5201
5201
  end
5202
5202
 
5203
+ class GoogleCloudContentwarehouseV1CustomWeightsMetadata
5204
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5205
+
5206
+ include Google::Apis::Core::JsonObjectSupport
5207
+ end
5208
+
5203
5209
  class GoogleCloudContentwarehouseV1DataUpdateAction
5204
5210
  class Representation < Google::Apis::Core::JsonRepresentation; end
5205
5211
 
@@ -5656,6 +5662,12 @@ module Google
5656
5662
  include Google::Apis::Core::JsonObjectSupport
5657
5663
  end
5658
5664
 
5665
+ class GoogleCloudContentwarehouseV1WeightedSchemaProperty
5666
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5667
+
5668
+ include Google::Apis::Core::JsonObjectSupport
5669
+ end
5670
+
5659
5671
  class GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata
5660
5672
  class Representation < Google::Apis::Core::JsonRepresentation; end
5661
5673
 
@@ -18247,6 +18259,7 @@ module Google
18247
18259
  class AssistantApiScreenCapabilities
18248
18260
  # @private
18249
18261
  class Representation < Google::Apis::Core::JsonRepresentation
18262
+ property :font_scale_factor, as: 'fontScaleFactor'
18250
18263
  collection :input_type, as: 'inputType'
18251
18264
  property :mask, as: 'mask', class: Google::Apis::ContentwarehouseV1::AssistantApiScreenCapabilitiesMask, decorator: Google::Apis::ContentwarehouseV1::AssistantApiScreenCapabilitiesMask::Representation
18252
18265
 
@@ -20002,6 +20015,7 @@ module Google
20002
20015
  # @private
20003
20016
  class Representation < Google::Apis::Core::JsonRepresentation
20004
20017
  property :binding_set_auis, as: 'bindingSetAuis'
20018
+ property :binding_set_pauis, as: 'bindingSetPauis'
20005
20019
  property :calibrated_parsing_score, as: 'calibratedParsingScore'
20006
20020
  property :dominant, as: 'dominant'
20007
20021
  property :effective_arg_span_length, as: 'effectiveArgSpanLength'
@@ -20015,6 +20029,7 @@ module Google
20015
20029
  property :is_feasible, as: 'isFeasible'
20016
20030
  property :kscorer_rank, as: 'kscorerRank'
20017
20031
  property :mask_candidate_level_features, as: 'maskCandidateLevelFeatures'
20032
+ property :max_hgr_score_across_binding_sets, as: 'maxHgrScoreAcrossBindingSets'
20018
20033
  property :num_alternative_hypothesis, as: 'numAlternativeHypothesis'
20019
20034
  property :num_constraints, as: 'numConstraints'
20020
20035
  property :num_constraints_satisfied, as: 'numConstraintsSatisfied'
@@ -20238,6 +20253,7 @@ module Google
20238
20253
  collection :derived_type, as: 'derivedType'
20239
20254
  property :device_model_id, as: 'deviceModelId'
20240
20255
  property :gcm_execution_address, as: 'gcmExecutionAddress'
20256
+ collection :group_ids, as: 'groupIds'
20241
20257
  property :hash_value, as: 'hashValue'
20242
20258
  property :lanscan_opted_in, as: 'lanscanOptedIn'
20243
20259
  property :model_name, as: 'modelName'
@@ -20672,6 +20688,7 @@ module Google
20672
20688
  property :final_pedo_site_score, as: 'finalPedoSiteScore'
20673
20689
  property :number_of_pages, :numeric_string => true, as: 'numberOfPages'
20674
20690
  property :number_of_pedo_pages, :numeric_string => true, as: 'numberOfPedoPages'
20691
+ property :site, as: 'site'
20675
20692
  property :site_porn_ratio, as: 'sitePornRatio'
20676
20693
  property :site_softporn_ratio, as: 'siteSoftpornRatio'
20677
20694
  collection :versionedscore, as: 'versionedscore', class: Google::Apis::ContentwarehouseV1::ClassifierPornSiteDataVersionedScore, decorator: Google::Apis::ContentwarehouseV1::ClassifierPornSiteDataVersionedScore::Representation
@@ -23655,6 +23672,7 @@ module Google
23655
23672
  collection :item, as: 'item', class: Google::Apis::ContentwarehouseV1::GeostoreComposableItemProto, decorator: Google::Apis::ContentwarehouseV1::GeostoreComposableItemProto::Representation
23656
23673
 
23657
23674
  collection :item_type, as: 'itemType'
23675
+ property :language, as: 'language'
23658
23676
  collection :media, as: 'media', class: Google::Apis::ContentwarehouseV1::GeostoreMediaItemProto, decorator: Google::Apis::ContentwarehouseV1::GeostoreMediaItemProto::Representation
23659
23677
 
23660
23678
  collection :name_info, as: 'nameInfo', class: Google::Apis::ContentwarehouseV1::GeostorePriceListNameInfoProto, decorator: Google::Apis::ContentwarehouseV1::GeostorePriceListNameInfoProto::Representation
@@ -25003,6 +25021,7 @@ module Google
25003
25021
  class Representation < Google::Apis::Core::JsonRepresentation
25004
25022
  property :dimensions, as: 'dimensions', class: Google::Apis::ContentwarehouseV1::GoogleAssistantAccessoryV1ScreenOutConfigDimensions, decorator: Google::Apis::ContentwarehouseV1::GoogleAssistantAccessoryV1ScreenOutConfigDimensions::Representation
25005
25023
 
25024
+ property :font_scale_factor, as: 'fontScaleFactor'
25006
25025
  end
25007
25026
  end
25008
25027
 
@@ -25209,6 +25228,14 @@ module Google
25209
25228
  end
25210
25229
  end
25211
25230
 
25231
+ class GoogleCloudContentwarehouseV1CustomWeightsMetadata
25232
+ # @private
25233
+ class Representation < Google::Apis::Core::JsonRepresentation
25234
+ collection :weighted_schema_properties, as: 'weightedSchemaProperties', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1WeightedSchemaProperty, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1WeightedSchemaProperty::Representation
25235
+
25236
+ end
25237
+ end
25238
+
25212
25239
  class GoogleCloudContentwarehouseV1DataUpdateAction
25213
25240
  # @private
25214
25241
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25306,6 +25333,8 @@ module Google
25306
25333
  # @private
25307
25334
  class Representation < Google::Apis::Core::JsonRepresentation
25308
25335
  property :custom_property_filter, as: 'customPropertyFilter'
25336
+ property :custom_weights_metadata, as: 'customWeightsMetadata', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1CustomWeightsMetadata, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1CustomWeightsMetadata::Representation
25337
+
25309
25338
  collection :document_creator_filter, as: 'documentCreatorFilter'
25310
25339
  collection :document_schema_names, as: 'documentSchemaNames'
25311
25340
  property :file_type_filter, as: 'fileTypeFilter', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1FileTypeFilter, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1FileTypeFilter::Representation
@@ -25449,6 +25478,7 @@ module Google
25449
25478
  class Representation < Google::Apis::Core::JsonRepresentation
25450
25479
  property :access_control_mode, as: 'accessControlMode'
25451
25480
  property :database_type, as: 'databaseType'
25481
+ property :document_creator_default_role, as: 'documentCreatorDefaultRole'
25452
25482
  property :kms_key, as: 'kmsKey'
25453
25483
  end
25454
25484
  end
@@ -25621,6 +25651,7 @@ module Google
25621
25651
  property :name, as: 'name'
25622
25652
  property :property_type_options, as: 'propertyTypeOptions', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1PropertyTypeOptions, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1PropertyTypeOptions::Representation
25623
25653
 
25654
+ property :retrieval_importance, as: 'retrievalImportance'
25624
25655
  property :text_type_options, as: 'textTypeOptions', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1TextTypeOptions, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1TextTypeOptions::Representation
25625
25656
 
25626
25657
  property :timestamp_type_options, as: 'timestampTypeOptions', class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1TimestampTypeOptions, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1TimestampTypeOptions::Representation
@@ -25956,6 +25987,14 @@ module Google
25956
25987
  end
25957
25988
  end
25958
25989
 
25990
+ class GoogleCloudContentwarehouseV1WeightedSchemaProperty
25991
+ # @private
25992
+ class Representation < Google::Apis::Core::JsonRepresentation
25993
+ property :document_schema_name, as: 'documentSchemaName'
25994
+ collection :property_names, as: 'propertyNames'
25995
+ end
25996
+ end
25997
+
25959
25998
  class GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata
25960
25999
  # @private
25961
26000
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -28277,6 +28316,7 @@ module Google
28277
28316
  property :venom_id, as: 'venomId', class: Google::Apis::ContentwarehouseV1::VideoAssetsVenomVideoId, decorator: Google::Apis::ContentwarehouseV1::VideoAssetsVenomVideoId::Representation
28278
28317
 
28279
28318
  property :venom_mutation_generation, :numeric_string => true, as: 'venomMutationGeneration'
28319
+ property :video_venom_setting, as: 'videoVenomSetting'
28280
28320
  end
28281
28321
  end
28282
28322
 
@@ -31775,6 +31815,8 @@ module Google
31775
31815
  collection :starburst_tokens_v5, as: 'starburstTokensV5'
31776
31816
  property :starburst_v4, as: 'starburstV4', class: Google::Apis::ContentwarehouseV1::ImageContentStarburstVersionGroup, decorator: Google::Apis::ContentwarehouseV1::ImageContentStarburstVersionGroup::Representation
31777
31817
 
31818
+ property :starburst_v5, as: 'starburstV5', class: Google::Apis::ContentwarehouseV1::ImageContentStarburstVersionGroup, decorator: Google::Apis::ContentwarehouseV1::ImageContentStarburstVersionGroup::Representation
31819
+
31778
31820
  end
31779
31821
  end
31780
31822
 
@@ -32970,6 +33012,7 @@ module Google
32970
33012
  # @private
32971
33013
  class Representation < Google::Apis::Core::JsonRepresentation
32972
33014
  property :status, as: 'status'
33015
+ property :text_completeness_probability, as: 'textCompletenessProbability'
32973
33016
  end
32974
33017
  end
32975
33018
 
@@ -36271,8 +36314,6 @@ module Google
36271
36314
  class PtokenPToken
36272
36315
  # @private
36273
36316
  class Representation < Google::Apis::Core::JsonRepresentation
36274
- property :compound_ptoken_data, :base64 => true, as: 'compoundPtokenData'
36275
- property :ptoken_data, :base64 => true, as: 'ptokenData'
36276
36317
  end
36277
36318
  end
36278
36319
 
@@ -37060,6 +37101,7 @@ module Google
37060
37101
  class QualityNsrNsrDataMetadata
37061
37102
  # @private
37062
37103
  class Representation < Google::Apis::Core::JsonRepresentation
37104
+ property :encoded_lookup_information, :base64 => true, as: 'encodedLookupInformation'
37063
37105
  hash :goldmine_lookup_key_per_field, as: 'goldmineLookupKeyPerField'
37064
37106
  collection :goldmine_lookup_keys, as: 'goldmineLookupKeys'
37065
37107
  property :raffia_lookup_key, as: 'raffiaLookupKey'
@@ -37957,7 +37999,8 @@ module Google
37957
37999
  class Representation < Google::Apis::Core::JsonRepresentation
37958
38000
  property :adjustment_source, as: 'adjustmentSource'
37959
38001
  property :is_upperbound_timestamp_precise, as: 'isUpperboundTimestampPrecise'
37960
- property :unadjusted_timestamp_in_seconds, :numeric_string => true, as: 'unadjustedTimestampInSeconds'
38002
+ property :unbounded_timestamp_in_seconds, :numeric_string => true, as: 'unboundedTimestampInSeconds'
38003
+ property :unbounded_timestamp_source, as: 'unboundedTimestampSource'
37961
38004
  property :upperbound_timestamp_in_seconds, :numeric_string => true, as: 'upperboundTimestampInSeconds'
37962
38005
  end
37963
38006
  end
@@ -39635,13 +39678,11 @@ module Google
39635
39678
  # @private
39636
39679
  class Representation < Google::Apis::Core::JsonRepresentation
39637
39680
  property :book_score, as: 'bookScore'
39638
- property :explained_normalized_topicality, as: 'explainedNormalizedTopicality'
39639
39681
  property :first_score, as: 'firstScore'
39640
39682
  property :has_special_links, as: 'hasSpecialLinks'
39641
39683
  property :median_mention_score, as: 'medianMentionScore'
39642
39684
  property :navboost_coverage, as: 'navboostCoverage'
39643
39685
  property :reference_page_score, as: 'referencePageScore'
39644
- property :reference_page_selection_score, as: 'referencePageSelectionScore'
39645
39686
  property :selected, as: 'selected'
39646
39687
  property :single_topicness, as: 'singleTopicness'
39647
39688
  property :single_topicness_v2, as: 'singleTopicnessV2'
@@ -40333,6 +40374,7 @@ module Google
40333
40374
  collection :location_mid, as: 'locationMid'
40334
40375
  collection :location_mid_label, as: 'locationMidLabel'
40335
40376
  property :location_name, as: 'locationName'
40377
+ property :location_resource, as: 'locationResource'
40336
40378
  property :point_coordinates, as: 'pointCoordinates'
40337
40379
  property :unformatted_coordinates, as: 'unformattedCoordinates'
40338
40380
  end
@@ -40496,6 +40538,7 @@ module Google
40496
40538
  class Representation < Google::Apis::Core::JsonRepresentation
40497
40539
  property :description, as: 'description'
40498
40540
  property :entity_type, as: 'entityType'
40541
+ collection :kg_collection, as: 'kgCollection'
40499
40542
  property :mid, as: 'mid'
40500
40543
  end
40501
40544
  end
@@ -41585,6 +41628,8 @@ module Google
41585
41628
 
41586
41629
  property :scoring_info, as: 'scoringInfo', class: Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetScoringInfo, decorator: Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetScoringInfo::Representation
41587
41630
 
41631
+ collection :sentence_starts, as: 'sentenceStarts', class: Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRangePosition, decorator: Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRangePosition::Representation
41632
+
41588
41633
  collection :snippet, as: 'snippet'
41589
41634
  property :snippet_text, as: 'snippetText'
41590
41635
  property :snippet_type, as: 'snippetType'
@@ -87,6 +87,15 @@ module Google
87
87
  end
88
88
 
89
89
  # Sets the access control policy for a resource. Replaces any existing policy.
90
+ # You can set ACL with condition for projects only. Supported operators are: `=`,
91
+ # `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is `
92
+ # DocumentSchemaId` or property name and the right of the operator is a number
93
+ # or a quoted string. You must escape backslash (\\) and quote (\") characters.
94
+ # Boolean expressions (AND/OR) are supported up to 3 levels of nesting (for
95
+ # example, "((A AND B AND C) OR D) AND E"), a maximum of 10 comparisons are
96
+ # allowed in the expression. The expression must be < 6000 bytes in length.
97
+ # Sample condition: `"DocumentSchemaId = \"some schema id\" " OR SchemaId.
98
+ # floatPropertyName >= 10`
90
99
  # @param [String] resource
91
100
  # Required. REQUIRED: The resource for which the policy is being requested.
92
101
  # Format for document: projects/`project_number`/locations/`location`/documents/`
@@ -615,6 +624,15 @@ module Google
615
624
  end
616
625
 
617
626
  # Sets the access control policy for a resource. Replaces any existing policy.
627
+ # You can set ACL with condition for projects only. Supported operators are: `=`,
628
+ # `!=`, `<`, `<=`, `>`, and `>=` where the left of the operator is `
629
+ # DocumentSchemaId` or property name and the right of the operator is a number
630
+ # or a quoted string. You must escape backslash (\\) and quote (\") characters.
631
+ # Boolean expressions (AND/OR) are supported up to 3 levels of nesting (for
632
+ # example, "((A AND B AND C) OR D) AND E"), a maximum of 10 comparisons are
633
+ # allowed in the expression. The expression must be < 6000 bytes in length.
634
+ # Sample condition: `"DocumentSchemaId = \"some schema id\" " OR SchemaId.
635
+ # floatPropertyName >= 10`
618
636
  # @param [String] resource
619
637
  # Required. REQUIRED: The resource for which the policy is being requested.
620
638
  # Format for document: projects/`project_number`/locations/`location`/documents/`
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-contentwarehouse_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-04 00:00:00.000000000 Z
11
+ date: 2023-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contentwarehouse_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contentwarehouse_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Document AI Warehouse API V1