google-apis-contentwarehouse_v1 0.13.0 → 0.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9b5503831f83f400990b3bdd8429829acf5f33b5aca65d475946d5c741d7170a
4
- data.tar.gz: 67a12e510da364b861d4a046f98765349b97fb459913534a19dc8a94ad00a0be
3
+ metadata.gz: 9ac35187704cde43ff633d7257a9ebbb200913a4e3f7c2ed9073ca2acad3fdc7
4
+ data.tar.gz: 47aab104dc20a1144ea90cd06710ae058ce34ff6602d2bc754f1f51a50c553af
5
5
  SHA512:
6
- metadata.gz: ca68cee5b560782716afd1742efe31887096866626e524c5c1d4a39d3a91ed887283dd42ac8f3e75f44a0379bd2f7c487bed54766695bedb3c02215c6e2eff3b
7
- data.tar.gz: 5562b2b0abde6a784ef74737c2aa39dd811cda04d055b1c178da8e6981f14c91e79250b45de3feeb38500c47d9cfcbd2abc293413ce80d23530f34b7af7eab13
6
+ metadata.gz: 110b31b0304a35ed8fcd35bec15f4ff8e0e17368a5e172098236ffd8e1d0025e19ca5f762809d9507f88929b3354a17fa1dbdc58c6abf08f5231f117fd989610
7
+ data.tar.gz: 6743b6c59fde96b3322af06b737500ed5cda27c1e90f5414b248eed935d0a11cad2cb339ff818ec998a268af93544799fb6c9f79fb4ee4881faaf6033b388719
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-contentwarehouse_v1
2
2
 
3
+ ### v0.14.0 (2023-04-23)
4
+
5
+ * Regenerated from discovery document revision 20230415
6
+
3
7
  ### v0.13.0 (2023-04-16)
4
8
 
5
9
  * Regenerated from discovery document revision 20230410
@@ -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
@@ -18032,7 +18041,7 @@ module Google
18032
18041
  attr_accessor :kg_provider_key
18033
18042
 
18034
18043
  # The MID of the provider. A MID is a unique identifier issued by Knowledge
18035
- # Graph for all entities contained in it's graph.
18044
+ # Graph for all entities contained in its graph.
18036
18045
  # Corresponds to the JSON property `mid`
18037
18046
  # @return [String]
18038
18047
  attr_accessor :mid
@@ -18114,7 +18123,7 @@ module Google
18114
18123
  attr_accessor :media_provider_id
18115
18124
 
18116
18125
  # The MID of the provider. A MID is a unique identifier issued by Knowledge
18117
- # Graph for all entities contained in it's graph.
18126
+ # Graph for all entities contained in its graph.
18118
18127
  # Corresponds to the JSON property `mid`
18119
18128
  # @return [String]
18120
18129
  attr_accessor :mid
@@ -18394,6 +18403,19 @@ module Google
18394
18403
  end
18395
18404
  end
18396
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
+
18397
18419
  # This capability represents device action needed capability. Next ID: 10
18398
18420
  class AssistantDevicesPlatformProtoDeviceActionCapability
18399
18421
  include Google::Apis::Core::Hashable
@@ -18622,6 +18644,7 @@ module Google
18622
18644
 
18623
18645
  # This message will specify supports for fields in |assistant.embedded.v1.
18624
18646
  # DeviceOp|, for a device model package. See go/easi-client-op2 for more info.
18647
+ # Next ID: 16
18625
18648
  # Corresponds to the JSON property `supportedDeviceOps`
18626
18649
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoSupportedDeviceOps]
18627
18650
  attr_accessor :supported_device_ops
@@ -18931,6 +18954,19 @@ module Google
18931
18954
  end
18932
18955
  end
18933
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
+
18934
18970
  #
18935
18971
  class AssistantDevicesPlatformProtoMediaStopCapability
18936
18972
  include Google::Apis::Core::Hashable
@@ -19091,6 +19127,7 @@ module Google
19091
19127
 
19092
19128
  # This message will specify supports for fields in |assistant.embedded.v1.
19093
19129
  # DeviceOp|, for a device model package. See go/easi-client-op2 for more info.
19130
+ # Next ID: 16
19094
19131
  class AssistantDevicesPlatformProtoSupportedDeviceOps
19095
19132
  include Google::Apis::Core::Hashable
19096
19133
 
@@ -19108,6 +19145,13 @@ module Google
19108
19145
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoClientReconnectCapability]
19109
19146
  attr_accessor :client_reconnect
19110
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
+
19111
19155
  # |device_modify_setting| specifies the support for device.MODIFY_SETTING
19112
19156
  # client_op, and the corresponding device_modify_setting field in assistant.
19113
19157
  # embedded.v1.DeviceOp.
@@ -19147,6 +19191,11 @@ module Google
19147
19191
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaResumeCapability]
19148
19192
  attr_accessor :media_resume
19149
19193
 
19194
+ #
19195
+ # Corresponds to the JSON property `mediaShowControls`
19196
+ # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaShowControlsCapability]
19197
+ attr_accessor :media_show_controls
19198
+
19150
19199
  #
19151
19200
  # Corresponds to the JSON property `mediaStop`
19152
19201
  # @return [Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaStopCapability]
@@ -19179,6 +19228,7 @@ module Google
19179
19228
  def update!(**args)
19180
19229
  @call_call = args[:call_call] if args.key?(:call_call)
19181
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)
19182
19232
  @device_modify_setting = args[:device_modify_setting] if args.key?(:device_modify_setting)
19183
19233
  @device_take_photo = args[:device_take_photo] if args.key?(:device_take_photo)
19184
19234
  @media_next = args[:media_next] if args.key?(:media_next)
@@ -19186,6 +19236,7 @@ module Google
19186
19236
  @media_play_media = args[:media_play_media] if args.key?(:media_play_media)
19187
19237
  @media_previous = args[:media_previous] if args.key?(:media_previous)
19188
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)
19189
19240
  @media_stop = args[:media_stop] if args.key?(:media_stop)
19190
19241
  @provider_fulfill = args[:provider_fulfill] if args.key?(:provider_fulfill)
19191
19242
  @provider_open = args[:provider_open] if args.key?(:provider_open)
@@ -19561,7 +19612,7 @@ module Google
19561
19612
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerDeviceGroundingProviderFeatures]
19562
19613
  attr_accessor :device_grounding_provider_features
19563
19614
 
19564
- # Features to be passed from Media GP to HGR. Next ID: 12
19615
+ # Features to be passed from Media GP to HGR. Next ID: 14
19565
19616
  # Corresponds to the JSON property `mediaGroundingProviderFeatures`
19566
19617
  # @return [Google::Apis::ContentwarehouseV1::AssistantGroundingRankerMediaGroundingProviderFeatures]
19567
19618
  attr_accessor :media_grounding_provider_features
@@ -19709,7 +19760,7 @@ module Google
19709
19760
  end
19710
19761
  end
19711
19762
 
19712
- # Features to be passed from Media GP to HGR. Next ID: 12
19763
+ # Features to be passed from Media GP to HGR. Next ID: 14
19713
19764
  class AssistantGroundingRankerMediaGroundingProviderFeatures
19714
19765
  include Google::Apis::Core::Hashable
19715
19766
 
@@ -19757,6 +19808,15 @@ module Google
19757
19808
  attr_accessor :is_seed_radio_request
19758
19809
  alias_method :is_seed_radio_request?, :is_seed_radio_request
19759
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
+
19760
19820
  # MSC(Media Short Click) rate. MSC rate = total number of MSC events / total
19761
19821
  # number of MSC candidates The event is considered as MSC candidate if the event
19762
19822
  # is a media seeking query(excluding follow-ons) and the media result is
@@ -19769,12 +19829,20 @@ module Google
19769
19829
  # @return [Float]
19770
19830
  attr_accessor :msc_rate
19771
19831
 
19772
- # Scubed predicted SAI value (pSAI) for music populated by a regression model
19773
- # that incorporates a BERT model signal as well as other Scubed signals.
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.
19774
19835
  # Corresponds to the JSON property `scubedPSaiMusic`
19775
19836
  # @return [Float]
19776
19837
  attr_accessor :scubed_p_sai_music
19777
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
+
19778
19846
  # Type of the media item.
19779
19847
  # Corresponds to the JSON property `type`
19780
19848
  # @return [String]
@@ -19798,8 +19866,10 @@ module Google
19798
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)
19799
19867
  @is_seed_radio = args[:is_seed_radio] if args.key?(:is_seed_radio)
19800
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)
19801
19870
  @msc_rate = args[:msc_rate] if args.key?(:msc_rate)
19802
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)
19803
19873
  @type = args[:type] if args.key?(:type)
19804
19874
  @youtube_confidence_score = args[:youtube_confidence_score] if args.key?(:youtube_confidence_score)
19805
19875
  end
@@ -35151,6 +35221,16 @@ module Google
35151
35221
  class GeostoreInternalSegmentProto
35152
35222
  include Google::Apis::Core::Hashable
35153
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
+
35154
35234
  # The set of restrictions that apply to this segment; these are actually *
35155
35235
  # POSITIVE* restrictions, i.e. they are known to be allowed.
35156
35236
  # Corresponds to the JSON property `travelAllowance`
@@ -35163,10 +35243,59 @@ module Google
35163
35243
 
35164
35244
  # Update properties of this object
35165
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)
35166
35248
  @travel_allowance = args[:travel_allowance] if args.key?(:travel_allowance)
35167
35249
  end
35168
35250
  end
35169
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
+
35170
35299
  #
35171
35300
  class GeostoreInternalSourceSummaryProto
35172
35301
  include Google::Apis::Core::Hashable
@@ -38894,7 +39023,11 @@ module Google
38894
39023
  # @return [Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto]
38895
39024
  attr_accessor :sibling
38896
39025
 
38897
- # RESERVED
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.
38898
39031
  # Corresponds to the JSON property `slope`
38899
39032
  # @return [Array<Google::Apis::ContentwarehouseV1::GeostoreSlopeProto>]
38900
39033
  attr_accessor :slope
@@ -48209,6 +48342,11 @@ module Google
48209
48342
  # @return [Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentProvenance]
48210
48343
  attr_accessor :provenance
48211
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
+
48212
48350
  def initialize(**args)
48213
48351
  update!(**args)
48214
48352
  end
@@ -48219,6 +48357,7 @@ module Google
48219
48357
  @detected_languages = args[:detected_languages] if args.key?(:detected_languages)
48220
48358
  @layout = args[:layout] if args.key?(:layout)
48221
48359
  @provenance = args[:provenance] if args.key?(:provenance)
48360
+ @style_info = args[:style_info] if args.key?(:style_info)
48222
48361
  end
48223
48362
  end
48224
48363
 
@@ -48241,6 +48380,206 @@ module Google
48241
48380
  end
48242
48381
  end
48243
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
+
48244
48583
  # Detected non-text visual elements e.g. checkbox, signature etc. on the page.
48245
48584
  class GoogleCloudDocumentaiV1DocumentPageVisualElement
48246
48585
  include Google::Apis::Core::Hashable
@@ -61833,12 +62172,6 @@ module Google
61833
62172
  # @return [Google::Apis::ContentwarehouseV1::NlpMeaningMeaningRemodelings]
61834
62173
  attr_accessor :remodelings
61835
62174
 
61836
- # This field is deprecated. It is not removed completely since this proto was
61837
- # saved with this field in proto text files used by the Grammy tool.
61838
- # Corresponds to the JSON property `stbrDomain`
61839
- # @return [Array<String>]
61840
- attr_accessor :stbr_domain
61841
-
61842
62175
  def initialize(**args)
61843
62176
  update!(**args)
61844
62177
  end
@@ -61852,7 +62185,6 @@ module Google
61852
62185
  @in_all_collections = args[:in_all_collections] if args.key?(:in_all_collections)
61853
62186
  @include_geolocation_data = args[:include_geolocation_data] if args.key?(:include_geolocation_data)
61854
62187
  @remodelings = args[:remodelings] if args.key?(:remodelings)
61855
- @stbr_domain = args[:stbr_domain] if args.key?(:stbr_domain)
61856
62188
  end
61857
62189
  end
61858
62190
 
@@ -62666,7 +62998,7 @@ module Google
62666
62998
  # @return [Array<String>]
62667
62999
  attr_accessor :deprecated_freebase_type
62668
63000
 
62669
- # A list of mids that "support" this argument in voting, i.e, results that
63001
+ # A list of mids that "support" this argument in voting, i.e., results that
62670
63002
  # support these mids will be treated as if they support the argument. This field
62671
63003
  # has been deprecated in favor of related_entity. b/27363861
62672
63004
  # Corresponds to the JSON property `deprecatedSupportingMid`
@@ -62723,7 +63055,7 @@ module Google
62723
63055
  # @return [Fixnum]
62724
63056
  attr_accessor :gaia_id
62725
63057
 
62726
- # Grounding-related signals to be propagated down stream. Next ID: 12
63058
+ # Grounding-related signals to be propagated down stream. Next ID: 14
62727
63059
  # Corresponds to the JSON property `groundingSignals`
62728
63060
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryGroundingSignals]
62729
63061
  attr_accessor :grounding_signals
@@ -63691,7 +64023,7 @@ module Google
63691
64023
  # @return [String]
63692
64024
  attr_accessor :freefolks_trigger
63693
64025
 
63694
- # Grounding-related signals to be propagated down stream. Next ID: 12
64026
+ # Grounding-related signals to be propagated down stream. Next ID: 14
63695
64027
  # Corresponds to the JSON property `groundingSignals`
63696
64028
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersIntentQueryGroundingSignals]
63697
64029
  attr_accessor :grounding_signals
@@ -63907,7 +64239,7 @@ module Google
63907
64239
  end
63908
64240
  end
63909
64241
 
63910
- # Grounding-related signals to be propagated down stream. Next ID: 12
64242
+ # Grounding-related signals to be propagated down stream. Next ID: 14
63911
64243
  class KnowledgeAnswersIntentQueryGroundingSignals
63912
64244
  include Google::Apis::Core::Hashable
63913
64245
 
@@ -63969,6 +64301,16 @@ module Google
63969
64301
  # @return [String]
63970
64302
  attr_accessor :pgrp_output_format
63971
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
+
63972
64314
  # If true, then GroundingBox and PGRP are used in AnswersRewriter to process the
63973
64315
  # intent. Other post-processing steps, including IGDP, are adjusted accordingly.
63974
64316
  # Note this will be removed once GroundingBox is fully launched and all prod
@@ -63995,6 +64337,8 @@ module Google
63995
64337
  @num_variables = args[:num_variables] if args.key?(:num_variables)
63996
64338
  @num_variables_grounded = args[:num_variables_grounded] if args.key?(:num_variables_grounded)
63997
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)
63998
64342
  @uses_grounding_box = args[:uses_grounding_box] if args.key?(:uses_grounding_box)
63999
64343
  end
64000
64344
  end
@@ -66702,36 +67046,6 @@ module Google
66702
67046
  end
66703
67047
  end
66704
67048
 
66705
- # A TypeTrait configures a value that has a property with any of the given
66706
- # trait_id. In practice this means: - any entity that has a metadata ID defined
66707
- # in the KP type_schema, - any intent that has a slot with the given ID. When
66708
- # comparing trait_id to metadata IDs or slot IDs, we lowercase and normalize for
66709
- # comparison.
66710
- class KnowledgeAnswersTypeTrait
66711
- include Google::Apis::Core::Hashable
66712
-
66713
- # This proto will be added as a field to part of a schema to indicate it is
66714
- # being remodeled.
66715
- # Corresponds to the JSON property `remodelings`
66716
- # @return [Google::Apis::ContentwarehouseV1::NlpMeaningMeaningRemodelings]
66717
- attr_accessor :remodelings
66718
-
66719
- #
66720
- # Corresponds to the JSON property `traitId`
66721
- # @return [Array<String>]
66722
- attr_accessor :trait_id
66723
-
66724
- def initialize(**args)
66725
- update!(**args)
66726
- end
66727
-
66728
- # Update properties of this object
66729
- def update!(**args)
66730
- @remodelings = args[:remodelings] if args.key?(:remodelings)
66731
- @trait_id = args[:trait_id] if args.key?(:trait_id)
66732
- end
66733
- end
66734
-
66735
67049
  #
66736
67050
  class KnowledgeAnswersUnionType
66737
67051
  include Google::Apis::Core::Hashable
@@ -66876,11 +67190,6 @@ module Google
66876
67190
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersPlexityRequirement]
66877
67191
  attr_accessor :plexity_requirement
66878
67192
 
66879
- #
66880
- # Corresponds to the JSON property `pluralityType`
66881
- # @return [String]
66882
- attr_accessor :plurality_type
66883
-
66884
67193
  # A special type representing a polar question.
66885
67194
  # Corresponds to the JSON property `polarQuestionType`
66886
67195
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersPolarQuestionType]
@@ -66914,15 +67223,6 @@ module Google
66914
67223
  # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersTrackingNumberType]
66915
67224
  attr_accessor :tracking_number_type
66916
67225
 
66917
- # A TypeTrait configures a value that has a property with any of the given
66918
- # trait_id. In practice this means: - any entity that has a metadata ID defined
66919
- # in the KP type_schema, - any intent that has a slot with the given ID. When
66920
- # comparing trait_id to metadata IDs or slot IDs, we lowercase and normalize for
66921
- # comparison.
66922
- # Corresponds to the JSON property `withTrait`
66923
- # @return [Google::Apis::ContentwarehouseV1::KnowledgeAnswersTypeTrait]
66924
- attr_accessor :with_trait
66925
-
66926
67226
  def initialize(**args)
66927
67227
  update!(**args)
66928
67228
  end
@@ -66944,14 +67244,12 @@ module Google
66944
67244
  @number_type = args[:number_type] if args.key?(:number_type)
66945
67245
  @opaque_type = args[:opaque_type] if args.key?(:opaque_type)
66946
67246
  @plexity_requirement = args[:plexity_requirement] if args.key?(:plexity_requirement)
66947
- @plurality_type = args[:plurality_type] if args.key?(:plurality_type)
66948
67247
  @polar_question_type = args[:polar_question_type] if args.key?(:polar_question_type)
66949
67248
  @semantic_type = args[:semantic_type] if args.key?(:semantic_type)
66950
67249
  @state_of_affairs_type = args[:state_of_affairs_type] if args.key?(:state_of_affairs_type)
66951
67250
  @string_type = args[:string_type] if args.key?(:string_type)
66952
67251
  @timezone_type = args[:timezone_type] if args.key?(:timezone_type)
66953
67252
  @tracking_number_type = args[:tracking_number_type] if args.key?(:tracking_number_type)
66954
- @with_trait = args[:with_trait] if args.key?(:with_trait)
66955
67253
  end
66956
67254
  end
66957
67255
 
@@ -72762,7 +73060,7 @@ module Google
72762
73060
  attr_accessor :association
72763
73061
 
72764
73062
  # A proto for storing inferred and reconciled metadata for Science Search. Next
72765
- # available tag: 70
73063
+ # available tag: 71
72766
73064
  # Corresponds to the JSON property `datasetMetadata`
72767
73065
  # @return [Google::Apis::ContentwarehouseV1::ResearchScienceSearchReconciledMetadata]
72768
73066
  attr_accessor :dataset_metadata
@@ -93103,9 +93401,7 @@ module Google
93103
93401
  # @return [String]
93104
93402
  attr_accessor :doc_lang
93105
93403
 
93106
- # Represents how relavant this title candidate is to the document. Ranged in [0,
93107
- # 1], and this signal is basically calculated as Cosine-similarity between
93108
- # salient term vector and pQ2T model of title candidate sentence.
93404
+ #
93109
93405
  # Corresponds to the JSON property `docRelevance`
93110
93406
  # @return [Float]
93111
93407
  attr_accessor :doc_relevance
@@ -93328,9 +93624,7 @@ module Google
93328
93624
  # @return [Float]
93329
93625
  attr_accessor :query_match_fraction
93330
93626
 
93331
- # Represents how relavant this title candidate is to the query. Ranged in [0, 1],
93332
- # and this signal is basically calculated as Cosine-similarity between QBST
93333
- # term vector and pQ2T model of title candidate sentence.
93627
+ # Deprecated experimental features.
93334
93628
  # Corresponds to the JSON property `queryRelevance`
93335
93629
  # @return [Float]
93336
93630
  attr_accessor :query_relevance
@@ -105886,7 +106180,7 @@ module Google
105886
106180
  end
105887
106181
 
105888
106182
  # A proto for storing inferred and reconciled metadata for Science Search. Next
105889
- # available tag: 70
106183
+ # available tag: 71
105890
106184
  class ResearchScienceSearchReconciledMetadata
105891
106185
  include Google::Apis::Core::Hashable
105892
106186
 
@@ -105903,6 +106197,13 @@ module Google
105903
106197
  # @return [String]
105904
106198
  attr_accessor :author_list
105905
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
+
105906
106207
  # Information on the catalog that this dataset comes from. Next ID: 5
105907
106208
  # Corresponds to the JSON property `catalog`
105908
106209
  # @return [Google::Apis::ContentwarehouseV1::ResearchScienceSearchCatalog]
@@ -106226,6 +106527,7 @@ module Google
106226
106527
  def update!(**args)
106227
106528
  @alternate_name = args[:alternate_name] if args.key?(:alternate_name)
106228
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)
106229
106531
  @catalog = args[:catalog] if args.key?(:catalog)
106230
106532
  @compact_identifier = args[:compact_identifier] if args.key?(:compact_identifier)
106231
106533
  @compact_identifier_from_citation = args[:compact_identifier_from_citation] if args.key?(:compact_identifier_from_citation)
@@ -116548,7 +116850,7 @@ module Google
116548
116850
  # @return [Fixnum]
116549
116851
  attr_accessor :hop_robots_info
116550
116852
 
116551
- # ============================ Next Tag: 21 ============================ Data
116853
+ # ============================ Next Tag: 22 ============================ Data
116552
116854
  # about the scheduling host bucket a URL was in (if the client wants to use this,
116553
116855
  # e.g. for more intelligent scheduling, etc).
116554
116856
  # Corresponds to the JSON property `HostBucketData`
@@ -117522,7 +117824,7 @@ module Google
117522
117824
  end
117523
117825
  end
117524
117826
 
117525
- # ============================ Next Tag: 21 ============================ Data
117827
+ # ============================ Next Tag: 22 ============================ Data
117526
117828
  # about the scheduling host bucket a URL was in (if the client wants to use this,
117527
117829
  # e.g. for more intelligent scheduling, etc).
117528
117830
  class TrawlerHostBucketData
@@ -117647,6 +117949,17 @@ module Google
117647
117949
  # @return [Fixnum]
117648
117950
  attr_accessor :num_urls
117649
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
+
117650
117963
  # The type of the request (low latency vs. high throughput)
117651
117964
  # Corresponds to the JSON property `RequestType`
117652
117965
  # @return [String]
@@ -117668,6 +117981,8 @@ module Google
117668
117981
  @is_list_for_url = args[:is_list_for_url] if args.key?(:is_list_for_url)
117669
117982
  @num_current_fetches = args[:num_current_fetches] if args.key?(:num_current_fetches)
117670
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)
117671
117986
  @request_type = args[:request_type] if args.key?(:request_type)
117672
117987
  @requestor_fp = args[:requestor_fp] if args.key?(:requestor_fp)
117673
117988
  end
@@ -124915,7 +125230,11 @@ module Google
124915
125230
  # @return [Google::Apis::ContentwarehouseV1::VideoMediaOverviewMediaClipInfoOverview]
124916
125231
  attr_accessor :media_clip_info_overview
124917
125232
 
124918
- #
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.
124919
125238
  # Corresponds to the JSON property `orientation`
124920
125239
  # @return [String]
124921
125240
  attr_accessor :orientation
@@ -124930,7 +125249,11 @@ module Google
124930
125249
  # @return [String]
124931
125250
  attr_accessor :projection
124932
125251
 
124933
- #
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
124934
125257
  # Corresponds to the JSON property `resolution`
124935
125258
  # @return [String]
124936
125259
  attr_accessor :resolution
@@ -126111,7 +126434,15 @@ module Google
126111
126434
  # @return [Fixnum]
126112
126435
  attr_accessor :stream_index
126113
126436
 
126114
- # 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)
126115
126446
  # Corresponds to the JSON property `width`
126116
126447
  # @return [Fixnum]
126117
126448
  attr_accessor :width
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ContentwarehouseV1
18
18
  # Version of the google-apis-contentwarehouse_v1 gem
19
- GEM_VERSION = "0.13.0"
19
+ GEM_VERSION = "0.14.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230410"
25
+ REVISION = "20230415"
26
26
  end
27
27
  end
28
28
  end
@@ -2386,6 +2386,12 @@ module Google
2386
2386
  include Google::Apis::Core::JsonObjectSupport
2387
2387
  end
2388
2388
 
2389
+ class AssistantDevicesPlatformProtoCoreDismissAssistantCapability
2390
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2391
+
2392
+ include Google::Apis::Core::JsonObjectSupport
2393
+ end
2394
+
2389
2395
  class AssistantDevicesPlatformProtoDeviceActionCapability
2390
2396
  class Representation < Google::Apis::Core::JsonRepresentation; end
2391
2397
 
@@ -2470,6 +2476,12 @@ module Google
2470
2476
  include Google::Apis::Core::JsonObjectSupport
2471
2477
  end
2472
2478
 
2479
+ class AssistantDevicesPlatformProtoMediaShowControlsCapability
2480
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2481
+
2482
+ include Google::Apis::Core::JsonObjectSupport
2483
+ end
2484
+
2473
2485
  class AssistantDevicesPlatformProtoMediaStopCapability
2474
2486
  class Representation < Google::Apis::Core::JsonRepresentation; end
2475
2487
 
@@ -4360,6 +4372,12 @@ module Google
4360
4372
  include Google::Apis::Core::JsonObjectSupport
4361
4373
  end
4362
4374
 
4375
+ class GeostoreInternalSegmentProtoLaneConnectionReference
4376
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4377
+
4378
+ include Google::Apis::Core::JsonObjectSupport
4379
+ end
4380
+
4363
4381
  class GeostoreInternalSourceSummaryProto
4364
4382
  class Representation < Google::Apis::Core::JsonRepresentation; end
4365
4383
 
@@ -6100,6 +6118,12 @@ module Google
6100
6118
  include Google::Apis::Core::JsonObjectSupport
6101
6119
  end
6102
6120
 
6121
+ class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo
6122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6123
+
6124
+ include Google::Apis::Core::JsonObjectSupport
6125
+ end
6126
+
6103
6127
  class GoogleCloudDocumentaiV1DocumentPageVisualElement
6104
6128
  class Representation < Google::Apis::Core::JsonRepresentation; end
6105
6129
 
@@ -8374,12 +8398,6 @@ module Google
8374
8398
  include Google::Apis::Core::JsonObjectSupport
8375
8399
  end
8376
8400
 
8377
- class KnowledgeAnswersTypeTrait
8378
- class Representation < Google::Apis::Core::JsonRepresentation; end
8379
-
8380
- include Google::Apis::Core::JsonObjectSupport
8381
- end
8382
-
8383
8401
  class KnowledgeAnswersUnionType
8384
8402
  class Representation < Google::Apis::Core::JsonRepresentation; end
8385
8403
 
@@ -18497,6 +18515,7 @@ module Google
18497
18515
  # @private
18498
18516
  class Representation < Google::Apis::Core::JsonRepresentation
18499
18517
  property :fallback_to_tethered_device_app_capabilities, as: 'fallbackToTetheredDeviceAppCapabilities'
18518
+ property :prefer_targeting_primary_device, as: 'preferTargetingPrimaryDevice'
18500
18519
  collection :supported_recipient_types, as: 'supportedRecipientTypes'
18501
18520
  end
18502
18521
  end
@@ -19749,6 +19768,12 @@ module Google
19749
19768
  end
19750
19769
  end
19751
19770
 
19771
+ class AssistantDevicesPlatformProtoCoreDismissAssistantCapability
19772
+ # @private
19773
+ class Representation < Google::Apis::Core::JsonRepresentation
19774
+ end
19775
+ end
19776
+
19752
19777
  class AssistantDevicesPlatformProtoDeviceActionCapability
19753
19778
  # @private
19754
19779
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -19892,6 +19917,12 @@ module Google
19892
19917
  end
19893
19918
  end
19894
19919
 
19920
+ class AssistantDevicesPlatformProtoMediaShowControlsCapability
19921
+ # @private
19922
+ class Representation < Google::Apis::Core::JsonRepresentation
19923
+ end
19924
+ end
19925
+
19895
19926
  class AssistantDevicesPlatformProtoMediaStopCapability
19896
19927
  # @private
19897
19928
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -19956,6 +19987,8 @@ module Google
19956
19987
 
19957
19988
  property :client_reconnect, as: 'clientReconnect', class: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoClientReconnectCapability, decorator: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoClientReconnectCapability::Representation
19958
19989
 
19990
+ property :core_dismiss_assistant, as: 'coreDismissAssistant', class: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoCoreDismissAssistantCapability, decorator: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoCoreDismissAssistantCapability::Representation
19991
+
19959
19992
  property :device_modify_setting, as: 'deviceModifySetting', class: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoDeviceModifySettingCapability, decorator: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoDeviceModifySettingCapability::Representation
19960
19993
 
19961
19994
  property :device_take_photo, as: 'deviceTakePhoto', class: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoDeviceTakePhotoCapability, decorator: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoDeviceTakePhotoCapability::Representation
@@ -19970,6 +20003,8 @@ module Google
19970
20003
 
19971
20004
  property :media_resume, as: 'mediaResume', class: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaResumeCapability, decorator: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaResumeCapability::Representation
19972
20005
 
20006
+ property :media_show_controls, as: 'mediaShowControls', class: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaShowControlsCapability, decorator: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaShowControlsCapability::Representation
20007
+
19973
20008
  property :media_stop, as: 'mediaStop', class: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaStopCapability, decorator: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoMediaStopCapability::Representation
19974
20009
 
19975
20010
  property :provider_fulfill, as: 'providerFulfill', class: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoProviderFulfillCapability, decorator: Google::Apis::ContentwarehouseV1::AssistantDevicesPlatformProtoProviderFulfillCapability::Representation
@@ -20138,8 +20173,10 @@ module Google
20138
20173
  property :is_media_search_query_subset_of_entity_name_and_artist, as: 'isMediaSearchQuerySubsetOfEntityNameAndArtist'
20139
20174
  property :is_seed_radio, as: 'isSeedRadio'
20140
20175
  property :is_seed_radio_request, as: 'isSeedRadioRequest'
20176
+ property :media_content_type, as: 'mediaContentType'
20141
20177
  property :msc_rate, as: 'mscRate'
20142
20178
  property :scubed_p_sai_music, as: 'scubedPSaiMusic'
20179
+ property :scubed_p_sai_tvm, as: 'scubedPSaiTvm'
20143
20180
  property :type, as: 'type'
20144
20181
  property :youtube_confidence_score, as: 'youtubeConfidenceScore'
20145
20182
  end
@@ -23877,11 +23914,25 @@ module Google
23877
23914
  class GeostoreInternalSegmentProto
23878
23915
  # @private
23879
23916
  class Representation < Google::Apis::Core::JsonRepresentation
23917
+ collection :disallowed_connections, as: 'disallowedConnections', class: Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference, decorator: Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference::Representation
23918
+
23919
+ collection :disallowed_primary_connection, as: 'disallowedPrimaryConnection', class: Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference, decorator: Google::Apis::ContentwarehouseV1::GeostoreInternalSegmentProtoLaneConnectionReference::Representation
23920
+
23880
23921
  collection :travel_allowance, as: 'travelAllowance', class: Google::Apis::ContentwarehouseV1::GeostoreRestrictionProto, decorator: Google::Apis::ContentwarehouseV1::GeostoreRestrictionProto::Representation
23881
23922
 
23882
23923
  end
23883
23924
  end
23884
23925
 
23926
+ class GeostoreInternalSegmentProtoLaneConnectionReference
23927
+ # @private
23928
+ class Representation < Google::Apis::Core::JsonRepresentation
23929
+ property :from_lane_number, as: 'fromLaneNumber'
23930
+ property :segment, as: 'segment', class: Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto, decorator: Google::Apis::ContentwarehouseV1::GeostoreFeatureIdProto::Representation
23931
+
23932
+ property :to_lane_number, as: 'toLaneNumber'
23933
+ end
23934
+ end
23935
+
23885
23936
  class GeostoreInternalSourceSummaryProto
23886
23937
  # @private
23887
23938
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -27188,6 +27239,8 @@ module Google
27188
27239
 
27189
27240
  property :provenance, as: 'provenance', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentProvenance, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentProvenance::Representation
27190
27241
 
27242
+ property :style_info, as: 'styleInfo', class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo, decorator: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo::Representation
27243
+
27191
27244
  end
27192
27245
  end
27193
27246
 
@@ -27198,6 +27251,29 @@ module Google
27198
27251
  end
27199
27252
  end
27200
27253
 
27254
+ class GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo
27255
+ # @private
27256
+ class Representation < Google::Apis::Core::JsonRepresentation
27257
+ property :background_color, as: 'backgroundColor', class: Google::Apis::ContentwarehouseV1::GoogleTypeColor, decorator: Google::Apis::ContentwarehouseV1::GoogleTypeColor::Representation
27258
+
27259
+ property :bold, as: 'bold'
27260
+ property :font_size, as: 'fontSize'
27261
+ property :font_type, as: 'fontType'
27262
+ property :font_weight, as: 'fontWeight'
27263
+ property :handwritten, as: 'handwritten'
27264
+ property :italic, as: 'italic'
27265
+ property :letter_spacing, as: 'letterSpacing'
27266
+ property :pixel_font_size, as: 'pixelFontSize'
27267
+ property :smallcaps, as: 'smallcaps'
27268
+ property :strikeout, as: 'strikeout'
27269
+ property :subscript, as: 'subscript'
27270
+ property :superscript, as: 'superscript'
27271
+ property :text_color, as: 'textColor', class: Google::Apis::ContentwarehouseV1::GoogleTypeColor, decorator: Google::Apis::ContentwarehouseV1::GoogleTypeColor::Representation
27272
+
27273
+ property :underlined, as: 'underlined'
27274
+ end
27275
+ end
27276
+
27201
27277
  class GoogleCloudDocumentaiV1DocumentPageVisualElement
27202
27278
  # @private
27203
27279
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -30531,7 +30607,6 @@ module Google
30531
30607
  property :include_geolocation_data, as: 'includeGeolocationData'
30532
30608
  property :remodelings, as: 'remodelings', class: Google::Apis::ContentwarehouseV1::NlpMeaningMeaningRemodelings, decorator: Google::Apis::ContentwarehouseV1::NlpMeaningMeaningRemodelings::Representation
30533
30609
 
30534
- collection :stbr_domain, as: 'stbrDomain'
30535
30610
  end
30536
30611
  end
30537
30612
 
@@ -31039,6 +31114,8 @@ module Google
31039
31114
  property :num_variables, as: 'numVariables'
31040
31115
  property :num_variables_grounded, as: 'numVariablesGrounded'
31041
31116
  property :pgrp_output_format, as: 'pgrpOutputFormat'
31117
+ property :provenance, as: 'provenance'
31118
+ property :sentiment, as: 'sentiment'
31042
31119
  property :uses_grounding_box, as: 'usesGroundingBox'
31043
31120
  end
31044
31121
  end
@@ -31866,15 +31943,6 @@ module Google
31866
31943
  end
31867
31944
  end
31868
31945
 
31869
- class KnowledgeAnswersTypeTrait
31870
- # @private
31871
- class Representation < Google::Apis::Core::JsonRepresentation
31872
- property :remodelings, as: 'remodelings', class: Google::Apis::ContentwarehouseV1::NlpMeaningMeaningRemodelings, decorator: Google::Apis::ContentwarehouseV1::NlpMeaningMeaningRemodelings::Representation
31873
-
31874
- collection :trait_id, as: 'traitId'
31875
- end
31876
- end
31877
-
31878
31946
  class KnowledgeAnswersUnionType
31879
31947
  # @private
31880
31948
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -31914,7 +31982,6 @@ module Google
31914
31982
 
31915
31983
  property :plexity_requirement, as: 'plexityRequirement', class: Google::Apis::ContentwarehouseV1::KnowledgeAnswersPlexityRequirement, decorator: Google::Apis::ContentwarehouseV1::KnowledgeAnswersPlexityRequirement::Representation
31916
31984
 
31917
- property :plurality_type, as: 'pluralityType'
31918
31985
  property :polar_question_type, as: 'polarQuestionType', class: Google::Apis::ContentwarehouseV1::KnowledgeAnswersPolarQuestionType, decorator: Google::Apis::ContentwarehouseV1::KnowledgeAnswersPolarQuestionType::Representation
31919
31986
 
31920
31987
  property :semantic_type, as: 'semanticType', class: Google::Apis::ContentwarehouseV1::KnowledgeAnswersSemanticType, decorator: Google::Apis::ContentwarehouseV1::KnowledgeAnswersSemanticType::Representation
@@ -31927,8 +31994,6 @@ module Google
31927
31994
 
31928
31995
  property :tracking_number_type, as: 'trackingNumberType', class: Google::Apis::ContentwarehouseV1::KnowledgeAnswersTrackingNumberType, decorator: Google::Apis::ContentwarehouseV1::KnowledgeAnswersTrackingNumberType::Representation
31929
31996
 
31930
- property :with_trait, as: 'withTrait', class: Google::Apis::ContentwarehouseV1::KnowledgeAnswersTypeTrait, decorator: Google::Apis::ContentwarehouseV1::KnowledgeAnswersTypeTrait::Representation
31931
-
31932
31997
  end
31933
31998
  end
31934
31999
 
@@ -41277,6 +41342,7 @@ module Google
41277
41342
  class Representation < Google::Apis::Core::JsonRepresentation
41278
41343
  collection :alternate_name, as: 'alternateName'
41279
41344
  property :author_list, as: 'authorList'
41345
+ property :basic_fields_hash, :numeric_string => true, as: 'basicFieldsHash'
41280
41346
  property :catalog, as: 'catalog', class: Google::Apis::ContentwarehouseV1::ResearchScienceSearchCatalog, decorator: Google::Apis::ContentwarehouseV1::ResearchScienceSearchCatalog::Representation
41281
41347
 
41282
41348
  collection :compact_identifier, as: 'compactIdentifier'
@@ -44091,6 +44157,8 @@ module Google
44091
44157
  property :is_list_for_url, as: 'IsListForUrl'
44092
44158
  property :num_current_fetches, as: 'NumCurrentFetches'
44093
44159
  property :num_urls, as: 'NumUrls'
44160
+ property :partner_total_capacity_qps, as: 'PartnerTotalCapacityQps'
44161
+ property :partner_total_used_qps, as: 'PartnerTotalUsedQps'
44094
44162
  property :request_type, as: 'RequestType'
44095
44163
  property :requestor_fp, :numeric_string => true, as: 'RequestorFp'
44096
44164
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-contentwarehouse_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-16 00:00:00.000000000 Z
11
+ date: 2023-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contentwarehouse_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.14.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-contentwarehouse_v1
63
63
  post_install_message:
64
64
  rdoc_options: []