google-apis-contentwarehouse_v1 0.5.0 → 0.7.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.
@@ -2990,6 +2990,66 @@ module Google
2990
2990
  end
2991
2991
  end
2992
2992
 
2993
+ # Contact creation timestamps and related metadata. See go/contact-edit-history.
2994
+ # This message is a pure wrapper of the shared ContactCreactionContext message
2995
+ # so that it can be a top-level person field. No other fields should be added to
2996
+ # the message.
2997
+ class AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo
2998
+ include Google::Apis::Core::Hashable
2999
+
3000
+ # The ContactEditContext message is a wrapper around the generic
3001
+ # ContactMutationContext data to represent when and where a contact create was
3002
+ # performed.
3003
+ # Corresponds to the JSON property `contactCreateContext`
3004
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoContactCreateContext]
3005
+ attr_accessor :contact_create_context
3006
+
3007
+ # Metadata for a single Person field. See go/understanding-merged-person
3008
+ # Corresponds to the JSON property `metadata`
3009
+ # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata]
3010
+ attr_accessor :metadata
3011
+
3012
+ def initialize(**args)
3013
+ update!(**args)
3014
+ end
3015
+
3016
+ # Update properties of this object
3017
+ def update!(**args)
3018
+ @contact_create_context = args[:contact_create_context] if args.key?(:contact_create_context)
3019
+ @metadata = args[:metadata] if args.key?(:metadata)
3020
+ end
3021
+ end
3022
+
3023
+ # Contact edit timestamps and related metadata. See go/contact-edit-history.
3024
+ # This message is a pure wrapper of the shared ContactCreactionContext message
3025
+ # so that it can be a top-level person field. No other fields should be added to
3026
+ # the message.
3027
+ class AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo
3028
+ include Google::Apis::Core::Hashable
3029
+
3030
+ # The ContactEditContext message is a wrapper around the generic
3031
+ # ContactMutationContext data to represent when and where a contact edit was
3032
+ # performed.
3033
+ # Corresponds to the JSON property `contactEditContext`
3034
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoContactEditContext]
3035
+ attr_accessor :contact_edit_context
3036
+
3037
+ # Metadata for a single Person field. See go/understanding-merged-person
3038
+ # Corresponds to the JSON property `metadata`
3039
+ # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata]
3040
+ attr_accessor :metadata
3041
+
3042
+ def initialize(**args)
3043
+ update!(**args)
3044
+ end
3045
+
3046
+ # Update properties of this object
3047
+ def update!(**args)
3048
+ @contact_edit_context = args[:contact_edit_context] if args.key?(:contact_edit_context)
3049
+ @metadata = args[:metadata] if args.key?(:metadata)
3050
+ end
3051
+ end
3052
+
2993
3053
  # A membership that the person has. The person can be a member of multiple
2994
3054
  # circles and multiple contact-groups. A circle membership is created by adding
2995
3055
  # a person to a circle by person-id or by email. A contact-group membership is
@@ -5862,6 +5922,16 @@ module Google
5862
5922
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiConnectionReminder>]
5863
5923
  attr_accessor :connection_reminder
5864
5924
 
5925
+ #
5926
+ # Corresponds to the JSON property `contactCreateContextInfo`
5927
+ # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiContactCreateContextInfo>]
5928
+ attr_accessor :contact_create_context_info
5929
+
5930
+ #
5931
+ # Corresponds to the JSON property `contactEditContextInfo`
5932
+ # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiContactEditContextInfo>]
5933
+ attr_accessor :contact_edit_context_info
5934
+
5865
5935
  # Contact groups that this person is a member of.
5866
5936
  # Corresponds to the JSON property `contactGroupMembership`
5867
5937
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiContactGroupMembership>]
@@ -6106,7 +6176,7 @@ module Google
6106
6176
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiReadOnlyProfileInfo>]
6107
6177
  attr_accessor :read_only_profile_info
6108
6178
 
6109
- #
6179
+ # See go/relation-vs-relationship for relation vs relationship explanation.
6110
6180
  # Corresponds to the JSON property `relation`
6111
6181
  # @return [Array<Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiRelation>]
6112
6182
  attr_accessor :relation
@@ -6210,6 +6280,8 @@ module Google
6210
6280
  @client_data = args[:client_data] if args.key?(:client_data)
6211
6281
  @communication_email = args[:communication_email] if args.key?(:communication_email)
6212
6282
  @connection_reminder = args[:connection_reminder] if args.key?(:connection_reminder)
6283
+ @contact_create_context_info = args[:contact_create_context_info] if args.key?(:contact_create_context_info)
6284
+ @contact_edit_context_info = args[:contact_edit_context_info] if args.key?(:contact_edit_context_info)
6213
6285
  @contact_group_membership = args[:contact_group_membership] if args.key?(:contact_group_membership)
6214
6286
  @contact_state_info = args[:contact_state_info] if args.key?(:contact_state_info)
6215
6287
  @cover_photo = args[:cover_photo] if args.key?(:cover_photo)
@@ -7829,9 +7901,10 @@ module Google
7829
7901
  end
7830
7902
 
7831
7903
  # Relation stores the related person between the contact or profile and a third
7832
- # person This field currently includes RelationshipToMe data in fields value and
7833
- # canonical_value for ContainerType CONTACT_ANNOTATION. This will be moved to
7834
- # RelationshipToMe in b/221081499.
7904
+ # person. See go/relation-vs-relationship for relation vs relationship
7905
+ # explanation. This field currently includes RelationshipToMe data in fields
7906
+ # value and canonical_value for ContainerType CONTACT_ANNOTATION. This will be
7907
+ # moved to RelationshipToMe in b/221081499.
7835
7908
  class AppsPeopleOzExternalMergedpeopleapiRelation
7836
7909
  include Google::Apis::Core::Hashable
7837
7910
 
@@ -12088,7 +12161,7 @@ module Google
12088
12161
 
12089
12162
  # These capabilities represent the tactile features associated with the device.
12090
12163
  # This includes, for example, whether the device has a screen, how big the
12091
- # screen is, and privacy of the screen. Next ID: 10
12164
+ # screen is, and privacy of the screen. Next ID: 11
12092
12165
  # Corresponds to the JSON property `screen`
12093
12166
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiScreenCapabilities]
12094
12167
  attr_accessor :screen
@@ -12661,8 +12734,10 @@ module Google
12661
12734
  class AssistantApiLensPerceptionCapabilitiesLensCapabilitiesTranslate
12662
12735
  include Google::Apis::Core::Hashable
12663
12736
 
12664
- # The list of language IETF BCP 47 tags that are supported. See the full list at
12665
- # go/androidlanguages.
12737
+ # The list of language IETF BCP 47 tags that are supported. See the full details
12738
+ # in the comment on the equivalent field in: http://google3/java/com/google/
12739
+ # android/apps/gsa/search/shared/service/proto/lens_service_event.proto;l=55;rcl=
12740
+ # 355512559
12666
12741
  # Corresponds to the JSON property `supportedLanguageTags`
12667
12742
  # @return [Array<String>]
12668
12743
  attr_accessor :supported_language_tags
@@ -13552,10 +13627,18 @@ module Google
13552
13627
 
13553
13628
  # These capabilities represent the tactile features associated with the device.
13554
13629
  # This includes, for example, whether the device has a screen, how big the
13555
- # screen is, and privacy of the screen. Next ID: 10
13630
+ # screen is, and privacy of the screen. Next ID: 11
13556
13631
  class AssistantApiScreenCapabilities
13557
13632
  include Google::Apis::Core::Hashable
13558
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
+
13559
13642
  # The types of input that this screen supports. Note that this can be empty in
13560
13643
  # which case the screen's input type is unknown.
13561
13644
  # Corresponds to the JSON property `inputType`
@@ -13617,6 +13700,7 @@ module Google
13617
13700
 
13618
13701
  # Update properties of this object
13619
13702
  def update!(**args)
13703
+ @font_scale_factor = args[:font_scale_factor] if args.key?(:font_scale_factor)
13620
13704
  @input_type = args[:input_type] if args.key?(:input_type)
13621
13705
  @mask = args[:mask] if args.key?(:mask)
13622
13706
  @proto_layout_targeted_schema = args[:proto_layout_targeted_schema] if args.key?(:proto_layout_targeted_schema)
@@ -16530,6 +16614,8 @@ module Google
16530
16614
  attr_accessor :client_op_properties
16531
16615
 
16532
16616
  # Additional properties that client can support for executing the client op.
16617
+ # They are surface-specific execution properties and are unrelated to the
16618
+ # execution model.
16533
16619
  # Corresponds to the JSON property `supportedExecution`
16534
16620
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSupportedClientOpSupportedExecution]
16535
16621
  attr_accessor :supported_execution
@@ -16555,9 +16641,23 @@ module Google
16555
16641
  end
16556
16642
 
16557
16643
  # Additional properties that client can support for executing the client op.
16644
+ # They are surface-specific execution properties and are unrelated to the
16645
+ # execution model.
16558
16646
  class AssistantApiSupportedClientOpSupportedExecution
16559
16647
  include Google::Apis::Core::Hashable
16560
16648
 
16649
+ # ClientOp execution supports special rendering behavior while the user is in
16650
+ # the middle of expressing their query. This behavior includes: 1) New partial
16651
+ # output always over-writes prior partial output. 2) Canceling the interaction
16652
+ # removes partial fulfilment from any user visible interaction history. If this
16653
+ # is true, whether to apply the special rendering behavior will be determined by
16654
+ # PartialFulfillmentRenderingParams. More details can be found at go/ma-natcon-
16655
+ # pf-api.
16656
+ # Corresponds to the JSON property `supportsPartialFulfillment`
16657
+ # @return [Boolean]
16658
+ attr_accessor :supports_partial_fulfillment
16659
+ alias_method :supports_partial_fulfillment?, :supports_partial_fulfillment
16660
+
16561
16661
  # Client can support synchronous execution of the client op. For tts.OUTPUT
16562
16662
  # client op it means that client would honor |synchronous_playback_args|
16563
16663
  # argument. Please see more at go/synchronous-sounds-design.
@@ -16572,6 +16672,7 @@ module Google
16572
16672
 
16573
16673
  # Update properties of this object
16574
16674
  def update!(**args)
16675
+ @supports_partial_fulfillment = args[:supports_partial_fulfillment] if args.key?(:supports_partial_fulfillment)
16575
16676
  @supports_synchronous_execution = args[:supports_synchronous_execution] if args.key?(:supports_synchronous_execution)
16576
16677
  end
16577
16678
  end
@@ -18731,7 +18832,7 @@ module Google
18731
18832
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
18732
18833
  attr_accessor :contact_grounding_provider_features
18733
18834
 
18734
- # Features to be passed from Media GP to HGR. Next ID: 2
18835
+ # Features to be passed from Media GP to HGR. Next ID: 4
18735
18836
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
18736
18837
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
18737
18838
  attr_accessor :media_grounding_provider_features
@@ -18753,10 +18854,22 @@ module Google
18753
18854
  end
18754
18855
  end
18755
18856
 
18756
- # Features to be passed from Media GP to HGR. Next ID: 2
18857
+ # Features to be passed from Media GP to HGR. Next ID: 4
18757
18858
  class AssistantGroundingRankerMediaGroundingProviderFeatures
18758
18859
  include Google::Apis::Core::Hashable
18759
18860
 
18861
+ # True if the media deeplink has tag SEED_RADIO.
18862
+ # Corresponds to the JSON property `isSeedRadio`
18863
+ # @return [Boolean]
18864
+ attr_accessor :is_seed_radio
18865
+ alias_method :is_seed_radio?, :is_seed_radio
18866
+
18867
+ # True if the user requests seed radio.
18868
+ # Corresponds to the JSON property `isSeedRadioRequest`
18869
+ # @return [Boolean]
18870
+ attr_accessor :is_seed_radio_request
18871
+ alias_method :is_seed_radio_request?, :is_seed_radio_request
18872
+
18760
18873
  # MSC(Media Short Click) rate. MSC rate = total number of MSC events / total
18761
18874
  # number of MSC candidates The event is considered as MSC candidate if the event
18762
18875
  # is a media seeking query(excluding follow-ons) and the media result is
@@ -18775,6 +18888,8 @@ module Google
18775
18888
 
18776
18889
  # Update properties of this object
18777
18890
  def update!(**args)
18891
+ @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
18892
+ @is_seed_radio_request = args[:is_seed_radio_request] if args.key?(:is_seed_radio_request)
18778
18893
  @msc_rate = args[:msc_rate] if args.key?(:msc_rate)
18779
18894
  end
18780
18895
  end
@@ -20365,7 +20480,7 @@ module Google
20365
20480
 
20366
20481
  # Signals to be used by the Prefulfillment Ranker. Derived from the
20367
20482
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
20368
- # Next ID: 34
20483
+ # Next ID: 36
20369
20484
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
20370
20485
  include Google::Apis::Core::Hashable
20371
20486
 
@@ -20374,6 +20489,11 @@ module Google
20374
20489
  # @return [Float]
20375
20490
  attr_accessor :binding_set_auis
20376
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
+
20377
20497
  # A parsing score that is independently calibrated by each parser/IG.
20378
20498
  # Corresponds to the JSON property `calibratedParsingScore`
20379
20499
  # @return [Float]
@@ -20451,6 +20571,12 @@ module Google
20451
20571
  attr_accessor :mask_candidate_level_features
20452
20572
  alias_method :mask_candidate_level_features?, :mask_candidate_level_features
20453
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
+
20454
20580
  # Number of alternative hypotheses from speech recognition(S3).
20455
20581
  # Corresponds to the JSON property `numAlternativeHypothesis`
20456
20582
  # @return [Float]
@@ -20537,6 +20663,7 @@ module Google
20537
20663
  # Update properties of this object
20538
20664
  def update!(**args)
20539
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)
20540
20667
  @calibrated_parsing_score = args[:calibrated_parsing_score] if args.key?(:calibrated_parsing_score)
20541
20668
  @dominant = args[:dominant] if args.key?(:dominant)
20542
20669
  @effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
@@ -20549,6 +20676,7 @@ module Google
20549
20676
  @is_feasible = args[:is_feasible] if args.key?(:is_feasible)
20550
20677
  @kscorer_rank = args[:kscorer_rank] if args.key?(:kscorer_rank)
20551
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)
20552
20680
  @num_alternative_hypothesis = args[:num_alternative_hypothesis] if args.key?(:num_alternative_hypothesis)
20553
20681
  @num_constraints = args[:num_constraints] if args.key?(:num_constraints)
20554
20682
  @num_constraints_satisfied = args[:num_constraints_satisfied] if args.key?(:num_constraints_satisfied)
@@ -21182,7 +21310,7 @@ module Google
21182
21310
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoDeviceTargetingOutputQueryInfo]
21183
21311
  attr_accessor :dto_query_info
21184
21312
 
21185
- # Next ID: 42
21313
+ # Next ID: 43
21186
21314
  # Corresponds to the JSON property `homeautomationMetadata`
21187
21315
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
21188
21316
  attr_accessor :homeautomation_metadata
@@ -21229,7 +21357,7 @@ module Google
21229
21357
  class AssistantVerticalsHomeautomationProtoHomeAutomationDeviceItem
21230
21358
  include Google::Apis::Core::Hashable
21231
21359
 
21232
- # Next ID: 42
21360
+ # Next ID: 43
21233
21361
  # Corresponds to the JSON property `homeautomationMetadata`
21234
21362
  # @return [Google::Apis::ContentwarehouseV1::AssistantVerticalsHomeautomationProtoHomeAutomationMetaData]
21235
21363
  attr_accessor :homeautomation_metadata
@@ -21262,7 +21390,7 @@ module Google
21262
21390
  end
21263
21391
  end
21264
21392
 
21265
- # Next ID: 42
21393
+ # Next ID: 43
21266
21394
  class AssistantVerticalsHomeautomationProtoHomeAutomationMetaData
21267
21395
  include Google::Apis::Core::Hashable
21268
21396
 
@@ -21318,6 +21446,13 @@ module Google
21318
21446
  # @return [String]
21319
21447
  attr_accessor :gcm_execution_address
21320
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
+
21321
21456
  # The hash value from go/de-consistency-check
21322
21457
  # Corresponds to the JSON property `hashValue`
21323
21458
  # @return [String]
@@ -21576,6 +21711,7 @@ module Google
21576
21711
  @derived_type = args[:derived_type] if args.key?(:derived_type)
21577
21712
  @device_model_id = args[:device_model_id] if args.key?(:device_model_id)
21578
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)
21579
21715
  @hash_value = args[:hash_value] if args.key?(:hash_value)
21580
21716
  @lanscan_opted_in = args[:lanscan_opted_in] if args.key?(:lanscan_opted_in)
21581
21717
  @model_name = args[:model_name] if args.key?(:model_name)
@@ -22758,7 +22894,7 @@ module Google
22758
22894
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornClassifierData]
22759
22895
  attr_accessor :classifierdata
22760
22896
 
22761
- # Next ID: 51
22897
+ # Next ID: 52
22762
22898
  # Corresponds to the JSON property `sitedata`
22763
22899
  # @return [Google::Apis::ContentwarehouseV1::ClassifierPornSiteData]
22764
22900
  attr_accessor :sitedata
@@ -22950,7 +23086,7 @@ module Google
22950
23086
  end
22951
23087
  end
22952
23088
 
22953
- # Next ID: 51
23089
+ # Next ID: 52
22954
23090
  class ClassifierPornSiteData
22955
23091
  include Google::Apis::Core::Hashable
22956
23092
 
@@ -22974,6 +23110,12 @@ module Google
22974
23110
  # @return [Fixnum]
22975
23111
  attr_accessor :number_of_pedo_pages
22976
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
+
22977
23119
  # The ratio of porn/softporn of the site this page belongs to.
22978
23120
  # Corresponds to the JSON property `sitePornRatio`
22979
23121
  # @return [Float]
@@ -23004,6 +23146,7 @@ module Google
23004
23146
  @final_pedo_site_score = args[:final_pedo_site_score] if args.key?(:final_pedo_site_score)
23005
23147
  @number_of_pages = args[:number_of_pages] if args.key?(:number_of_pages)
23006
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)
23007
23150
  @site_porn_ratio = args[:site_porn_ratio] if args.key?(:site_porn_ratio)
23008
23151
  @site_softporn_ratio = args[:site_softporn_ratio] if args.key?(:site_softporn_ratio)
23009
23152
  @versionedscore = args[:versionedscore] if args.key?(:versionedscore)
@@ -23442,7 +23585,10 @@ module Google
23442
23585
 
23443
23586
  # PToken expresses policy-relevant properties of the data objects being
23444
23587
  # processed and stored in Google's production systems. See go/ptoken to learn
23445
- # 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.
23446
23592
  # Corresponds to the JSON property `ptoken`
23447
23593
  # @return [Google::Apis::ContentwarehouseV1::PtokenPToken]
23448
23594
  attr_accessor :ptoken
@@ -35467,57 +35613,6 @@ module Google
35467
35613
  end
35468
35614
  end
35469
35615
 
35470
- #
35471
- class GeostorePriceInfoSourceDetails
35472
- include Google::Apis::Core::Hashable
35473
-
35474
- #
35475
- # Corresponds to the JSON property `lastUpdateSources`
35476
- # @return [Array<Google::Apis::ContentwarehouseV1::GeostorePriceInfoSourceDetailsSourceData>]
35477
- attr_accessor :last_update_sources
35478
-
35479
- #
35480
- # Corresponds to the JSON property `sourceData`
35481
- # @return [Array<Google::Apis::ContentwarehouseV1::GeostorePriceInfoSourceDetailsSourceData>]
35482
- attr_accessor :source_data
35483
-
35484
- def initialize(**args)
35485
- update!(**args)
35486
- end
35487
-
35488
- # Update properties of this object
35489
- def update!(**args)
35490
- @last_update_sources = args[:last_update_sources] if args.key?(:last_update_sources)
35491
- @source_data = args[:source_data] if args.key?(:source_data)
35492
- end
35493
- end
35494
-
35495
- #
35496
- class GeostorePriceInfoSourceDetailsSourceData
35497
- include Google::Apis::Core::Hashable
35498
-
35499
- # Project number of the GMB API client. Set only if the source is
35500
- # EXTERNAL_GMB_API.
35501
- # Corresponds to the JSON property `clientProjectNumber`
35502
- # @return [Fixnum]
35503
- attr_accessor :client_project_number
35504
-
35505
- #
35506
- # Corresponds to the JSON property `source`
35507
- # @return [String]
35508
- attr_accessor :source
35509
-
35510
- def initialize(**args)
35511
- update!(**args)
35512
- end
35513
-
35514
- # Update properties of this object
35515
- def update!(**args)
35516
- @client_project_number = args[:client_project_number] if args.key?(:client_project_number)
35517
- @source = args[:source] if args.key?(:source)
35518
- end
35519
- end
35520
-
35521
35616
  # Providers of PriceInfo (e.g. SinglePlatform, YEXT) send verified and
35522
35617
  # unverified listings. PriceInfoStatus is used to encapsulate this information.
35523
35618
  class GeostorePriceInfoStatus
@@ -35546,7 +35641,7 @@ module Google
35546
35641
  # is not expected to have the language field set unless there is a name or
35547
35642
  # description. When the language field is not set, it is understood to be the
35548
35643
  # preferred language of the locale where the establishment is located. An empty
35549
- # 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).
35550
35645
  class GeostorePriceListNameInfoProto
35551
35646
  include Google::Apis::Core::Hashable
35552
35647
 
@@ -35640,12 +35735,6 @@ module Google
35640
35735
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostorePriceListSectionProto>]
35641
35736
  attr_accessor :section
35642
35737
 
35643
- # Source of the information retrieved, could be from our own NMX UI or a third
35644
- # party API.
35645
- # Corresponds to the JSON property `sourceDetails`
35646
- # @return [Google::Apis::ContentwarehouseV1::GeostorePriceInfoSourceDetails]
35647
- attr_accessor :source_details
35648
-
35649
35738
  # Hold a list of URLs, usually to contain translations of a single URL.
35650
35739
  # Corresponds to the JSON property `sourceUrl`
35651
35740
  # @return [Google::Apis::ContentwarehouseV1::GeostoreUrlListProto]
@@ -35662,7 +35751,6 @@ module Google
35662
35751
  @cuisines = args[:cuisines] if args.key?(:cuisines)
35663
35752
  @name_info = args[:name_info] if args.key?(:name_info)
35664
35753
  @section = args[:section] if args.key?(:section)
35665
- @source_details = args[:source_details] if args.key?(:source_details)
35666
35754
  @source_url = args[:source_url] if args.key?(:source_url)
35667
35755
  end
35668
35756
  end
@@ -35697,6 +35785,16 @@ module Google
35697
35785
  # @return [Array<String>]
35698
35786
  attr_accessor :item_type
35699
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
+
35700
35798
  # One or more media items (photos, videos, etc.) describing this section /
35701
35799
  # category.
35702
35800
  # Corresponds to the JSON property `media`
@@ -35721,6 +35819,7 @@ module Google
35721
35819
  @food_item = args[:food_item] if args.key?(:food_item)
35722
35820
  @item = args[:item] if args.key?(:item)
35723
35821
  @item_type = args[:item_type] if args.key?(:item_type)
35822
+ @language = args[:language] if args.key?(:language)
35724
35823
  @media = args[:media] if args.key?(:media)
35725
35824
  @name_info = args[:name_info] if args.key?(:name_info)
35726
35825
  end
@@ -41474,6 +41573,14 @@ module Google
41474
41573
  # @return [Google::Apis::ContentwarehouseV1::GoogleAssistantAccessoryV1ScreenOutConfigDimensions]
41475
41574
  attr_accessor :dimensions
41476
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
+
41477
41584
  def initialize(**args)
41478
41585
  update!(**args)
41479
41586
  end
@@ -41481,6 +41588,7 @@ module Google
41481
41588
  # Update properties of this object
41482
41589
  def update!(**args)
41483
41590
  @dimensions = args[:dimensions] if args.key?(:dimensions)
41591
+ @font_scale_factor = args[:font_scale_factor] if args.key?(:font_scale_factor)
41484
41592
  end
41485
41593
  end
41486
41594
 
@@ -42113,7 +42221,7 @@ module Google
42113
42221
 
42114
42222
  # Field mask for creating Document fields. If mask path is empty, it means all
42115
42223
  # fields are masked. For the `FieldMask` definition, see https://developers.
42116
- # google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
42224
+ # google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
42117
42225
  # Corresponds to the JSON property `createMask`
42118
42226
  # @return [String]
42119
42227
  attr_accessor :create_mask
@@ -42204,6 +42312,26 @@ module Google
42204
42312
  end
42205
42313
  end
42206
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
+
42207
42335
  # Represents the action responsible for properties update operations.
42208
42336
  class GoogleCloudContentwarehouseV1DataUpdateAction
42209
42337
  include Google::Apis::Core::Hashable
@@ -42342,12 +42470,6 @@ module Google
42342
42470
  class GoogleCloudContentwarehouseV1Document
42343
42471
  include Google::Apis::Core::Hashable
42344
42472
 
42345
- # If true, makes the document visible to asynchronous policies and rules.
42346
- # Corresponds to the JSON property `asyncEnabled`
42347
- # @return [Boolean]
42348
- attr_accessor :async_enabled
42349
- alias_method :async_enabled?, :async_enabled
42350
-
42351
42473
  # Document represents the canonical document resource in Document AI. It is an
42352
42474
  # interchange format that provides insights into documents and allows for
42353
42475
  # collaboration between users and Document AI to iterate and optimize for
@@ -42431,19 +42553,20 @@ module Google
42431
42553
  # @return [String]
42432
42554
  attr_accessor :reference_id
42433
42555
 
42434
- # A path linked to structured content file.
42435
- # Corresponds to the JSON property `structuredContentUri`
42436
- # @return [String]
42437
- attr_accessor :structured_content_uri
42438
-
42439
42556
  # If true, text extraction will not be performed.
42440
42557
  # Corresponds to the JSON property `textExtractionDisabled`
42441
42558
  # @return [Boolean]
42442
42559
  attr_accessor :text_extraction_disabled
42443
42560
  alias_method :text_extraction_disabled?, :text_extraction_disabled
42444
42561
 
42445
- # Title that describes the document. This is usually present in the top section
42446
- # of the document, and is a mandatory field for the question-answering feature.
42562
+ # If true, text extraction will be performed.
42563
+ # Corresponds to the JSON property `textExtractionEnabled`
42564
+ # @return [Boolean]
42565
+ attr_accessor :text_extraction_enabled
42566
+ alias_method :text_extraction_enabled?, :text_extraction_enabled
42567
+
42568
+ # Title that describes the document. This can be the top heading or text that
42569
+ # describes the document.
42447
42570
  # Corresponds to the JSON property `title`
42448
42571
  # @return [String]
42449
42572
  attr_accessor :title
@@ -42464,7 +42587,6 @@ module Google
42464
42587
 
42465
42588
  # Update properties of this object
42466
42589
  def update!(**args)
42467
- @async_enabled = args[:async_enabled] if args.key?(:async_enabled)
42468
42590
  @cloud_ai_document = args[:cloud_ai_document] if args.key?(:cloud_ai_document)
42469
42591
  @content_category = args[:content_category] if args.key?(:content_category)
42470
42592
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -42479,8 +42601,8 @@ module Google
42479
42601
  @raw_document_file_type = args[:raw_document_file_type] if args.key?(:raw_document_file_type)
42480
42602
  @raw_document_path = args[:raw_document_path] if args.key?(:raw_document_path)
42481
42603
  @reference_id = args[:reference_id] if args.key?(:reference_id)
42482
- @structured_content_uri = args[:structured_content_uri] if args.key?(:structured_content_uri)
42483
42604
  @text_extraction_disabled = args[:text_extraction_disabled] if args.key?(:text_extraction_disabled)
42605
+ @text_extraction_enabled = args[:text_extraction_enabled] if args.key?(:text_extraction_enabled)
42484
42606
  @title = args[:title] if args.key?(:title)
42485
42607
  @update_time = args[:update_time] if args.key?(:update_time)
42486
42608
  @updater = args[:updater] if args.key?(:updater)
@@ -42568,6 +42690,11 @@ module Google
42568
42690
  # @return [String]
42569
42691
  attr_accessor :custom_property_filter
42570
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
+
42571
42698
  # The exact creator(s) of the documents to search against. If a value isn't
42572
42699
  # specified, documents within the search results are associated with any creator.
42573
42700
  # If multiple values are specified, documents within the search results may be
@@ -42665,6 +42792,7 @@ module Google
42665
42792
  # Update properties of this object
42666
42793
  def update!(**args)
42667
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)
42668
42796
  @document_creator_filter = args[:document_creator_filter] if args.key?(:document_creator_filter)
42669
42797
  @document_schema_names = args[:document_schema_names] if args.key?(:document_schema_names)
42670
42798
  @file_type_filter = args[:file_type_filter] if args.key?(:file_type_filter)
@@ -43128,6 +43256,11 @@ module Google
43128
43256
  # @return [String]
43129
43257
  attr_accessor :database_type
43130
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
+
43131
43264
  # Optional. The KMS key used for CMEK encryption. It is required that the kms
43132
43265
  # key is in the same region as the endpoint. The same key will be used for all
43133
43266
  # provisioned resources, if encryption is available. If the kms_key is left
@@ -43144,6 +43277,7 @@ module Google
43144
43277
  def update!(**args)
43145
43278
  @access_control_mode = args[:access_control_mode] if args.key?(:access_control_mode)
43146
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)
43147
43281
  @kms_key = args[:kms_key] if args.key?(:kms_key)
43148
43282
  end
43149
43283
  end
@@ -43607,7 +43741,9 @@ module Google
43607
43741
  attr_accessor :is_filterable
43608
43742
  alias_method :is_filterable?, :is_filterable
43609
43743
 
43610
- # Whether the property is user supplied metadata.
43744
+ # Whether the property is user supplied metadata. This out-of-the box
43745
+ # placeholder setting can be used to tag derived properties. Its value and
43746
+ # interpretation logic should be implemented by API user.
43611
43747
  # Corresponds to the JSON property `isMetadata`
43612
43748
  # @return [Boolean]
43613
43749
  attr_accessor :is_metadata
@@ -43650,6 +43786,11 @@ module Google
43650
43786
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1PropertyTypeOptions]
43651
43787
  attr_accessor :property_type_options
43652
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
+
43653
43794
  # Configurations for a text property.
43654
43795
  # Corresponds to the JSON property `textTypeOptions`
43655
43796
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1TextTypeOptions]
@@ -43679,6 +43820,7 @@ module Google
43679
43820
  @map_type_options = args[:map_type_options] if args.key?(:map_type_options)
43680
43821
  @name = args[:name] if args.key?(:name)
43681
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)
43682
43824
  @text_type_options = args[:text_type_options] if args.key?(:text_type_options)
43683
43825
  @timestamp_type_options = args[:timestamp_type_options] if args.key?(:timestamp_type_options)
43684
43826
  end
@@ -43860,7 +44002,7 @@ module Google
43860
44002
  class GoogleCloudContentwarehouseV1RequestMetadata
43861
44003
  include Google::Apis::Core::Hashable
43862
44004
 
43863
- # Provides user unique identification and groups information.
44005
+ # The user information.
43864
44006
  # Corresponds to the JSON property `userInfo`
43865
44007
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1UserInfo]
43866
44008
  attr_accessor :user_info
@@ -44144,18 +44286,18 @@ module Google
44144
44286
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RequestMetadata]
44145
44287
  attr_accessor :request_metadata
44146
44288
 
44147
- # Optional. Controls if the search document request requires the return of a
44148
- # total size of matched documents. See SearchDocumentsResponse.total_size.
44149
- # Enabling this flag may adversely impact performance. Hint: If this is used
44150
- # with pagination, set this flag on the initial query but set this to false on
44151
- # subsequent page calls (keep the total count locally). Defaults to false.
44289
+ # Controls if the search document request requires the return of a total size of
44290
+ # matched documents. See SearchDocumentsResponse.total_size. Enabling this flag
44291
+ # may adversely impact performance. Hint: If this is used with pagination, set
44292
+ # this flag on the initial query but set this to false on subsequent page calls (
44293
+ # keep the total count locally). Defaults to false.
44152
44294
  # Corresponds to the JSON property `requireTotalSize`
44153
44295
  # @return [Boolean]
44154
44296
  attr_accessor :require_total_size
44155
44297
  alias_method :require_total_size?, :require_total_size
44156
44298
 
44157
- # Optional. Controls if the search document request requires the return of a
44158
- # total size of matched documents. See SearchDocumentsResponse.total_size.
44299
+ # Controls if the search document request requires the return of a total size of
44300
+ # matched documents. See SearchDocumentsResponse.total_size.
44159
44301
  # Corresponds to the JSON property `totalResultSize`
44160
44302
  # @return [String]
44161
44303
  attr_accessor :total_result_size
@@ -44703,7 +44845,7 @@ module Google
44703
44845
  end
44704
44846
  end
44705
44847
 
44706
- #
44848
+ # The user information.
44707
44849
  class GoogleCloudContentwarehouseV1UserInfo
44708
44850
  include Google::Apis::Core::Hashable
44709
44851
 
@@ -44803,6 +44945,31 @@ module Google
44803
44945
  end
44804
44946
  end
44805
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
+
44806
44973
  # Metadata object for CreateDocument request (currently empty).
44807
44974
  class GoogleCloudContentwarehouseV1beta1CreateDocumentMetadata
44808
44975
  include Google::Apis::Core::Hashable
@@ -48397,7 +48564,7 @@ module Google
48397
48564
  alias_method :cloud_fulfillment_only?, :cloud_fulfillment_only
48398
48565
 
48399
48566
  # Trait name, e.g., "action.devices.traits.MediaInitiation". See [device traits](
48400
- # 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/
48401
48568
  # home/graph/common/devices/config/protoconf.pi for the exhaustive list of trait-
48402
48569
  # strings.
48403
48570
  # Corresponds to the JSON property `trait`
@@ -52847,10 +53014,18 @@ module Google
52847
53014
  end
52848
53015
  end
52849
53016
 
52850
- # Next Tag: 7
53017
+ # Next Tag: 8
52851
53018
  class ImageRepositoryAmarnaCloudSpeechSignals
52852
53019
  include Google::Apis::Core::Hashable
52853
53020
 
53021
+ # If this field is set to true, it means that Youtube already processed the ASR
53022
+ # from S3 for the langID. Please find the ASR result from transcript_asr in
53023
+ # google3/image/repository/proto/video_search.proto instead.
53024
+ # Corresponds to the JSON property `duplicateOfYtS3Asr`
53025
+ # @return [Boolean]
53026
+ attr_accessor :duplicate_of_yt_s3_asr
53027
+ alias_method :duplicate_of_yt_s3_asr?, :duplicate_of_yt_s3_asr
53028
+
52854
53029
  # The language id input for creating this ASR without regional info. Same format
52855
53030
  # as in go/ytlangid. This field is populated in Kronos Amarna Cloud Speech
52856
53031
  # operator and passed to Amarna, but it is cleared before stored in Amarna's
@@ -52880,6 +53055,7 @@ module Google
52880
53055
 
52881
53056
  # Update properties of this object
52882
53057
  def update!(**args)
53058
+ @duplicate_of_yt_s3_asr = args[:duplicate_of_yt_s3_asr] if args.key?(:duplicate_of_yt_s3_asr)
52883
53059
  @lang_without_locale = args[:lang_without_locale] if args.key?(:lang_without_locale)
52884
53060
  @model_identifier = args[:model_identifier] if args.key?(:model_identifier)
52885
53061
  @results = args[:results] if args.key?(:results)
@@ -53108,7 +53284,7 @@ module Google
53108
53284
  attr_accessor :audio_only
53109
53285
  alias_method :audio_only?, :audio_only
53110
53286
 
53111
- # Next Tag: 7
53287
+ # Next Tag: 8
53112
53288
  # Corresponds to the JSON property `cloudSpeechSignals`
53113
53289
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals]
53114
53290
  attr_accessor :cloud_speech_signals
@@ -54062,6 +54238,12 @@ module Google
54062
54238
  # @return [Fixnum]
54063
54239
  attr_accessor :venom_mutation_generation
54064
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
+
54065
54247
  def initialize(**args)
54066
54248
  update!(**args)
54067
54249
  end
@@ -54080,6 +54262,7 @@ module Google
54080
54262
  @transition = args[:transition] if args.key?(:transition)
54081
54263
  @venom_id = args[:venom_id] if args.key?(:venom_id)
54082
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)
54083
54266
  end
54084
54267
  end
54085
54268
 
@@ -61377,7 +61560,7 @@ module Google
61377
61560
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersSensitivitySensitivity]
61378
61561
  attr_accessor :sensitivity
61379
61562
 
61380
- # Next ID: 34
61563
+ # Next ID: 35
61381
61564
  # Corresponds to the JSON property `signals`
61382
61565
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryFunctionCallSignals]
61383
61566
  attr_accessor :signals
@@ -61409,7 +61592,7 @@ module Google
61409
61592
  end
61410
61593
  end
61411
61594
 
61412
- # Next ID: 34
61595
+ # Next ID: 35
61413
61596
  class KnowledgeAnswersIntentQueryFunctionCallSignals
61414
61597
  include Google::Apis::Core::Hashable
61415
61598
 
@@ -61525,6 +61708,12 @@ module Google
61525
61708
  attr_accessor :is_disambiguation_intent
61526
61709
  alias_method :is_disambiguation_intent?, :is_disambiguation_intent
61527
61710
 
61711
+ # Whether the interpretation was generated from the neural categorical parser.
61712
+ # Corresponds to the JSON property `isNeuralCategoricalInterpretation`
61713
+ # @return [Boolean]
61714
+ attr_accessor :is_neural_categorical_interpretation
61715
+ alias_method :is_neural_categorical_interpretation?, :is_neural_categorical_interpretation
61716
+
61528
61717
  # Denotes this is a sub-intent used for composing an Assistant UI response. The
61529
61718
  # assistant dialog should output ui_composition_shelf in the SystemResponse if
61530
61719
  # it can fulfill the intent. More info in go/davinci-design and go/davinci-di-
@@ -61572,7 +61761,7 @@ module Google
61572
61761
 
61573
61762
  # Signals to be used by the Prefulfillment Ranker. Derived from the
61574
61763
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
61575
- # Next ID: 34
61764
+ # Next ID: 36
61576
61765
  # Corresponds to the JSON property `prefulfillmentSignals`
61577
61766
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
61578
61767
  attr_accessor :prefulfillment_signals
@@ -61649,6 +61838,7 @@ module Google
61649
61838
  @is_close_interpretation = args[:is_close_interpretation] if args.key?(:is_close_interpretation)
61650
61839
  @is_disambiguation_card_intent = args[:is_disambiguation_card_intent] if args.key?(:is_disambiguation_card_intent)
61651
61840
  @is_disambiguation_intent = args[:is_disambiguation_intent] if args.key?(:is_disambiguation_intent)
61841
+ @is_neural_categorical_interpretation = args[:is_neural_categorical_interpretation] if args.key?(:is_neural_categorical_interpretation)
61652
61842
  @is_ui_composition_intent = args[:is_ui_composition_intent] if args.key?(:is_ui_composition_intent)
61653
61843
  @local_signals = args[:local_signals] if args.key?(:local_signals)
61654
61844
  @osrp_journey_tag = args[:osrp_journey_tag] if args.key?(:osrp_journey_tag)
@@ -65886,14 +66076,6 @@ module Google
65886
66076
  # @return [Fixnum]
65887
66077
  attr_accessor :discretized_visual_saliency_score
65888
66078
 
65889
- # Bounding box coordinates are relative to the width and height of the image.
65890
- # For example, if image is 100x200 and NormalizedBoundingBox is , the bounding
65891
- # box coordinates will be (10, 40) to (50, 180). Note parts of the bounding box
65892
- # may fall outside the image.
65893
- # Corresponds to the JSON property `iconicPersonBoundingBox`
65894
- # @return [Google::Apis::ContentwarehouseV1::PhotosVisionGroundtruthdbNormalizedBoundingBox]
65895
- attr_accessor :iconic_person_bounding_box
65896
-
65897
66079
  # Bounding box with absolute integer coordinates.
65898
66080
  # Corresponds to the JSON property `personBoundingBox`
65899
66081
  # @return [Google::Apis::ContentwarehouseV1::LensDiscoveryStyleBoundingBox]
@@ -65925,7 +66107,6 @@ module Google
65925
66107
  @discretized_male_confidence = args[:discretized_male_confidence] if args.key?(:discretized_male_confidence)
65926
66108
  @discretized_predicted_age = args[:discretized_predicted_age] if args.key?(:discretized_predicted_age)
65927
66109
  @discretized_visual_saliency_score = args[:discretized_visual_saliency_score] if args.key?(:discretized_visual_saliency_score)
65928
- @iconic_person_bounding_box = args[:iconic_person_bounding_box] if args.key?(:iconic_person_bounding_box)
65929
66110
  @person_bounding_box = args[:person_bounding_box] if args.key?(:person_bounding_box)
65930
66111
  @person_visibility_scores = args[:person_visibility_scores] if args.key?(:person_visibility_scores)
65931
66112
  @predicted_age_bucket = args[:predicted_age_bucket] if args.key?(:predicted_age_bucket)
@@ -66023,14 +66204,6 @@ module Google
66023
66204
  # @return [Google::Apis::ContentwarehouseV1::LensDiscoveryStyleBoundingBox]
66024
66205
  attr_accessor :bounding_box
66025
66206
 
66026
- # Bounding box coordinates are relative to the width and height of the image.
66027
- # For example, if image is 100x200 and NormalizedBoundingBox is , the bounding
66028
- # box coordinates will be (10, 40) to (50, 180). Note parts of the bounding box
66029
- # may fall outside the image.
66030
- # Corresponds to the JSON property `normalizedBoundingBox`
66031
- # @return [Google::Apis::ContentwarehouseV1::PhotosVisionGroundtruthdbNormalizedBoundingBox]
66032
- attr_accessor :normalized_bounding_box
66033
-
66034
66207
  def initialize(**args)
66035
66208
  update!(**args)
66036
66209
  end
@@ -66038,7 +66211,6 @@ module Google
66038
66211
  # Update properties of this object
66039
66212
  def update!(**args)
66040
66213
  @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
66041
- @normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
66042
66214
  end
66043
66215
  end
66044
66216
 
@@ -67494,7 +67666,7 @@ module Google
67494
67666
  end
67495
67667
  end
67496
67668
 
67497
- # Metadata associated with a region in an image. NEXT_ID: 13
67669
+ # Metadata associated with a region in an image. NEXT_ID: 14
67498
67670
  class MediaIndexRegion
67499
67671
  include Google::Apis::Core::Hashable
67500
67672
 
@@ -67567,6 +67739,11 @@ module Google
67567
67739
  # @return [Google::Apis::ContentwarehouseV1::ImageContentStarburstVersionGroup]
67568
67740
  attr_accessor :starburst_v4
67569
67741
 
67742
+ #
67743
+ # Corresponds to the JSON property `starburstV5`
67744
+ # @return [Google::Apis::ContentwarehouseV1::ImageContentStarburstVersionGroup]
67745
+ attr_accessor :starburst_v5
67746
+
67570
67747
  def initialize(**args)
67571
67748
  update!(**args)
67572
67749
  end
@@ -67585,6 +67762,7 @@ module Google
67585
67762
  @starburst_tokens_v4 = args[:starburst_tokens_v4] if args.key?(:starburst_tokens_v4)
67586
67763
  @starburst_tokens_v5 = args[:starburst_tokens_v5] if args.key?(:starburst_tokens_v5)
67587
67764
  @starburst_v4 = args[:starburst_v4] if args.key?(:starburst_v4)
67765
+ @starburst_v5 = args[:starburst_v5] if args.key?(:starburst_v5)
67588
67766
  end
67589
67767
  end
67590
67768
 
@@ -68101,7 +68279,9 @@ module Google
68101
68279
  # @return [Array<Google::Apis::ContentwarehouseV1::MustangReposWwwSnippetsSnippetCandidate>]
68102
68280
  attr_accessor :candidates
68103
68281
 
68104
- # Snippet candidate related information and signal scores. Next ID: 11
68282
+ # Snippet candidate related information and signal scores. This message is used
68283
+ # for both snippet scoring and ranklab features recording. Next ID: 12 ==========
68284
+ # ======== Features populated in production =======================
68105
68285
  # Corresponds to the JSON property `displaySnippet`
68106
68286
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewRanklabSnippet]
68107
68287
  attr_accessor :display_snippet
@@ -68185,6 +68365,12 @@ module Google
68185
68365
  class MustangSnippetsRenderedToken
68186
68366
  include Google::Apis::Core::Hashable
68187
68367
 
68368
+ # Is the rendered token bolded (insided )
68369
+ # Corresponds to the JSON property `bolded`
68370
+ # @return [Boolean]
68371
+ attr_accessor :bolded
68372
+ alias_method :bolded?, :bolded
68373
+
68188
68374
  # Byte offset range in the rendered text that corresponds to this token. [
68189
68375
  # byte_offset_begin, byte_offset_end) inclusive
68190
68376
  # Corresponds to the JSON property `byteOffsetBegin`
@@ -68212,6 +68398,7 @@ module Google
68212
68398
 
68213
68399
  # Update properties of this object
68214
68400
  def update!(**args)
68401
+ @bolded = args[:bolded] if args.key?(:bolded)
68215
68402
  @byte_offset_begin = args[:byte_offset_begin] if args.key?(:byte_offset_begin)
68216
68403
  @byte_offset_end = args[:byte_offset_end] if args.key?(:byte_offset_end)
68217
68404
  @section = args[:section] if args.key?(:section)
@@ -72335,6 +72522,11 @@ module Google
72335
72522
  # @return [String]
72336
72523
  attr_accessor :status
72337
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
+
72338
72530
  def initialize(**args)
72339
72531
  update!(**args)
72340
72532
  end
@@ -72342,6 +72534,7 @@ module Google
72342
72534
  # Update properties of this object
72343
72535
  def update!(**args)
72344
72536
  @status = args[:status] if args.key?(:status)
72537
+ @text_completeness_probability = args[:text_completeness_probability] if args.key?(:text_completeness_probability)
72345
72538
  end
72346
72539
  end
72347
72540
 
@@ -82822,7 +83015,7 @@ module Google
82822
83015
  attr_accessor :noimageframeoverlayreason
82823
83016
 
82824
83017
  # NOTE: When adding a new field to be propagated to Raffia check if
82825
- # NsrPatternSignalSpec needs to be updated. Next ID: 50
83018
+ # NsrPatternSignalSpec needs to be updated. Next ID: 51
82826
83019
  # Corresponds to the JSON property `nsrDataProto`
82827
83020
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrData]
82828
83021
  attr_accessor :nsr_data_proto
@@ -82943,7 +83136,7 @@ module Google
82943
83136
  attr_accessor :rosetta_languages
82944
83137
 
82945
83138
  # This structure holds data for application information for rich snippets Next
82946
- # ID: 52
83139
+ # ID: 53
82947
83140
  # Corresponds to the JSON property `rsApplication`
82948
83141
  # @return [Google::Apis::ContentwarehouseV1::RepositoryAnnotationsRdfaRdfaRichSnippetsApplication]
82949
83142
  attr_accessor :rs_application
@@ -83609,6 +83802,13 @@ module Google
83609
83802
  # @return [Fixnum]
83610
83803
  attr_accessor :duration_ms
83611
83804
 
83805
+ # The number of times the animation plays. If 0, the animation will loop
83806
+ # indefinitely. If positive, this number includes the initial playthrough. For
83807
+ # example, a value of 3 means that each frame is shown 3 times.
83808
+ # Corresponds to the JSON property `loopCount`
83809
+ # @return [Fixnum]
83810
+ attr_accessor :loop_count
83811
+
83612
83812
  #
83613
83813
  # Corresponds to the JSON property `numFrames`
83614
83814
  # @return [Fixnum]
@@ -83621,6 +83821,7 @@ module Google
83621
83821
  # Update properties of this object
83622
83822
  def update!(**args)
83623
83823
  @duration_ms = args[:duration_ms] if args.key?(:duration_ms)
83824
+ @loop_count = args[:loop_count] if args.key?(:loop_count)
83624
83825
  @num_frames = args[:num_frames] if args.key?(:num_frames)
83625
83826
  end
83626
83827
  end
@@ -86796,30 +86997,19 @@ module Google
86796
86997
 
86797
86998
  # PToken expresses policy-relevant properties of the data objects being
86798
86999
  # processed and stored in Google's production systems. See go/ptoken to learn
86799
- # 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.
86800
87004
  class PtokenPToken
86801
87005
  include Google::Apis::Core::Hashable
86802
87006
 
86803
- #
86804
- # Corresponds to the JSON property `compoundPtokenData`
86805
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
86806
- # @return [String]
86807
- attr_accessor :compound_ptoken_data
86808
-
86809
- #
86810
- # Corresponds to the JSON property `ptokenData`
86811
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
86812
- # @return [String]
86813
- attr_accessor :ptoken_data
86814
-
86815
87007
  def initialize(**args)
86816
87008
  update!(**args)
86817
87009
  end
86818
87010
 
86819
87011
  # Update properties of this object
86820
87012
  def update!(**args)
86821
- @compound_ptoken_data = args[:compound_ptoken_data] if args.key?(:compound_ptoken_data)
86822
- @ptoken_data = args[:ptoken_data] if args.key?(:ptoken_data)
86823
87013
  end
86824
87014
  end
86825
87015
 
@@ -89793,7 +89983,7 @@ module Google
89793
89983
  end
89794
89984
 
89795
89985
  # NOTE: When adding a new field to be propagated to Raffia check if
89796
- # NsrPatternSignalSpec needs to be updated. Next ID: 50
89986
+ # NsrPatternSignalSpec needs to be updated. Next ID: 51
89797
89987
  class QualityNsrNsrData
89798
89988
  include Google::Apis::Core::Hashable
89799
89989
 
@@ -89922,6 +90112,11 @@ module Google
89922
90112
  # @return [Float]
89923
90113
  attr_accessor :nsr
89924
90114
 
90115
+ # The epoch from which this NSR value is coming from.
90116
+ # Corresponds to the JSON property `nsrEpoch`
90117
+ # @return [String]
90118
+ attr_accessor :nsr_epoch
90119
+
89925
90120
  # This signal is used to unconditionally override NSR as a bid in Q*. Should
89926
90121
  # only be used in case of emergency (see go/nsr-override-bid). To have any
89927
90122
  # effect, the value should be present and greater than 0.001.
@@ -90081,6 +90276,7 @@ module Google
90081
90276
  @metadata = args[:metadata] if args.key?(:metadata)
90082
90277
  @new_nsr = args[:new_nsr] if args.key?(:new_nsr)
90083
90278
  @nsr = args[:nsr] if args.key?(:nsr)
90279
+ @nsr_epoch = args[:nsr_epoch] if args.key?(:nsr_epoch)
90084
90280
  @nsr_override_bid = args[:nsr_override_bid] if args.key?(:nsr_override_bid)
90085
90281
  @nsr_variance = args[:nsr_variance] if args.key?(:nsr_variance)
90086
90282
  @nsrdata_from_fallback_pattern_key = args[:nsrdata_from_fallback_pattern_key] if args.key?(:nsrdata_from_fallback_pattern_key)
@@ -90140,6 +90336,18 @@ module Google
90140
90336
  class QualityNsrNsrDataMetadata
90141
90337
  include Google::Apis::Core::Hashable
90142
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
+
90143
90351
  # Same as raffia_lookup_key_per_field. Note that the goldmine_lookups have
90144
90352
  # priority; if a field appears in both goldmine and raffia entries, it means it
90145
90353
  # was taken from goldmine. If it's missing here but present in
@@ -90183,6 +90391,7 @@ module Google
90183
90391
 
90184
90392
  # Update properties of this object
90185
90393
  def update!(**args)
90394
+ @encoded_lookup_information = args[:encoded_lookup_information] if args.key?(:encoded_lookup_information)
90186
90395
  @goldmine_lookup_key_per_field = args[:goldmine_lookup_key_per_field] if args.key?(:goldmine_lookup_key_per_field)
90187
90396
  @goldmine_lookup_keys = args[:goldmine_lookup_keys] if args.key?(:goldmine_lookup_keys)
90188
90397
  @raffia_lookup_key = args[:raffia_lookup_key] if args.key?(:raffia_lookup_key)
@@ -90522,7 +90731,9 @@ module Google
90522
90731
  end
90523
90732
  end
90524
90733
 
90525
- # Snippet candidate related information and signal scores. Next ID: 11
90734
+ # Snippet candidate related information and signal scores. This message is used
90735
+ # for both snippet scoring and ranklab features recording. Next ID: 12 ==========
90736
+ # ======== Features populated in production =======================
90526
90737
  class QualityPreviewRanklabSnippet
90527
90738
  include Google::Apis::Core::Hashable
90528
90739
 
@@ -90536,7 +90747,7 @@ module Google
90536
90747
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetDocumentFeatures]
90537
90748
  attr_accessor :document_features
90538
90749
 
90539
- #
90750
+ # For experimental usage, not populated yet.
90540
90751
  # Corresponds to the JSON property `experimentalFeatures`
90541
90752
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetExperimentalFeatures]
90542
90753
  attr_accessor :experimental_features
@@ -90572,6 +90783,11 @@ module Google
90572
90783
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetQueryTermCoverageFeatures]
90573
90784
  attr_accessor :query_term_coverage_features
90574
90785
 
90786
+ # Radish related information.
90787
+ # Corresponds to the JSON property `radishFeatures`
90788
+ # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetRadishFeatures]
90789
+ attr_accessor :radish_features
90790
+
90575
90791
  # Information for chosen snippet. Next ID: 8
90576
90792
  # Corresponds to the JSON property `snippetInfo`
90577
90793
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewChosenSnippetInfo]
@@ -90592,6 +90808,7 @@ module Google
90592
90808
  @quality_features = args[:quality_features] if args.key?(:quality_features)
90593
90809
  @query_features = args[:query_features] if args.key?(:query_features)
90594
90810
  @query_term_coverage_features = args[:query_term_coverage_features] if args.key?(:query_term_coverage_features)
90811
+ @radish_features = args[:radish_features] if args.key?(:radish_features)
90595
90812
  @snippet_info = args[:snippet_info] if args.key?(:snippet_info)
90596
90813
  end
90597
90814
  end
@@ -91585,7 +91802,8 @@ module Google
91585
91802
  class QualityQrewriteCandidateIdField
91586
91803
  include Google::Apis::Core::Hashable
91587
91804
 
91588
- #
91805
+ # If needed, a servlet can use this field to assign an ID to distinguish between
91806
+ # different candidates of the same CandidateType.
91589
91807
  # Corresponds to the JSON property `index`
91590
91808
  # @return [Fixnum]
91591
91809
  attr_accessor :index
@@ -92869,7 +93087,7 @@ module Google
92869
93087
  end
92870
93088
  end
92871
93089
 
92872
- # Next ID: 15
93090
+ # Next ID: 18
92873
93091
  class QualityShoppingShoppingAttachmentPBlock
92874
93092
  include Google::Apis::Core::Hashable
92875
93093
 
@@ -93046,7 +93264,7 @@ module Google
93046
93264
  # @return [String]
93047
93265
  attr_accessor :outlink_domain_relationship
93048
93266
 
93049
- # Next ID: 15
93267
+ # Next ID: 18
93050
93268
  # Corresponds to the JSON property `pblock`
93051
93269
  # @return [Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachmentPBlock]
93052
93270
  attr_accessor :pblock
@@ -93066,6 +93284,12 @@ module Google
93066
93284
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityRankembedMustangMustangRankEmbedInfo>]
93067
93285
  attr_accessor :relevance_embedding
93068
93286
 
93287
+ # Matched/Inferred weak product identity - set only if the
93288
+ # global_product_cluster_id is missing
93289
+ # Corresponds to the JSON property `weakGlobalProductClusterId`
93290
+ # @return [Fixnum]
93291
+ attr_accessor :weak_global_product_cluster_id
93292
+
93069
93293
  def initialize(**args)
93070
93294
  update!(**args)
93071
93295
  end
@@ -93086,6 +93310,7 @@ module Google
93086
93310
  @product_cluster_mid = args[:product_cluster_mid] if args.key?(:product_cluster_mid)
93087
93311
  @product_popularity = args[:product_popularity] if args.key?(:product_popularity)
93088
93312
  @relevance_embedding = args[:relevance_embedding] if args.key?(:relevance_embedding)
93313
+ @weak_global_product_cluster_id = args[:weak_global_product_cluster_id] if args.key?(:weak_global_product_cluster_id)
93089
93314
  end
93090
93315
  end
93091
93316
 
@@ -93678,6 +93903,68 @@ module Google
93678
93903
  end
93679
93904
  end
93680
93905
 
93906
+ # A bolded range in printed snippet lines.
93907
+ class QualitySnippetsTruncationSnippetBoldedRange
93908
+ include Google::Apis::Core::Hashable
93909
+
93910
+ # Bolded range [begin, end)
93911
+ # Corresponds to the JSON property `begin`
93912
+ # @return [Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRangePosition]
93913
+ attr_accessor :begin
93914
+
93915
+ #
93916
+ # Corresponds to the JSON property `end`
93917
+ # @return [Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRangePosition]
93918
+ attr_accessor :end
93919
+
93920
+ # Only populated for debugging.
93921
+ # Corresponds to the JSON property `text`
93922
+ # @return [String]
93923
+ attr_accessor :text
93924
+
93925
+ #
93926
+ # Corresponds to the JSON property `type`
93927
+ # @return [String]
93928
+ attr_accessor :type
93929
+
93930
+ def initialize(**args)
93931
+ update!(**args)
93932
+ end
93933
+
93934
+ # Update properties of this object
93935
+ def update!(**args)
93936
+ @begin = args[:begin] if args.key?(:begin)
93937
+ @end = args[:end] if args.key?(:end)
93938
+ @text = args[:text] if args.key?(:text)
93939
+ @type = args[:type] if args.key?(:type)
93940
+ end
93941
+ end
93942
+
93943
+ #
93944
+ class QualitySnippetsTruncationSnippetBoldedRangePosition
93945
+ include Google::Apis::Core::Hashable
93946
+
93947
+ #
93948
+ # Corresponds to the JSON property `byteOffset`
93949
+ # @return [Fixnum]
93950
+ attr_accessor :byte_offset
93951
+
93952
+ #
93953
+ # Corresponds to the JSON property `index`
93954
+ # @return [Fixnum]
93955
+ attr_accessor :index
93956
+
93957
+ def initialize(**args)
93958
+ update!(**args)
93959
+ end
93960
+
93961
+ # Update properties of this object
93962
+ def update!(**args)
93963
+ @byte_offset = args[:byte_offset] if args.key?(:byte_offset)
93964
+ @index = args[:index] if args.key?(:index)
93965
+ end
93966
+ end
93967
+
93681
93968
  #
93682
93969
  class QualityTimebasedLastSignificantUpdate
93683
93970
  include Google::Apis::Core::Hashable
@@ -93717,7 +94004,9 @@ module Google
93717
94004
  class QualityTimebasedLastSignificantUpdateAdjustments
93718
94005
  include Google::Apis::Core::Hashable
93719
94006
 
93720
- #
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.
93721
94010
  # Corresponds to the JSON property `adjustmentSource`
93722
94011
  # @return [String]
93723
94012
  attr_accessor :adjustment_source
@@ -93731,10 +94020,15 @@ module Google
93731
94020
 
93732
94021
  # The timestamp that was picked up by the component indicated in the
93733
94022
  # LastSignificantUpdateSource but was dropped due to exceeding the upper bound.
93734
- # The two following fields are present only when the adjustment took place.
93735
- # Corresponds to the JSON property `unadjustedTimestampInSeconds`
94023
+ # Set only if it's not equal to final LSU.
94024
+ # Corresponds to the JSON property `unboundedTimestampInSeconds`
93736
94025
  # @return [Fixnum]
93737
- 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
93738
94032
 
93739
94033
  # The upperbound value derived from passage timestamps. If present, the LSU date
93740
94034
  # should never exceed this value. Design doc: go/lsu-max-passage-timestamp
@@ -93750,7 +94044,8 @@ module Google
93750
94044
  def update!(**args)
93751
94045
  @adjustment_source = args[:adjustment_source] if args.key?(:adjustment_source)
93752
94046
  @is_upperbound_timestamp_precise = args[:is_upperbound_timestamp_precise] if args.key?(:is_upperbound_timestamp_precise)
93753
- @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)
93754
94049
  @upperbound_timestamp_in_seconds = args[:upperbound_timestamp_in_seconds] if args.key?(:upperbound_timestamp_in_seconds)
93755
94050
  end
93756
94051
  end
@@ -94665,7 +94960,7 @@ module Google
94665
94960
  end
94666
94961
 
94667
94962
  # This structure holds data for application information for rich snippets Next
94668
- # ID: 52
94963
+ # ID: 53
94669
94964
  class RepositoryAnnotationsRdfaRdfaRichSnippetsApplication
94670
94965
  include Google::Apis::Core::Hashable
94671
94966
 
@@ -94787,6 +95082,11 @@ module Google
94787
95082
  # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpsDetailInfo]
94788
95083
  attr_accessor :live_op_details
94789
95084
 
95085
+ #
95086
+ # Corresponds to the JSON property `localizedTrustedGenome`
95087
+ # @return [Google::Apis::ContentwarehouseV1::RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationLocalizedTrustedGenome]
95088
+ attr_accessor :localized_trusted_genome
95089
+
94790
95090
  # Market Android or itunes
94791
95091
  # Corresponds to the JSON property `marketplace`
94792
95092
  # @return [String]
@@ -94967,6 +95267,7 @@ module Google
94967
95267
  @lang_locale = args[:lang_locale] if args.key?(:lang_locale)
94968
95268
  @last_updated = args[:last_updated] if args.key?(:last_updated)
94969
95269
  @live_op_details = args[:live_op_details] if args.key?(:live_op_details)
95270
+ @localized_trusted_genome = args[:localized_trusted_genome] if args.key?(:localized_trusted_genome)
94970
95271
  @marketplace = args[:marketplace] if args.key?(:marketplace)
94971
95272
  @name = args[:name] if args.key?(:name)
94972
95273
  @num_downloads = args[:num_downloads] if args.key?(:num_downloads)
@@ -95050,6 +95351,34 @@ module Google
95050
95351
  end
95051
95352
  end
95052
95353
 
95354
+ #
95355
+ class RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationLocalizedTrustedGenome
95356
+ include Google::Apis::Core::Hashable
95357
+
95358
+ # The chosen language
95359
+ # Corresponds to the JSON property `language`
95360
+ # @return [String]
95361
+ attr_accessor :language
95362
+
95363
+ # ------------------------------------------------------------------------------
95364
+ # Proto message containing the trusted genome entities that belong to an app.
95365
+ # Document type: ANDROID_APP See go/gd-server-design for more info. ## Next tag:
95366
+ # 4
95367
+ # Corresponds to the JSON property `localizedTg`
95368
+ # @return [Google::Apis::ContentwarehouseV1::VendingConsumerProtoTrustedGenomeAnnotation]
95369
+ attr_accessor :localized_tg
95370
+
95371
+ def initialize(**args)
95372
+ update!(**args)
95373
+ end
95374
+
95375
+ # Update properties of this object
95376
+ def update!(**args)
95377
+ @language = args[:language] if args.key?(:language)
95378
+ @localized_tg = args[:localized_tg] if args.key?(:localized_tg)
95379
+ end
95380
+ end
95381
+
95053
95382
  #
95054
95383
  class RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationRank
95055
95384
  include Google::Apis::Core::Hashable
@@ -96135,13 +96464,6 @@ module Google
96135
96464
  # @return [Float]
96136
96465
  attr_accessor :nb_score
96137
96466
 
96138
- # Experimental. This is used for doing experiments only. For example, new entity
96139
- # confidence can be populated here to experiment with replacing the one re-
96140
- # computed by NewAnnotationConfidence().
96141
- # Corresponds to the JSON property `newConfidenceExperimentalDontUse`
96142
- # @return [Float]
96143
- attr_accessor :new_confidence_experimental_dont_use
96144
-
96145
96467
  # DEPRECATED: this field is no longer set. As of early June 2018 it is
96146
96468
  # referenced in hundreds of test files and is difficult to remove from the code
96147
96469
  # base.
@@ -96188,7 +96510,6 @@ module Google
96188
96510
  @is_reference_page = args[:is_reference_page] if args.key?(:is_reference_page)
96189
96511
  @local_entity_location_confidence = args[:local_entity_location_confidence] if args.key?(:local_entity_location_confidence)
96190
96512
  @nb_score = args[:nb_score] if args.key?(:nb_score)
96191
- @new_confidence_experimental_dont_use = args[:new_confidence_experimental_dont_use] if args.key?(:new_confidence_experimental_dont_use)
96192
96513
  @news_topicality_score = args[:news_topicality_score] if args.key?(:news_topicality_score)
96193
96514
  @normalized_topicality = args[:normalized_topicality] if args.key?(:normalized_topicality)
96194
96515
  @reference_page_scores = args[:reference_page_scores] if args.key?(:reference_page_scores)
@@ -100303,13 +100624,6 @@ module Google
100303
100624
  # @return [Float]
100304
100625
  attr_accessor :book_score
100305
100626
 
100306
- # Fraction of importance_ratio (IR) that is explained by this entity and implied
100307
- # entities. E.g. a page about a song with IR 0.2 for the song and 0.5 for the
100308
- # artist actually has explained_normalized_topicality 0.7 for the song.
100309
- # Corresponds to the JSON property `explainedNormalizedTopicality`
100310
- # @return [Float]
100311
- attr_accessor :explained_normalized_topicality
100312
-
100313
100627
  # The raw topicality score of the primary entity.
100314
100628
  # Corresponds to the JSON property `firstScore`
100315
100629
  # @return [Float]
@@ -100338,13 +100652,6 @@ module Google
100338
100652
  # @return [Float]
100339
100653
  attr_accessor :reference_page_score
100340
100654
 
100341
- # The score used to sort reference pages for a given entity. This score tries to
100342
- # assign higher scores to reference pages that are more useful to the model
100343
- # building.
100344
- # Corresponds to the JSON property `referencePageSelectionScore`
100345
- # @return [Float]
100346
- attr_accessor :reference_page_selection_score
100347
-
100348
100655
  # True if the entity is selected as the reference page owner.
100349
100656
  # Corresponds to the JSON property `selected`
100350
100657
  # @return [Boolean]
@@ -100381,13 +100688,11 @@ module Google
100381
100688
  # Update properties of this object
100382
100689
  def update!(**args)
100383
100690
  @book_score = args[:book_score] if args.key?(:book_score)
100384
- @explained_normalized_topicality = args[:explained_normalized_topicality] if args.key?(:explained_normalized_topicality)
100385
100691
  @first_score = args[:first_score] if args.key?(:first_score)
100386
100692
  @has_special_links = args[:has_special_links] if args.key?(:has_special_links)
100387
100693
  @median_mention_score = args[:median_mention_score] if args.key?(:median_mention_score)
100388
100694
  @navboost_coverage = args[:navboost_coverage] if args.key?(:navboost_coverage)
100389
100695
  @reference_page_score = args[:reference_page_score] if args.key?(:reference_page_score)
100390
- @reference_page_selection_score = args[:reference_page_selection_score] if args.key?(:reference_page_selection_score)
100391
100696
  @selected = args[:selected] if args.key?(:selected)
100392
100697
  @single_topicness = args[:single_topicness] if args.key?(:single_topicness)
100393
100698
  @single_topicness_v2 = args[:single_topicness_v2] if args.key?(:single_topicness_v2)
@@ -103265,6 +103570,11 @@ module Google
103265
103570
  # @return [String]
103266
103571
  attr_accessor :location_name
103267
103572
 
103573
+ #
103574
+ # Corresponds to the JSON property `locationResource`
103575
+ # @return [String]
103576
+ attr_accessor :location_resource
103577
+
103268
103578
  # Latitude and longitude for a single point in the form of "lat,long".
103269
103579
  # Corresponds to the JSON property `pointCoordinates`
103270
103580
  # @return [String]
@@ -103287,6 +103597,7 @@ module Google
103287
103597
  @location_mid = args[:location_mid] if args.key?(:location_mid)
103288
103598
  @location_mid_label = args[:location_mid_label] if args.key?(:location_mid_label)
103289
103599
  @location_name = args[:location_name] if args.key?(:location_name)
103600
+ @location_resource = args[:location_resource] if args.key?(:location_resource)
103290
103601
  @point_coordinates = args[:point_coordinates] if args.key?(:point_coordinates)
103291
103602
  @unformatted_coordinates = args[:unformatted_coordinates] if args.key?(:unformatted_coordinates)
103292
103603
  end
@@ -104009,6 +104320,11 @@ module Google
104009
104320
  # @return [String]
104010
104321
  attr_accessor :entity_type
104011
104322
 
104323
+ # HRID of the KG collections
104324
+ # Corresponds to the JSON property `kgCollection`
104325
+ # @return [Array<String>]
104326
+ attr_accessor :kg_collection
104327
+
104012
104328
  # The KG identifier of the WebrefEntity.
104013
104329
  # Corresponds to the JSON property `mid`
104014
104330
  # @return [String]
@@ -104022,6 +104338,7 @@ module Google
104022
104338
  def update!(**args)
104023
104339
  @description = args[:description] if args.key?(:description)
104024
104340
  @entity_type = args[:entity_type] if args.key?(:entity_type)
104341
+ @kg_collection = args[:kg_collection] if args.key?(:kg_collection)
104025
104342
  @mid = args[:mid] if args.key?(:mid)
104026
104343
  end
104027
104344
  end
@@ -106943,7 +107260,7 @@ module Google
106943
107260
  # classes in google3/security/credentials/public/principal.h google3/java/com/
106944
107261
  # google/security/credentials/Principal.java google3/security/credentials/go/
106945
107262
  # principal.go unless direct proto access is essential. If you update this
106946
- # protocol buffer, please update the wrapper classes as well.
107263
+ # protocol buffer, please update the wrapper classes as well. LINT.IfChange
106947
107264
  class SecurityCredentialsPrincipalProto
106948
107265
  include Google::Apis::Core::Hashable
106949
107266
 
@@ -107068,15 +107385,13 @@ module Google
107068
107385
  attr_accessor :postini_user
107069
107386
 
107070
107387
  # Principal associated with a given RBAC role. This principal is used by Sphinx
107071
- # Provisioning Service for RBAC (go/cedi-auth) provisionable (go/sphinx-rbacz-
107072
- # design).
107388
+ # Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
107073
107389
  # Corresponds to the JSON property `rbacRole`
107074
107390
  # @return [Google::Apis::ContentwarehouseV1::SecurityCredentialsRbacRoleProto]
107075
107391
  attr_accessor :rbac_role
107076
107392
 
107077
107393
  # Principal associated with a given RBAC subject. This principal is used by
107078
- # Sphinx Provisioning Service for RBAC (go/cedi-auth) provisionable (go/sphinx-
107079
- # rbacz-design).
107394
+ # Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
107080
107395
  # Corresponds to the JSON property `rbacSubject`
107081
107396
  # @return [Google::Apis::ContentwarehouseV1::SecurityCredentialsRbacSubjectProto]
107082
107397
  attr_accessor :rbac_subject
@@ -107178,8 +107493,7 @@ module Google
107178
107493
  end
107179
107494
 
107180
107495
  # Principal associated with a given RBAC role. This principal is used by Sphinx
107181
- # Provisioning Service for RBAC (go/cedi-auth) provisionable (go/sphinx-rbacz-
107182
- # design).
107496
+ # Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
107183
107497
  class SecurityCredentialsRbacRoleProto
107184
107498
  include Google::Apis::Core::Hashable
107185
107499
 
@@ -107198,8 +107512,10 @@ module Google
107198
107512
  # @return [String]
107199
107513
  attr_accessor :rbac_namespace
107200
107514
 
107201
- # Format: "RbacNamespaceName.RbacRoleName(/field=value)*", e.g., "hr.v1.Reader",
107202
- # "hr.v1.Reader/language=EN_US/country=USA/room=NYC-9th-11A201".
107515
+ # Format: "role/z?" - "role" is the Sphinx globally unique name of the Sphinx
107516
+ # role that provisions the RBAC role. - "/z?" suffix indicates which Zanzibar
107517
+ # environment stores the role membership data ("/zd": dev, "/zs": staging, "/zp":
107518
+ # prod, "/zt": local test instance). Example: "mysystem_myrole/zp"
107203
107519
  # Corresponds to the JSON property `rbacRoleName`
107204
107520
  # @return [String]
107205
107521
  attr_accessor :rbac_role_name
@@ -107218,8 +107534,7 @@ module Google
107218
107534
  end
107219
107535
 
107220
107536
  # Principal associated with a given RBAC subject. This principal is used by
107221
- # Sphinx Provisioning Service for RBAC (go/cedi-auth) provisionable (go/sphinx-
107222
- # rbacz-design).
107537
+ # Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
107223
107538
  class SecurityCredentialsRbacSubjectProto
107224
107539
  include Google::Apis::Core::Hashable
107225
107540
 
@@ -108412,10 +108727,15 @@ module Google
108412
108727
  end
108413
108728
  end
108414
108729
 
108415
- # Next ID: 12
108730
+ # Next ID: 14
108416
108731
  class SnippetExtraInfoSnippetCandidateInfo
108417
108732
  include Google::Apis::Core::Hashable
108418
108733
 
108734
+ # Bolded ranges in the printed snippet lines.
108735
+ # Corresponds to the JSON property `boldedRanges`
108736
+ # @return [Array<Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRange>]
108737
+ attr_accessor :bolded_ranges
108738
+
108419
108739
  # Candidate identifier number, unique among all snippet candidates under each
108420
108740
  # document in each request. What does this number mean: - Muppet candidates:
108421
108741
  # This equals to the candidate's rank by Muppet snippets scorer. - Superroot
@@ -108449,6 +108769,11 @@ module Google
108449
108769
  # @return [Google::Apis::ContentwarehouseV1::SnippetExtraInfoSnippetScoringInfo]
108450
108770
  attr_accessor :scoring_info
108451
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
+
108452
108777
  # Muppet fills snippet lines in `snippet` field.
108453
108778
  # Corresponds to the JSON property `snippet`
108454
108779
  # @return [Array<String>]
@@ -108471,11 +108796,13 @@ module Google
108471
108796
 
108472
108797
  # Update properties of this object
108473
108798
  def update!(**args)
108799
+ @bolded_ranges = args[:bolded_ranges] if args.key?(:bolded_ranges)
108474
108800
  @id = args[:id] if args.key?(:id)
108475
108801
  @is_muppet_selected_snippet = args[:is_muppet_selected_snippet] if args.key?(:is_muppet_selected_snippet)
108476
108802
  @is_snippet_brain_bolding_triggered = args[:is_snippet_brain_bolding_triggered] if args.key?(:is_snippet_brain_bolding_triggered)
108477
108803
  @list_info = args[:list_info] if args.key?(:list_info)
108478
108804
  @scoring_info = args[:scoring_info] if args.key?(:scoring_info)
108805
+ @sentence_starts = args[:sentence_starts] if args.key?(:sentence_starts)
108479
108806
  @snippet = args[:snippet] if args.key?(:snippet)
108480
108807
  @snippet_text = args[:snippet_text] if args.key?(:snippet_text)
108481
108808
  @snippet_type = args[:snippet_type] if args.key?(:snippet_type)
@@ -108497,7 +108824,9 @@ module Google
108497
108824
  # @return [Float]
108498
108825
  attr_accessor :brain_score
108499
108826
 
108500
- # Snippet candidate related information and signal scores. Next ID: 11
108827
+ # Snippet candidate related information and signal scores. This message is used
108828
+ # for both snippet scoring and ranklab features recording. Next ID: 12 ==========
108829
+ # ======== Features populated in production =======================
108501
108830
  # Corresponds to the JSON property `features`
108502
108831
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewRanklabSnippet]
108503
108832
  attr_accessor :features
@@ -108995,7 +109324,7 @@ module Google
108995
109324
  # classes in google3/security/credentials/public/principal.h google3/java/com/
108996
109325
  # google/security/credentials/Principal.java google3/security/credentials/go/
108997
109326
  # principal.go unless direct proto access is essential. If you update this
108998
- # protocol buffer, please update the wrapper classes as well.
109327
+ # protocol buffer, please update the wrapper classes as well. LINT.IfChange
108999
109328
  # Corresponds to the JSON property `user`
109000
109329
  # @return [Google::Apis::ContentwarehouseV1::SecurityCredentialsPrincipalProto]
109001
109330
  attr_accessor :user
@@ -109149,6 +109478,30 @@ module Google
109149
109478
  end
109150
109479
  end
109151
109480
 
109481
+ # The ContactEditContext message is a wrapper around the generic
109482
+ # ContactMutationContext data to represent when and where a contact create was
109483
+ # performed.
109484
+ class SocialGraphApiProtoContactCreateContext
109485
+ include Google::Apis::Core::Hashable
109486
+
109487
+ # This message is the generic mutation message which will encapsulate the fields
109488
+ # which are shared between the create, update, and delete actions, including
109489
+ # source of change, timestamp, and metadata messages passed in from the source
109490
+ # for any source specific data (such as phone name/model from FSA).
109491
+ # Corresponds to the JSON property `mutationContext`
109492
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoContactMutationContext]
109493
+ attr_accessor :mutation_context
109494
+
109495
+ def initialize(**args)
109496
+ update!(**args)
109497
+ end
109498
+
109499
+ # Update properties of this object
109500
+ def update!(**args)
109501
+ @mutation_context = args[:mutation_context] if args.key?(:mutation_context)
109502
+ end
109503
+ end
109504
+
109152
109505
  # The ContactDeletionContext message is a wrapper around the generic
109153
109506
  # ContactMutationContext data, and will include any needed delete specific data.
109154
109507
  # NOTE: Before using this message please review go/people-api-contact-deletion-
@@ -109174,6 +109527,30 @@ module Google
109174
109527
  end
109175
109528
  end
109176
109529
 
109530
+ # The ContactEditContext message is a wrapper around the generic
109531
+ # ContactMutationContext data to represent when and where a contact edit was
109532
+ # performed.
109533
+ class SocialGraphApiProtoContactEditContext
109534
+ include Google::Apis::Core::Hashable
109535
+
109536
+ # This message is the generic mutation message which will encapsulate the fields
109537
+ # which are shared between the create, update, and delete actions, including
109538
+ # source of change, timestamp, and metadata messages passed in from the source
109539
+ # for any source specific data (such as phone name/model from FSA).
109540
+ # Corresponds to the JSON property `mutationContext`
109541
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoContactMutationContext]
109542
+ attr_accessor :mutation_context
109543
+
109544
+ def initialize(**args)
109545
+ update!(**args)
109546
+ end
109547
+
109548
+ # Update properties of this object
109549
+ def update!(**args)
109550
+ @mutation_context = args[:mutation_context] if args.key?(:mutation_context)
109551
+ end
109552
+ end
109553
+
109177
109554
  # This message is the generic mutation message which will encapsulate the fields
109178
109555
  # which are shared between the create, update, and delete actions, including
109179
109556
  # source of change, timestamp, and metadata messages passed in from the source
@@ -109616,7 +109993,12 @@ module Google
109616
109993
  # to parse the full name of a user into structured parts and operate on those
109617
109994
  # parts. For more information on how names are parsed, see the NameOccurrence
109618
109995
  # proto definition: http://google3/quality/peoplesearch/namedetector/detector/
109619
- # proto/name_occurrence.proto?l=50&rcl=334484707 Next ID: 7
109996
+ # proto/name_occurrence.proto?l=50&rcl=334484707 In general, when parsing
109997
+ # display names the following rules will apply to *all* specs: - Hyphenated
109998
+ # names are broken down: "Angelina Jollie-Pit" is pre-processed as "Angelina
109999
+ # Jollie Pitt"; - Prefixes are ignored: "Prof. Albus Dumbledore" is pre-
110000
+ # processed as "Albus Dumbledore"; - Auxiliaries are ignored: "Luís de Camões"
110001
+ # is pre-processed as "Luís Camões". Next ID: 8
109620
110002
  # Corresponds to the JSON property `parsedDisplayNameSpec`
109621
110003
  # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPartialNameOptionsParsedDisplayNameSpec]
109622
110004
  attr_accessor :parsed_display_name_spec
@@ -109699,25 +110081,31 @@ module Google
109699
110081
  # to parse the full name of a user into structured parts and operate on those
109700
110082
  # parts. For more information on how names are parsed, see the NameOccurrence
109701
110083
  # proto definition: http://google3/quality/peoplesearch/namedetector/detector/
109702
- # proto/name_occurrence.proto?l=50&rcl=334484707 Next ID: 7
110084
+ # proto/name_occurrence.proto?l=50&rcl=334484707 In general, when parsing
110085
+ # display names the following rules will apply to *all* specs: - Hyphenated
110086
+ # names are broken down: "Angelina Jollie-Pit" is pre-processed as "Angelina
110087
+ # Jollie Pitt"; - Prefixes are ignored: "Prof. Albus Dumbledore" is pre-
110088
+ # processed as "Albus Dumbledore"; - Auxiliaries are ignored: "Luís de Camões"
110089
+ # is pre-processed as "Luís Camões". Next ID: 8
109703
110090
  class SocialGraphApiProtoPartialNameOptionsParsedDisplayNameSpec
109704
110091
  include Google::Apis::Core::Hashable
109705
110092
 
109706
110093
  # Extract an initial from each parsed name. For example, "Niels Henrik David
109707
- # Bohr" yields "N. H. D. B.". Other special cases are treated as follows: -
109708
- # Hyphenated names are broken down: "Angelina Jollie-Pit" yields "A. J. P."; -
109709
- # Prefixes are ignored: "Prof. Albus Dumbledore" yields "A. D."; - Auxiliaries
109710
- # are ignored: "Luís de Camões" yields "L. C.".
110094
+ # Bohr" yields "N. H. D. B.". Other special cases are treated as follows:
109711
110095
  # Corresponds to the JSON property `allInitialsFromParsedName`
109712
110096
  # @return [Boolean]
109713
110097
  attr_accessor :all_initials_from_parsed_name
109714
110098
  alias_method :all_initials_from_parsed_name?, :all_initials_from_parsed_name
109715
110099
 
110100
+ # Show the initial of the very first name and the first last name, e.g. "Hugo
110101
+ # Daniel Hernandez Garcia" yields "H. Hernandez".
110102
+ # Corresponds to the JSON property `firstInitialAndFirstLastName`
110103
+ # @return [Boolean]
110104
+ attr_accessor :first_initial_and_first_last_name
110105
+ alias_method :first_initial_and_first_last_name?, :first_initial_and_first_last_name
110106
+
109716
110107
  # Show the initial of the very first name and the very last name, e.g. "Ana
109717
- # Maria Silva" yields "A. Silva". - Hyphenated names are broken down: "Angelina
109718
- # Jollie-Pitt" yields "A. Pitt"; - Prefixes are ignored: "Prof. Albus Dumbledore"
109719
- # yields "A. Dumbledore"; - Auxiliaries are ignored: "Luís de Camões" yields "L.
109720
- # Camões".
110108
+ # Maria Silva" yields "A. Silva".
109721
110109
  # Corresponds to the JSON property `firstInitialAndVeryLastName`
109722
110110
  # @return [Boolean]
109723
110111
  attr_accessor :first_initial_and_very_last_name
@@ -109737,18 +110125,13 @@ module Google
109737
110125
  attr_accessor :truncation_indicator
109738
110126
 
109739
110127
  # Show the full very first name and all the other initials, e.g. "Ana Maria
109740
- # Silva" yields "Ana M. S.". - Hyphenated names are broken down: "Angelina
109741
- # Jollie-Pit" yields "Angelina J. P."; - Prefixes are ignored: "Prof. Albus
109742
- # Dumbledore" yields "Albus D."; - Auxiliaries are ignored: "Luís de Camões"
109743
- # yields "Luís C.".
110128
+ # Silva" yields "Ana M. S.".
109744
110129
  # Corresponds to the JSON property `veryFirstNameAndAllInitials`
109745
110130
  # @return [Boolean]
109746
110131
  attr_accessor :very_first_name_and_all_initials
109747
110132
  alias_method :very_first_name_and_all_initials?, :very_first_name_and_all_initials
109748
110133
 
109749
- # Show the very first name only, e.g. "Ana Maria Silva" yields "Ana". -
109750
- # Hyphenated names are broken down: "Mary-Kate Smith" yields "Mary"; - Prefixes
109751
- # are ignored: "Prof. Albus Dumbledore" yields "Albus";
110134
+ # Show the very first name only, e.g. "Ana Maria Silva" yields "Ana".
109752
110135
  # Corresponds to the JSON property `veryFirstNameOnly`
109753
110136
  # @return [Boolean]
109754
110137
  attr_accessor :very_first_name_only
@@ -109761,6 +110144,7 @@ module Google
109761
110144
  # Update properties of this object
109762
110145
  def update!(**args)
109763
110146
  @all_initials_from_parsed_name = args[:all_initials_from_parsed_name] if args.key?(:all_initials_from_parsed_name)
110147
+ @first_initial_and_first_last_name = args[:first_initial_and_first_last_name] if args.key?(:first_initial_and_first_last_name)
109764
110148
  @first_initial_and_very_last_name = args[:first_initial_and_very_last_name] if args.key?(:first_initial_and_very_last_name)
109765
110149
  @knowledge_graph_name_shortening = args[:knowledge_graph_name_shortening] if args.key?(:knowledge_graph_name_shortening)
109766
110150
  @truncation_indicator = args[:truncation_indicator] if args.key?(:truncation_indicator)
@@ -111229,7 +111613,7 @@ module Google
111229
111613
  # classes in google3/security/credentials/public/principal.h google3/java/com/
111230
111614
  # google/security/credentials/Principal.java google3/security/credentials/go/
111231
111615
  # principal.go unless direct proto access is essential. If you update this
111232
- # protocol buffer, please update the wrapper classes as well.
111616
+ # protocol buffer, please update the wrapper classes as well. LINT.IfChange
111233
111617
  # Corresponds to the JSON property `moderator`
111234
111618
  # @return [Google::Apis::ContentwarehouseV1::SecurityCredentialsPrincipalProto]
111235
111619
  attr_accessor :moderator
@@ -111731,17 +112115,13 @@ module Google
111731
112115
  include Google::Apis::Core::Hashable
111732
112116
 
111733
112117
  # Timestamp after which data with this policy cannot be used. This value must be
111734
- # strictly larger/later than availability_start_time, if both are set. WARNING:
111735
- # This field is WIP and please do not populate it without reading go/ke-dg-tape
111736
- # and consulting ke-data-governance@.
112118
+ # strictly larger/later than availability_start_time, if both are set.
111737
112119
  # Corresponds to the JSON property `availabilityEndTimestamp`
111738
112120
  # @return [String]
111739
112121
  attr_accessor :availability_end_timestamp
111740
112122
 
111741
112123
  # Timestamp before which data with this policy cannot be used. This value must
111742
112124
  # be strictly smaller/earlier than availability_end_time, if both are set.
111743
- # WARNING: This field is WIP and please do not populate it without reading go/ke-
111744
- # dg-tape and consulting ke-data-governance@.
111745
112125
  # Corresponds to the JSON property `availabilityStartTimestamp`
111746
112126
  # @return [String]
111747
112127
  attr_accessor :availability_start_timestamp
@@ -115968,7 +116348,8 @@ module Google
115968
116348
  attr_accessor :id
115969
116349
 
115970
116350
  # LINT.ThenChange( //depot/google3/googledata/production/playbooks/video-assets/
115971
- # clients.md ) REQUIRED.
116351
+ # clients.md, //depot/google3/video/assets/venom/proto/namespace.proto )
116352
+ # REQUIRED.
115972
116353
  # Corresponds to the JSON property `ns`
115973
116354
  # @return [String]
115974
116355
  attr_accessor :ns
@@ -117101,7 +117482,7 @@ module Google
117101
117482
  # Intended to be simpler to work with than the ExportedStanza it's derived from
117102
117483
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
117103
117484
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
117104
- # 75
117485
+ # 76
117105
117486
  # Corresponds to the JSON property `miniStanza`
117106
117487
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsClusteringMiniStanza]
117107
117488
  attr_accessor :mini_stanza
@@ -120052,7 +120433,7 @@ module Google
120052
120433
 
120053
120434
  # Message to contain scoring / debugging information. If you want to add
120054
120435
  # information which is not directly used in the final VideoAnchor data, it
120055
- # should be put here. Next ID: 25
120436
+ # should be put here. Next ID: 27
120056
120437
  # Corresponds to the JSON property `scoreInfo`
120057
120438
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchVideoAnchorScoreInfo]
120058
120439
  attr_accessor :score_info
@@ -120146,7 +120527,7 @@ module Google
120146
120527
 
120147
120528
  # Message to contain scoring / debugging information. If you want to add
120148
120529
  # information which is not directly used in the final VideoAnchor data, it
120149
- # should be put here. Next ID: 25
120530
+ # should be put here. Next ID: 27
120150
120531
  class VideoContentSearchVideoAnchorScoreInfo
120151
120532
  include Google::Apis::Core::Hashable
120152
120533
 
@@ -120160,6 +120541,11 @@ module Google
120160
120541
  # @return [Google::Apis::ContentwarehouseV1::Proto2BridgeMessageSet]
120161
120542
  attr_accessor :attachments
120162
120543
 
120544
+ # The path to the particular babel checkpoint
120545
+ # Corresponds to the JSON property `babelCheckpointPath`
120546
+ # @return [String]
120547
+ attr_accessor :babel_checkpoint_path
120548
+
120163
120549
  # Features and debug info for individual caption entity video anchors.
120164
120550
  # Corresponds to the JSON property `captionEntityAnchorFeatures`
120165
120551
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchCaptionEntityAnchorFeatures]
@@ -120236,6 +120622,13 @@ module Google
120236
120622
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchMultimodalTopicTrainingFeatures]
120237
120623
  attr_accessor :multimodal_topic_training_features
120238
120624
 
120625
+ # Normalized babel embedding of anchor.label(). If the label has more than one
120626
+ # sentences, the embedding will be the averaged normalized embedding of each
120627
+ # sentence.
120628
+ # Corresponds to the JSON property `normalizedBabelEmbedding`
120629
+ # @return [Array<Float>]
120630
+ attr_accessor :normalized_babel_embedding
120631
+
120239
120632
  # Keep feature values which are useful to filter titles, labels.
120240
120633
  # Corresponds to the JSON property `ocrAnchorFeature`
120241
120634
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchOnScreenTextFeature]
@@ -120289,6 +120682,7 @@ module Google
120289
120682
  def update!(**args)
120290
120683
  @anchor_common_feature_set = args[:anchor_common_feature_set] if args.key?(:anchor_common_feature_set)
120291
120684
  @attachments = args[:attachments] if args.key?(:attachments)
120685
+ @babel_checkpoint_path = args[:babel_checkpoint_path] if args.key?(:babel_checkpoint_path)
120292
120686
  @caption_entity_anchor_features = args[:caption_entity_anchor_features] if args.key?(:caption_entity_anchor_features)
120293
120687
  @caption_span_anchor_features = args[:caption_span_anchor_features] if args.key?(:caption_span_anchor_features)
120294
120688
  @description_anchor_features = args[:description_anchor_features] if args.key?(:description_anchor_features)
@@ -120303,6 +120697,7 @@ module Google
120303
120697
  @list_training_data_anchor_features = args[:list_training_data_anchor_features] if args.key?(:list_training_data_anchor_features)
120304
120698
  @multimodal_topic_features = args[:multimodal_topic_features] if args.key?(:multimodal_topic_features)
120305
120699
  @multimodal_topic_training_features = args[:multimodal_topic_training_features] if args.key?(:multimodal_topic_training_features)
120700
+ @normalized_babel_embedding = args[:normalized_babel_embedding] if args.key?(:normalized_babel_embedding)
120306
120701
  @ocr_anchor_feature = args[:ocr_anchor_feature] if args.key?(:ocr_anchor_feature)
120307
120702
  @ocr_description_training_data_anchor_features = args[:ocr_description_training_data_anchor_features] if args.key?(:ocr_description_training_data_anchor_features)
120308
120703
  @opinions_anchor_features = args[:opinions_anchor_features] if args.key?(:opinions_anchor_features)
@@ -125915,7 +126310,7 @@ module Google
125915
126310
  # Intended to be simpler to work with than the ExportedStanza it's derived from
125916
126311
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
125917
126312
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
125918
- # 75
126313
+ # 76
125919
126314
  class YoutubeCommentsClusteringMiniStanza
125920
126315
  include Google::Apis::Core::Hashable
125921
126316
 
@@ -126215,7 +126610,7 @@ module Google
126215
126610
  # classes in google3/security/credentials/public/principal.h google3/java/com/
126216
126611
  # google/security/credentials/Principal.java google3/security/credentials/go/
126217
126612
  # principal.go unless direct proto access is essential. If you update this
126218
- # protocol buffer, please update the wrapper classes as well.
126613
+ # protocol buffer, please update the wrapper classes as well. LINT.IfChange
126219
126614
  # Corresponds to the JSON property `subject`
126220
126615
  # @return [Google::Apis::ContentwarehouseV1::SecurityCredentialsPrincipalProto]
126221
126616
  attr_accessor :subject
@@ -126275,6 +126670,11 @@ module Google
126275
126670
  # @return [Float]
126276
126671
  attr_accessor :word_entropy
126277
126672
 
126673
+ # The youtube channel id of the comment author.
126674
+ # Corresponds to the JSON property `ytAuthorChannelId`
126675
+ # @return [String]
126676
+ attr_accessor :yt_author_channel_id
126677
+
126278
126678
  # Existing quality corpus scores.
126279
126679
  # Corresponds to the JSON property `ytCommentQualityScore`
126280
126680
  # @return [Float]
@@ -126362,6 +126762,7 @@ module Google
126362
126762
  @video_id = args[:video_id] if args.key?(:video_id)
126363
126763
  @video_timestamps = args[:video_timestamps] if args.key?(:video_timestamps)
126364
126764
  @word_entropy = args[:word_entropy] if args.key?(:word_entropy)
126765
+ @yt_author_channel_id = args[:yt_author_channel_id] if args.key?(:yt_author_channel_id)
126365
126766
  @yt_comment_quality_score = args[:yt_comment_quality_score] if args.key?(:yt_comment_quality_score)
126366
126767
  @yt_comment_quality_score2 = args[:yt_comment_quality_score2] if args.key?(:yt_comment_quality_score2)
126367
126768
  @yt_comment_quality_score3 = args[:yt_comment_quality_score3] if args.key?(:yt_comment_quality_score3)