google-apis-contentwarehouse_v1 0.12.0 → 0.14.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.
@@ -13322,6 +13322,14 @@ module Google
|
|
13322
13322
|
attr_accessor :fallback_to_tethered_device_app_capabilities
|
13323
13323
|
alias_method :fallback_to_tethered_device_app_capabilities?, :fallback_to_tethered_device_app_capabilities
|
13324
13324
|
|
13325
|
+
# For chat_message.SEND targeting, when either the primary or secondary (
|
13326
|
+
# tethered) device is capable of handling the chat_message.SEND action, prefer
|
13327
|
+
# targeting it to the primary device.
|
13328
|
+
# Corresponds to the JSON property `preferTargetingPrimaryDevice`
|
13329
|
+
# @return [Boolean]
|
13330
|
+
attr_accessor :prefer_targeting_primary_device
|
13331
|
+
alias_method :prefer_targeting_primary_device?, :prefer_targeting_primary_device
|
13332
|
+
|
13325
13333
|
# Should only be checked if nonempty.
|
13326
13334
|
# Corresponds to the JSON property `supportedRecipientTypes`
|
13327
13335
|
# @return [Array<String>]
|
@@ -13334,6 +13342,7 @@ module Google
|
|
13334
13342
|
# Update properties of this object
|
13335
13343
|
def update!(**args)
|
13336
13344
|
@fallback_to_tethered_device_app_capabilities = args[:fallback_to_tethered_device_app_capabilities] if args.key?(:fallback_to_tethered_device_app_capabilities)
|
13345
|
+
@prefer_targeting_primary_device = args[:prefer_targeting_primary_device] if args.key?(:prefer_targeting_primary_device)
|
13337
13346
|
@supported_recipient_types = args[:supported_recipient_types] if args.key?(:supported_recipient_types)
|
13338
13347
|
end
|
13339
13348
|
end
|
@@ -17966,6 +17975,11 @@ module Google
|
|
17966
17975
|
# @return [String]
|
17967
17976
|
attr_accessor :android_package_name
|
17968
17977
|
|
17978
|
+
# Unique cast app id that identifies a Cast app of the provider.
|
17979
|
+
# Corresponds to the JSON property `castAppId`
|
17980
|
+
# @return [String]
|
17981
|
+
attr_accessor :cast_app_id
|
17982
|
+
|
17969
17983
|
# Version code of the application.
|
17970
17984
|
# Corresponds to the JSON property `versionCode`
|
17971
17985
|
# @return [Fixnum]
|
@@ -17979,6 +17993,7 @@ module Google
|
|
17979
17993
|
def update!(**args)
|
17980
17994
|
@activity_class_name = args[:activity_class_name] if args.key?(:activity_class_name)
|
17981
17995
|
@android_package_name = args[:android_package_name] if args.key?(:android_package_name)
|
17996
|
+
@cast_app_id = args[:cast_app_id] if args.key?(:cast_app_id)
|
17982
17997
|
@version_code = args[:version_code] if args.key?(:version_code)
|
17983
17998
|
end
|
17984
17999
|
end
|
@@ -18026,7 +18041,7 @@ module Google
|
|
18026
18041
|
attr_accessor :kg_provider_key
|
18027
18042
|
|
18028
18043
|
# The MID of the provider. A MID is a unique identifier issued by Knowledge
|
18029
|
-
# Graph for all entities contained in
|
18044
|
+
# Graph for all entities contained in its graph.
|
18030
18045
|
# Corresponds to the JSON property `mid`
|
18031
18046
|
# @return [String]
|
18032
18047
|
attr_accessor :mid
|
@@ -18108,7 +18123,7 @@ module Google
|
|
18108
18123
|
attr_accessor :media_provider_id
|
18109
18124
|
|
18110
18125
|
# The MID of the provider. A MID is a unique identifier issued by Knowledge
|
18111
|
-
# Graph for all entities contained in
|
18126
|
+
# Graph for all entities contained in its graph.
|
18112
18127
|
# Corresponds to the JSON property `mid`
|
18113
18128
|
# @return [String]
|
18114
18129
|
attr_accessor :mid
|
@@ -18388,6 +18403,19 @@ module Google
|
|
18388
18403
|
end
|
18389
18404
|
end
|
18390
18405
|
|
18406
|
+
#
|
18407
|
+
class AssistantDevicesPlatformProtoCoreDismissAssistantCapability
|
18408
|
+
include Google::Apis::Core::Hashable
|
18409
|
+
|
18410
|
+
def initialize(**args)
|
18411
|
+
update!(**args)
|
18412
|
+
end
|
18413
|
+
|
18414
|
+
# Update properties of this object
|
18415
|
+
def update!(**args)
|
18416
|
+
end
|
18417
|
+
end
|
18418
|
+
|
18391
18419
|
# This capability represents device action needed capability. Next ID: 10
|
18392
18420
|
class AssistantDevicesPlatformProtoDeviceActionCapability
|
18393
18421
|
include Google::Apis::Core::Hashable
|
@@ -18616,6 +18644,7 @@ module Google
|
|
18616
18644
|
|
18617
18645
|
# This message will specify supports for fields in |assistant.embedded.v1.
|
18618
18646
|
# DeviceOp|, for a device model package. See go/easi-client-op2 for more info.
|
18647
|
+
# Next ID: 16
|
18619
18648
|
# Corresponds to the JSON property `supportedDeviceOps`
|
18620
18649
|
# @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoSupportedDeviceOps]
|
18621
18650
|
attr_accessor :supported_device_ops
|
@@ -18925,6 +18954,19 @@ module Google
|
|
18925
18954
|
end
|
18926
18955
|
end
|
18927
18956
|
|
18957
|
+
#
|
18958
|
+
class AssistantDevicesPlatformProtoMediaShowControlsCapability
|
18959
|
+
include Google::Apis::Core::Hashable
|
18960
|
+
|
18961
|
+
def initialize(**args)
|
18962
|
+
update!(**args)
|
18963
|
+
end
|
18964
|
+
|
18965
|
+
# Update properties of this object
|
18966
|
+
def update!(**args)
|
18967
|
+
end
|
18968
|
+
end
|
18969
|
+
|
18928
18970
|
#
|
18929
18971
|
class AssistantDevicesPlatformProtoMediaStopCapability
|
18930
18972
|
include Google::Apis::Core::Hashable
|
@@ -18978,6 +19020,19 @@ module Google
|
|
18978
19020
|
end
|
18979
19021
|
end
|
18980
19022
|
|
19023
|
+
#
|
19024
|
+
class AssistantDevicesPlatformProtoProviderFulfillCapability
|
19025
|
+
include Google::Apis::Core::Hashable
|
19026
|
+
|
19027
|
+
def initialize(**args)
|
19028
|
+
update!(**args)
|
19029
|
+
end
|
19030
|
+
|
19031
|
+
# Update properties of this object
|
19032
|
+
def update!(**args)
|
19033
|
+
end
|
19034
|
+
end
|
19035
|
+
|
18981
19036
|
#
|
18982
19037
|
class AssistantDevicesPlatformProtoProviderOpenCapability
|
18983
19038
|
include Google::Apis::Core::Hashable
|
@@ -19072,6 +19127,7 @@ module Google
|
|
19072
19127
|
|
19073
19128
|
# This message will specify supports for fields in |assistant.embedded.v1.
|
19074
19129
|
# DeviceOp|, for a device model package. See go/easi-client-op2 for more info.
|
19130
|
+
# Next ID: 16
|
19075
19131
|
class AssistantDevicesPlatformProtoSupportedDeviceOps
|
19076
19132
|
include Google::Apis::Core::Hashable
|
19077
19133
|
|
@@ -19089,6 +19145,13 @@ module Google
|
|
19089
19145
|
# @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoClientReconnectCapability]
|
19090
19146
|
attr_accessor :client_reconnect
|
19091
19147
|
|
19148
|
+
# [core_dismiss_assistant] specifies the support for core.DISMISS_ASSISTANT
|
19149
|
+
# client_op and the corresponding core_dismiss_assistant field in assistant.
|
19150
|
+
# embedded.v1.DeviceOp.
|
19151
|
+
# Corresponds to the JSON property `coreDismissAssistant`
|
19152
|
+
# @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoCoreDismissAssistantCapability]
|
19153
|
+
attr_accessor :core_dismiss_assistant
|
19154
|
+
|
19092
19155
|
# |device_modify_setting| specifies the support for device.MODIFY_SETTING
|
19093
19156
|
# client_op, and the corresponding device_modify_setting field in assistant.
|
19094
19157
|
# embedded.v1.DeviceOp.
|
@@ -19128,11 +19191,22 @@ module Google
|
|
19128
19191
|
# @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaResumeCapability]
|
19129
19192
|
attr_accessor :media_resume
|
19130
19193
|
|
19194
|
+
#
|
19195
|
+
# Corresponds to the JSON property `mediaShowControls`
|
19196
|
+
# @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaShowControlsCapability]
|
19197
|
+
attr_accessor :media_show_controls
|
19198
|
+
|
19131
19199
|
#
|
19132
19200
|
# Corresponds to the JSON property `mediaStop`
|
19133
19201
|
# @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaStopCapability]
|
19134
19202
|
attr_accessor :media_stop
|
19135
19203
|
|
19204
|
+
# |provider_fulfill| specifies the support for provider.FULFILL client_op, and
|
19205
|
+
# the corresponding provider_fulfill field in assistant.embedded.v1.DeviceOp.
|
19206
|
+
# Corresponds to the JSON property `providerFulfill`
|
19207
|
+
# @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoProviderFulfillCapability]
|
19208
|
+
attr_accessor :provider_fulfill
|
19209
|
+
|
19136
19210
|
# |provider_open| specifies the support for provider.OPEN client_op, and the
|
19137
19211
|
# corresponding provider_open field in assistant.embedded.v1.DeviceOp.
|
19138
19212
|
# Corresponds to the JSON property `providerOpen`
|
@@ -19154,6 +19228,7 @@ module Google
|
|
19154
19228
|
def update!(**args)
|
19155
19229
|
@call_call = args[:call_call] if args.key?(:call_call)
|
19156
19230
|
@client_reconnect = args[:client_reconnect] if args.key?(:client_reconnect)
|
19231
|
+
@core_dismiss_assistant = args[:core_dismiss_assistant] if args.key?(:core_dismiss_assistant)
|
19157
19232
|
@device_modify_setting = args[:device_modify_setting] if args.key?(:device_modify_setting)
|
19158
19233
|
@device_take_photo = args[:device_take_photo] if args.key?(:device_take_photo)
|
19159
19234
|
@media_next = args[:media_next] if args.key?(:media_next)
|
@@ -19161,7 +19236,9 @@ module Google
|
|
19161
19236
|
@media_play_media = args[:media_play_media] if args.key?(:media_play_media)
|
19162
19237
|
@media_previous = args[:media_previous] if args.key?(:media_previous)
|
19163
19238
|
@media_resume = args[:media_resume] if args.key?(:media_resume)
|
19239
|
+
@media_show_controls = args[:media_show_controls] if args.key?(:media_show_controls)
|
19164
19240
|
@media_stop = args[:media_stop] if args.key?(:media_stop)
|
19241
|
+
@provider_fulfill = args[:provider_fulfill] if args.key?(:provider_fulfill)
|
19165
19242
|
@provider_open = args[:provider_open] if args.key?(:provider_open)
|
19166
19243
|
@send_chat_message = args[:send_chat_message] if args.key?(:send_chat_message)
|
19167
19244
|
end
|
@@ -19521,7 +19598,7 @@ module Google
|
|
19521
19598
|
end
|
19522
19599
|
end
|
19523
19600
|
|
19524
|
-
# Next ID:
|
19601
|
+
# Next ID: 6
|
19525
19602
|
class AssistantGroundingRankerGroundingProviderFeatures
|
19526
19603
|
include Google::Apis::Core::Hashable
|
19527
19604
|
|
@@ -19535,12 +19612,17 @@ module Google
|
|
19535
19612
|
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceGroundingProviderFeatures]
|
19536
19613
|
attr_accessor :device_grounding_provider_features
|
19537
19614
|
|
19538
|
-
# Features to be passed from Media GP to HGR. Next ID:
|
19615
|
+
# Features to be passed from Media GP to HGR. Next ID: 14
|
19539
19616
|
# Corresponds to the JSON property `mediaGroundingProviderFeatures`
|
19540
19617
|
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
|
19541
19618
|
attr_accessor :media_grounding_provider_features
|
19542
19619
|
|
19543
|
-
# Features to be extracted from
|
19620
|
+
# Features to be extracted from Podcast GP for ranking in HGR. Next ID: 2
|
19621
|
+
# Corresponds to the JSON property `podcastGroundingProviderFeatures`
|
19622
|
+
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerPodcastGroundingProviderFeatures]
|
19623
|
+
attr_accessor :podcast_grounding_provider_features
|
19624
|
+
|
19625
|
+
# Features to be extracted from Provider GP for ranking in HGR. Next ID: 5
|
19544
19626
|
# Corresponds to the JSON property `providerGroundingProviderFeatures`
|
19545
19627
|
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerProviderGroundingProviderFeatures]
|
19546
19628
|
attr_accessor :provider_grounding_provider_features
|
@@ -19554,6 +19636,7 @@ module Google
|
|
19554
19636
|
@contact_grounding_provider_features = args[:contact_grounding_provider_features] if args.key?(:contact_grounding_provider_features)
|
19555
19637
|
@device_grounding_provider_features = args[:device_grounding_provider_features] if args.key?(:device_grounding_provider_features)
|
19556
19638
|
@media_grounding_provider_features = args[:media_grounding_provider_features] if args.key?(:media_grounding_provider_features)
|
19639
|
+
@podcast_grounding_provider_features = args[:podcast_grounding_provider_features] if args.key?(:podcast_grounding_provider_features)
|
19557
19640
|
@provider_grounding_provider_features = args[:provider_grounding_provider_features] if args.key?(:provider_grounding_provider_features)
|
19558
19641
|
end
|
19559
19642
|
end
|
@@ -19677,7 +19760,7 @@ module Google
|
|
19677
19760
|
end
|
19678
19761
|
end
|
19679
19762
|
|
19680
|
-
# Features to be passed from Media GP to HGR. Next ID:
|
19763
|
+
# Features to be passed from Media GP to HGR. Next ID: 14
|
19681
19764
|
class AssistantGroundingRankerMediaGroundingProviderFeatures
|
19682
19765
|
include Google::Apis::Core::Hashable
|
19683
19766
|
|
@@ -19686,6 +19769,11 @@ module Google
|
|
19686
19769
|
# @return [String]
|
19687
19770
|
attr_accessor :album_release_type
|
19688
19771
|
|
19772
|
+
# Temporary ambiguity classifier signal.
|
19773
|
+
# Corresponds to the JSON property `ambiguityClassifier`
|
19774
|
+
# @return [String]
|
19775
|
+
attr_accessor :ambiguity_classifier
|
19776
|
+
|
19689
19777
|
# True if the argument's type was explicitly mentioned in the query.
|
19690
19778
|
# Corresponds to the JSON property `hasTypeSemanticEdge`
|
19691
19779
|
# @return [Boolean]
|
@@ -19702,6 +19790,12 @@ module Google
|
|
19702
19790
|
attr_accessor :is_cast_video
|
19703
19791
|
alias_method :is_cast_video?, :is_cast_video
|
19704
19792
|
|
19793
|
+
# True if the media search query is included in the entity name and artists.
|
19794
|
+
# Corresponds to the JSON property `isMediaSearchQuerySubsetOfEntityNameAndArtist`
|
19795
|
+
# @return [Boolean]
|
19796
|
+
attr_accessor :is_media_search_query_subset_of_entity_name_and_artist
|
19797
|
+
alias_method :is_media_search_query_subset_of_entity_name_and_artist?, :is_media_search_query_subset_of_entity_name_and_artist
|
19798
|
+
|
19705
19799
|
# True if the media deeplink has tag SEED_RADIO.
|
19706
19800
|
# Corresponds to the JSON property `isSeedRadio`
|
19707
19801
|
# @return [Boolean]
|
@@ -19714,6 +19808,15 @@ module Google
|
|
19714
19808
|
attr_accessor :is_seed_radio_request
|
19715
19809
|
alias_method :is_seed_radio_request?, :is_seed_radio_request
|
19716
19810
|
|
19811
|
+
# MediaAquaAction::media_content_type from interpretation. It can be used for
|
19812
|
+
# cross-content type ranking, for example, if a candidate's content type does
|
19813
|
+
# not match this content type from interpretation, this candidate will be
|
19814
|
+
# slightly demoted. Also, we might avoid fetching some signals when the content
|
19815
|
+
# type is generic music, since some content types do not need ranking.
|
19816
|
+
# Corresponds to the JSON property `mediaContentType`
|
19817
|
+
# @return [String]
|
19818
|
+
attr_accessor :media_content_type
|
19819
|
+
|
19717
19820
|
# MSC(Media Short Click) rate. MSC rate = total number of MSC events / total
|
19718
19821
|
# number of MSC candidates The event is considered as MSC candidate if the event
|
19719
19822
|
# is a media seeking query(excluding follow-ons) and the media result is
|
@@ -19726,17 +19829,30 @@ module Google
|
|
19726
19829
|
# @return [Float]
|
19727
19830
|
attr_accessor :msc_rate
|
19728
19831
|
|
19729
|
-
# Scubed predicted SAI value (pSAI) for music populated
|
19730
|
-
# that incorporates a BERT model signal as well as other
|
19832
|
+
# Scubed predicted SAI value (pSAI - SCUBED_MUSIC_ACTIONS) for music populated
|
19833
|
+
# by a regression model that incorporates a BERT model signal as well as other
|
19834
|
+
# Scubed signals.
|
19731
19835
|
# Corresponds to the JSON property `scubedPSaiMusic`
|
19732
19836
|
# @return [Float]
|
19733
19837
|
attr_accessor :scubed_p_sai_music
|
19734
19838
|
|
19839
|
+
# Scubed predicted SAI value (pSAI - SCUBED_TVM_ACTIONS) for music populated by
|
19840
|
+
# a regression model that incorporates a BERT model signal as well as other
|
19841
|
+
# Scubed signals.
|
19842
|
+
# Corresponds to the JSON property `scubedPSaiTvm`
|
19843
|
+
# @return [Float]
|
19844
|
+
attr_accessor :scubed_p_sai_tvm
|
19845
|
+
|
19735
19846
|
# Type of the media item.
|
19736
19847
|
# Corresponds to the JSON property `type`
|
19737
19848
|
# @return [String]
|
19738
19849
|
attr_accessor :type
|
19739
19850
|
|
19851
|
+
#
|
19852
|
+
# Corresponds to the JSON property `youtubeConfidenceScore`
|
19853
|
+
# @return [Float]
|
19854
|
+
attr_accessor :youtube_confidence_score
|
19855
|
+
|
19740
19856
|
def initialize(**args)
|
19741
19857
|
update!(**args)
|
19742
19858
|
end
|
@@ -19744,20 +19860,52 @@ module Google
|
|
19744
19860
|
# Update properties of this object
|
19745
19861
|
def update!(**args)
|
19746
19862
|
@album_release_type = args[:album_release_type] if args.key?(:album_release_type)
|
19863
|
+
@ambiguity_classifier = args[:ambiguity_classifier] if args.key?(:ambiguity_classifier)
|
19747
19864
|
@has_type_semantic_edge = args[:has_type_semantic_edge] if args.key?(:has_type_semantic_edge)
|
19748
19865
|
@is_cast_video = args[:is_cast_video] if args.key?(:is_cast_video)
|
19866
|
+
@is_media_search_query_subset_of_entity_name_and_artist = args[:is_media_search_query_subset_of_entity_name_and_artist] if args.key?(:is_media_search_query_subset_of_entity_name_and_artist)
|
19749
19867
|
@is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
|
19750
19868
|
@is_seed_radio_request = args[:is_seed_radio_request] if args.key?(:is_seed_radio_request)
|
19869
|
+
@media_content_type = args[:media_content_type] if args.key?(:media_content_type)
|
19751
19870
|
@msc_rate = args[:msc_rate] if args.key?(:msc_rate)
|
19752
19871
|
@scubed_p_sai_music = args[:scubed_p_sai_music] if args.key?(:scubed_p_sai_music)
|
19872
|
+
@scubed_p_sai_tvm = args[:scubed_p_sai_tvm] if args.key?(:scubed_p_sai_tvm)
|
19753
19873
|
@type = args[:type] if args.key?(:type)
|
19874
|
+
@youtube_confidence_score = args[:youtube_confidence_score] if args.key?(:youtube_confidence_score)
|
19754
19875
|
end
|
19755
19876
|
end
|
19756
19877
|
|
19757
|
-
# Features to be extracted from
|
19878
|
+
# Features to be extracted from Podcast GP for ranking in HGR. Next ID: 2
|
19879
|
+
class AssistantGroundingRankerPodcastGroundingProviderFeatures
|
19880
|
+
include Google::Apis::Core::Hashable
|
19881
|
+
|
19882
|
+
# Whether the podcast is exclusive to a provider a not.
|
19883
|
+
# Corresponds to the JSON property `isExclusive`
|
19884
|
+
# @return [Boolean]
|
19885
|
+
attr_accessor :is_exclusive
|
19886
|
+
alias_method :is_exclusive?, :is_exclusive
|
19887
|
+
|
19888
|
+
def initialize(**args)
|
19889
|
+
update!(**args)
|
19890
|
+
end
|
19891
|
+
|
19892
|
+
# Update properties of this object
|
19893
|
+
def update!(**args)
|
19894
|
+
@is_exclusive = args[:is_exclusive] if args.key?(:is_exclusive)
|
19895
|
+
end
|
19896
|
+
end
|
19897
|
+
|
19898
|
+
# Features to be extracted from Provider GP for ranking in HGR. Next ID: 5
|
19758
19899
|
class AssistantGroundingRankerProviderGroundingProviderFeatures
|
19759
19900
|
include Google::Apis::Core::Hashable
|
19760
19901
|
|
19902
|
+
# Indicates that fulfillment on this provider will happen within the provider
|
19903
|
+
# app.
|
19904
|
+
# Corresponds to the JSON property `isInAppProvider`
|
19905
|
+
# @return [Boolean]
|
19906
|
+
attr_accessor :is_in_app_provider
|
19907
|
+
alias_method :is_in_app_provider?, :is_in_app_provider
|
19908
|
+
|
19761
19909
|
# Cluster IDs for the provider. This field is repeated because some providers
|
19762
19910
|
# can be associated with multiple clusters. PRR specific feature.
|
19763
19911
|
# Corresponds to the JSON property `providerClusterId`
|
@@ -19797,6 +19945,7 @@ module Google
|
|
19797
19945
|
|
19798
19946
|
# Update properties of this object
|
19799
19947
|
def update!(**args)
|
19948
|
+
@is_in_app_provider = args[:is_in_app_provider] if args.key?(:is_in_app_provider)
|
19800
19949
|
@provider_cluster_id = args[:provider_cluster_id] if args.key?(:provider_cluster_id)
|
19801
19950
|
@provider_id = args[:provider_id] if args.key?(:provider_id)
|
19802
19951
|
@psl_score = args[:psl_score] if args.key?(:psl_score)
|
@@ -20071,7 +20220,7 @@ module Google
|
|
20071
20220
|
# Contact owner's gaia id from cs/symbol::symbol:quality_qrewrite.
|
20072
20221
|
# PersonalContactData.shared_contact_owner_gaia_id. Only populated for is_shared
|
20073
20222
|
# = true and non sign-out mode and user is not the owner of the contact(shared
|
20074
|
-
# contact from other user).
|
20223
|
+
# contact from other user). This field is not being logged in P2.
|
20075
20224
|
# Corresponds to the JSON property `gaiaId`
|
20076
20225
|
# @return [Fixnum]
|
20077
20226
|
attr_accessor :gaia_id
|
@@ -20085,7 +20234,8 @@ module Google
|
|
20085
20234
|
|
20086
20235
|
# If this is a shared contact. This is true in 2 cases: - User is calling their
|
20087
20236
|
# own contacts that have been marked as shared. - User is calling shared
|
20088
|
-
# contacts from some other user's contact list.
|
20237
|
+
# contacts from some other user's contact list. This field is not being logged
|
20238
|
+
# in P2.
|
20089
20239
|
# Corresponds to the JSON property `isShared`
|
20090
20240
|
# @return [Boolean]
|
20091
20241
|
attr_accessor :is_shared
|
@@ -21418,7 +21568,7 @@ module Google
|
|
21418
21568
|
|
21419
21569
|
# Signals to be used by the Prefulfillment Ranker. Derived from the
|
21420
21570
|
# ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
|
21421
|
-
# Next ID:
|
21571
|
+
# Next ID: 48
|
21422
21572
|
class AssistantPrefulfillmentRankerPrefulfillmentSignals
|
21423
21573
|
include Google::Apis::Core::Hashable
|
21424
21574
|
|
@@ -21470,7 +21620,7 @@ module Google
|
|
21470
21620
|
# @return [Float]
|
21471
21621
|
attr_accessor :groundability_score
|
21472
21622
|
|
21473
|
-
# Next ID:
|
21623
|
+
# Next ID: 6
|
21474
21624
|
# Corresponds to the JSON property `groundingProviderFeatures`
|
21475
21625
|
# @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerGroundingProviderFeatures]
|
21476
21626
|
attr_accessor :grounding_provider_features
|
@@ -21646,6 +21796,14 @@ module Google
|
|
21646
21796
|
# @return [String]
|
21647
21797
|
attr_accessor :search_dispatch
|
21648
21798
|
|
21799
|
+
# sub_intent_type differentiates between intents that share the top level intent
|
21800
|
+
# name. For eg: for TV_FALLBACK_SEARCH_INTENT, the top level intent name must be
|
21801
|
+
# "Find_media" and the media_object argument within it must be of type "
|
21802
|
+
# Media_unspecified".
|
21803
|
+
# Corresponds to the JSON property `subIntentType`
|
21804
|
+
# @return [String]
|
21805
|
+
attr_accessor :sub_intent_type
|
21806
|
+
|
21649
21807
|
# Average of per-word confidence for top speech recognition hypothesis. The
|
21650
21808
|
# value is from RecognizerHypothesisLog: http://google3/logs/proto/speech/
|
21651
21809
|
# service/recognizer_log.proto?l=848&rcl=281400256
|
@@ -21702,6 +21860,7 @@ module Google
|
|
21702
21860
|
@predicted_intent_confidence = args[:predicted_intent_confidence] if args.key?(:predicted_intent_confidence)
|
21703
21861
|
@ranker_name = args[:ranker_name] if args.key?(:ranker_name)
|
21704
21862
|
@search_dispatch = args[:search_dispatch] if args.key?(:search_dispatch)
|
21863
|
+
@sub_intent_type = args[:sub_intent_type] if args.key?(:sub_intent_type)
|
21705
21864
|
@top_hypothesis_confidence = args[:top_hypothesis_confidence] if args.key?(:top_hypothesis_confidence)
|
21706
21865
|
@vertical_confidence_score = args[:vertical_confidence_score] if args.key?(:vertical_confidence_score)
|
21707
21866
|
end
|
@@ -24001,6 +24160,11 @@ module Google
|
|
24001
24160
|
# @return [Google::Apis::ContentwarehouseV1::ClassifierPornQueryClassifierOutput]
|
24002
24161
|
attr_accessor :medical
|
24003
24162
|
|
24163
|
+
# Generic output for one vertical.
|
24164
|
+
# Corresponds to the JSON property `minor`
|
24165
|
+
# @return [Google::Apis::ContentwarehouseV1::ClassifierPornQueryClassifierOutput]
|
24166
|
+
attr_accessor :minor
|
24167
|
+
|
24004
24168
|
# Generic output for one vertical.
|
24005
24169
|
# Corresponds to the JSON property `offensive`
|
24006
24170
|
# @return [Google::Apis::ContentwarehouseV1::ClassifierPornQueryClassifierOutput]
|
@@ -24035,6 +24199,7 @@ module Google
|
|
24035
24199
|
@csai = args[:csai] if args.key?(:csai)
|
24036
24200
|
@fringe = args[:fringe] if args.key?(:fringe)
|
24037
24201
|
@medical = args[:medical] if args.key?(:medical)
|
24202
|
+
@minor = args[:minor] if args.key?(:minor)
|
24038
24203
|
@offensive = args[:offensive] if args.key?(:offensive)
|
24039
24204
|
@porn = args[:porn] if args.key?(:porn)
|
24040
24205
|
@spoof = args[:spoof] if args.key?(:spoof)
|
@@ -24253,6 +24418,461 @@ module Google
|
|
24253
24418
|
end
|
24254
24419
|
end
|
24255
24420
|
|
24421
|
+
# The identity to configure a CloudSQL instance provisioned via SLM Terraform.
|
24422
|
+
class CloudAiPlatformTenantresourceCloudSqlInstanceConfig
|
24423
|
+
include Google::Apis::Core::Hashable
|
24424
|
+
|
24425
|
+
# Output only. The CloudSQL instance connection name.
|
24426
|
+
# Corresponds to the JSON property `cloudSqlInstanceConnectionName`
|
24427
|
+
# @return [String]
|
24428
|
+
attr_accessor :cloud_sql_instance_connection_name
|
24429
|
+
|
24430
|
+
# Input/Output [Optional]. The CloudSQL instance name within SLM instance. If
|
24431
|
+
# not set, a random UUIC will be generated as instance name.
|
24432
|
+
# Corresponds to the JSON property `cloudSqlInstanceName`
|
24433
|
+
# @return [String]
|
24434
|
+
attr_accessor :cloud_sql_instance_name
|
24435
|
+
|
24436
|
+
# Input [Optional]. The KMS key name or the KMS grant name used for CMEK
|
24437
|
+
# encryption. Only set this field when provisioning new CloudSQL instances. For
|
24438
|
+
# existing CloudSQL instances, this field will be ignored because CMEK re-
|
24439
|
+
# encryption is not supported.
|
24440
|
+
# Corresponds to the JSON property `kmsKeyReference`
|
24441
|
+
# @return [String]
|
24442
|
+
attr_accessor :kms_key_reference
|
24443
|
+
|
24444
|
+
# Input [Optional]. MDB roles for corp access to CloudSQL instance.
|
24445
|
+
# Corresponds to the JSON property `mdbRolesForCorpAccess`
|
24446
|
+
# @return [Array<String>]
|
24447
|
+
attr_accessor :mdb_roles_for_corp_access
|
24448
|
+
|
24449
|
+
# Output only. The SLM instance's full resource name.
|
24450
|
+
# Corresponds to the JSON property `slmInstanceName`
|
24451
|
+
# @return [String]
|
24452
|
+
attr_accessor :slm_instance_name
|
24453
|
+
|
24454
|
+
# Input [Required]. The SLM instance template to provision CloudSQL.
|
24455
|
+
# Corresponds to the JSON property `slmInstanceTemplate`
|
24456
|
+
# @return [String]
|
24457
|
+
attr_accessor :slm_instance_template
|
24458
|
+
|
24459
|
+
# Input [Required]. The SLM instance type to provision CloudSQL.
|
24460
|
+
# Corresponds to the JSON property `slmInstanceType`
|
24461
|
+
# @return [String]
|
24462
|
+
attr_accessor :slm_instance_type
|
24463
|
+
|
24464
|
+
def initialize(**args)
|
24465
|
+
update!(**args)
|
24466
|
+
end
|
24467
|
+
|
24468
|
+
# Update properties of this object
|
24469
|
+
def update!(**args)
|
24470
|
+
@cloud_sql_instance_connection_name = args[:cloud_sql_instance_connection_name] if args.key?(:cloud_sql_instance_connection_name)
|
24471
|
+
@cloud_sql_instance_name = args[:cloud_sql_instance_name] if args.key?(:cloud_sql_instance_name)
|
24472
|
+
@kms_key_reference = args[:kms_key_reference] if args.key?(:kms_key_reference)
|
24473
|
+
@mdb_roles_for_corp_access = args[:mdb_roles_for_corp_access] if args.key?(:mdb_roles_for_corp_access)
|
24474
|
+
@slm_instance_name = args[:slm_instance_name] if args.key?(:slm_instance_name)
|
24475
|
+
@slm_instance_template = args[:slm_instance_template] if args.key?(:slm_instance_template)
|
24476
|
+
@slm_instance_type = args[:slm_instance_type] if args.key?(:slm_instance_type)
|
24477
|
+
end
|
24478
|
+
end
|
24479
|
+
|
24480
|
+
# The identity to configure a GCS bucket.
|
24481
|
+
class CloudAiPlatformTenantresourceGcsBucketConfig
|
24482
|
+
include Google::Apis::Core::Hashable
|
24483
|
+
|
24484
|
+
#
|
24485
|
+
# Corresponds to the JSON property `admins`
|
24486
|
+
# @return [Array<String>]
|
24487
|
+
attr_accessor :admins
|
24488
|
+
|
24489
|
+
# Input/Output [Optional]. The name of a GCS bucket with max length of 63 chars.
|
24490
|
+
# If not set, a random UUID will be generated as bucket name.
|
24491
|
+
# Corresponds to the JSON property `bucketName`
|
24492
|
+
# @return [String]
|
24493
|
+
attr_accessor :bucket_name
|
24494
|
+
|
24495
|
+
# Input/Output [Optional]. Only needed for per-entity tenant GCP resources.
|
24496
|
+
# During Deprovision API, the on-demand deletion will only cover the tenant GCP
|
24497
|
+
# resources with the specified entity name.
|
24498
|
+
# Corresponds to the JSON property `entityName`
|
24499
|
+
# @return [String]
|
24500
|
+
attr_accessor :entity_name
|
24501
|
+
|
24502
|
+
# Input/Output [Optional]. The KMS key name or the KMS grant name used for CMEK
|
24503
|
+
# encryption. Only set this field when provisioning new GCS bucket. For existing
|
24504
|
+
# GCS bucket, this field will be ignored because CMEK re-encryption is not
|
24505
|
+
# supported.
|
24506
|
+
# Corresponds to the JSON property `kmsKeyReference`
|
24507
|
+
# @return [String]
|
24508
|
+
attr_accessor :kms_key_reference
|
24509
|
+
|
24510
|
+
# Input/Output [Optional]. Only needed when the content in bucket need to be
|
24511
|
+
# garbage collected within some amount of days.
|
24512
|
+
# Corresponds to the JSON property `ttlDays`
|
24513
|
+
# @return [Fixnum]
|
24514
|
+
attr_accessor :ttl_days
|
24515
|
+
|
24516
|
+
# Input/Output [Required]. IAM roles (viewer/admin) put on the bucket.
|
24517
|
+
# Corresponds to the JSON property `viewers`
|
24518
|
+
# @return [Array<String>]
|
24519
|
+
attr_accessor :viewers
|
24520
|
+
|
24521
|
+
def initialize(**args)
|
24522
|
+
update!(**args)
|
24523
|
+
end
|
24524
|
+
|
24525
|
+
# Update properties of this object
|
24526
|
+
def update!(**args)
|
24527
|
+
@admins = args[:admins] if args.key?(:admins)
|
24528
|
+
@bucket_name = args[:bucket_name] if args.key?(:bucket_name)
|
24529
|
+
@entity_name = args[:entity_name] if args.key?(:entity_name)
|
24530
|
+
@kms_key_reference = args[:kms_key_reference] if args.key?(:kms_key_reference)
|
24531
|
+
@ttl_days = args[:ttl_days] if args.key?(:ttl_days)
|
24532
|
+
@viewers = args[:viewers] if args.key?(:viewers)
|
24533
|
+
end
|
24534
|
+
end
|
24535
|
+
|
24536
|
+
# The dynamic IAM bindings to be granted after tenant projects are created.
|
24537
|
+
class CloudAiPlatformTenantresourceIamPolicyBinding
|
24538
|
+
include Google::Apis::Core::Hashable
|
24539
|
+
|
24540
|
+
# Input/Output [Required]. The member service accounts with the roles above.
|
24541
|
+
# Note: placeholders are same as the resource above.
|
24542
|
+
# Corresponds to the JSON property `members`
|
24543
|
+
# @return [Array<String>]
|
24544
|
+
attr_accessor :members
|
24545
|
+
|
24546
|
+
# Input/Output [Required]. The resource name that will be accessed by members,
|
24547
|
+
# which also depends on resource_type. Note: placeholders are supported in
|
24548
|
+
# resource names. For example, $`tpn` will be used when the tenant project
|
24549
|
+
# number is not ready.
|
24550
|
+
# Corresponds to the JSON property `resource`
|
24551
|
+
# @return [String]
|
24552
|
+
attr_accessor :resource
|
24553
|
+
|
24554
|
+
# Input/Output [Required]. Specifies the type of resource that will be accessed
|
24555
|
+
# by members.
|
24556
|
+
# Corresponds to the JSON property `resourceType`
|
24557
|
+
# @return [String]
|
24558
|
+
attr_accessor :resource_type
|
24559
|
+
|
24560
|
+
# Input/Output [Required]. The role for members below.
|
24561
|
+
# Corresponds to the JSON property `role`
|
24562
|
+
# @return [String]
|
24563
|
+
attr_accessor :role
|
24564
|
+
|
24565
|
+
def initialize(**args)
|
24566
|
+
update!(**args)
|
24567
|
+
end
|
24568
|
+
|
24569
|
+
# Update properties of this object
|
24570
|
+
def update!(**args)
|
24571
|
+
@members = args[:members] if args.key?(:members)
|
24572
|
+
@resource = args[:resource] if args.key?(:resource)
|
24573
|
+
@resource_type = args[:resource_type] if args.key?(:resource_type)
|
24574
|
+
@role = args[:role] if args.key?(:role)
|
24575
|
+
end
|
24576
|
+
end
|
24577
|
+
|
24578
|
+
# The configuration for a spanner database provisioning. Next ID: 8
|
24579
|
+
class CloudAiPlatformTenantresourceInfraSpannerConfig
|
24580
|
+
include Google::Apis::Core::Hashable
|
24581
|
+
|
24582
|
+
# The options to create a spanner database. KMS key access audit logging and AxT
|
24583
|
+
# logging will be associated with the given resource name, resource type and
|
24584
|
+
# service name. Please ensure to give right options to enable correct audit
|
24585
|
+
# logging and AxT logging.
|
24586
|
+
# Corresponds to the JSON property `createDatabaseOptions`
|
24587
|
+
# @return [Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions]
|
24588
|
+
attr_accessor :create_database_options
|
24589
|
+
|
24590
|
+
# Input [Optional]. The KMS key name or the KMS grant name used for CMEK
|
24591
|
+
# encryption. Only set this field when provisioning new Infra Spanner databases.
|
24592
|
+
# For existing Infra Spanner databases, this field will be ignored because CMEK
|
24593
|
+
# re-encryption is not supported. For example, projects//locations//keyRings//
|
24594
|
+
# cryptoKeys/
|
24595
|
+
# Corresponds to the JSON property `kmsKeyReference`
|
24596
|
+
# @return [String]
|
24597
|
+
attr_accessor :kms_key_reference
|
24598
|
+
|
24599
|
+
# Input [Required]. The file path to the spanner SDL bundle.
|
24600
|
+
# Corresponds to the JSON property `sdlBundlePath`
|
24601
|
+
# @return [String]
|
24602
|
+
attr_accessor :sdl_bundle_path
|
24603
|
+
|
24604
|
+
# Input [Optional]. The spanner borg service account for delegating the kms key
|
24605
|
+
# to. For example, spanner-infra-cmek-nonprod@system.gserviceaccount.com, for
|
24606
|
+
# the nonprod universe.
|
24607
|
+
# Corresponds to the JSON property `spannerBorgServiceAccount`
|
24608
|
+
# @return [String]
|
24609
|
+
attr_accessor :spanner_borg_service_account
|
24610
|
+
|
24611
|
+
#
|
24612
|
+
# Corresponds to the JSON property `spannerLocalNamePrefix`
|
24613
|
+
# @return [String]
|
24614
|
+
attr_accessor :spanner_local_name_prefix
|
24615
|
+
|
24616
|
+
#
|
24617
|
+
# Corresponds to the JSON property `spannerNamespace`
|
24618
|
+
# @return [String]
|
24619
|
+
attr_accessor :spanner_namespace
|
24620
|
+
|
24621
|
+
# Input [Required]. Every database in Spanner can be identified by the following
|
24622
|
+
# path name: /span//:
|
24623
|
+
# Corresponds to the JSON property `spannerUniverse`
|
24624
|
+
# @return [String]
|
24625
|
+
attr_accessor :spanner_universe
|
24626
|
+
|
24627
|
+
def initialize(**args)
|
24628
|
+
update!(**args)
|
24629
|
+
end
|
24630
|
+
|
24631
|
+
# Update properties of this object
|
24632
|
+
def update!(**args)
|
24633
|
+
@create_database_options = args[:create_database_options] if args.key?(:create_database_options)
|
24634
|
+
@kms_key_reference = args[:kms_key_reference] if args.key?(:kms_key_reference)
|
24635
|
+
@sdl_bundle_path = args[:sdl_bundle_path] if args.key?(:sdl_bundle_path)
|
24636
|
+
@spanner_borg_service_account = args[:spanner_borg_service_account] if args.key?(:spanner_borg_service_account)
|
24637
|
+
@spanner_local_name_prefix = args[:spanner_local_name_prefix] if args.key?(:spanner_local_name_prefix)
|
24638
|
+
@spanner_namespace = args[:spanner_namespace] if args.key?(:spanner_namespace)
|
24639
|
+
@spanner_universe = args[:spanner_universe] if args.key?(:spanner_universe)
|
24640
|
+
end
|
24641
|
+
end
|
24642
|
+
|
24643
|
+
# The options to create a spanner database. KMS key access audit logging and AxT
|
24644
|
+
# logging will be associated with the given resource name, resource type and
|
24645
|
+
# service name. Please ensure to give right options to enable correct audit
|
24646
|
+
# logging and AxT logging.
|
24647
|
+
class CloudAiPlatformTenantresourceInfraSpannerConfigCreateDatabaseOptions
|
24648
|
+
include Google::Apis::Core::Hashable
|
24649
|
+
|
24650
|
+
# The cloud resource name for the CMEK encryption. For example, projects//
|
24651
|
+
# locations/
|
24652
|
+
# Corresponds to the JSON property `cmekCloudResourceName`
|
24653
|
+
# @return [String]
|
24654
|
+
attr_accessor :cmek_cloud_resource_name
|
24655
|
+
|
24656
|
+
# The cloud resource type for the CMEK encryption. For example, contentwarehouse.
|
24657
|
+
# googleapis.com/Location
|
24658
|
+
# Corresponds to the JSON property `cmekCloudResourceType`
|
24659
|
+
# @return [String]
|
24660
|
+
attr_accessor :cmek_cloud_resource_type
|
24661
|
+
|
24662
|
+
# The service name for the CMEK encryption. For example, contentwarehouse.
|
24663
|
+
# googleapis.com
|
24664
|
+
# Corresponds to the JSON property `cmekServiceName`
|
24665
|
+
# @return [String]
|
24666
|
+
attr_accessor :cmek_service_name
|
24667
|
+
|
24668
|
+
def initialize(**args)
|
24669
|
+
update!(**args)
|
24670
|
+
end
|
24671
|
+
|
24672
|
+
# Update properties of this object
|
24673
|
+
def update!(**args)
|
24674
|
+
@cmek_cloud_resource_name = args[:cmek_cloud_resource_name] if args.key?(:cmek_cloud_resource_name)
|
24675
|
+
@cmek_cloud_resource_type = args[:cmek_cloud_resource_type] if args.key?(:cmek_cloud_resource_type)
|
24676
|
+
@cmek_service_name = args[:cmek_service_name] if args.key?(:cmek_service_name)
|
24677
|
+
end
|
24678
|
+
end
|
24679
|
+
|
24680
|
+
# The identity to configure a service account.
|
24681
|
+
class CloudAiPlatformTenantresourceServiceAccountIdentity
|
24682
|
+
include Google::Apis::Core::Hashable
|
24683
|
+
|
24684
|
+
# Output only. The service account email that has been created.
|
24685
|
+
# Corresponds to the JSON property `serviceAccountEmail`
|
24686
|
+
# @return [String]
|
24687
|
+
attr_accessor :service_account_email
|
24688
|
+
|
24689
|
+
# Input/Output [Optional]. The tag that configures the service account, as
|
24690
|
+
# defined in google3/configs/production/cdpush/acl-zanzibar-cloud-prod/
|
24691
|
+
# activation_grants/activation_grants.gcl. Note: The default P4 service account
|
24692
|
+
# has the empty tag.
|
24693
|
+
# Corresponds to the JSON property `tag`
|
24694
|
+
# @return [String]
|
24695
|
+
attr_accessor :tag
|
24696
|
+
|
24697
|
+
def initialize(**args)
|
24698
|
+
update!(**args)
|
24699
|
+
end
|
24700
|
+
|
24701
|
+
# Update properties of this object
|
24702
|
+
def update!(**args)
|
24703
|
+
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
24704
|
+
@tag = args[:tag] if args.key?(:tag)
|
24705
|
+
end
|
24706
|
+
end
|
24707
|
+
|
24708
|
+
# The identity to configure a tenant project.
|
24709
|
+
class CloudAiPlatformTenantresourceTenantProjectConfig
|
24710
|
+
include Google::Apis::Core::Hashable
|
24711
|
+
|
24712
|
+
# Describes the billing configuration for a new tenant project.
|
24713
|
+
# Corresponds to the JSON property `billingConfig`
|
24714
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleApiServiceconsumermanagementV1BillingConfig]
|
24715
|
+
attr_accessor :billing_config
|
24716
|
+
|
24717
|
+
# Input/Output [Required]. The folder that holds tenant projects and folder-
|
24718
|
+
# level permissions will be automatically granted to all tenant projects under
|
24719
|
+
# the folder. Note: the valid folder format is `folders/`folder_number``.
|
24720
|
+
# Corresponds to the JSON property `folder`
|
24721
|
+
# @return [String]
|
24722
|
+
attr_accessor :folder
|
24723
|
+
|
24724
|
+
# Input/Output [Required]. The policy bindings that are applied to the tenant
|
24725
|
+
# project during creation. At least one binding must have the role `roles/owner`
|
24726
|
+
# with either `user` or `group` type.
|
24727
|
+
# Corresponds to the JSON property `policyBindings`
|
24728
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::GoogleApiServiceconsumermanagementV1PolicyBinding>]
|
24729
|
+
attr_accessor :policy_bindings
|
24730
|
+
|
24731
|
+
# Input/Output [Required]. The API services that are enabled on the tenant
|
24732
|
+
# project during creation.
|
24733
|
+
# Corresponds to the JSON property `services`
|
24734
|
+
# @return [Array<String>]
|
24735
|
+
attr_accessor :services
|
24736
|
+
|
24737
|
+
def initialize(**args)
|
24738
|
+
update!(**args)
|
24739
|
+
end
|
24740
|
+
|
24741
|
+
# Update properties of this object
|
24742
|
+
def update!(**args)
|
24743
|
+
@billing_config = args[:billing_config] if args.key?(:billing_config)
|
24744
|
+
@folder = args[:folder] if args.key?(:folder)
|
24745
|
+
@policy_bindings = args[:policy_bindings] if args.key?(:policy_bindings)
|
24746
|
+
@services = args[:services] if args.key?(:services)
|
24747
|
+
end
|
24748
|
+
end
|
24749
|
+
|
24750
|
+
# The tenant project and tenant resources. Next ID: 10
|
24751
|
+
class CloudAiPlatformTenantresourceTenantProjectResource
|
24752
|
+
include Google::Apis::Core::Hashable
|
24753
|
+
|
24754
|
+
# The CloudSQL instances that are provisioned under the tenant project.
|
24755
|
+
# Corresponds to the JSON property `cloudSqlInstances`
|
24756
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceCloudSqlInstanceConfig>]
|
24757
|
+
attr_accessor :cloud_sql_instances
|
24758
|
+
|
24759
|
+
# The GCS buckets that are provisioned under the tenant project.
|
24760
|
+
# Corresponds to the JSON property `gcsBuckets`
|
24761
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceGcsBucketConfig>]
|
24762
|
+
attr_accessor :gcs_buckets
|
24763
|
+
|
24764
|
+
# The dynamic IAM bindings that are granted under the tenant project. Note: this
|
24765
|
+
# should only add new bindings to the project if they don't exist and the
|
24766
|
+
# existing bindings won't be affected.
|
24767
|
+
# Corresponds to the JSON property `iamPolicyBindings`
|
24768
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceIamPolicyBinding>]
|
24769
|
+
attr_accessor :iam_policy_bindings
|
24770
|
+
|
24771
|
+
# The Infra Spanner databases that are provisioned under the tenant project.
|
24772
|
+
# Note: this is an experimental feature.
|
24773
|
+
# Corresponds to the JSON property `infraSpannerConfigs`
|
24774
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceInfraSpannerConfig>]
|
24775
|
+
attr_accessor :infra_spanner_configs
|
24776
|
+
|
24777
|
+
# Input/Output [Required]. The tag that uniquely identifies a tenant project
|
24778
|
+
# within a tenancy unit. Note: for the same tenant project tag, all tenant
|
24779
|
+
# manager operations should be idempotent.
|
24780
|
+
# Corresponds to the JSON property `tag`
|
24781
|
+
# @return [String]
|
24782
|
+
attr_accessor :tag
|
24783
|
+
|
24784
|
+
# The identity to configure a tenant project.
|
24785
|
+
# Corresponds to the JSON property `tenantProjectConfig`
|
24786
|
+
# @return [Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceTenantProjectConfig]
|
24787
|
+
attr_accessor :tenant_project_config
|
24788
|
+
|
24789
|
+
# Output only. The tenant project ID that has been created.
|
24790
|
+
# Corresponds to the JSON property `tenantProjectId`
|
24791
|
+
# @return [String]
|
24792
|
+
attr_accessor :tenant_project_id
|
24793
|
+
|
24794
|
+
# Output only. The tenant project number that has been created.
|
24795
|
+
# Corresponds to the JSON property `tenantProjectNumber`
|
24796
|
+
# @return [Fixnum]
|
24797
|
+
attr_accessor :tenant_project_number
|
24798
|
+
|
24799
|
+
# The service account identities (or enabled API service's P4SA) that are
|
24800
|
+
# expclicitly created under the tenant project (before JIT provisioning during
|
24801
|
+
# enabled API services).
|
24802
|
+
# Corresponds to the JSON property `tenantServiceAccounts`
|
24803
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceTenantServiceAccountIdentity>]
|
24804
|
+
attr_accessor :tenant_service_accounts
|
24805
|
+
|
24806
|
+
def initialize(**args)
|
24807
|
+
update!(**args)
|
24808
|
+
end
|
24809
|
+
|
24810
|
+
# Update properties of this object
|
24811
|
+
def update!(**args)
|
24812
|
+
@cloud_sql_instances = args[:cloud_sql_instances] if args.key?(:cloud_sql_instances)
|
24813
|
+
@gcs_buckets = args[:gcs_buckets] if args.key?(:gcs_buckets)
|
24814
|
+
@iam_policy_bindings = args[:iam_policy_bindings] if args.key?(:iam_policy_bindings)
|
24815
|
+
@infra_spanner_configs = args[:infra_spanner_configs] if args.key?(:infra_spanner_configs)
|
24816
|
+
@tag = args[:tag] if args.key?(:tag)
|
24817
|
+
@tenant_project_config = args[:tenant_project_config] if args.key?(:tenant_project_config)
|
24818
|
+
@tenant_project_id = args[:tenant_project_id] if args.key?(:tenant_project_id)
|
24819
|
+
@tenant_project_number = args[:tenant_project_number] if args.key?(:tenant_project_number)
|
24820
|
+
@tenant_service_accounts = args[:tenant_service_accounts] if args.key?(:tenant_service_accounts)
|
24821
|
+
end
|
24822
|
+
end
|
24823
|
+
|
24824
|
+
# A collection of tenant resources.
|
24825
|
+
class CloudAiPlatformTenantresourceTenantResource
|
24826
|
+
include Google::Apis::Core::Hashable
|
24827
|
+
|
24828
|
+
# A list of P4 service accounts (go/p4sa) to provision or deprovision.
|
24829
|
+
# Corresponds to the JSON property `p4ServiceAccounts`
|
24830
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceServiceAccountIdentity>]
|
24831
|
+
attr_accessor :p4_service_accounts
|
24832
|
+
|
24833
|
+
# A list of tenant projects and tenant resources to provision or deprovision.
|
24834
|
+
# Corresponds to the JSON property `tenantProjectResources`
|
24835
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::CloudAiPlatformTenantresourceTenantProjectResource>]
|
24836
|
+
attr_accessor :tenant_project_resources
|
24837
|
+
|
24838
|
+
def initialize(**args)
|
24839
|
+
update!(**args)
|
24840
|
+
end
|
24841
|
+
|
24842
|
+
# Update properties of this object
|
24843
|
+
def update!(**args)
|
24844
|
+
@p4_service_accounts = args[:p4_service_accounts] if args.key?(:p4_service_accounts)
|
24845
|
+
@tenant_project_resources = args[:tenant_project_resources] if args.key?(:tenant_project_resources)
|
24846
|
+
end
|
24847
|
+
end
|
24848
|
+
|
24849
|
+
# The identity of service accounts that have been explicitly created under
|
24850
|
+
# tenant projects.
|
24851
|
+
class CloudAiPlatformTenantresourceTenantServiceAccountIdentity
|
24852
|
+
include Google::Apis::Core::Hashable
|
24853
|
+
|
24854
|
+
# Output only. The email address of the generated service account.
|
24855
|
+
# Corresponds to the JSON property `serviceAccountEmail`
|
24856
|
+
# @return [String]
|
24857
|
+
attr_accessor :service_account_email
|
24858
|
+
|
24859
|
+
# Input/Output [Required]. The service that the service account belongs to. (e.g.
|
24860
|
+
# cloudbuild.googleapis.com for GCB service accounts)
|
24861
|
+
# Corresponds to the JSON property `serviceName`
|
24862
|
+
# @return [String]
|
24863
|
+
attr_accessor :service_name
|
24864
|
+
|
24865
|
+
def initialize(**args)
|
24866
|
+
update!(**args)
|
24867
|
+
end
|
24868
|
+
|
24869
|
+
# Update properties of this object
|
24870
|
+
def update!(**args)
|
24871
|
+
@service_account_email = args[:service_account_email] if args.key?(:service_account_email)
|
24872
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
24873
|
+
end
|
24874
|
+
end
|
24875
|
+
|
24256
24876
|
# The basic message that contains a single decision output of go/deeptagger.
|
24257
24877
|
class CommerceDatastoreDeepTag
|
24258
24878
|
include Google::Apis::Core::Hashable
|
@@ -24585,7 +25205,7 @@ module Google
|
|
24585
25205
|
# MustangContentInfo` for protocols used during search and/or docinfo. Next
|
24586
25206
|
# available tag deprecated, use this (and look for commented out fields): blaze-
|
24587
25207
|
# bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
|
24588
|
-
# perdocdata.proto Next tag:
|
25208
|
+
# perdocdata.proto Next tag: 221
|
24589
25209
|
# Corresponds to the JSON property `perDocData`
|
24590
25210
|
# @return [Google::Apis::ContentwarehouseV1::PerDocData]
|
24591
25211
|
attr_accessor :per_doc_data
|
@@ -24949,7 +25569,7 @@ module Google
|
|
24949
25569
|
# MustangContentInfo` for protocols used during search and/or docinfo. Next
|
24950
25570
|
# available tag deprecated, use this (and look for commented out fields): blaze-
|
24951
25571
|
# bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
|
24952
|
-
# perdocdata.proto Next tag:
|
25572
|
+
# perdocdata.proto Next tag: 221
|
24953
25573
|
# Corresponds to the JSON property `perDocData`
|
24954
25574
|
# @return [Google::Apis::ContentwarehouseV1::PerDocData]
|
24955
25575
|
attr_accessor :per_doc_data
|
@@ -27419,6 +28039,43 @@ module Google
|
|
27419
28039
|
end
|
27420
28040
|
end
|
27421
28041
|
|
28042
|
+
# Protocol buffer for storing compressed feature.
|
28043
|
+
class DrishtiCompressedFeature
|
28044
|
+
include Google::Apis::Core::Hashable
|
28045
|
+
|
28046
|
+
#
|
28047
|
+
# Corresponds to the JSON property `featureName`
|
28048
|
+
# @return [String]
|
28049
|
+
attr_accessor :feature_name
|
28050
|
+
|
28051
|
+
# in_range_bitstream is the string produced by range coder, while
|
28052
|
+
# out_of_range_bitstream corresponds to the overflow stream, which is used
|
28053
|
+
# whenever a quantized value is out of range. See https://cs.corp.google.com/
|
28054
|
+
# piper///depot/google3/research/vision/piedpiper/brain/python/layers/
|
28055
|
+
# entropy_models.py?l=225&cl=234825412
|
28056
|
+
# Corresponds to the JSON property `inRangeBitstream`
|
28057
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
28058
|
+
# @return [String]
|
28059
|
+
attr_accessor :in_range_bitstream
|
28060
|
+
|
28061
|
+
#
|
28062
|
+
# Corresponds to the JSON property `outOfRangeBitstream`
|
28063
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
28064
|
+
# @return [String]
|
28065
|
+
attr_accessor :out_of_range_bitstream
|
28066
|
+
|
28067
|
+
def initialize(**args)
|
28068
|
+
update!(**args)
|
28069
|
+
end
|
28070
|
+
|
28071
|
+
# Update properties of this object
|
28072
|
+
def update!(**args)
|
28073
|
+
@feature_name = args[:feature_name] if args.key?(:feature_name)
|
28074
|
+
@in_range_bitstream = args[:in_range_bitstream] if args.key?(:in_range_bitstream)
|
28075
|
+
@out_of_range_bitstream = args[:out_of_range_bitstream] if args.key?(:out_of_range_bitstream)
|
28076
|
+
end
|
28077
|
+
end
|
28078
|
+
|
27422
28079
|
#
|
27423
28080
|
class DrishtiDenseFeatureData
|
27424
28081
|
include Google::Apis::Core::Hashable
|
@@ -27502,6 +28159,11 @@ module Google
|
|
27502
28159
|
class DrishtiFeatureSetDataFeatureSetElement
|
27503
28160
|
include Google::Apis::Core::Hashable
|
27504
28161
|
|
28162
|
+
# Protocol buffer for storing compressed feature.
|
28163
|
+
# Corresponds to the JSON property `compressed`
|
28164
|
+
# @return [Google::Apis::ContentwarehouseV1::DrishtiCompressedFeature]
|
28165
|
+
attr_accessor :compressed
|
28166
|
+
|
27505
28167
|
#
|
27506
28168
|
# Corresponds to the JSON property `dense`
|
27507
28169
|
# @return [Google::Apis::ContentwarehouseV1::DrishtiDenseFeatureData]
|
@@ -27543,6 +28205,7 @@ module Google
|
|
27543
28205
|
|
27544
28206
|
# Update properties of this object
|
27545
28207
|
def update!(**args)
|
28208
|
+
@compressed = args[:compressed] if args.key?(:compressed)
|
27546
28209
|
@dense = args[:dense] if args.key?(:dense)
|
27547
28210
|
@indexed = args[:indexed] if args.key?(:indexed)
|
27548
28211
|
@name = args[:name] if args.key?(:name)
|
@@ -34558,6 +35221,16 @@ module Google
|
|
34558
35221
|
class GeostoreInternalSegmentProto
|
34559
35222
|
include Google::Apis::Core::Hashable
|
34560
35223
|
|
35224
|
+
# RESERVED
|
35225
|
+
# Corresponds to the JSON property `disallowedConnections`
|
35226
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference>]
|
35227
|
+
attr_accessor :disallowed_connections
|
35228
|
+
|
35229
|
+
# RESERVED
|
35230
|
+
# Corresponds to the JSON property `disallowedPrimaryConnection`
|
35231
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference>]
|
35232
|
+
attr_accessor :disallowed_primary_connection
|
35233
|
+
|
34561
35234
|
# The set of restrictions that apply to this segment; these are actually *
|
34562
35235
|
# POSITIVE* restrictions, i.e. they are known to be allowed.
|
34563
35236
|
# Corresponds to the JSON property `travelAllowance`
|
@@ -34570,10 +35243,59 @@ module Google
|
|
34570
35243
|
|
34571
35244
|
# Update properties of this object
|
34572
35245
|
def update!(**args)
|
35246
|
+
@disallowed_connections = args[:disallowed_connections] if args.key?(:disallowed_connections)
|
35247
|
+
@disallowed_primary_connection = args[:disallowed_primary_connection] if args.key?(:disallowed_primary_connection)
|
34573
35248
|
@travel_allowance = args[:travel_allowance] if args.key?(:travel_allowance)
|
34574
35249
|
end
|
34575
35250
|
end
|
34576
35251
|
|
35252
|
+
# Specifies a single outgoing lane connection.
|
35253
|
+
class GeostoreInternalSegmentProtoLaneConnectionReference
|
35254
|
+
include Google::Apis::Core::Hashable
|
35255
|
+
|
35256
|
+
# The lane number on this segment.
|
35257
|
+
# Corresponds to the JSON property `fromLaneNumber`
|
35258
|
+
# @return [Fixnum]
|
35259
|
+
attr_accessor :from_lane_number
|
35260
|
+
|
35261
|
+
# A globally unique identifier associated with each feature. We use 128-bit
|
35262
|
+
# identifiers so that we have lots of bits available to distinguish between
|
35263
|
+
# features. The feature id currently consists of a 64-bit "cell id" that **
|
35264
|
+
# sometimes** corresponds to the approximate centroid of the feature, plus a 64-
|
35265
|
+
# bit fingerprint of other identifying information. See more on each respective
|
35266
|
+
# field in its comments. Feature ids are first assigned when the data is created
|
35267
|
+
# in MapFacts. After initial creation of the feature, they are immutable. This
|
35268
|
+
# means that the only properties that you should rely on are that they are
|
35269
|
+
# unique, and that cell_ids often - but not always - preserve spatial locality.
|
35270
|
+
# The degree of locality varies as the feature undergoes geometry changes, and
|
35271
|
+
# should not in general be considered a firm guarantee of the location of any
|
35272
|
+
# particular feature. In fact, some locationless features have randomized cell
|
35273
|
+
# IDs! Consumers of FeatureProtos from Mapfacts are guaranteed that fprints in
|
35274
|
+
# the id field of features will be globally unique. Using the fprint allows
|
35275
|
+
# consumers who don't need the spatial benefit of cell ids to uniquely identify
|
35276
|
+
# features in a 64-bit address space. This property is not guaranteed for other
|
35277
|
+
# sources of FeatureProtos.
|
35278
|
+
# Corresponds to the JSON property `segment`
|
35279
|
+
# @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
|
35280
|
+
attr_accessor :segment
|
35281
|
+
|
35282
|
+
# This is the lane number on the target segment.
|
35283
|
+
# Corresponds to the JSON property `toLaneNumber`
|
35284
|
+
# @return [Fixnum]
|
35285
|
+
attr_accessor :to_lane_number
|
35286
|
+
|
35287
|
+
def initialize(**args)
|
35288
|
+
update!(**args)
|
35289
|
+
end
|
35290
|
+
|
35291
|
+
# Update properties of this object
|
35292
|
+
def update!(**args)
|
35293
|
+
@from_lane_number = args[:from_lane_number] if args.key?(:from_lane_number)
|
35294
|
+
@segment = args[:segment] if args.key?(:segment)
|
35295
|
+
@to_lane_number = args[:to_lane_number] if args.key?(:to_lane_number)
|
35296
|
+
end
|
35297
|
+
end
|
35298
|
+
|
34577
35299
|
#
|
34578
35300
|
class GeostoreInternalSourceSummaryProto
|
34579
35301
|
include Google::Apis::Core::Hashable
|
@@ -38301,7 +39023,11 @@ module Google
|
|
38301
39023
|
# @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
|
38302
39024
|
attr_accessor :sibling
|
38303
39025
|
|
38304
|
-
#
|
39026
|
+
# Each slope instance is tied to a point along the segment polyline (unrelated
|
39027
|
+
# to the vertices in the segment's polyline) and represents the slope of the
|
39028
|
+
# segment between that point and the point tied to the next slope istance, or
|
39029
|
+
# the end of the segment if it's the last slope instance. A segment should have
|
39030
|
+
# at least one slope.
|
38305
39031
|
# Corresponds to the JSON property `slope`
|
38306
39032
|
# @return [Array<Google::Apis::ContentwarehouseV1::GeostoreSlopeProto>]
|
38307
39033
|
attr_accessor :slope
|
@@ -42476,6 +43202,54 @@ module Google
|
|
42476
43202
|
end
|
42477
43203
|
end
|
42478
43204
|
|
43205
|
+
# Describes the billing configuration for a new tenant project.
|
43206
|
+
class GoogleApiServiceconsumermanagementV1BillingConfig
|
43207
|
+
include Google::Apis::Core::Hashable
|
43208
|
+
|
43209
|
+
# Name of the billing account. For example `billingAccounts/012345-567890-ABCDEF`
|
43210
|
+
# .
|
43211
|
+
# Corresponds to the JSON property `billingAccount`
|
43212
|
+
# @return [String]
|
43213
|
+
attr_accessor :billing_account
|
43214
|
+
|
43215
|
+
def initialize(**args)
|
43216
|
+
update!(**args)
|
43217
|
+
end
|
43218
|
+
|
43219
|
+
# Update properties of this object
|
43220
|
+
def update!(**args)
|
43221
|
+
@billing_account = args[:billing_account] if args.key?(:billing_account)
|
43222
|
+
end
|
43223
|
+
end
|
43224
|
+
|
43225
|
+
# Translates to IAM Policy bindings (without auditing at this level)
|
43226
|
+
class GoogleApiServiceconsumermanagementV1PolicyBinding
|
43227
|
+
include Google::Apis::Core::Hashable
|
43228
|
+
|
43229
|
+
# Uses the same format as in IAM policy. `member` must include both a prefix and
|
43230
|
+
# ID. For example, `user:`emailId``, `serviceAccount:`emailId``, `group:`emailId`
|
43231
|
+
# `.
|
43232
|
+
# Corresponds to the JSON property `members`
|
43233
|
+
# @return [Array<String>]
|
43234
|
+
attr_accessor :members
|
43235
|
+
|
43236
|
+
# Role. (https://cloud.google.com/iam/docs/understanding-roles) For example, `
|
43237
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
43238
|
+
# Corresponds to the JSON property `role`
|
43239
|
+
# @return [String]
|
43240
|
+
attr_accessor :role
|
43241
|
+
|
43242
|
+
def initialize(**args)
|
43243
|
+
update!(**args)
|
43244
|
+
end
|
43245
|
+
|
43246
|
+
# Update properties of this object
|
43247
|
+
def update!(**args)
|
43248
|
+
@members = args[:members] if args.key?(:members)
|
43249
|
+
@role = args[:role] if args.key?(:role)
|
43250
|
+
end
|
43251
|
+
end
|
43252
|
+
|
42479
43253
|
# Specifies the desired format for the server to use when it returns `audio_out`
|
42480
43254
|
# messages.
|
42481
43255
|
class GoogleAssistantAccessoryV1AudioOutConfig
|
@@ -44796,6 +45570,41 @@ module Google
|
|
44796
45570
|
end
|
44797
45571
|
end
|
44798
45572
|
|
45573
|
+
# The DocAI processor information.
|
45574
|
+
class GoogleCloudContentwarehouseV1ProcessorInfo
|
45575
|
+
include Google::Apis::Core::Hashable
|
45576
|
+
|
45577
|
+
# The processor will process the documents with this document type.
|
45578
|
+
# Corresponds to the JSON property `documentType`
|
45579
|
+
# @return [String]
|
45580
|
+
attr_accessor :document_type
|
45581
|
+
|
45582
|
+
# The processor resource name. Format is `projects/`project`/locations/`location`
|
45583
|
+
# /processors/`processor``, or `projects/`project`/locations/`location`/
|
45584
|
+
# processors/`processor`/processorVersions/`processorVersion``
|
45585
|
+
# Corresponds to the JSON property `processorName`
|
45586
|
+
# @return [String]
|
45587
|
+
attr_accessor :processor_name
|
45588
|
+
|
45589
|
+
# The Document schema resource name. All documents processed by this processor
|
45590
|
+
# will use this schema. Format: projects/`project_number`/locations/`location`/
|
45591
|
+
# documentSchemas/`document_schema_id`.
|
45592
|
+
# Corresponds to the JSON property `schemaName`
|
45593
|
+
# @return [String]
|
45594
|
+
attr_accessor :schema_name
|
45595
|
+
|
45596
|
+
def initialize(**args)
|
45597
|
+
update!(**args)
|
45598
|
+
end
|
45599
|
+
|
45600
|
+
# Update properties of this object
|
45601
|
+
def update!(**args)
|
45602
|
+
@document_type = args[:document_type] if args.key?(:document_type)
|
45603
|
+
@processor_name = args[:processor_name] if args.key?(:processor_name)
|
45604
|
+
@schema_name = args[:schema_name] if args.key?(:schema_name)
|
45605
|
+
end
|
45606
|
+
end
|
45607
|
+
|
44799
45608
|
# Property of a document.
|
44800
45609
|
class GoogleCloudContentwarehouseV1Property
|
44801
45610
|
include Google::Apis::Core::Hashable
|
@@ -45421,6 +46230,11 @@ module Google
|
|
45421
46230
|
class GoogleCloudContentwarehouseV1RunPipelineMetadata
|
45422
46231
|
include Google::Apis::Core::Hashable
|
45423
46232
|
|
46233
|
+
# The metadata message for Export-to-CDW pipeline.
|
46234
|
+
# Corresponds to the JSON property `exportToCdwPipelineMetadata`
|
46235
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata]
|
46236
|
+
attr_accessor :export_to_cdw_pipeline_metadata
|
46237
|
+
|
45424
46238
|
# Number of files that have failed at some point in the pipeline.
|
45425
46239
|
# Corresponds to the JSON property `failedFileCount`
|
45426
46240
|
# @return [Fixnum]
|
@@ -45431,6 +46245,16 @@ module Google
|
|
45431
46245
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata]
|
45432
46246
|
attr_accessor :gcs_ingest_pipeline_metadata
|
45433
46247
|
|
46248
|
+
# The list of response details of each document.
|
46249
|
+
# Corresponds to the JSON property `individualDocumentStatuses`
|
46250
|
+
# @return [Array<Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus>]
|
46251
|
+
attr_accessor :individual_document_statuses
|
46252
|
+
|
46253
|
+
# The metadata message for Process-with-DocAi pipeline.
|
46254
|
+
# Corresponds to the JSON property `processWithDocAiPipelineMetadata`
|
46255
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata]
|
46256
|
+
attr_accessor :process_with_doc_ai_pipeline_metadata
|
46257
|
+
|
45434
46258
|
# Number of files that were processed by the pipeline.
|
45435
46259
|
# Corresponds to the JSON property `totalFileCount`
|
45436
46260
|
# @return [Fixnum]
|
@@ -45447,13 +46271,41 @@ module Google
|
|
45447
46271
|
|
45448
46272
|
# Update properties of this object
|
45449
46273
|
def update!(**args)
|
46274
|
+
@export_to_cdw_pipeline_metadata = args[:export_to_cdw_pipeline_metadata] if args.key?(:export_to_cdw_pipeline_metadata)
|
45450
46275
|
@failed_file_count = args[:failed_file_count] if args.key?(:failed_file_count)
|
45451
46276
|
@gcs_ingest_pipeline_metadata = args[:gcs_ingest_pipeline_metadata] if args.key?(:gcs_ingest_pipeline_metadata)
|
46277
|
+
@individual_document_statuses = args[:individual_document_statuses] if args.key?(:individual_document_statuses)
|
46278
|
+
@process_with_doc_ai_pipeline_metadata = args[:process_with_doc_ai_pipeline_metadata] if args.key?(:process_with_doc_ai_pipeline_metadata)
|
45452
46279
|
@total_file_count = args[:total_file_count] if args.key?(:total_file_count)
|
45453
46280
|
@user_info = args[:user_info] if args.key?(:user_info)
|
45454
46281
|
end
|
45455
46282
|
end
|
45456
46283
|
|
46284
|
+
# The metadata message for Export-to-CDW pipeline.
|
46285
|
+
class GoogleCloudContentwarehouseV1RunPipelineMetadataExportToCdwPipelineMetadata
|
46286
|
+
include Google::Apis::Core::Hashable
|
46287
|
+
|
46288
|
+
# The output CDW dataset resource name.
|
46289
|
+
# Corresponds to the JSON property `docAiDataset`
|
46290
|
+
# @return [String]
|
46291
|
+
attr_accessor :doc_ai_dataset
|
46292
|
+
|
46293
|
+
# The input list of all the resource names of the documents to be exported.
|
46294
|
+
# Corresponds to the JSON property `documents`
|
46295
|
+
# @return [Array<String>]
|
46296
|
+
attr_accessor :documents
|
46297
|
+
|
46298
|
+
def initialize(**args)
|
46299
|
+
update!(**args)
|
46300
|
+
end
|
46301
|
+
|
46302
|
+
# Update properties of this object
|
46303
|
+
def update!(**args)
|
46304
|
+
@doc_ai_dataset = args[:doc_ai_dataset] if args.key?(:doc_ai_dataset)
|
46305
|
+
@documents = args[:documents] if args.key?(:documents)
|
46306
|
+
end
|
46307
|
+
end
|
46308
|
+
|
45457
46309
|
# The metadata message for GcsIngest pipeline.
|
45458
46310
|
class GoogleCloudContentwarehouseV1RunPipelineMetadataGcsIngestPipelineMetadata
|
45459
46311
|
include Google::Apis::Core::Hashable
|
@@ -45473,6 +46325,61 @@ module Google
|
|
45473
46325
|
end
|
45474
46326
|
end
|
45475
46327
|
|
46328
|
+
# The status of processing a document.
|
46329
|
+
class GoogleCloudContentwarehouseV1RunPipelineMetadataIndividualDocumentStatus
|
46330
|
+
include Google::Apis::Core::Hashable
|
46331
|
+
|
46332
|
+
# Document identifier of an existing document.
|
46333
|
+
# Corresponds to the JSON property `documentId`
|
46334
|
+
# @return [String]
|
46335
|
+
attr_accessor :document_id
|
46336
|
+
|
46337
|
+
# The `Status` type defines a logical error model that is suitable for different
|
46338
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
46339
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
46340
|
+
# data: error code, error message, and error details. You can find out more
|
46341
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
46342
|
+
# //cloud.google.com/apis/design/errors).
|
46343
|
+
# Corresponds to the JSON property `status`
|
46344
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleRpcStatus]
|
46345
|
+
attr_accessor :status
|
46346
|
+
|
46347
|
+
def initialize(**args)
|
46348
|
+
update!(**args)
|
46349
|
+
end
|
46350
|
+
|
46351
|
+
# Update properties of this object
|
46352
|
+
def update!(**args)
|
46353
|
+
@document_id = args[:document_id] if args.key?(:document_id)
|
46354
|
+
@status = args[:status] if args.key?(:status)
|
46355
|
+
end
|
46356
|
+
end
|
46357
|
+
|
46358
|
+
# The metadata message for Process-with-DocAi pipeline.
|
46359
|
+
class GoogleCloudContentwarehouseV1RunPipelineMetadataProcessWithDocAiPipelineMetadata
|
46360
|
+
include Google::Apis::Core::Hashable
|
46361
|
+
|
46362
|
+
# The input list of all the resource names of the documents to be processed.
|
46363
|
+
# Corresponds to the JSON property `documents`
|
46364
|
+
# @return [Array<String>]
|
46365
|
+
attr_accessor :documents
|
46366
|
+
|
46367
|
+
# The DocAI processor information.
|
46368
|
+
# Corresponds to the JSON property `processorInfo`
|
46369
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ProcessorInfo]
|
46370
|
+
attr_accessor :processor_info
|
46371
|
+
|
46372
|
+
def initialize(**args)
|
46373
|
+
update!(**args)
|
46374
|
+
end
|
46375
|
+
|
46376
|
+
# Update properties of this object
|
46377
|
+
def update!(**args)
|
46378
|
+
@documents = args[:documents] if args.key?(:documents)
|
46379
|
+
@processor_info = args[:processor_info] if args.key?(:processor_info)
|
46380
|
+
end
|
46381
|
+
end
|
46382
|
+
|
45476
46383
|
# Request message for DocumentService.SearchDocuments.
|
45477
46384
|
class GoogleCloudContentwarehouseV1SearchDocumentsRequest
|
45478
46385
|
include Google::Apis::Core::Hashable
|
@@ -47435,6 +48342,11 @@ module Google
|
|
47435
48342
|
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentProvenance]
|
47436
48343
|
attr_accessor :provenance
|
47437
48344
|
|
48345
|
+
# Font and other text style attributes.
|
48346
|
+
# Corresponds to the JSON property `styleInfo`
|
48347
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo]
|
48348
|
+
attr_accessor :style_info
|
48349
|
+
|
47438
48350
|
def initialize(**args)
|
47439
48351
|
update!(**args)
|
47440
48352
|
end
|
@@ -47445,6 +48357,7 @@ module Google
|
|
47445
48357
|
@detected_languages = args[:detected_languages] if args.key?(:detected_languages)
|
47446
48358
|
@layout = args[:layout] if args.key?(:layout)
|
47447
48359
|
@provenance = args[:provenance] if args.key?(:provenance)
|
48360
|
+
@style_info = args[:style_info] if args.key?(:style_info)
|
47448
48361
|
end
|
47449
48362
|
end
|
47450
48363
|
|
@@ -47467,6 +48380,206 @@ module Google
|
|
47467
48380
|
end
|
47468
48381
|
end
|
47469
48382
|
|
48383
|
+
# Font and other text style attributes.
|
48384
|
+
class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo
|
48385
|
+
include Google::Apis::Core::Hashable
|
48386
|
+
|
48387
|
+
# Represents a color in the RGBA color space. This representation is designed
|
48388
|
+
# for simplicity of conversion to/from color representations in various
|
48389
|
+
# languages over compactness. For example, the fields of this representation can
|
48390
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
48391
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
48392
|
+
# method in iOS; and, with just a little work, it can be easily formatted into a
|
48393
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
48394
|
+
# information about the absolute color space that should be used to interpret
|
48395
|
+
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
48396
|
+
# applications should assume the sRGB color space. When color equality needs to
|
48397
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
48398
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
48399
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
48400
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
48401
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
48402
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
48403
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
48404
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
48405
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
48406
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
48407
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
48408
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
48409
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
48410
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
48411
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
48412
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
48413
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
48414
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
48415
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
48416
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
48417
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
48418
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
48419
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
48420
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
48421
|
+
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
48422
|
+
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
48423
|
+
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
48424
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
48425
|
+
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
48426
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
48427
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
48428
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
48429
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
48430
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
48431
|
+
# / ...
|
48432
|
+
# Corresponds to the JSON property `backgroundColor`
|
48433
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleTypeColor]
|
48434
|
+
attr_accessor :background_color
|
48435
|
+
|
48436
|
+
# Whether the text is bold (equivalent to font weight >= 700).
|
48437
|
+
# Corresponds to the JSON property `bold`
|
48438
|
+
# @return [Boolean]
|
48439
|
+
attr_accessor :bold
|
48440
|
+
alias_method :bold?, :bold
|
48441
|
+
|
48442
|
+
# Font size in points (1 point is 1/72").
|
48443
|
+
# Corresponds to the JSON property `fontSize`
|
48444
|
+
# @return [Fixnum]
|
48445
|
+
attr_accessor :font_size
|
48446
|
+
|
48447
|
+
# Name or style of the font.
|
48448
|
+
# Corresponds to the JSON property `fontType`
|
48449
|
+
# @return [String]
|
48450
|
+
attr_accessor :font_type
|
48451
|
+
|
48452
|
+
# TrueType weight on a scale 100 (Thin) to 1000 (Ultra-heavy). Normal is 400,
|
48453
|
+
# Bold is 700.
|
48454
|
+
# Corresponds to the JSON property `fontWeight`
|
48455
|
+
# @return [Fixnum]
|
48456
|
+
attr_accessor :font_weight
|
48457
|
+
|
48458
|
+
# Whether the text is handwritten.
|
48459
|
+
# Corresponds to the JSON property `handwritten`
|
48460
|
+
# @return [Boolean]
|
48461
|
+
attr_accessor :handwritten
|
48462
|
+
alias_method :handwritten?, :handwritten
|
48463
|
+
|
48464
|
+
# Whether the text is italic.
|
48465
|
+
# Corresponds to the JSON property `italic`
|
48466
|
+
# @return [Boolean]
|
48467
|
+
attr_accessor :italic
|
48468
|
+
alias_method :italic?, :italic
|
48469
|
+
|
48470
|
+
# Letter spacing in points.
|
48471
|
+
# Corresponds to the JSON property `letterSpacing`
|
48472
|
+
# @return [Float]
|
48473
|
+
attr_accessor :letter_spacing
|
48474
|
+
|
48475
|
+
# Font size in pixels, equal to unrounded_fontsize * resolution / 72.0.
|
48476
|
+
# Corresponds to the JSON property `pixelFontSize`
|
48477
|
+
# @return [Float]
|
48478
|
+
attr_accessor :pixel_font_size
|
48479
|
+
|
48480
|
+
# Whether the text are small caps.
|
48481
|
+
# Corresponds to the JSON property `smallcaps`
|
48482
|
+
# @return [Boolean]
|
48483
|
+
attr_accessor :smallcaps
|
48484
|
+
alias_method :smallcaps?, :smallcaps
|
48485
|
+
|
48486
|
+
# Whether the text is strikethrough.
|
48487
|
+
# Corresponds to the JSON property `strikeout`
|
48488
|
+
# @return [Boolean]
|
48489
|
+
attr_accessor :strikeout
|
48490
|
+
alias_method :strikeout?, :strikeout
|
48491
|
+
|
48492
|
+
# Whether the text is a subscript.
|
48493
|
+
# Corresponds to the JSON property `subscript`
|
48494
|
+
# @return [Boolean]
|
48495
|
+
attr_accessor :subscript
|
48496
|
+
alias_method :subscript?, :subscript
|
48497
|
+
|
48498
|
+
# Whether the text is a superscript.
|
48499
|
+
# Corresponds to the JSON property `superscript`
|
48500
|
+
# @return [Boolean]
|
48501
|
+
attr_accessor :superscript
|
48502
|
+
alias_method :superscript?, :superscript
|
48503
|
+
|
48504
|
+
# Represents a color in the RGBA color space. This representation is designed
|
48505
|
+
# for simplicity of conversion to/from color representations in various
|
48506
|
+
# languages over compactness. For example, the fields of this representation can
|
48507
|
+
# be trivially provided to the constructor of `java.awt.Color` in Java; it can
|
48508
|
+
# also be trivially provided to UIColor's `+colorWithRed:green:blue:alpha`
|
48509
|
+
# method in iOS; and, with just a little work, it can be easily formatted into a
|
48510
|
+
# CSS `rgba()` string in JavaScript. This reference page doesn't carry
|
48511
|
+
# information about the absolute color space that should be used to interpret
|
48512
|
+
# the RGB value (e.g. sRGB, Adobe RGB, DCI-P3, BT.2020, etc.). By default,
|
48513
|
+
# applications should assume the sRGB color space. When color equality needs to
|
48514
|
+
# be decided, implementations, unless documented otherwise, treat two colors as
|
48515
|
+
# equal if all their red, green, blue, and alpha values each differ by at most
|
48516
|
+
# 1e-5. Example (Java): import com.google.type.Color; // ... public static java.
|
48517
|
+
# awt.Color fromProto(Color protocolor) ` float alpha = protocolor.hasAlpha() ?
|
48518
|
+
# protocolor.getAlpha().getValue() : 1.0; return new java.awt.Color( protocolor.
|
48519
|
+
# getRed(), protocolor.getGreen(), protocolor.getBlue(), alpha); ` public static
|
48520
|
+
# Color toProto(java.awt.Color color) ` float red = (float) color.getRed();
|
48521
|
+
# float green = (float) color.getGreen(); float blue = (float) color.getBlue();
|
48522
|
+
# float denominator = 255.0; Color.Builder resultBuilder = Color .newBuilder() .
|
48523
|
+
# setRed(red / denominator) .setGreen(green / denominator) .setBlue(blue /
|
48524
|
+
# denominator); int alpha = color.getAlpha(); if (alpha != 255) ` result.
|
48525
|
+
# setAlpha( FloatValue .newBuilder() .setValue(((float) alpha) / denominator) .
|
48526
|
+
# build()); ` return resultBuilder.build(); ` // ... Example (iOS / Obj-C): // ..
|
48527
|
+
# . static UIColor* fromProto(Color* protocolor) ` float red = [protocolor red];
|
48528
|
+
# float green = [protocolor green]; float blue = [protocolor blue]; FloatValue*
|
48529
|
+
# alpha_wrapper = [protocolor alpha]; float alpha = 1.0; if (alpha_wrapper !=
|
48530
|
+
# nil) ` alpha = [alpha_wrapper value]; ` return [UIColor colorWithRed:red green:
|
48531
|
+
# green blue:blue alpha:alpha]; ` static Color* toProto(UIColor* color) `
|
48532
|
+
# CGFloat red, green, blue, alpha; if (![color getRed:&red green:&green blue:&
|
48533
|
+
# blue alpha:&alpha]) ` return nil; ` Color* result = [[Color alloc] init]; [
|
48534
|
+
# result setRed:red]; [result setGreen:green]; [result setBlue:blue]; if (alpha <
|
48535
|
+
# = 0.9999) ` [result setAlpha:floatWrapperWithValue(alpha)]; ` [result
|
48536
|
+
# autorelease]; return result; ` // ... Example (JavaScript): // ... var
|
48537
|
+
# protoToCssColor = function(rgb_color) ` var redFrac = rgb_color.red || 0.0;
|
48538
|
+
# var greenFrac = rgb_color.green || 0.0; var blueFrac = rgb_color.blue || 0.0;
|
48539
|
+
# var red = Math.floor(redFrac * 255); var green = Math.floor(greenFrac * 255);
|
48540
|
+
# var blue = Math.floor(blueFrac * 255); if (!('alpha' in rgb_color)) ` return
|
48541
|
+
# rgbToCssColor(red, green, blue); ` var alphaFrac = rgb_color.alpha.value || 0.
|
48542
|
+
# 0; var rgbParams = [red, green, blue].join(','); return ['rgba(', rgbParams, ',
|
48543
|
+
# ', alphaFrac, ')'].join(''); `; var rgbToCssColor = function(red, green, blue)
|
48544
|
+
# ` var rgbNumber = new Number((red << 16) | (green << 8) | blue); var hexString
|
48545
|
+
# = rgbNumber.toString(16); var missingZeros = 6 - hexString.length; var
|
48546
|
+
# resultBuilder = ['#']; for (var i = 0; i < missingZeros; i++) ` resultBuilder.
|
48547
|
+
# push('0'); ` resultBuilder.push(hexString); return resultBuilder.join(''); `; /
|
48548
|
+
# / ...
|
48549
|
+
# Corresponds to the JSON property `textColor`
|
48550
|
+
# @return [Google::Apis::ContentwarehouseV1::GoogleTypeColor]
|
48551
|
+
attr_accessor :text_color
|
48552
|
+
|
48553
|
+
# Whether the text is underlined.
|
48554
|
+
# Corresponds to the JSON property `underlined`
|
48555
|
+
# @return [Boolean]
|
48556
|
+
attr_accessor :underlined
|
48557
|
+
alias_method :underlined?, :underlined
|
48558
|
+
|
48559
|
+
def initialize(**args)
|
48560
|
+
update!(**args)
|
48561
|
+
end
|
48562
|
+
|
48563
|
+
# Update properties of this object
|
48564
|
+
def update!(**args)
|
48565
|
+
@background_color = args[:background_color] if args.key?(:background_color)
|
48566
|
+
@bold = args[:bold] if args.key?(:bold)
|
48567
|
+
@font_size = args[:font_size] if args.key?(:font_size)
|
48568
|
+
@font_type = args[:font_type] if args.key?(:font_type)
|
48569
|
+
@font_weight = args[:font_weight] if args.key?(:font_weight)
|
48570
|
+
@handwritten = args[:handwritten] if args.key?(:handwritten)
|
48571
|
+
@italic = args[:italic] if args.key?(:italic)
|
48572
|
+
@letter_spacing = args[:letter_spacing] if args.key?(:letter_spacing)
|
48573
|
+
@pixel_font_size = args[:pixel_font_size] if args.key?(:pixel_font_size)
|
48574
|
+
@smallcaps = args[:smallcaps] if args.key?(:smallcaps)
|
48575
|
+
@strikeout = args[:strikeout] if args.key?(:strikeout)
|
48576
|
+
@subscript = args[:subscript] if args.key?(:subscript)
|
48577
|
+
@superscript = args[:superscript] if args.key?(:superscript)
|
48578
|
+
@text_color = args[:text_color] if args.key?(:text_color)
|
48579
|
+
@underlined = args[:underlined] if args.key?(:underlined)
|
48580
|
+
end
|
48581
|
+
end
|
48582
|
+
|
47470
48583
|
# Detected non-text visual elements e.g. checkbox, signature etc. on the page.
|
47471
48584
|
class GoogleCloudDocumentaiV1DocumentPageVisualElement
|
47472
48585
|
include Google::Apis::Core::Hashable
|
@@ -48253,7 +49366,7 @@ module Google
|
|
48253
49366
|
class GoogleInternalAppsWaldoV1alphaAvailabilityPeriod
|
48254
49367
|
include Google::Apis::Core::Hashable
|
48255
49368
|
|
48256
|
-
# Day of week,
|
49369
|
+
# Day of week, 1 for Monday, ..., 7 for Sunday.
|
48257
49370
|
# Corresponds to the JSON property `dayOfWeek`
|
48258
49371
|
# @return [Fixnum]
|
48259
49372
|
attr_accessor :day_of_week
|
@@ -61059,12 +62172,6 @@ module Google
|
|
61059
62172
|
# @return [Google::Apis::ContentwarehouseV1::NlpMeaningMeaningRemodelings]
|
61060
62173
|
attr_accessor :remodelings
|
61061
62174
|
|
61062
|
-
# This field is deprecated. It is not removed completely since this proto was
|
61063
|
-
# saved with this field in proto text files used by the Grammy tool.
|
61064
|
-
# Corresponds to the JSON property `stbrDomain`
|
61065
|
-
# @return [Array<String>]
|
61066
|
-
attr_accessor :stbr_domain
|
61067
|
-
|
61068
62175
|
def initialize(**args)
|
61069
62176
|
update!(**args)
|
61070
62177
|
end
|
@@ -61078,7 +62185,6 @@ module Google
|
|
61078
62185
|
@in_all_collections = args[:in_all_collections] if args.key?(:in_all_collections)
|
61079
62186
|
@include_geolocation_data = args[:include_geolocation_data] if args.key?(:include_geolocation_data)
|
61080
62187
|
@remodelings = args[:remodelings] if args.key?(:remodelings)
|
61081
|
-
@stbr_domain = args[:stbr_domain] if args.key?(:stbr_domain)
|
61082
62188
|
end
|
61083
62189
|
end
|
61084
62190
|
|
@@ -61892,7 +62998,7 @@ module Google
|
|
61892
62998
|
# @return [Array<String>]
|
61893
62999
|
attr_accessor :deprecated_freebase_type
|
61894
63000
|
|
61895
|
-
# A list of mids that "support" this argument in voting, i.e
|
63001
|
+
# A list of mids that "support" this argument in voting, i.e., results that
|
61896
63002
|
# support these mids will be treated as if they support the argument. This field
|
61897
63003
|
# has been deprecated in favor of related_entity. b/27363861
|
61898
63004
|
# Corresponds to the JSON property `deprecatedSupportingMid`
|
@@ -61949,7 +63055,7 @@ module Google
|
|
61949
63055
|
# @return [Fixnum]
|
61950
63056
|
attr_accessor :gaia_id
|
61951
63057
|
|
61952
|
-
# Grounding-related signals to be propagated down stream. Next ID:
|
63058
|
+
# Grounding-related signals to be propagated down stream. Next ID: 14
|
61953
63059
|
# Corresponds to the JSON property `groundingSignals`
|
61954
63060
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryGroundingSignals]
|
61955
63061
|
attr_accessor :grounding_signals
|
@@ -62917,7 +64023,7 @@ module Google
|
|
62917
64023
|
# @return [String]
|
62918
64024
|
attr_accessor :freefolks_trigger
|
62919
64025
|
|
62920
|
-
# Grounding-related signals to be propagated down stream. Next ID:
|
64026
|
+
# Grounding-related signals to be propagated down stream. Next ID: 14
|
62921
64027
|
# Corresponds to the JSON property `groundingSignals`
|
62922
64028
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryGroundingSignals]
|
62923
64029
|
attr_accessor :grounding_signals
|
@@ -63031,7 +64137,7 @@ module Google
|
|
63031
64137
|
|
63032
64138
|
# Signals to be used by the Prefulfillment Ranker. Derived from the
|
63033
64139
|
# ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
|
63034
|
-
# Next ID:
|
64140
|
+
# Next ID: 48
|
63035
64141
|
# Corresponds to the JSON property `prefulfillmentSignals`
|
63036
64142
|
# @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
|
63037
64143
|
attr_accessor :prefulfillment_signals
|
@@ -63133,7 +64239,7 @@ module Google
|
|
63133
64239
|
end
|
63134
64240
|
end
|
63135
64241
|
|
63136
|
-
# Grounding-related signals to be propagated down stream. Next ID:
|
64242
|
+
# Grounding-related signals to be propagated down stream. Next ID: 14
|
63137
64243
|
class KnowledgeAnswersIntentQueryGroundingSignals
|
63138
64244
|
include Google::Apis::Core::Hashable
|
63139
64245
|
|
@@ -63195,6 +64301,16 @@ module Google
|
|
63195
64301
|
# @return [String]
|
63196
64302
|
attr_accessor :pgrp_output_format
|
63197
64303
|
|
64304
|
+
#
|
64305
|
+
# Corresponds to the JSON property `provenance`
|
64306
|
+
# @return [String]
|
64307
|
+
attr_accessor :provenance
|
64308
|
+
|
64309
|
+
#
|
64310
|
+
# Corresponds to the JSON property `sentiment`
|
64311
|
+
# @return [String]
|
64312
|
+
attr_accessor :sentiment
|
64313
|
+
|
63198
64314
|
# If true, then GroundingBox and PGRP are used in AnswersRewriter to process the
|
63199
64315
|
# intent. Other post-processing steps, including IGDP, are adjusted accordingly.
|
63200
64316
|
# Note this will be removed once GroundingBox is fully launched and all prod
|
@@ -63221,6 +64337,8 @@ module Google
|
|
63221
64337
|
@num_variables = args[:num_variables] if args.key?(:num_variables)
|
63222
64338
|
@num_variables_grounded = args[:num_variables_grounded] if args.key?(:num_variables_grounded)
|
63223
64339
|
@pgrp_output_format = args[:pgrp_output_format] if args.key?(:pgrp_output_format)
|
64340
|
+
@provenance = args[:provenance] if args.key?(:provenance)
|
64341
|
+
@sentiment = args[:sentiment] if args.key?(:sentiment)
|
63224
64342
|
@uses_grounding_box = args[:uses_grounding_box] if args.key?(:uses_grounding_box)
|
63225
64343
|
end
|
63226
64344
|
end
|
@@ -65928,36 +67046,6 @@ module Google
|
|
65928
67046
|
end
|
65929
67047
|
end
|
65930
67048
|
|
65931
|
-
# A TypeTrait configures a value that has a property with any of the given
|
65932
|
-
# trait_id. In practice this means: - any entity that has a metadata ID defined
|
65933
|
-
# in the KP type_schema, - any intent that has a slot with the given ID. When
|
65934
|
-
# comparing trait_id to metadata IDs or slot IDs, we lowercase and normalize for
|
65935
|
-
# comparison.
|
65936
|
-
class KnowledgeAnswersTypeTrait
|
65937
|
-
include Google::Apis::Core::Hashable
|
65938
|
-
|
65939
|
-
# This proto will be added as a field to part of a schema to indicate it is
|
65940
|
-
# being remodeled.
|
65941
|
-
# Corresponds to the JSON property `remodelings`
|
65942
|
-
# @return [Google::Apis::ContentwarehouseV1::NlpMeaningMeaningRemodelings]
|
65943
|
-
attr_accessor :remodelings
|
65944
|
-
|
65945
|
-
#
|
65946
|
-
# Corresponds to the JSON property `traitId`
|
65947
|
-
# @return [Array<String>]
|
65948
|
-
attr_accessor :trait_id
|
65949
|
-
|
65950
|
-
def initialize(**args)
|
65951
|
-
update!(**args)
|
65952
|
-
end
|
65953
|
-
|
65954
|
-
# Update properties of this object
|
65955
|
-
def update!(**args)
|
65956
|
-
@remodelings = args[:remodelings] if args.key?(:remodelings)
|
65957
|
-
@trait_id = args[:trait_id] if args.key?(:trait_id)
|
65958
|
-
end
|
65959
|
-
end
|
65960
|
-
|
65961
67049
|
#
|
65962
67050
|
class KnowledgeAnswersUnionType
|
65963
67051
|
include Google::Apis::Core::Hashable
|
@@ -66102,11 +67190,6 @@ module Google
|
|
66102
67190
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersPlexityRequirement]
|
66103
67191
|
attr_accessor :plexity_requirement
|
66104
67192
|
|
66105
|
-
#
|
66106
|
-
# Corresponds to the JSON property `pluralityType`
|
66107
|
-
# @return [String]
|
66108
|
-
attr_accessor :plurality_type
|
66109
|
-
|
66110
67193
|
# A special type representing a polar question.
|
66111
67194
|
# Corresponds to the JSON property `polarQuestionType`
|
66112
67195
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersPolarQuestionType]
|
@@ -66140,15 +67223,6 @@ module Google
|
|
66140
67223
|
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersTrackingNumberType]
|
66141
67224
|
attr_accessor :tracking_number_type
|
66142
67225
|
|
66143
|
-
# A TypeTrait configures a value that has a property with any of the given
|
66144
|
-
# trait_id. In practice this means: - any entity that has a metadata ID defined
|
66145
|
-
# in the KP type_schema, - any intent that has a slot with the given ID. When
|
66146
|
-
# comparing trait_id to metadata IDs or slot IDs, we lowercase and normalize for
|
66147
|
-
# comparison.
|
66148
|
-
# Corresponds to the JSON property `withTrait`
|
66149
|
-
# @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersTypeTrait]
|
66150
|
-
attr_accessor :with_trait
|
66151
|
-
|
66152
67226
|
def initialize(**args)
|
66153
67227
|
update!(**args)
|
66154
67228
|
end
|
@@ -66170,14 +67244,12 @@ module Google
|
|
66170
67244
|
@number_type = args[:number_type] if args.key?(:number_type)
|
66171
67245
|
@opaque_type = args[:opaque_type] if args.key?(:opaque_type)
|
66172
67246
|
@plexity_requirement = args[:plexity_requirement] if args.key?(:plexity_requirement)
|
66173
|
-
@plurality_type = args[:plurality_type] if args.key?(:plurality_type)
|
66174
67247
|
@polar_question_type = args[:polar_question_type] if args.key?(:polar_question_type)
|
66175
67248
|
@semantic_type = args[:semantic_type] if args.key?(:semantic_type)
|
66176
67249
|
@state_of_affairs_type = args[:state_of_affairs_type] if args.key?(:state_of_affairs_type)
|
66177
67250
|
@string_type = args[:string_type] if args.key?(:string_type)
|
66178
67251
|
@timezone_type = args[:timezone_type] if args.key?(:timezone_type)
|
66179
67252
|
@tracking_number_type = args[:tracking_number_type] if args.key?(:tracking_number_type)
|
66180
|
-
@with_trait = args[:with_trait] if args.key?(:with_trait)
|
66181
67253
|
end
|
66182
67254
|
end
|
66183
67255
|
|
@@ -71988,7 +73060,7 @@ module Google
|
|
71988
73060
|
attr_accessor :association
|
71989
73061
|
|
71990
73062
|
# A proto for storing inferred and reconciled metadata for Science Search. Next
|
71991
|
-
# available tag:
|
73063
|
+
# available tag: 71
|
71992
73064
|
# Corresponds to the JSON property `datasetMetadata`
|
71993
73065
|
# @return [Google::Apis::ContentwarehouseV1::ResearchScienceSearchReconciledMetadata]
|
71994
73066
|
attr_accessor :dataset_metadata
|
@@ -83918,7 +84990,7 @@ module Google
|
|
83918
84990
|
# MustangContentInfo` for protocols used during search and/or docinfo. Next
|
83919
84991
|
# available tag deprecated, use this (and look for commented out fields): blaze-
|
83920
84992
|
# bin/net/proto_compiler/protocol-compiler --freetags \ indexer/perdocdata/
|
83921
|
-
# perdocdata.proto Next tag:
|
84993
|
+
# perdocdata.proto Next tag: 221
|
83922
84994
|
class PerDocData
|
83923
84995
|
include Google::Apis::Core::Hashable
|
83924
84996
|
|
@@ -92329,9 +93401,7 @@ module Google
|
|
92329
93401
|
# @return [String]
|
92330
93402
|
attr_accessor :doc_lang
|
92331
93403
|
|
92332
|
-
#
|
92333
|
-
# 1], and this signal is basically calculated as Cosine-similarity between
|
92334
|
-
# salient term vector and pQ2T model of title candidate sentence.
|
93404
|
+
#
|
92335
93405
|
# Corresponds to the JSON property `docRelevance`
|
92336
93406
|
# @return [Float]
|
92337
93407
|
attr_accessor :doc_relevance
|
@@ -92554,9 +93624,7 @@ module Google
|
|
92554
93624
|
# @return [Float]
|
92555
93625
|
attr_accessor :query_match_fraction
|
92556
93626
|
|
92557
|
-
#
|
92558
|
-
# and this signal is basically calculated as Cosine-similarity between QBST
|
92559
|
-
# term vector and pQ2T model of title candidate sentence.
|
93627
|
+
# Deprecated experimental features.
|
92560
93628
|
# Corresponds to the JSON property `queryRelevance`
|
92561
93629
|
# @return [Float]
|
92562
93630
|
attr_accessor :query_relevance
|
@@ -95164,7 +96232,7 @@ module Google
|
|
95164
96232
|
|
95165
96233
|
# The following message contains info of sub image docs, it is populated in
|
95166
96234
|
# query_state and consumed in web image boost twiddler: (go/
|
95167
|
-
# WebImageBoostTwiddler).
|
96235
|
+
# WebImageBoostTwiddler). NextID: 25
|
95168
96236
|
# Corresponds to the JSON property `salientImage`
|
95169
96237
|
# @return [Google::Apis::ContentwarehouseV1::WwwResultInfoSubImageDocInfo]
|
95170
96238
|
attr_accessor :salient_image
|
@@ -102998,17 +104066,6 @@ module Google
|
|
102998
104066
|
# @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
|
102999
104067
|
attr_accessor :oyster_id
|
103000
104068
|
|
103001
|
-
# This field is populated for at most one entity. If it is populated, it
|
103002
|
-
# indicates how confident we are to claim that the page is only about this
|
103003
|
-
# entity (either it's an official web presence of the entity, or something like
|
103004
|
-
# a wikipedia page about the entity). For space reasons this is represented as a
|
103005
|
-
# fixed-point integer with two decimal points precision. Convert it to the
|
103006
|
-
# interval [0,1] using the following formula: float single_topicness =
|
103007
|
-
# single_topicness_e2 / 100.f
|
103008
|
-
# Corresponds to the JSON property `singleTopicnessE2`
|
103009
|
-
# @return [Fixnum]
|
103010
|
-
attr_accessor :single_topicness_e2
|
103011
|
-
|
103012
104069
|
def initialize(**args)
|
103013
104070
|
update!(**args)
|
103014
104071
|
end
|
@@ -103020,7 +104077,6 @@ module Google
|
|
103020
104077
|
@lat_e7 = args[:lat_e7] if args.key?(:lat_e7)
|
103021
104078
|
@lng_e7 = args[:lng_e7] if args.key?(:lng_e7)
|
103022
104079
|
@oyster_id = args[:oyster_id] if args.key?(:oyster_id)
|
103023
|
-
@single_topicness_e2 = args[:single_topicness_e2] if args.key?(:single_topicness_e2)
|
103024
104080
|
end
|
103025
104081
|
end
|
103026
104082
|
|
@@ -103438,12 +104494,6 @@ module Google
|
|
103438
104494
|
# @return [Array<Fixnum>]
|
103439
104495
|
attr_accessor :unbound_intent_score_e2
|
103440
104496
|
|
103441
|
-
# [Experimental code. Do not use ] Entities that webref identified as being the
|
103442
|
-
# same concept (undermerged).
|
103443
|
-
# Corresponds to the JSON property `undermergedMembers`
|
103444
|
-
# @return [Array<Google::Apis::ContentwarehouseV1::RepositoryWebrefWebrefMustangAttachmentUndermergedMembers>]
|
103445
|
-
attr_accessor :undermerged_members
|
103446
|
-
|
103447
104497
|
def initialize(**args)
|
103448
104498
|
update!(**args)
|
103449
104499
|
end
|
@@ -103462,26 +104512,6 @@ module Google
|
|
103462
104512
|
@topicality_e2 = args[:topicality_e2] if args.key?(:topicality_e2)
|
103463
104513
|
@unbound_intent_mid = args[:unbound_intent_mid] if args.key?(:unbound_intent_mid)
|
103464
104514
|
@unbound_intent_score_e2 = args[:unbound_intent_score_e2] if args.key?(:unbound_intent_score_e2)
|
103465
|
-
@undermerged_members = args[:undermerged_members] if args.key?(:undermerged_members)
|
103466
|
-
end
|
103467
|
-
end
|
103468
|
-
|
103469
|
-
#
|
103470
|
-
class RepositoryWebrefWebrefMustangAttachmentUndermergedMembers
|
103471
|
-
include Google::Apis::Core::Hashable
|
103472
|
-
|
103473
|
-
# Experimental code, do not use.
|
103474
|
-
# Corresponds to the JSON property `encodedMid`
|
103475
|
-
# @return [Array<Fixnum>]
|
103476
|
-
attr_accessor :encoded_mid
|
103477
|
-
|
103478
|
-
def initialize(**args)
|
103479
|
-
update!(**args)
|
103480
|
-
end
|
103481
|
-
|
103482
|
-
# Update properties of this object
|
103483
|
-
def update!(**args)
|
103484
|
-
@encoded_mid = args[:encoded_mid] if args.key?(:encoded_mid)
|
103485
104515
|
end
|
103486
104516
|
end
|
103487
104517
|
|
@@ -105150,7 +106180,7 @@ module Google
|
|
105150
106180
|
end
|
105151
106181
|
|
105152
106182
|
# A proto for storing inferred and reconciled metadata for Science Search. Next
|
105153
|
-
# available tag:
|
106183
|
+
# available tag: 71
|
105154
106184
|
class ResearchScienceSearchReconciledMetadata
|
105155
106185
|
include Google::Apis::Core::Hashable
|
105156
106186
|
|
@@ -105167,6 +106197,13 @@ module Google
|
|
105167
106197
|
# @return [String]
|
105168
106198
|
attr_accessor :author_list
|
105169
106199
|
|
106200
|
+
# A hash of the fields copied by BasicMetadataExtender and the importers. See cs/
|
106201
|
+
# research/science_search/backend/extender/basic_metadata_extender.h for the
|
106202
|
+
# list of fields.
|
106203
|
+
# Corresponds to the JSON property `basicFieldsHash`
|
106204
|
+
# @return [Fixnum]
|
106205
|
+
attr_accessor :basic_fields_hash
|
106206
|
+
|
105170
106207
|
# Information on the catalog that this dataset comes from. Next ID: 5
|
105171
106208
|
# Corresponds to the JSON property `catalog`
|
105172
106209
|
# @return [Google::Apis::ContentwarehouseV1::ResearchScienceSearchCatalog]
|
@@ -105490,6 +106527,7 @@ module Google
|
|
105490
106527
|
def update!(**args)
|
105491
106528
|
@alternate_name = args[:alternate_name] if args.key?(:alternate_name)
|
105492
106529
|
@author_list = args[:author_list] if args.key?(:author_list)
|
106530
|
+
@basic_fields_hash = args[:basic_fields_hash] if args.key?(:basic_fields_hash)
|
105493
106531
|
@catalog = args[:catalog] if args.key?(:catalog)
|
105494
106532
|
@compact_identifier = args[:compact_identifier] if args.key?(:compact_identifier)
|
105495
106533
|
@compact_identifier_from_citation = args[:compact_identifier_from_citation] if args.key?(:compact_identifier_from_citation)
|
@@ -109961,11 +110999,6 @@ module Google
|
|
109961
110999
|
# @return [Float]
|
109962
111000
|
attr_accessor :maximum_flash_ratio
|
109963
111001
|
|
109964
|
-
# Mobile friendliness score in the range of [0, 100]. See go/modena-ranking.
|
109965
|
-
# Corresponds to the JSON property `mobileFriendlyScore`
|
109966
|
-
# @return [Fixnum]
|
109967
|
-
attr_accessor :mobile_friendly_score
|
109968
|
-
|
109969
111002
|
# Indicates if the page is violating mobile interstitial policy and should be
|
109970
111003
|
# demoted. See go/interstitials-ranking-dd for details.
|
109971
111004
|
# Corresponds to the JSON property `violatesMobileInterstitialPolicy`
|
@@ -109987,7 +111020,6 @@ module Google
|
|
109987
111020
|
@is_smartphone_optimized = args[:is_smartphone_optimized] if args.key?(:is_smartphone_optimized)
|
109988
111021
|
@is_web_error_mobile_content = args[:is_web_error_mobile_content] if args.key?(:is_web_error_mobile_content)
|
109989
111022
|
@maximum_flash_ratio = args[:maximum_flash_ratio] if args.key?(:maximum_flash_ratio)
|
109990
|
-
@mobile_friendly_score = args[:mobile_friendly_score] if args.key?(:mobile_friendly_score)
|
109991
111023
|
@violates_mobile_interstitial_policy = args[:violates_mobile_interstitial_policy] if args.key?(:violates_mobile_interstitial_policy)
|
109992
111024
|
end
|
109993
111025
|
end
|
@@ -115818,7 +116850,7 @@ module Google
|
|
115818
116850
|
# @return [Fixnum]
|
115819
116851
|
attr_accessor :hop_robots_info
|
115820
116852
|
|
115821
|
-
# ============================ Next Tag:
|
116853
|
+
# ============================ Next Tag: 22 ============================ Data
|
115822
116854
|
# about the scheduling host bucket a URL was in (if the client wants to use this,
|
115823
116855
|
# e.g. for more intelligent scheduling, etc).
|
115824
116856
|
# Corresponds to the JSON property `HostBucketData`
|
@@ -116792,7 +117824,7 @@ module Google
|
|
116792
117824
|
end
|
116793
117825
|
end
|
116794
117826
|
|
116795
|
-
# ============================ Next Tag:
|
117827
|
+
# ============================ Next Tag: 22 ============================ Data
|
116796
117828
|
# about the scheduling host bucket a URL was in (if the client wants to use this,
|
116797
117829
|
# e.g. for more intelligent scheduling, etc).
|
116798
117830
|
class TrawlerHostBucketData
|
@@ -116917,6 +117949,17 @@ module Google
|
|
116917
117949
|
# @return [Fixnum]
|
116918
117950
|
attr_accessor :num_urls
|
116919
117951
|
|
117952
|
+
# Total qps for this partner dedicated hostload, for non partner it will be -1.0.
|
117953
|
+
# Corresponds to the JSON property `PartnerTotalCapacityQps`
|
117954
|
+
# @return [Float]
|
117955
|
+
attr_accessor :partner_total_capacity_qps
|
117956
|
+
|
117957
|
+
# Currently used qps for this partner dedicated hostlaod, for non partner it
|
117958
|
+
# will be -1.0.
|
117959
|
+
# Corresponds to the JSON property `PartnerTotalUsedQps`
|
117960
|
+
# @return [Float]
|
117961
|
+
attr_accessor :partner_total_used_qps
|
117962
|
+
|
116920
117963
|
# The type of the request (low latency vs. high throughput)
|
116921
117964
|
# Corresponds to the JSON property `RequestType`
|
116922
117965
|
# @return [String]
|
@@ -116938,6 +117981,8 @@ module Google
|
|
116938
117981
|
@is_list_for_url = args[:is_list_for_url] if args.key?(:is_list_for_url)
|
116939
117982
|
@num_current_fetches = args[:num_current_fetches] if args.key?(:num_current_fetches)
|
116940
117983
|
@num_urls = args[:num_urls] if args.key?(:num_urls)
|
117984
|
+
@partner_total_capacity_qps = args[:partner_total_capacity_qps] if args.key?(:partner_total_capacity_qps)
|
117985
|
+
@partner_total_used_qps = args[:partner_total_used_qps] if args.key?(:partner_total_used_qps)
|
116941
117986
|
@request_type = args[:request_type] if args.key?(:request_type)
|
116942
117987
|
@requestor_fp = args[:requestor_fp] if args.key?(:requestor_fp)
|
116943
117988
|
end
|
@@ -117716,7 +118761,8 @@ module Google
|
|
117716
118761
|
include Google::Apis::Core::Hashable
|
117717
118762
|
|
117718
118763
|
# The canonical error code (see codes.proto) that most closely corresponds to
|
117719
|
-
# this status.
|
118764
|
+
# this status. This may be missing, and in the common case of the generic space,
|
118765
|
+
# it definitely will be.
|
117720
118766
|
# Corresponds to the JSON property `canonicalCode`
|
117721
118767
|
# @return [Fixnum]
|
117722
118768
|
attr_accessor :canonical_code
|
@@ -124184,7 +125230,11 @@ module Google
|
|
124184
125230
|
# @return [Google::Apis::ContentwarehouseV1::VideoMediaOverviewMediaClipInfoOverview]
|
124185
125231
|
attr_accessor :media_clip_info_overview
|
124186
125232
|
|
124187
|
-
#
|
125233
|
+
# The orientation is annotated based on the final displayed resolution of the
|
125234
|
+
# video file. A video will be labelled PORTRAIT whenever the height is greater
|
125235
|
+
# than the width. The orientation is only labelled UNKNOWN in the case that the
|
125236
|
+
# video stream had some transformation that was not a rotation in the video
|
125237
|
+
# stream.
|
124188
125238
|
# Corresponds to the JSON property `orientation`
|
124189
125239
|
# @return [String]
|
124190
125240
|
attr_accessor :orientation
|
@@ -124199,7 +125249,11 @@ module Google
|
|
124199
125249
|
# @return [String]
|
124200
125250
|
attr_accessor :projection
|
124201
125251
|
|
124202
|
-
#
|
125252
|
+
# The resolution for a video takes into account the displayed video size, and
|
125253
|
+
# takes into account the orientation. For example: - A 1920x1080 video will have
|
125254
|
+
# ORIENTATION_LANDSCAPE and RESOLUTION_1080P - A 1080x1920 video will have
|
125255
|
+
# ORIENTATION_PORTRAIT and RESOLUTION_1080P - A 1080x1080 video will have
|
125256
|
+
# ORIENTATION_LANDSCAPE and RESOLUTION_1080P
|
124203
125257
|
# Corresponds to the JSON property `resolution`
|
124204
125258
|
# @return [String]
|
124205
125259
|
attr_accessor :resolution
|
@@ -125380,7 +126434,15 @@ module Google
|
|
125380
126434
|
# @return [Fixnum]
|
125381
126435
|
attr_accessor :stream_index
|
125382
126436
|
|
125383
|
-
# video width and height.
|
126437
|
+
# The video stream's width and height. Important notes: 1) These are the coded
|
126438
|
+
# dimensions of the video stream and DO NOT take into account any rotation
|
126439
|
+
# metadata that may be present in the video container. Prefer to use the
|
126440
|
+
# MediaOverview::resolution and MediaOverview::orientation when possible. 2) In
|
126441
|
+
# the case you want detailed displayed width/height information, you can use the
|
126442
|
+
# MediaOverview::orientation to determine the displayed dimensions. E.g., in the
|
126443
|
+
# case of PORTRAIT orientation: displayed_width = min(width, height)
|
126444
|
+
# displayed_height = max(width, height) And for LANDSCAPE orientation:
|
126445
|
+
# displayed_width = max(width, height) displayed_height = min(width, height)
|
125384
126446
|
# Corresponds to the JSON property `width`
|
125385
126447
|
# @return [Fixnum]
|
125386
126448
|
attr_accessor :width
|
@@ -127326,7 +128388,7 @@ module Google
|
|
127326
128388
|
|
127327
128389
|
# The following message contains info of sub image docs, it is populated in
|
127328
128390
|
# query_state and consumed in web image boost twiddler: (go/
|
127329
|
-
# WebImageBoostTwiddler).
|
128391
|
+
# WebImageBoostTwiddler). NextID: 25
|
127330
128392
|
class WwwResultInfoSubImageDocInfo
|
127331
128393
|
include Google::Apis::Core::Hashable
|
127332
128394
|
|
@@ -127351,6 +128413,11 @@ module Google
|
|
127351
128413
|
# @return [String]
|
127352
128414
|
attr_accessor :deep_crop_bytes
|
127353
128415
|
|
128416
|
+
# EQ* v3: Deep Image Engagingness(DImE) go/deep-image-engagingness-slides
|
128417
|
+
# Corresponds to the JSON property `dimeScore`
|
128418
|
+
# @return [Float]
|
128419
|
+
attr_accessor :dime_score
|
128420
|
+
|
127354
128421
|
#
|
127355
128422
|
# Corresponds to the JSON property `docid`
|
127356
128423
|
# @return [Fixnum]
|
@@ -127469,6 +128536,7 @@ module Google
|
|
127469
128536
|
@best_thumbnail_type = args[:best_thumbnail_type] if args.key?(:best_thumbnail_type)
|
127470
128537
|
@crops = args[:crops] if args.key?(:crops)
|
127471
128538
|
@deep_crop_bytes = args[:deep_crop_bytes] if args.key?(:deep_crop_bytes)
|
128539
|
+
@dime_score = args[:dime_score] if args.key?(:dime_score)
|
127472
128540
|
@docid = args[:docid] if args.key?(:docid)
|
127473
128541
|
@document_trust = args[:document_trust] if args.key?(:document_trust)
|
127474
128542
|
@eq_star = args[:eq_star] if args.key?(:eq_star)
|