google-apis-contentwarehouse_v1 0.5.0 → 0.6.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
 
@@ -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
@@ -16530,6 +16605,8 @@ module Google
16530
16605
  attr_accessor :client_op_properties
16531
16606
 
16532
16607
  # Additional properties that client can support for executing the client op.
16608
+ # They are surface-specific execution properties and are unrelated to the
16609
+ # execution model.
16533
16610
  # Corresponds to the JSON property `supportedExecution`
16534
16611
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiSupportedClientOpSupportedExecution]
16535
16612
  attr_accessor :supported_execution
@@ -16555,9 +16632,23 @@ module Google
16555
16632
  end
16556
16633
 
16557
16634
  # Additional properties that client can support for executing the client op.
16635
+ # They are surface-specific execution properties and are unrelated to the
16636
+ # execution model.
16558
16637
  class AssistantApiSupportedClientOpSupportedExecution
16559
16638
  include Google::Apis::Core::Hashable
16560
16639
 
16640
+ # ClientOp execution supports special rendering behavior while the user is in
16641
+ # the middle of expressing their query. This behavior includes: 1) New partial
16642
+ # output always over-writes prior partial output. 2) Canceling the interaction
16643
+ # removes partial fulfilment from any user visible interaction history. If this
16644
+ # is true, whether to apply the special rendering behavior will be determined by
16645
+ # PartialFulfillmentRenderingParams. More details can be found at go/ma-natcon-
16646
+ # pf-api.
16647
+ # Corresponds to the JSON property `supportsPartialFulfillment`
16648
+ # @return [Boolean]
16649
+ attr_accessor :supports_partial_fulfillment
16650
+ alias_method :supports_partial_fulfillment?, :supports_partial_fulfillment
16651
+
16561
16652
  # Client can support synchronous execution of the client op. For tts.OUTPUT
16562
16653
  # client op it means that client would honor |synchronous_playback_args|
16563
16654
  # argument. Please see more at go/synchronous-sounds-design.
@@ -16572,6 +16663,7 @@ module Google
16572
16663
 
16573
16664
  # Update properties of this object
16574
16665
  def update!(**args)
16666
+ @supports_partial_fulfillment = args[:supports_partial_fulfillment] if args.key?(:supports_partial_fulfillment)
16575
16667
  @supports_synchronous_execution = args[:supports_synchronous_execution] if args.key?(:supports_synchronous_execution)
16576
16668
  end
16577
16669
  end
@@ -18731,7 +18823,7 @@ module Google
18731
18823
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerContactGroundingProviderFeatures]
18732
18824
  attr_accessor :contact_grounding_provider_features
18733
18825
 
18734
- # Features to be passed from Media GP to HGR. Next ID: 2
18826
+ # Features to be passed from Media GP to HGR. Next ID: 4
18735
18827
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
18736
18828
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
18737
18829
  attr_accessor :media_grounding_provider_features
@@ -18753,10 +18845,22 @@ module Google
18753
18845
  end
18754
18846
  end
18755
18847
 
18756
- # Features to be passed from Media GP to HGR. Next ID: 2
18848
+ # Features to be passed from Media GP to HGR. Next ID: 4
18757
18849
  class AssistantGroundingRankerMediaGroundingProviderFeatures
18758
18850
  include Google::Apis::Core::Hashable
18759
18851
 
18852
+ # True if the media deeplink has tag SEED_RADIO.
18853
+ # Corresponds to the JSON property `isSeedRadio`
18854
+ # @return [Boolean]
18855
+ attr_accessor :is_seed_radio
18856
+ alias_method :is_seed_radio?, :is_seed_radio
18857
+
18858
+ # True if the user requests seed radio.
18859
+ # Corresponds to the JSON property `isSeedRadioRequest`
18860
+ # @return [Boolean]
18861
+ attr_accessor :is_seed_radio_request
18862
+ alias_method :is_seed_radio_request?, :is_seed_radio_request
18863
+
18760
18864
  # MSC(Media Short Click) rate. MSC rate = total number of MSC events / total
18761
18865
  # number of MSC candidates The event is considered as MSC candidate if the event
18762
18866
  # is a media seeking query(excluding follow-ons) and the media result is
@@ -18775,6 +18879,8 @@ module Google
18775
18879
 
18776
18880
  # Update properties of this object
18777
18881
  def update!(**args)
18882
+ @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
18883
+ @is_seed_radio_request = args[:is_seed_radio_request] if args.key?(:is_seed_radio_request)
18778
18884
  @msc_rate = args[:msc_rate] if args.key?(:msc_rate)
18779
18885
  end
18780
18886
  end
@@ -35467,57 +35573,6 @@ module Google
35467
35573
  end
35468
35574
  end
35469
35575
 
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
35576
  # Providers of PriceInfo (e.g. SinglePlatform, YEXT) send verified and
35522
35577
  # unverified listings. PriceInfoStatus is used to encapsulate this information.
35523
35578
  class GeostorePriceInfoStatus
@@ -35640,12 +35695,6 @@ module Google
35640
35695
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostorePriceListSectionProto>]
35641
35696
  attr_accessor :section
35642
35697
 
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
35698
  # Hold a list of URLs, usually to contain translations of a single URL.
35650
35699
  # Corresponds to the JSON property `sourceUrl`
35651
35700
  # @return [Google::Apis::ContentwarehouseV1::GeostoreUrlListProto]
@@ -35662,7 +35711,6 @@ module Google
35662
35711
  @cuisines = args[:cuisines] if args.key?(:cuisines)
35663
35712
  @name_info = args[:name_info] if args.key?(:name_info)
35664
35713
  @section = args[:section] if args.key?(:section)
35665
- @source_details = args[:source_details] if args.key?(:source_details)
35666
35714
  @source_url = args[:source_url] if args.key?(:source_url)
35667
35715
  end
35668
35716
  end
@@ -42113,7 +42161,7 @@ module Google
42113
42161
 
42114
42162
  # Field mask for creating Document fields. If mask path is empty, it means all
42115
42163
  # fields are masked. For the `FieldMask` definition, see https://developers.
42116
- # google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
42164
+ # google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
42117
42165
  # Corresponds to the JSON property `createMask`
42118
42166
  # @return [String]
42119
42167
  attr_accessor :create_mask
@@ -42342,12 +42390,6 @@ module Google
42342
42390
  class GoogleCloudContentwarehouseV1Document
42343
42391
  include Google::Apis::Core::Hashable
42344
42392
 
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
42393
  # Document represents the canonical document resource in Document AI. It is an
42352
42394
  # interchange format that provides insights into documents and allows for
42353
42395
  # collaboration between users and Document AI to iterate and optimize for
@@ -42431,19 +42473,20 @@ module Google
42431
42473
  # @return [String]
42432
42474
  attr_accessor :reference_id
42433
42475
 
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
42476
  # If true, text extraction will not be performed.
42440
42477
  # Corresponds to the JSON property `textExtractionDisabled`
42441
42478
  # @return [Boolean]
42442
42479
  attr_accessor :text_extraction_disabled
42443
42480
  alias_method :text_extraction_disabled?, :text_extraction_disabled
42444
42481
 
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.
42482
+ # If true, text extraction will be performed.
42483
+ # Corresponds to the JSON property `textExtractionEnabled`
42484
+ # @return [Boolean]
42485
+ attr_accessor :text_extraction_enabled
42486
+ alias_method :text_extraction_enabled?, :text_extraction_enabled
42487
+
42488
+ # Title that describes the document. This can be the top heading or text that
42489
+ # describes the document.
42447
42490
  # Corresponds to the JSON property `title`
42448
42491
  # @return [String]
42449
42492
  attr_accessor :title
@@ -42464,7 +42507,6 @@ module Google
42464
42507
 
42465
42508
  # Update properties of this object
42466
42509
  def update!(**args)
42467
- @async_enabled = args[:async_enabled] if args.key?(:async_enabled)
42468
42510
  @cloud_ai_document = args[:cloud_ai_document] if args.key?(:cloud_ai_document)
42469
42511
  @content_category = args[:content_category] if args.key?(:content_category)
42470
42512
  @create_time = args[:create_time] if args.key?(:create_time)
@@ -42479,8 +42521,8 @@ module Google
42479
42521
  @raw_document_file_type = args[:raw_document_file_type] if args.key?(:raw_document_file_type)
42480
42522
  @raw_document_path = args[:raw_document_path] if args.key?(:raw_document_path)
42481
42523
  @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
42524
  @text_extraction_disabled = args[:text_extraction_disabled] if args.key?(:text_extraction_disabled)
42525
+ @text_extraction_enabled = args[:text_extraction_enabled] if args.key?(:text_extraction_enabled)
42484
42526
  @title = args[:title] if args.key?(:title)
42485
42527
  @update_time = args[:update_time] if args.key?(:update_time)
42486
42528
  @updater = args[:updater] if args.key?(:updater)
@@ -43607,7 +43649,9 @@ module Google
43607
43649
  attr_accessor :is_filterable
43608
43650
  alias_method :is_filterable?, :is_filterable
43609
43651
 
43610
- # Whether the property is user supplied metadata.
43652
+ # Whether the property is user supplied metadata. This out-of-the box
43653
+ # placeholder setting can be used to tag derived properties. Its value and
43654
+ # interpretation logic should be implemented by API user.
43611
43655
  # Corresponds to the JSON property `isMetadata`
43612
43656
  # @return [Boolean]
43613
43657
  attr_accessor :is_metadata
@@ -43860,7 +43904,7 @@ module Google
43860
43904
  class GoogleCloudContentwarehouseV1RequestMetadata
43861
43905
  include Google::Apis::Core::Hashable
43862
43906
 
43863
- # Provides user unique identification and groups information.
43907
+ # The user information.
43864
43908
  # Corresponds to the JSON property `userInfo`
43865
43909
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1UserInfo]
43866
43910
  attr_accessor :user_info
@@ -44144,18 +44188,18 @@ module Google
44144
44188
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RequestMetadata]
44145
44189
  attr_accessor :request_metadata
44146
44190
 
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.
44191
+ # Controls if the search document request requires the return of a total size of
44192
+ # matched documents. See SearchDocumentsResponse.total_size. Enabling this flag
44193
+ # may adversely impact performance. Hint: If this is used with pagination, set
44194
+ # this flag on the initial query but set this to false on subsequent page calls (
44195
+ # keep the total count locally). Defaults to false.
44152
44196
  # Corresponds to the JSON property `requireTotalSize`
44153
44197
  # @return [Boolean]
44154
44198
  attr_accessor :require_total_size
44155
44199
  alias_method :require_total_size?, :require_total_size
44156
44200
 
44157
- # Optional. Controls if the search document request requires the return of a
44158
- # total size of matched documents. See SearchDocumentsResponse.total_size.
44201
+ # Controls if the search document request requires the return of a total size of
44202
+ # matched documents. See SearchDocumentsResponse.total_size.
44159
44203
  # Corresponds to the JSON property `totalResultSize`
44160
44204
  # @return [String]
44161
44205
  attr_accessor :total_result_size
@@ -44703,7 +44747,7 @@ module Google
44703
44747
  end
44704
44748
  end
44705
44749
 
44706
- #
44750
+ # The user information.
44707
44751
  class GoogleCloudContentwarehouseV1UserInfo
44708
44752
  include Google::Apis::Core::Hashable
44709
44753
 
@@ -52847,10 +52891,18 @@ module Google
52847
52891
  end
52848
52892
  end
52849
52893
 
52850
- # Next Tag: 7
52894
+ # Next Tag: 8
52851
52895
  class ImageRepositoryAmarnaCloudSpeechSignals
52852
52896
  include Google::Apis::Core::Hashable
52853
52897
 
52898
+ # If this field is set to true, it means that Youtube already processed the ASR
52899
+ # from S3 for the langID. Please find the ASR result from transcript_asr in
52900
+ # google3/image/repository/proto/video_search.proto instead.
52901
+ # Corresponds to the JSON property `duplicateOfYtS3Asr`
52902
+ # @return [Boolean]
52903
+ attr_accessor :duplicate_of_yt_s3_asr
52904
+ alias_method :duplicate_of_yt_s3_asr?, :duplicate_of_yt_s3_asr
52905
+
52854
52906
  # The language id input for creating this ASR without regional info. Same format
52855
52907
  # as in go/ytlangid. This field is populated in Kronos Amarna Cloud Speech
52856
52908
  # operator and passed to Amarna, but it is cleared before stored in Amarna's
@@ -52880,6 +52932,7 @@ module Google
52880
52932
 
52881
52933
  # Update properties of this object
52882
52934
  def update!(**args)
52935
+ @duplicate_of_yt_s3_asr = args[:duplicate_of_yt_s3_asr] if args.key?(:duplicate_of_yt_s3_asr)
52883
52936
  @lang_without_locale = args[:lang_without_locale] if args.key?(:lang_without_locale)
52884
52937
  @model_identifier = args[:model_identifier] if args.key?(:model_identifier)
52885
52938
  @results = args[:results] if args.key?(:results)
@@ -53108,7 +53161,7 @@ module Google
53108
53161
  attr_accessor :audio_only
53109
53162
  alias_method :audio_only?, :audio_only
53110
53163
 
53111
- # Next Tag: 7
53164
+ # Next Tag: 8
53112
53165
  # Corresponds to the JSON property `cloudSpeechSignals`
53113
53166
  # @return [Google::Apis::ContentwarehouseV1::ImageRepositoryAmarnaCloudSpeechSignals]
53114
53167
  attr_accessor :cloud_speech_signals
@@ -61377,7 +61430,7 @@ module Google
61377
61430
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersSensitivitySensitivity]
61378
61431
  attr_accessor :sensitivity
61379
61432
 
61380
- # Next ID: 34
61433
+ # Next ID: 35
61381
61434
  # Corresponds to the JSON property `signals`
61382
61435
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryFunctionCallSignals]
61383
61436
  attr_accessor :signals
@@ -61409,7 +61462,7 @@ module Google
61409
61462
  end
61410
61463
  end
61411
61464
 
61412
- # Next ID: 34
61465
+ # Next ID: 35
61413
61466
  class KnowledgeAnswersIntentQueryFunctionCallSignals
61414
61467
  include Google::Apis::Core::Hashable
61415
61468
 
@@ -61525,6 +61578,12 @@ module Google
61525
61578
  attr_accessor :is_disambiguation_intent
61526
61579
  alias_method :is_disambiguation_intent?, :is_disambiguation_intent
61527
61580
 
61581
+ # Whether the interpretation was generated from the neural categorical parser.
61582
+ # Corresponds to the JSON property `isNeuralCategoricalInterpretation`
61583
+ # @return [Boolean]
61584
+ attr_accessor :is_neural_categorical_interpretation
61585
+ alias_method :is_neural_categorical_interpretation?, :is_neural_categorical_interpretation
61586
+
61528
61587
  # Denotes this is a sub-intent used for composing an Assistant UI response. The
61529
61588
  # assistant dialog should output ui_composition_shelf in the SystemResponse if
61530
61589
  # it can fulfill the intent. More info in go/davinci-design and go/davinci-di-
@@ -61649,6 +61708,7 @@ module Google
61649
61708
  @is_close_interpretation = args[:is_close_interpretation] if args.key?(:is_close_interpretation)
61650
61709
  @is_disambiguation_card_intent = args[:is_disambiguation_card_intent] if args.key?(:is_disambiguation_card_intent)
61651
61710
  @is_disambiguation_intent = args[:is_disambiguation_intent] if args.key?(:is_disambiguation_intent)
61711
+ @is_neural_categorical_interpretation = args[:is_neural_categorical_interpretation] if args.key?(:is_neural_categorical_interpretation)
61652
61712
  @is_ui_composition_intent = args[:is_ui_composition_intent] if args.key?(:is_ui_composition_intent)
61653
61713
  @local_signals = args[:local_signals] if args.key?(:local_signals)
61654
61714
  @osrp_journey_tag = args[:osrp_journey_tag] if args.key?(:osrp_journey_tag)
@@ -65886,14 +65946,6 @@ module Google
65886
65946
  # @return [Fixnum]
65887
65947
  attr_accessor :discretized_visual_saliency_score
65888
65948
 
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
65949
  # Bounding box with absolute integer coordinates.
65898
65950
  # Corresponds to the JSON property `personBoundingBox`
65899
65951
  # @return [Google::Apis::ContentwarehouseV1::LensDiscoveryStyleBoundingBox]
@@ -65925,7 +65977,6 @@ module Google
65925
65977
  @discretized_male_confidence = args[:discretized_male_confidence] if args.key?(:discretized_male_confidence)
65926
65978
  @discretized_predicted_age = args[:discretized_predicted_age] if args.key?(:discretized_predicted_age)
65927
65979
  @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
65980
  @person_bounding_box = args[:person_bounding_box] if args.key?(:person_bounding_box)
65930
65981
  @person_visibility_scores = args[:person_visibility_scores] if args.key?(:person_visibility_scores)
65931
65982
  @predicted_age_bucket = args[:predicted_age_bucket] if args.key?(:predicted_age_bucket)
@@ -66023,14 +66074,6 @@ module Google
66023
66074
  # @return [Google::Apis::ContentwarehouseV1::LensDiscoveryStyleBoundingBox]
66024
66075
  attr_accessor :bounding_box
66025
66076
 
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
66077
  def initialize(**args)
66035
66078
  update!(**args)
66036
66079
  end
@@ -66038,7 +66081,6 @@ module Google
66038
66081
  # Update properties of this object
66039
66082
  def update!(**args)
66040
66083
  @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
66084
  end
66043
66085
  end
66044
66086
 
@@ -68101,7 +68143,9 @@ module Google
68101
68143
  # @return [Array<Google::Apis::ContentwarehouseV1::MustangReposWwwSnippetsSnippetCandidate>]
68102
68144
  attr_accessor :candidates
68103
68145
 
68104
- # Snippet candidate related information and signal scores. Next ID: 11
68146
+ # Snippet candidate related information and signal scores. This message is used
68147
+ # for both snippet scoring and ranklab features recording. Next ID: 12 ==========
68148
+ # ======== Features populated in production =======================
68105
68149
  # Corresponds to the JSON property `displaySnippet`
68106
68150
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewRanklabSnippet]
68107
68151
  attr_accessor :display_snippet
@@ -68185,6 +68229,12 @@ module Google
68185
68229
  class MustangSnippetsRenderedToken
68186
68230
  include Google::Apis::Core::Hashable
68187
68231
 
68232
+ # Is the rendered token bolded (insided )
68233
+ # Corresponds to the JSON property `bolded`
68234
+ # @return [Boolean]
68235
+ attr_accessor :bolded
68236
+ alias_method :bolded?, :bolded
68237
+
68188
68238
  # Byte offset range in the rendered text that corresponds to this token. [
68189
68239
  # byte_offset_begin, byte_offset_end) inclusive
68190
68240
  # Corresponds to the JSON property `byteOffsetBegin`
@@ -68212,6 +68262,7 @@ module Google
68212
68262
 
68213
68263
  # Update properties of this object
68214
68264
  def update!(**args)
68265
+ @bolded = args[:bolded] if args.key?(:bolded)
68215
68266
  @byte_offset_begin = args[:byte_offset_begin] if args.key?(:byte_offset_begin)
68216
68267
  @byte_offset_end = args[:byte_offset_end] if args.key?(:byte_offset_end)
68217
68268
  @section = args[:section] if args.key?(:section)
@@ -82822,7 +82873,7 @@ module Google
82822
82873
  attr_accessor :noimageframeoverlayreason
82823
82874
 
82824
82875
  # NOTE: When adding a new field to be propagated to Raffia check if
82825
- # NsrPatternSignalSpec needs to be updated. Next ID: 50
82876
+ # NsrPatternSignalSpec needs to be updated. Next ID: 51
82826
82877
  # Corresponds to the JSON property `nsrDataProto`
82827
82878
  # @return [Google::Apis::ContentwarehouseV1::QualityNsrNsrData]
82828
82879
  attr_accessor :nsr_data_proto
@@ -82943,7 +82994,7 @@ module Google
82943
82994
  attr_accessor :rosetta_languages
82944
82995
 
82945
82996
  # This structure holds data for application information for rich snippets Next
82946
- # ID: 52
82997
+ # ID: 53
82947
82998
  # Corresponds to the JSON property `rsApplication`
82948
82999
  # @return [Google::Apis::ContentwarehouseV1::RepositoryAnnotationsRdfaRdfaRichSnippetsApplication]
82949
83000
  attr_accessor :rs_application
@@ -83609,6 +83660,13 @@ module Google
83609
83660
  # @return [Fixnum]
83610
83661
  attr_accessor :duration_ms
83611
83662
 
83663
+ # The number of times the animation plays. If 0, the animation will loop
83664
+ # indefinitely. If positive, this number includes the initial playthrough. For
83665
+ # example, a value of 3 means that each frame is shown 3 times.
83666
+ # Corresponds to the JSON property `loopCount`
83667
+ # @return [Fixnum]
83668
+ attr_accessor :loop_count
83669
+
83612
83670
  #
83613
83671
  # Corresponds to the JSON property `numFrames`
83614
83672
  # @return [Fixnum]
@@ -83621,6 +83679,7 @@ module Google
83621
83679
  # Update properties of this object
83622
83680
  def update!(**args)
83623
83681
  @duration_ms = args[:duration_ms] if args.key?(:duration_ms)
83682
+ @loop_count = args[:loop_count] if args.key?(:loop_count)
83624
83683
  @num_frames = args[:num_frames] if args.key?(:num_frames)
83625
83684
  end
83626
83685
  end
@@ -89793,7 +89852,7 @@ module Google
89793
89852
  end
89794
89853
 
89795
89854
  # NOTE: When adding a new field to be propagated to Raffia check if
89796
- # NsrPatternSignalSpec needs to be updated. Next ID: 50
89855
+ # NsrPatternSignalSpec needs to be updated. Next ID: 51
89797
89856
  class QualityNsrNsrData
89798
89857
  include Google::Apis::Core::Hashable
89799
89858
 
@@ -89922,6 +89981,11 @@ module Google
89922
89981
  # @return [Float]
89923
89982
  attr_accessor :nsr
89924
89983
 
89984
+ # The epoch from which this NSR value is coming from.
89985
+ # Corresponds to the JSON property `nsrEpoch`
89986
+ # @return [String]
89987
+ attr_accessor :nsr_epoch
89988
+
89925
89989
  # This signal is used to unconditionally override NSR as a bid in Q*. Should
89926
89990
  # only be used in case of emergency (see go/nsr-override-bid). To have any
89927
89991
  # effect, the value should be present and greater than 0.001.
@@ -90081,6 +90145,7 @@ module Google
90081
90145
  @metadata = args[:metadata] if args.key?(:metadata)
90082
90146
  @new_nsr = args[:new_nsr] if args.key?(:new_nsr)
90083
90147
  @nsr = args[:nsr] if args.key?(:nsr)
90148
+ @nsr_epoch = args[:nsr_epoch] if args.key?(:nsr_epoch)
90084
90149
  @nsr_override_bid = args[:nsr_override_bid] if args.key?(:nsr_override_bid)
90085
90150
  @nsr_variance = args[:nsr_variance] if args.key?(:nsr_variance)
90086
90151
  @nsrdata_from_fallback_pattern_key = args[:nsrdata_from_fallback_pattern_key] if args.key?(:nsrdata_from_fallback_pattern_key)
@@ -90522,7 +90587,9 @@ module Google
90522
90587
  end
90523
90588
  end
90524
90589
 
90525
- # Snippet candidate related information and signal scores. Next ID: 11
90590
+ # Snippet candidate related information and signal scores. This message is used
90591
+ # for both snippet scoring and ranklab features recording. Next ID: 12 ==========
90592
+ # ======== Features populated in production =======================
90526
90593
  class QualityPreviewRanklabSnippet
90527
90594
  include Google::Apis::Core::Hashable
90528
90595
 
@@ -90536,7 +90603,7 @@ module Google
90536
90603
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetDocumentFeatures]
90537
90604
  attr_accessor :document_features
90538
90605
 
90539
- #
90606
+ # For experimental usage, not populated yet.
90540
90607
  # Corresponds to the JSON property `experimentalFeatures`
90541
90608
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetExperimentalFeatures]
90542
90609
  attr_accessor :experimental_features
@@ -90572,6 +90639,11 @@ module Google
90572
90639
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetQueryTermCoverageFeatures]
90573
90640
  attr_accessor :query_term_coverage_features
90574
90641
 
90642
+ # Radish related information.
90643
+ # Corresponds to the JSON property `radishFeatures`
90644
+ # @return [Google::Apis::ContentwarehouseV1::QualityPreviewSnippetRadishFeatures]
90645
+ attr_accessor :radish_features
90646
+
90575
90647
  # Information for chosen snippet. Next ID: 8
90576
90648
  # Corresponds to the JSON property `snippetInfo`
90577
90649
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewChosenSnippetInfo]
@@ -90592,6 +90664,7 @@ module Google
90592
90664
  @quality_features = args[:quality_features] if args.key?(:quality_features)
90593
90665
  @query_features = args[:query_features] if args.key?(:query_features)
90594
90666
  @query_term_coverage_features = args[:query_term_coverage_features] if args.key?(:query_term_coverage_features)
90667
+ @radish_features = args[:radish_features] if args.key?(:radish_features)
90595
90668
  @snippet_info = args[:snippet_info] if args.key?(:snippet_info)
90596
90669
  end
90597
90670
  end
@@ -92869,7 +92942,7 @@ module Google
92869
92942
  end
92870
92943
  end
92871
92944
 
92872
- # Next ID: 15
92945
+ # Next ID: 18
92873
92946
  class QualityShoppingShoppingAttachmentPBlock
92874
92947
  include Google::Apis::Core::Hashable
92875
92948
 
@@ -93046,7 +93119,7 @@ module Google
93046
93119
  # @return [String]
93047
93120
  attr_accessor :outlink_domain_relationship
93048
93121
 
93049
- # Next ID: 15
93122
+ # Next ID: 18
93050
93123
  # Corresponds to the JSON property `pblock`
93051
93124
  # @return [Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachmentPBlock]
93052
93125
  attr_accessor :pblock
@@ -93066,6 +93139,12 @@ module Google
93066
93139
  # @return [Array<Google::Apis::ContentwarehouseV1::QualityRankembedMustangMustangRankEmbedInfo>]
93067
93140
  attr_accessor :relevance_embedding
93068
93141
 
93142
+ # Matched/Inferred weak product identity - set only if the
93143
+ # global_product_cluster_id is missing
93144
+ # Corresponds to the JSON property `weakGlobalProductClusterId`
93145
+ # @return [Fixnum]
93146
+ attr_accessor :weak_global_product_cluster_id
93147
+
93069
93148
  def initialize(**args)
93070
93149
  update!(**args)
93071
93150
  end
@@ -93086,6 +93165,7 @@ module Google
93086
93165
  @product_cluster_mid = args[:product_cluster_mid] if args.key?(:product_cluster_mid)
93087
93166
  @product_popularity = args[:product_popularity] if args.key?(:product_popularity)
93088
93167
  @relevance_embedding = args[:relevance_embedding] if args.key?(:relevance_embedding)
93168
+ @weak_global_product_cluster_id = args[:weak_global_product_cluster_id] if args.key?(:weak_global_product_cluster_id)
93089
93169
  end
93090
93170
  end
93091
93171
 
@@ -93678,6 +93758,68 @@ module Google
93678
93758
  end
93679
93759
  end
93680
93760
 
93761
+ # A bolded range in printed snippet lines.
93762
+ class QualitySnippetsTruncationSnippetBoldedRange
93763
+ include Google::Apis::Core::Hashable
93764
+
93765
+ # Bolded range [begin, end)
93766
+ # Corresponds to the JSON property `begin`
93767
+ # @return [Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRangePosition]
93768
+ attr_accessor :begin
93769
+
93770
+ #
93771
+ # Corresponds to the JSON property `end`
93772
+ # @return [Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRangePosition]
93773
+ attr_accessor :end
93774
+
93775
+ # Only populated for debugging.
93776
+ # Corresponds to the JSON property `text`
93777
+ # @return [String]
93778
+ attr_accessor :text
93779
+
93780
+ #
93781
+ # Corresponds to the JSON property `type`
93782
+ # @return [String]
93783
+ attr_accessor :type
93784
+
93785
+ def initialize(**args)
93786
+ update!(**args)
93787
+ end
93788
+
93789
+ # Update properties of this object
93790
+ def update!(**args)
93791
+ @begin = args[:begin] if args.key?(:begin)
93792
+ @end = args[:end] if args.key?(:end)
93793
+ @text = args[:text] if args.key?(:text)
93794
+ @type = args[:type] if args.key?(:type)
93795
+ end
93796
+ end
93797
+
93798
+ #
93799
+ class QualitySnippetsTruncationSnippetBoldedRangePosition
93800
+ include Google::Apis::Core::Hashable
93801
+
93802
+ #
93803
+ # Corresponds to the JSON property `byteOffset`
93804
+ # @return [Fixnum]
93805
+ attr_accessor :byte_offset
93806
+
93807
+ #
93808
+ # Corresponds to the JSON property `index`
93809
+ # @return [Fixnum]
93810
+ attr_accessor :index
93811
+
93812
+ def initialize(**args)
93813
+ update!(**args)
93814
+ end
93815
+
93816
+ # Update properties of this object
93817
+ def update!(**args)
93818
+ @byte_offset = args[:byte_offset] if args.key?(:byte_offset)
93819
+ @index = args[:index] if args.key?(:index)
93820
+ end
93821
+ end
93822
+
93681
93823
  #
93682
93824
  class QualityTimebasedLastSignificantUpdate
93683
93825
  include Google::Apis::Core::Hashable
@@ -94665,7 +94807,7 @@ module Google
94665
94807
  end
94666
94808
 
94667
94809
  # This structure holds data for application information for rich snippets Next
94668
- # ID: 52
94810
+ # ID: 53
94669
94811
  class RepositoryAnnotationsRdfaRdfaRichSnippetsApplication
94670
94812
  include Google::Apis::Core::Hashable
94671
94813
 
@@ -94787,6 +94929,11 @@ module Google
94787
94929
  # @return [Google::Apis::ContentwarehouseV1::QualityCalypsoAppsUniversalAuLiveOpsDetailInfo]
94788
94930
  attr_accessor :live_op_details
94789
94931
 
94932
+ #
94933
+ # Corresponds to the JSON property `localizedTrustedGenome`
94934
+ # @return [Google::Apis::ContentwarehouseV1::RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationLocalizedTrustedGenome]
94935
+ attr_accessor :localized_trusted_genome
94936
+
94790
94937
  # Market Android or itunes
94791
94938
  # Corresponds to the JSON property `marketplace`
94792
94939
  # @return [String]
@@ -94967,6 +95114,7 @@ module Google
94967
95114
  @lang_locale = args[:lang_locale] if args.key?(:lang_locale)
94968
95115
  @last_updated = args[:last_updated] if args.key?(:last_updated)
94969
95116
  @live_op_details = args[:live_op_details] if args.key?(:live_op_details)
95117
+ @localized_trusted_genome = args[:localized_trusted_genome] if args.key?(:localized_trusted_genome)
94970
95118
  @marketplace = args[:marketplace] if args.key?(:marketplace)
94971
95119
  @name = args[:name] if args.key?(:name)
94972
95120
  @num_downloads = args[:num_downloads] if args.key?(:num_downloads)
@@ -95050,6 +95198,34 @@ module Google
95050
95198
  end
95051
95199
  end
95052
95200
 
95201
+ #
95202
+ class RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationLocalizedTrustedGenome
95203
+ include Google::Apis::Core::Hashable
95204
+
95205
+ # The chosen language
95206
+ # Corresponds to the JSON property `language`
95207
+ # @return [String]
95208
+ attr_accessor :language
95209
+
95210
+ # ------------------------------------------------------------------------------
95211
+ # Proto message containing the trusted genome entities that belong to an app.
95212
+ # Document type: ANDROID_APP See go/gd-server-design for more info. ## Next tag:
95213
+ # 4
95214
+ # Corresponds to the JSON property `localizedTg`
95215
+ # @return [Google::Apis::ContentwarehouseV1::VendingConsumerProtoTrustedGenomeAnnotation]
95216
+ attr_accessor :localized_tg
95217
+
95218
+ def initialize(**args)
95219
+ update!(**args)
95220
+ end
95221
+
95222
+ # Update properties of this object
95223
+ def update!(**args)
95224
+ @language = args[:language] if args.key?(:language)
95225
+ @localized_tg = args[:localized_tg] if args.key?(:localized_tg)
95226
+ end
95227
+ end
95228
+
95053
95229
  #
95054
95230
  class RepositoryAnnotationsRdfaRdfaRichSnippetsApplicationRank
95055
95231
  include Google::Apis::Core::Hashable
@@ -96135,13 +96311,6 @@ module Google
96135
96311
  # @return [Float]
96136
96312
  attr_accessor :nb_score
96137
96313
 
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
96314
  # DEPRECATED: this field is no longer set. As of early June 2018 it is
96146
96315
  # referenced in hundreds of test files and is difficult to remove from the code
96147
96316
  # base.
@@ -96188,7 +96357,6 @@ module Google
96188
96357
  @is_reference_page = args[:is_reference_page] if args.key?(:is_reference_page)
96189
96358
  @local_entity_location_confidence = args[:local_entity_location_confidence] if args.key?(:local_entity_location_confidence)
96190
96359
  @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
96360
  @news_topicality_score = args[:news_topicality_score] if args.key?(:news_topicality_score)
96193
96361
  @normalized_topicality = args[:normalized_topicality] if args.key?(:normalized_topicality)
96194
96362
  @reference_page_scores = args[:reference_page_scores] if args.key?(:reference_page_scores)
@@ -106943,7 +107111,7 @@ module Google
106943
107111
  # classes in google3/security/credentials/public/principal.h google3/java/com/
106944
107112
  # google/security/credentials/Principal.java google3/security/credentials/go/
106945
107113
  # principal.go unless direct proto access is essential. If you update this
106946
- # protocol buffer, please update the wrapper classes as well.
107114
+ # protocol buffer, please update the wrapper classes as well. LINT.IfChange
106947
107115
  class SecurityCredentialsPrincipalProto
106948
107116
  include Google::Apis::Core::Hashable
106949
107117
 
@@ -107068,15 +107236,13 @@ module Google
107068
107236
  attr_accessor :postini_user
107069
107237
 
107070
107238
  # 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).
107239
+ # Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
107073
107240
  # Corresponds to the JSON property `rbacRole`
107074
107241
  # @return [Google::Apis::ContentwarehouseV1::SecurityCredentialsRbacRoleProto]
107075
107242
  attr_accessor :rbac_role
107076
107243
 
107077
107244
  # 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).
107245
+ # Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
107080
107246
  # Corresponds to the JSON property `rbacSubject`
107081
107247
  # @return [Google::Apis::ContentwarehouseV1::SecurityCredentialsRbacSubjectProto]
107082
107248
  attr_accessor :rbac_subject
@@ -107178,8 +107344,7 @@ module Google
107178
107344
  end
107179
107345
 
107180
107346
  # 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).
107347
+ # Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
107183
107348
  class SecurityCredentialsRbacRoleProto
107184
107349
  include Google::Apis::Core::Hashable
107185
107350
 
@@ -107198,8 +107363,10 @@ module Google
107198
107363
  # @return [String]
107199
107364
  attr_accessor :rbac_namespace
107200
107365
 
107201
- # Format: "RbacNamespaceName.RbacRoleName(/field=value)*", e.g., "hr.v1.Reader",
107202
- # "hr.v1.Reader/language=EN_US/country=USA/room=NYC-9th-11A201".
107366
+ # Format: "role/z?" - "role" is the Sphinx globally unique name of the Sphinx
107367
+ # role that provisions the RBAC role. - "/z?" suffix indicates which Zanzibar
107368
+ # environment stores the role membership data ("/zd": dev, "/zs": staging, "/zp":
107369
+ # prod, "/zt": local test instance). Example: "mysystem_myrole/zp"
107203
107370
  # Corresponds to the JSON property `rbacRoleName`
107204
107371
  # @return [String]
107205
107372
  attr_accessor :rbac_role_name
@@ -107218,8 +107385,7 @@ module Google
107218
107385
  end
107219
107386
 
107220
107387
  # 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).
107388
+ # Sphinx Provisioning Service for RBAC provisionable (go/sphinx-rbacz).
107223
107389
  class SecurityCredentialsRbacSubjectProto
107224
107390
  include Google::Apis::Core::Hashable
107225
107391
 
@@ -108412,10 +108578,15 @@ module Google
108412
108578
  end
108413
108579
  end
108414
108580
 
108415
- # Next ID: 12
108581
+ # Next ID: 13
108416
108582
  class SnippetExtraInfoSnippetCandidateInfo
108417
108583
  include Google::Apis::Core::Hashable
108418
108584
 
108585
+ # Bolded ranges in the printed snippet lines.
108586
+ # Corresponds to the JSON property `boldedRanges`
108587
+ # @return [Array<Google::Apis::ContentwarehouseV1::QualitySnippetsTruncationSnippetBoldedRange>]
108588
+ attr_accessor :bolded_ranges
108589
+
108419
108590
  # Candidate identifier number, unique among all snippet candidates under each
108420
108591
  # document in each request. What does this number mean: - Muppet candidates:
108421
108592
  # This equals to the candidate's rank by Muppet snippets scorer. - Superroot
@@ -108471,6 +108642,7 @@ module Google
108471
108642
 
108472
108643
  # Update properties of this object
108473
108644
  def update!(**args)
108645
+ @bolded_ranges = args[:bolded_ranges] if args.key?(:bolded_ranges)
108474
108646
  @id = args[:id] if args.key?(:id)
108475
108647
  @is_muppet_selected_snippet = args[:is_muppet_selected_snippet] if args.key?(:is_muppet_selected_snippet)
108476
108648
  @is_snippet_brain_bolding_triggered = args[:is_snippet_brain_bolding_triggered] if args.key?(:is_snippet_brain_bolding_triggered)
@@ -108497,7 +108669,9 @@ module Google
108497
108669
  # @return [Float]
108498
108670
  attr_accessor :brain_score
108499
108671
 
108500
- # Snippet candidate related information and signal scores. Next ID: 11
108672
+ # Snippet candidate related information and signal scores. This message is used
108673
+ # for both snippet scoring and ranklab features recording. Next ID: 12 ==========
108674
+ # ======== Features populated in production =======================
108501
108675
  # Corresponds to the JSON property `features`
108502
108676
  # @return [Google::Apis::ContentwarehouseV1::QualityPreviewRanklabSnippet]
108503
108677
  attr_accessor :features
@@ -108995,7 +109169,7 @@ module Google
108995
109169
  # classes in google3/security/credentials/public/principal.h google3/java/com/
108996
109170
  # google/security/credentials/Principal.java google3/security/credentials/go/
108997
109171
  # principal.go unless direct proto access is essential. If you update this
108998
- # protocol buffer, please update the wrapper classes as well.
109172
+ # protocol buffer, please update the wrapper classes as well. LINT.IfChange
108999
109173
  # Corresponds to the JSON property `user`
109000
109174
  # @return [Google::Apis::ContentwarehouseV1::SecurityCredentialsPrincipalProto]
109001
109175
  attr_accessor :user
@@ -109149,6 +109323,30 @@ module Google
109149
109323
  end
109150
109324
  end
109151
109325
 
109326
+ # The ContactEditContext message is a wrapper around the generic
109327
+ # ContactMutationContext data to represent when and where a contact create was
109328
+ # performed.
109329
+ class SocialGraphApiProtoContactCreateContext
109330
+ include Google::Apis::Core::Hashable
109331
+
109332
+ # This message is the generic mutation message which will encapsulate the fields
109333
+ # which are shared between the create, update, and delete actions, including
109334
+ # source of change, timestamp, and metadata messages passed in from the source
109335
+ # for any source specific data (such as phone name/model from FSA).
109336
+ # Corresponds to the JSON property `mutationContext`
109337
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoContactMutationContext]
109338
+ attr_accessor :mutation_context
109339
+
109340
+ def initialize(**args)
109341
+ update!(**args)
109342
+ end
109343
+
109344
+ # Update properties of this object
109345
+ def update!(**args)
109346
+ @mutation_context = args[:mutation_context] if args.key?(:mutation_context)
109347
+ end
109348
+ end
109349
+
109152
109350
  # The ContactDeletionContext message is a wrapper around the generic
109153
109351
  # ContactMutationContext data, and will include any needed delete specific data.
109154
109352
  # NOTE: Before using this message please review go/people-api-contact-deletion-
@@ -109174,6 +109372,30 @@ module Google
109174
109372
  end
109175
109373
  end
109176
109374
 
109375
+ # The ContactEditContext message is a wrapper around the generic
109376
+ # ContactMutationContext data to represent when and where a contact edit was
109377
+ # performed.
109378
+ class SocialGraphApiProtoContactEditContext
109379
+ include Google::Apis::Core::Hashable
109380
+
109381
+ # This message is the generic mutation message which will encapsulate the fields
109382
+ # which are shared between the create, update, and delete actions, including
109383
+ # source of change, timestamp, and metadata messages passed in from the source
109384
+ # for any source specific data (such as phone name/model from FSA).
109385
+ # Corresponds to the JSON property `mutationContext`
109386
+ # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoContactMutationContext]
109387
+ attr_accessor :mutation_context
109388
+
109389
+ def initialize(**args)
109390
+ update!(**args)
109391
+ end
109392
+
109393
+ # Update properties of this object
109394
+ def update!(**args)
109395
+ @mutation_context = args[:mutation_context] if args.key?(:mutation_context)
109396
+ end
109397
+ end
109398
+
109177
109399
  # This message is the generic mutation message which will encapsulate the fields
109178
109400
  # which are shared between the create, update, and delete actions, including
109179
109401
  # source of change, timestamp, and metadata messages passed in from the source
@@ -109616,7 +109838,12 @@ module Google
109616
109838
  # to parse the full name of a user into structured parts and operate on those
109617
109839
  # parts. For more information on how names are parsed, see the NameOccurrence
109618
109840
  # proto definition: http://google3/quality/peoplesearch/namedetector/detector/
109619
- # proto/name_occurrence.proto?l=50&rcl=334484707 Next ID: 7
109841
+ # proto/name_occurrence.proto?l=50&rcl=334484707 In general, when parsing
109842
+ # display names the following rules will apply to *all* specs: - Hyphenated
109843
+ # names are broken down: "Angelina Jollie-Pit" is pre-processed as "Angelina
109844
+ # Jollie Pitt"; - Prefixes are ignored: "Prof. Albus Dumbledore" is pre-
109845
+ # processed as "Albus Dumbledore"; - Auxiliaries are ignored: "Luís de Camões"
109846
+ # is pre-processed as "Luís Camões". Next ID: 8
109620
109847
  # Corresponds to the JSON property `parsedDisplayNameSpec`
109621
109848
  # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPartialNameOptionsParsedDisplayNameSpec]
109622
109849
  attr_accessor :parsed_display_name_spec
@@ -109699,25 +109926,31 @@ module Google
109699
109926
  # to parse the full name of a user into structured parts and operate on those
109700
109927
  # parts. For more information on how names are parsed, see the NameOccurrence
109701
109928
  # proto definition: http://google3/quality/peoplesearch/namedetector/detector/
109702
- # proto/name_occurrence.proto?l=50&rcl=334484707 Next ID: 7
109929
+ # proto/name_occurrence.proto?l=50&rcl=334484707 In general, when parsing
109930
+ # display names the following rules will apply to *all* specs: - Hyphenated
109931
+ # names are broken down: "Angelina Jollie-Pit" is pre-processed as "Angelina
109932
+ # Jollie Pitt"; - Prefixes are ignored: "Prof. Albus Dumbledore" is pre-
109933
+ # processed as "Albus Dumbledore"; - Auxiliaries are ignored: "Luís de Camões"
109934
+ # is pre-processed as "Luís Camões". Next ID: 8
109703
109935
  class SocialGraphApiProtoPartialNameOptionsParsedDisplayNameSpec
109704
109936
  include Google::Apis::Core::Hashable
109705
109937
 
109706
109938
  # 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.".
109939
+ # Bohr" yields "N. H. D. B.". Other special cases are treated as follows:
109711
109940
  # Corresponds to the JSON property `allInitialsFromParsedName`
109712
109941
  # @return [Boolean]
109713
109942
  attr_accessor :all_initials_from_parsed_name
109714
109943
  alias_method :all_initials_from_parsed_name?, :all_initials_from_parsed_name
109715
109944
 
109945
+ # Show the initial of the very first name and the first last name, e.g. "Hugo
109946
+ # Daniel Hernandez Garcia" yields "H. Hernandez".
109947
+ # Corresponds to the JSON property `firstInitialAndFirstLastName`
109948
+ # @return [Boolean]
109949
+ attr_accessor :first_initial_and_first_last_name
109950
+ alias_method :first_initial_and_first_last_name?, :first_initial_and_first_last_name
109951
+
109716
109952
  # 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".
109953
+ # Maria Silva" yields "A. Silva".
109721
109954
  # Corresponds to the JSON property `firstInitialAndVeryLastName`
109722
109955
  # @return [Boolean]
109723
109956
  attr_accessor :first_initial_and_very_last_name
@@ -109737,18 +109970,13 @@ module Google
109737
109970
  attr_accessor :truncation_indicator
109738
109971
 
109739
109972
  # 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.".
109973
+ # Silva" yields "Ana M. S.".
109744
109974
  # Corresponds to the JSON property `veryFirstNameAndAllInitials`
109745
109975
  # @return [Boolean]
109746
109976
  attr_accessor :very_first_name_and_all_initials
109747
109977
  alias_method :very_first_name_and_all_initials?, :very_first_name_and_all_initials
109748
109978
 
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";
109979
+ # Show the very first name only, e.g. "Ana Maria Silva" yields "Ana".
109752
109980
  # Corresponds to the JSON property `veryFirstNameOnly`
109753
109981
  # @return [Boolean]
109754
109982
  attr_accessor :very_first_name_only
@@ -109761,6 +109989,7 @@ module Google
109761
109989
  # Update properties of this object
109762
109990
  def update!(**args)
109763
109991
  @all_initials_from_parsed_name = args[:all_initials_from_parsed_name] if args.key?(:all_initials_from_parsed_name)
109992
+ @first_initial_and_first_last_name = args[:first_initial_and_first_last_name] if args.key?(:first_initial_and_first_last_name)
109764
109993
  @first_initial_and_very_last_name = args[:first_initial_and_very_last_name] if args.key?(:first_initial_and_very_last_name)
109765
109994
  @knowledge_graph_name_shortening = args[:knowledge_graph_name_shortening] if args.key?(:knowledge_graph_name_shortening)
109766
109995
  @truncation_indicator = args[:truncation_indicator] if args.key?(:truncation_indicator)
@@ -111229,7 +111458,7 @@ module Google
111229
111458
  # classes in google3/security/credentials/public/principal.h google3/java/com/
111230
111459
  # google/security/credentials/Principal.java google3/security/credentials/go/
111231
111460
  # principal.go unless direct proto access is essential. If you update this
111232
- # protocol buffer, please update the wrapper classes as well.
111461
+ # protocol buffer, please update the wrapper classes as well. LINT.IfChange
111233
111462
  # Corresponds to the JSON property `moderator`
111234
111463
  # @return [Google::Apis::ContentwarehouseV1::SecurityCredentialsPrincipalProto]
111235
111464
  attr_accessor :moderator
@@ -111731,17 +111960,13 @@ module Google
111731
111960
  include Google::Apis::Core::Hashable
111732
111961
 
111733
111962
  # 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@.
111963
+ # strictly larger/later than availability_start_time, if both are set.
111737
111964
  # Corresponds to the JSON property `availabilityEndTimestamp`
111738
111965
  # @return [String]
111739
111966
  attr_accessor :availability_end_timestamp
111740
111967
 
111741
111968
  # Timestamp before which data with this policy cannot be used. This value must
111742
111969
  # 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
111970
  # Corresponds to the JSON property `availabilityStartTimestamp`
111746
111971
  # @return [String]
111747
111972
  attr_accessor :availability_start_timestamp
@@ -117101,7 +117326,7 @@ module Google
117101
117326
  # Intended to be simpler to work with than the ExportedStanza it's derived from
117102
117327
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
117103
117328
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
117104
- # 75
117329
+ # 76
117105
117330
  # Corresponds to the JSON property `miniStanza`
117106
117331
  # @return [Google::Apis::ContentwarehouseV1::YoutubeCommentsClusteringMiniStanza]
117107
117332
  attr_accessor :mini_stanza
@@ -120052,7 +120277,7 @@ module Google
120052
120277
 
120053
120278
  # Message to contain scoring / debugging information. If you want to add
120054
120279
  # information which is not directly used in the final VideoAnchor data, it
120055
- # should be put here. Next ID: 25
120280
+ # should be put here. Next ID: 27
120056
120281
  # Corresponds to the JSON property `scoreInfo`
120057
120282
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchVideoAnchorScoreInfo]
120058
120283
  attr_accessor :score_info
@@ -120146,7 +120371,7 @@ module Google
120146
120371
 
120147
120372
  # Message to contain scoring / debugging information. If you want to add
120148
120373
  # information which is not directly used in the final VideoAnchor data, it
120149
- # should be put here. Next ID: 25
120374
+ # should be put here. Next ID: 27
120150
120375
  class VideoContentSearchVideoAnchorScoreInfo
120151
120376
  include Google::Apis::Core::Hashable
120152
120377
 
@@ -120160,6 +120385,11 @@ module Google
120160
120385
  # @return [Google::Apis::ContentwarehouseV1::Proto2BridgeMessageSet]
120161
120386
  attr_accessor :attachments
120162
120387
 
120388
+ # The path to the particular babel checkpoint
120389
+ # Corresponds to the JSON property `babelCheckpointPath`
120390
+ # @return [String]
120391
+ attr_accessor :babel_checkpoint_path
120392
+
120163
120393
  # Features and debug info for individual caption entity video anchors.
120164
120394
  # Corresponds to the JSON property `captionEntityAnchorFeatures`
120165
120395
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchCaptionEntityAnchorFeatures]
@@ -120236,6 +120466,13 @@ module Google
120236
120466
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchMultimodalTopicTrainingFeatures]
120237
120467
  attr_accessor :multimodal_topic_training_features
120238
120468
 
120469
+ # Normalized babel embedding of anchor.label(). If the label has more than one
120470
+ # sentences, the embedding will be the averaged normalized embedding of each
120471
+ # sentence.
120472
+ # Corresponds to the JSON property `normalizedBabelEmbedding`
120473
+ # @return [Array<Float>]
120474
+ attr_accessor :normalized_babel_embedding
120475
+
120239
120476
  # Keep feature values which are useful to filter titles, labels.
120240
120477
  # Corresponds to the JSON property `ocrAnchorFeature`
120241
120478
  # @return [Google::Apis::ContentwarehouseV1::VideoContentSearchOnScreenTextFeature]
@@ -120289,6 +120526,7 @@ module Google
120289
120526
  def update!(**args)
120290
120527
  @anchor_common_feature_set = args[:anchor_common_feature_set] if args.key?(:anchor_common_feature_set)
120291
120528
  @attachments = args[:attachments] if args.key?(:attachments)
120529
+ @babel_checkpoint_path = args[:babel_checkpoint_path] if args.key?(:babel_checkpoint_path)
120292
120530
  @caption_entity_anchor_features = args[:caption_entity_anchor_features] if args.key?(:caption_entity_anchor_features)
120293
120531
  @caption_span_anchor_features = args[:caption_span_anchor_features] if args.key?(:caption_span_anchor_features)
120294
120532
  @description_anchor_features = args[:description_anchor_features] if args.key?(:description_anchor_features)
@@ -120303,6 +120541,7 @@ module Google
120303
120541
  @list_training_data_anchor_features = args[:list_training_data_anchor_features] if args.key?(:list_training_data_anchor_features)
120304
120542
  @multimodal_topic_features = args[:multimodal_topic_features] if args.key?(:multimodal_topic_features)
120305
120543
  @multimodal_topic_training_features = args[:multimodal_topic_training_features] if args.key?(:multimodal_topic_training_features)
120544
+ @normalized_babel_embedding = args[:normalized_babel_embedding] if args.key?(:normalized_babel_embedding)
120306
120545
  @ocr_anchor_feature = args[:ocr_anchor_feature] if args.key?(:ocr_anchor_feature)
120307
120546
  @ocr_description_training_data_anchor_features = args[:ocr_description_training_data_anchor_features] if args.key?(:ocr_description_training_data_anchor_features)
120308
120547
  @opinions_anchor_features = args[:opinions_anchor_features] if args.key?(:opinions_anchor_features)
@@ -125915,7 +126154,7 @@ module Google
125915
126154
  # Intended to be simpler to work with than the ExportedStanza it's derived from
125916
126155
  # See documentation: https://g3doc.corp.google.com/company/teams/youtube/
125917
126156
  # community_intelligence/eng_resources/data_sources.md#ministanza Next available:
125918
- # 75
126157
+ # 76
125919
126158
  class YoutubeCommentsClusteringMiniStanza
125920
126159
  include Google::Apis::Core::Hashable
125921
126160
 
@@ -126215,7 +126454,7 @@ module Google
126215
126454
  # classes in google3/security/credentials/public/principal.h google3/java/com/
126216
126455
  # google/security/credentials/Principal.java google3/security/credentials/go/
126217
126456
  # principal.go unless direct proto access is essential. If you update this
126218
- # protocol buffer, please update the wrapper classes as well.
126457
+ # protocol buffer, please update the wrapper classes as well. LINT.IfChange
126219
126458
  # Corresponds to the JSON property `subject`
126220
126459
  # @return [Google::Apis::ContentwarehouseV1::SecurityCredentialsPrincipalProto]
126221
126460
  attr_accessor :subject
@@ -126275,6 +126514,11 @@ module Google
126275
126514
  # @return [Float]
126276
126515
  attr_accessor :word_entropy
126277
126516
 
126517
+ # The youtube channel id of the comment author.
126518
+ # Corresponds to the JSON property `ytAuthorChannelId`
126519
+ # @return [String]
126520
+ attr_accessor :yt_author_channel_id
126521
+
126278
126522
  # Existing quality corpus scores.
126279
126523
  # Corresponds to the JSON property `ytCommentQualityScore`
126280
126524
  # @return [Float]
@@ -126362,6 +126606,7 @@ module Google
126362
126606
  @video_id = args[:video_id] if args.key?(:video_id)
126363
126607
  @video_timestamps = args[:video_timestamps] if args.key?(:video_timestamps)
126364
126608
  @word_entropy = args[:word_entropy] if args.key?(:word_entropy)
126609
+ @yt_author_channel_id = args[:yt_author_channel_id] if args.key?(:yt_author_channel_id)
126365
126610
  @yt_comment_quality_score = args[:yt_comment_quality_score] if args.key?(:yt_comment_quality_score)
126366
126611
  @yt_comment_quality_score2 = args[:yt_comment_quality_score2] if args.key?(:yt_comment_quality_score2)
126367
126612
  @yt_comment_quality_score3 = args[:yt_comment_quality_score3] if args.key?(:yt_comment_quality_score3)