google-apis-contentwarehouse_v1 0.19.0 → 0.20.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f718cdb792af664211de5e0648cf396aa6feb8c08cd04ff6049ebb0a3b4fb89
4
- data.tar.gz: f998521db1b3f14b37dfe499d96f51b597c88b680b8e522afa26802f1ab1094e
3
+ metadata.gz: 1c7e55900fe946bd2c37ec014c2de05f30aaf6551d94e402352d5c923181556d
4
+ data.tar.gz: 452786504f1851bd08e3c26a2d054f64317edf33445049bbd8cfd6edfce72717
5
5
  SHA512:
6
- metadata.gz: 7e6b2da2d21522cdc4a9fc47606a3e133a9094712fa8d826e7b38178716044e01bc028314f1e63df672409e5a62d6e1bec251fbffdd8eb831c3bfc31ebafdc53
7
- data.tar.gz: 13cbd3d418e87424fb3d065237c0c1b0c257abbb2023aa43324f08a064e8412a98a079d3ccd0bf9d4c8e81712c634d5ab4683b7957bd5671ae46c86f5ad6c237
6
+ metadata.gz: 37f356383c55ab66571fcf4ef2206eef1094306b0adad3cbdf46b8e22af0daa8f651ae451b085ebaa24af5244bea80a593b391195752177cca23b5c9a1372f27
7
+ data.tar.gz: 999de7b72abddcc571a74fdaabbbb5b541b4eef1c3a0b8c9e585b8976329b576296cf654a0fc37ee4d1f6fa1e7533320e4aef207554684124869ae37f79d6a8a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-contentwarehouse_v1
2
2
 
3
+ ### v0.20.0 (2023-07-02)
4
+
5
+ * Regenerated from discovery document revision 20230627
6
+
3
7
  ### v0.19.0 (2023-06-25)
4
8
 
5
9
  * Regenerated from discovery document revision 20230620
@@ -2404,6 +2404,14 @@ module Google
2404
2404
  # @return [String]
2405
2405
  attr_accessor :app_unique_id
2406
2406
 
2407
+ # Where this contact info was retrieved from. Note: only added for Assistant
2408
+ # usage, and will not be populated by PAPI. This is due to the coupling between
2409
+ # Assistant Proto, and PAPI proto. (//depot/google3/quality/qrewrite/servlets/
2410
+ # proto/focus_name.proto)
2411
+ # Corresponds to the JSON property `contactInfoSource`
2412
+ # @return [String]
2413
+ attr_accessor :contact_info_source
2414
+
2407
2415
  # Store third party endpoint that is displayed to users. For example,
2408
2416
  # display_app_unique_id for Whatsapp will be "Message +11234567890".
2409
2417
  # Corresponds to the JSON property `displayAppUniqueId`
@@ -2431,6 +2439,7 @@ module Google
2431
2439
  # Update properties of this object
2432
2440
  def update!(**args)
2433
2441
  @app_unique_id = args[:app_unique_id] if args.key?(:app_unique_id)
2442
+ @contact_info_source = args[:contact_info_source] if args.key?(:contact_info_source)
2434
2443
  @display_app_unique_id = args[:display_app_unique_id] if args.key?(:display_app_unique_id)
2435
2444
  @label = args[:label] if args.key?(:label)
2436
2445
  @mimetype = args[:mimetype] if args.key?(:mimetype)
@@ -3015,11 +3024,6 @@ module Google
3015
3024
  class AppsPeopleOzExternalMergedpeopleapiConnectionReminder
3016
3025
  include Google::Apis::Core::Hashable
3017
3026
 
3018
- # Contains the Contact level settings that will affect all reminders.
3019
- # Corresponds to the JSON property `contactPromptSettings`
3020
- # @return [Google::Apis::ContentwarehouseV1::SocialGraphApiProtoContactPromptSettings]
3021
- attr_accessor :contact_prompt_settings
3022
-
3023
3027
  # Metadata for a single Person field. See go/understanding-merged-person
3024
3028
  # Corresponds to the JSON property `metadata`
3025
3029
  # @return [Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata]
@@ -3036,7 +3040,6 @@ module Google
3036
3040
 
3037
3041
  # Update properties of this object
3038
3042
  def update!(**args)
3039
- @contact_prompt_settings = args[:contact_prompt_settings] if args.key?(:contact_prompt_settings)
3040
3043
  @metadata = args[:metadata] if args.key?(:metadata)
3041
3044
  @prompt = args[:prompt] if args.key?(:prompt)
3042
3045
  end
@@ -11458,7 +11461,7 @@ module Google
11458
11461
  # replaces the User-Agent string within the Assistant Server. Note: The
11459
11462
  # SurfaceIdentity proto should only be used to derive the capabilities of a
11460
11463
  # surface. It should not be accessed outside of the CapabilityBuilder or
11461
- # CapabilityChecker. NEXT ID: 5 LINT.IfChange
11464
+ # CapabilityChecker. NEXT ID: 6 LINT.IfChange
11462
11465
  class AssistantApiCoreTypesGovernedSurfaceIdentity
11463
11466
  include Google::Apis::Core::Hashable
11464
11467
 
@@ -11478,6 +11481,14 @@ module Google
11478
11481
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesDeviceId]
11479
11482
  attr_accessor :device_id
11480
11483
 
11484
+ # DEPRECATED: The legacy device's surface type enum. NOTE: Prefer using the
11485
+ # ontological `surface_type` field above. If you need to access the legacy
11486
+ # surface type, please file a bug and add it in your code to migrate to
11487
+ # ontological surface type.
11488
+ # Corresponds to the JSON property `legacySurfaceType`
11489
+ # @return [String]
11490
+ attr_accessor :legacy_surface_type
11491
+
11481
11492
  # The device's surface type. The types are defined at google3/assistant/api/
11482
11493
  # core_types/surfaces.gcl.
11483
11494
  # Corresponds to the JSON property `surfaceType`
@@ -11499,6 +11510,7 @@ module Google
11499
11510
  # Update properties of this object
11500
11511
  def update!(**args)
11501
11512
  @device_id = args[:device_id] if args.key?(:device_id)
11513
+ @legacy_surface_type = args[:legacy_surface_type] if args.key?(:legacy_surface_type)
11502
11514
  @surface_type = args[:surface_type] if args.key?(:surface_type)
11503
11515
  @surface_version = args[:surface_version] if args.key?(:surface_version)
11504
11516
  end
@@ -19954,7 +19966,7 @@ module Google
19954
19966
  # replaces the User-Agent string within the Assistant Server. Note: The
19955
19967
  # SurfaceIdentity proto should only be used to derive the capabilities of a
19956
19968
  # surface. It should not be accessed outside of the CapabilityBuilder or
19957
- # CapabilityChecker. NEXT ID: 5 LINT.IfChange
19969
+ # CapabilityChecker. NEXT ID: 6 LINT.IfChange
19958
19970
  # Corresponds to the JSON property `surfaceIdentity`
19959
19971
  # @return [Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesGovernedSurfaceIdentity]
19960
19972
  attr_accessor :surface_identity
@@ -22131,9 +22143,110 @@ module Google
22131
22143
  end
22132
22144
  end
22133
22145
 
22146
+ #
22147
+ class AssistantPfrDeviceRdMetadata
22148
+ include Google::Apis::Core::Hashable
22149
+
22150
+ #
22151
+ # Corresponds to the JSON property `deviceName`
22152
+ # @return [String]
22153
+ attr_accessor :device_name
22154
+
22155
+ #
22156
+ # Corresponds to the JSON property `deviceTypes`
22157
+ # @return [Array<String>]
22158
+ attr_accessor :device_types
22159
+
22160
+ #
22161
+ # Corresponds to the JSON property `effectiveArgSpanLength`
22162
+ # @return [Float]
22163
+ attr_accessor :effective_arg_span_length
22164
+
22165
+ # True if there are more than one possible resolutions to the RD.
22166
+ # Corresponds to the JSON property `hasAmbiguousResolutions`
22167
+ # @return [Boolean]
22168
+ attr_accessor :has_ambiguous_resolutions
22169
+ alias_method :has_ambiguous_resolutions?, :has_ambiguous_resolutions
22170
+
22171
+ # True if there's at least one device id that gets resolved. Note this is
22172
+ # different from is_grounded = true: it is possible that is_grounded = false (
22173
+ # num_grounded_args =0) but there is resolved device ids. E.g.: "turn on the
22174
+ # blue light" Power_on(device_object = [d1, d2]:RD(category=DeviceObject(name='
22175
+ # blue light')) where there are "blue light 1" and "blue light 2" hence two
22176
+ # resolved device ids. But since the quantifier is single, GB can't resolve the
22177
+ # ambiguity and would set num_grounded_args = 0 to indicate such unresolved
22178
+ # ambiguity.
22179
+ # Corresponds to the JSON property `hasResolvedDeviceId`
22180
+ # @return [Boolean]
22181
+ attr_accessor :has_resolved_device_id
22182
+ alias_method :has_resolved_device_id?, :has_resolved_device_id
22183
+
22184
+ #
22185
+ # Corresponds to the JSON property `roomName`
22186
+ # @return [String]
22187
+ attr_accessor :room_name
22188
+
22189
+ def initialize(**args)
22190
+ update!(**args)
22191
+ end
22192
+
22193
+ # Update properties of this object
22194
+ def update!(**args)
22195
+ @device_name = args[:device_name] if args.key?(:device_name)
22196
+ @device_types = args[:device_types] if args.key?(:device_types)
22197
+ @effective_arg_span_length = args[:effective_arg_span_length] if args.key?(:effective_arg_span_length)
22198
+ @has_ambiguous_resolutions = args[:has_ambiguous_resolutions] if args.key?(:has_ambiguous_resolutions)
22199
+ @has_resolved_device_id = args[:has_resolved_device_id] if args.key?(:has_resolved_device_id)
22200
+ @room_name = args[:room_name] if args.key?(:room_name)
22201
+ end
22202
+ end
22203
+
22204
+ # Used by the Smarthome Business Rules twiddler to determine whether to replace
22205
+ # the top-scoring Smarthome intent with another.
22206
+ class AssistantPfrSmartHomeIntentMetadata
22207
+ include Google::Apis::Core::Hashable
22208
+
22209
+ # Each DeviceRdMetadata represents one device RD (device slot) in the intent.
22210
+ # Note that each device RD could have multiple device groundings inside of it.
22211
+ # Corresponds to the JSON property `deviceRdMetadata`
22212
+ # @return [Array<Google::Apis::ContentwarehouseV1::AssistantPfrDeviceRdMetadata>]
22213
+ attr_accessor :device_rd_metadata
22214
+
22215
+ #
22216
+ # Corresponds to the JSON property `intentName`
22217
+ # @return [String]
22218
+ attr_accessor :intent_name
22219
+
22220
+ # When num_constraints == num_constraints_satisfied, indicating all slot
22221
+ # matchings are exact match.
22222
+ # Corresponds to the JSON property `isExactMatch`
22223
+ # @return [Boolean]
22224
+ attr_accessor :is_exact_match
22225
+ alias_method :is_exact_match?, :is_exact_match
22226
+
22227
+ # When num_grounded_args > 0, indicating there is at least one top-level
22228
+ # argument is grounded.
22229
+ # Corresponds to the JSON property `isGrounded`
22230
+ # @return [Boolean]
22231
+ attr_accessor :is_grounded
22232
+ alias_method :is_grounded?, :is_grounded
22233
+
22234
+ def initialize(**args)
22235
+ update!(**args)
22236
+ end
22237
+
22238
+ # Update properties of this object
22239
+ def update!(**args)
22240
+ @device_rd_metadata = args[:device_rd_metadata] if args.key?(:device_rd_metadata)
22241
+ @intent_name = args[:intent_name] if args.key?(:intent_name)
22242
+ @is_exact_match = args[:is_exact_match] if args.key?(:is_exact_match)
22243
+ @is_grounded = args[:is_grounded] if args.key?(:is_grounded)
22244
+ end
22245
+ end
22246
+
22134
22247
  # Signals to be used by the Prefulfillment Ranker. Derived from the
22135
22248
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
22136
- # Next ID: 57
22249
+ # Next ID: 60
22137
22250
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
22138
22251
  include Google::Apis::Core::Hashable
22139
22252
 
@@ -22259,6 +22372,13 @@ module Google
22259
22372
  attr_accessor :is_fully_grounded
22260
22373
  alias_method :is_fully_grounded?, :is_fully_grounded
22261
22374
 
22375
+ # Used for PFR manual rule to prefer high confidence podcast intent (e.g.
22376
+ # topical, genre) over generic podcast intents.
22377
+ # Corresponds to the JSON property `isHighConfidencePodcastIntent`
22378
+ # @return [Boolean]
22379
+ attr_accessor :is_high_confidence_podcast_intent
22380
+ alias_method :is_high_confidence_podcast_intent?, :is_high_confidence_podcast_intent
22381
+
22262
22382
  # Whether the intent is a media control intent.
22263
22383
  # Corresponds to the JSON property `isMediaControlIntent`
22264
22384
  # @return [Boolean]
@@ -22271,6 +22391,13 @@ module Google
22271
22391
  attr_accessor :is_play_generic_music
22272
22392
  alias_method :is_play_generic_music?, :is_play_generic_music
22273
22393
 
22394
+ # Used for PFR manual rule to prefer high confidence podcast intent (e.g.
22395
+ # topical, genre) over generic podcast intents.
22396
+ # Corresponds to the JSON property `isPodcastGenericIntent`
22397
+ # @return [Boolean]
22398
+ attr_accessor :is_podcast_generic_intent
22399
+ alias_method :is_podcast_generic_intent?, :is_podcast_generic_intent
22400
+
22274
22401
  # Whether the intent is a podcast intent.
22275
22402
  # Corresponds to the JSON property `isPodcastIntent`
22276
22403
  # @return [Boolean]
@@ -22416,6 +22543,12 @@ module Google
22416
22543
  # @return [String]
22417
22544
  attr_accessor :search_dispatch
22418
22545
 
22546
+ # Used by the Smarthome Business Rules twiddler to determine whether to replace
22547
+ # the top-scoring Smarthome intent with another.
22548
+ # Corresponds to the JSON property `smarthomeIntentMetadata`
22549
+ # @return [Google::Apis::ContentwarehouseV1::AssistantPfrSmartHomeIntentMetadata]
22550
+ attr_accessor :smarthome_intent_metadata
22551
+
22419
22552
  # sub_intent_type differentiates between intents that share the top level intent
22420
22553
  # name. For eg: for TV_FALLBACK_SEARCH_INTENT, the top level intent name must be
22421
22554
  # "Find_media" and the media_object argument within it must be of type "
@@ -22463,8 +22596,10 @@ module Google
22463
22596
  @intent_name_pauis = args[:intent_name_pauis] if args.key?(:intent_name_pauis)
22464
22597
  @is_feasible = args[:is_feasible] if args.key?(:is_feasible)
22465
22598
  @is_fully_grounded = args[:is_fully_grounded] if args.key?(:is_fully_grounded)
22599
+ @is_high_confidence_podcast_intent = args[:is_high_confidence_podcast_intent] if args.key?(:is_high_confidence_podcast_intent)
22466
22600
  @is_media_control_intent = args[:is_media_control_intent] if args.key?(:is_media_control_intent)
22467
22601
  @is_play_generic_music = args[:is_play_generic_music] if args.key?(:is_play_generic_music)
22602
+ @is_podcast_generic_intent = args[:is_podcast_generic_intent] if args.key?(:is_podcast_generic_intent)
22468
22603
  @is_podcast_intent = args[:is_podcast_intent] if args.key?(:is_podcast_intent)
22469
22604
  @is_sage_intent = args[:is_sage_intent] if args.key?(:is_sage_intent)
22470
22605
  @is_tvm_intent = args[:is_tvm_intent] if args.key?(:is_tvm_intent)
@@ -22489,6 +22624,7 @@ module Google
22489
22624
  @predicted_intent_confidence = args[:predicted_intent_confidence] if args.key?(:predicted_intent_confidence)
22490
22625
  @ranker_name = args[:ranker_name] if args.key?(:ranker_name)
22491
22626
  @search_dispatch = args[:search_dispatch] if args.key?(:search_dispatch)
22627
+ @smarthome_intent_metadata = args[:smarthome_intent_metadata] if args.key?(:smarthome_intent_metadata)
22492
22628
  @sub_intent_type = args[:sub_intent_type] if args.key?(:sub_intent_type)
22493
22629
  @top_hypothesis_confidence = args[:top_hypothesis_confidence] if args.key?(:top_hypothesis_confidence)
22494
22630
  @vertical_confidence_score = args[:vertical_confidence_score] if args.key?(:vertical_confidence_score)
@@ -29188,7 +29324,7 @@ module Google
29188
29324
  end
29189
29325
  end
29190
29326
 
29191
- # The attributes of encoded thumbnail images. Next id: 7.
29327
+ # The attributes of encoded thumbnail images. Next id: 8.
29192
29328
  class DrishtiVesperEncodedThumbnail
29193
29329
  include Google::Apis::Core::Hashable
29194
29330
 
@@ -29207,6 +29343,13 @@ module Google
29207
29343
  # @return [Fixnum]
29208
29344
  attr_accessor :height
29209
29345
 
29346
+ # The Blob ID of the thumbnail image in the Blobstore. We recommend absolute IDs
29347
+ # with universe prefix if this field is passed across systems. The owner of this
29348
+ # blob is also responsible for data Wipeout compliance.
29349
+ # Corresponds to the JSON property `imageBlobId`
29350
+ # @return [String]
29351
+ attr_accessor :image_blob_id
29352
+
29210
29353
  # Encoded thumbnail bytes. Prefer this over `image_string` as we are not
29211
29354
  # supposed to store image bytes in a proto string field.
29212
29355
  # Corresponds to the JSON property `imageBytes`
@@ -29233,6 +29376,7 @@ module Google
29233
29376
  @encoding_quality = args[:encoding_quality] if args.key?(:encoding_quality)
29234
29377
  @encoding_type = args[:encoding_type] if args.key?(:encoding_type)
29235
29378
  @height = args[:height] if args.key?(:height)
29379
+ @image_blob_id = args[:image_blob_id] if args.key?(:image_blob_id)
29236
29380
  @image_bytes = args[:image_bytes] if args.key?(:image_bytes)
29237
29381
  @image_string = args[:image_string] if args.key?(:image_string)
29238
29382
  @width = args[:width] if args.key?(:width)
@@ -45868,6 +46012,18 @@ module Google
45868
46012
  attr_accessor :document_is_folder
45869
46013
  alias_method :document_is_folder?, :document_is_folder
45870
46014
 
46015
+ # Document is a folder with legal hold.
46016
+ # Corresponds to the JSON property `documentIsLegalHoldFolder`
46017
+ # @return [Boolean]
46018
+ attr_accessor :document_is_legal_hold_folder
46019
+ alias_method :document_is_legal_hold_folder?, :document_is_legal_hold_folder
46020
+
46021
+ # Document is a folder with retention policy.
46022
+ # Corresponds to the JSON property `documentIsRetentionFolder`
46023
+ # @return [Boolean]
46024
+ attr_accessor :document_is_retention_folder
46025
+ alias_method :document_is_retention_folder?, :document_is_retention_folder
46026
+
45871
46027
  # Required. Name of the referenced document.
45872
46028
  # Corresponds to the JSON property `documentName`
45873
46029
  # @return [String]
@@ -45894,6 +46050,8 @@ module Google
45894
46050
  @delete_time = args[:delete_time] if args.key?(:delete_time)
45895
46051
  @display_name = args[:display_name] if args.key?(:display_name)
45896
46052
  @document_is_folder = args[:document_is_folder] if args.key?(:document_is_folder)
46053
+ @document_is_legal_hold_folder = args[:document_is_legal_hold_folder] if args.key?(:document_is_legal_hold_folder)
46054
+ @document_is_retention_folder = args[:document_is_retention_folder] if args.key?(:document_is_retention_folder)
45897
46055
  @document_name = args[:document_name] if args.key?(:document_name)
45898
46056
  @snippet = args[:snippet] if args.key?(:snippet)
45899
46057
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -68543,7 +68701,7 @@ module Google
68543
68701
 
68544
68702
  # Signals to be used by the Prefulfillment Ranker. Derived from the
68545
68703
  # ParsingSignals and GroundingSignals carried by the FunctionCall. LINT.IfChange
68546
- # Next ID: 57
68704
+ # Next ID: 60
68547
68705
  # Corresponds to the JSON property `prefulfillmentSignals`
68548
68706
  # @return [Google::Apis::ContentwarehouseV1::AssistantPrefulfillmentRankerPrefulfillmentSignals]
68549
68707
  attr_accessor :prefulfillment_signals
@@ -77504,7 +77662,7 @@ module Google
77504
77662
  attr_accessor :association
77505
77663
 
77506
77664
  # A proto for storing inferred and reconciled metadata for Science Search. Next
77507
- # available tag: 71
77665
+ # available tag: 72
77508
77666
  # Corresponds to the JSON property `datasetMetadata`
77509
77667
  # @return [Google::Apis::ContentwarehouseV1::ResearchScienceSearchReconciledMetadata]
77510
77668
  attr_accessor :dataset_metadata
@@ -100322,6 +100480,11 @@ module Google
100322
100480
  # @return [Fixnum]
100323
100481
  attr_accessor :global_product_cluster_id
100324
100482
 
100483
+ #
100484
+ # Corresponds to the JSON property `images`
100485
+ # @return [Array<Google::Apis::ContentwarehouseV1::ShoppingWebentityShoppingAnnotationProductImage>]
100486
+ attr_accessor :images
100487
+
100325
100488
  #
100326
100489
  # Corresponds to the JSON property `locale`
100327
100490
  # @return [Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachmentLocale]
@@ -100394,6 +100557,7 @@ module Google
100394
100557
  @brand_entity_id = args[:brand_entity_id] if args.key?(:brand_entity_id)
100395
100558
  @catalog_id = args[:catalog_id] if args.key?(:catalog_id)
100396
100559
  @global_product_cluster_id = args[:global_product_cluster_id] if args.key?(:global_product_cluster_id)
100560
+ @images = args[:images] if args.key?(:images)
100397
100561
  @locale = args[:locale] if args.key?(:locale)
100398
100562
  @moka_facet = args[:moka_facet] if args.key?(:moka_facet)
100399
100563
  @non_displayable_description = args[:non_displayable_description] if args.key?(:non_displayable_description)
@@ -110708,7 +110872,7 @@ module Google
110708
110872
  end
110709
110873
 
110710
110874
  # A proto for storing inferred and reconciled metadata for Science Search. Next
110711
- # available tag: 71
110875
+ # available tag: 72
110712
110876
  class ResearchScienceSearchReconciledMetadata
110713
110877
  include Google::Apis::Core::Hashable
110714
110878
 
@@ -111047,6 +111211,12 @@ module Google
111047
111211
  # @return [Array<Float>]
111048
111212
  attr_accessor :version_embedding_vector
111049
111213
 
111214
+ # A simhash value of the fields used for identifying versions of a dataset. This
111215
+ # will be used by the VersionClusterInfoWriter.
111216
+ # Corresponds to the JSON property `versionsSimhash`
111217
+ # @return [Fixnum]
111218
+ attr_accessor :versions_simhash
111219
+
111050
111220
  def initialize(**args)
111051
111221
  update!(**args)
111052
111222
  end
@@ -111110,6 +111280,7 @@ module Google
111110
111280
  @version_cluster_info = args[:version_cluster_info] if args.key?(:version_cluster_info)
111111
111281
  @version_embedding_fields_hash = args[:version_embedding_fields_hash] if args.key?(:version_embedding_fields_hash)
111112
111282
  @version_embedding_vector = args[:version_embedding_vector] if args.key?(:version_embedding_vector)
111283
+ @versions_simhash = args[:versions_simhash] if args.key?(:versions_simhash)
111113
111284
  end
111114
111285
  end
111115
111286
 
@@ -115306,6 +115477,33 @@ module Google
115306
115477
  end
115307
115478
  end
115308
115479
 
115480
+ # Images from the product-level representation (i.e. GPC). These images are
115481
+ # currently only annotated 1) when no offers are available 2) on the product
115482
+ # level
115483
+ class ShoppingWebentityShoppingAnnotationProductImage
115484
+ include Google::Apis::Core::Hashable
115485
+
115486
+ #
115487
+ # Corresponds to the JSON property `imageDocid`
115488
+ # @return [Fixnum]
115489
+ attr_accessor :image_docid
115490
+
115491
+ #
115492
+ # Corresponds to the JSON property `productImageType`
115493
+ # @return [String]
115494
+ attr_accessor :product_image_type
115495
+
115496
+ def initialize(**args)
115497
+ update!(**args)
115498
+ end
115499
+
115500
+ # Update properties of this object
115501
+ def update!(**args)
115502
+ @image_docid = args[:image_docid] if args.key?(:image_docid)
115503
+ @product_image_type = args[:product_image_type] if args.key?(:product_image_type)
115504
+ end
115505
+ end
115506
+
115309
115507
  # Information about a rating provided for a product. This can represent an
115310
115508
  # aggregated rating if count is set. Next Id: 7
115311
115509
  class ShoppingWebentityShoppingAnnotationProductRating
@@ -134010,33 +134208,40 @@ module Google
134010
134208
  end
134011
134209
  end
134012
134210
 
134013
- # Contains information about comment that is posted through a Super VOD purchase.
134014
- # Next ID: 6
134211
+ # Contains information about comment that is posted through a Super Thanks
134212
+ # purchase. Next ID: 7
134015
134213
  class YoutubeBackstageSuperVodCommentInfo
134016
134214
  include Google::Apis::Core::Hashable
134017
134215
 
134018
- # Currency code the user uses to purchase this Super VOD item.
134216
+ # Currency code the user uses to purchase this Super Thanks item.
134019
134217
  # Corresponds to the JSON property `currencyCode`
134020
134218
  # @return [String]
134021
134219
  attr_accessor :currency_code
134022
134220
 
134023
- # The ID of the Super VOD entitlement. It uniquely identifies a Super VOD
134024
- # purchase.
134221
+ # The ID of the Super Thanks entitlement. It uniquely identifies a Super Thanks
134222
+ # purchase. This field is deprecated in favor of transaction_id, see go/st-
134223
+ # deprecate-ent-id.
134025
134224
  # Corresponds to the JSON property `entitlementId`
134026
134225
  # @return [String]
134027
134226
  attr_accessor :entitlement_id
134028
134227
 
134029
- # Price of Super VOD item the user purchases in micros.
134228
+ # Price of Super Thanks item the user purchases in micros.
134030
134229
  # Corresponds to the JSON property `priceInMicros`
134031
134230
  # @return [Fixnum]
134032
134231
  attr_accessor :price_in_micros
134033
134232
 
134034
- # The Super VOD item the user purchases, it represents price tier.
134233
+ # The Super Thanks item the user purchases, it represents price tier.
134035
134234
  # Corresponds to the JSON property `superVodItemId`
134036
134235
  # @return [String]
134037
134236
  attr_accessor :super_vod_item_id
134038
134237
 
134039
- # Which version of experiment this Super VOD comment is posted in.
134238
+ # The ID of the Super Thanks transaction. It uniquely identifies a Super Thanks
134239
+ # purchase.
134240
+ # Corresponds to the JSON property `transactionId`
134241
+ # @return [String]
134242
+ attr_accessor :transaction_id
134243
+
134244
+ # Which version of experiment this Super Thanks comment is posted in.
134040
134245
  # Corresponds to the JSON property `version`
134041
134246
  # @return [String]
134042
134247
  attr_accessor :version
@@ -134051,6 +134256,7 @@ module Google
134051
134256
  @entitlement_id = args[:entitlement_id] if args.key?(:entitlement_id)
134052
134257
  @price_in_micros = args[:price_in_micros] if args.key?(:price_in_micros)
134053
134258
  @super_vod_item_id = args[:super_vod_item_id] if args.key?(:super_vod_item_id)
134259
+ @transaction_id = args[:transaction_id] if args.key?(:transaction_id)
134054
134260
  @version = args[:version] if args.key?(:version)
134055
134261
  end
134056
134262
  end
@@ -134385,8 +134591,8 @@ module Google
134385
134591
  # @return [Fixnum]
134386
134592
  attr_accessor :subscription_timestamp
134387
134593
 
134388
- # Contains information about comment that is posted through a Super VOD purchase.
134389
- # Next ID: 6
134594
+ # Contains information about comment that is posted through a Super Thanks
134595
+ # purchase. Next ID: 7
134390
134596
  # Corresponds to the JSON property `superThanksInfo`
134391
134597
  # @return [Google::Apis::ContentwarehouseV1::YoutubeBackstageSuperVodCommentInfo]
134392
134598
  attr_accessor :super_thanks_info
@@ -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.19.0"
19
+ GEM_VERSION = "0.20.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 = "20230620"
25
+ REVISION = "20230627"
26
26
  end
27
27
  end
28
28
  end
@@ -2920,6 +2920,18 @@ module Google
2920
2920
  include Google::Apis::Core::JsonObjectSupport
2921
2921
  end
2922
2922
 
2923
+ class AssistantPfrDeviceRdMetadata
2924
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2925
+
2926
+ include Google::Apis::Core::JsonObjectSupport
2927
+ end
2928
+
2929
+ class AssistantPfrSmartHomeIntentMetadata
2930
+ class Representation < Google::Apis::Core::JsonRepresentation; end
2931
+
2932
+ include Google::Apis::Core::JsonObjectSupport
2933
+ end
2934
+
2923
2935
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
2924
2936
  class Representation < Google::Apis::Core::JsonRepresentation; end
2925
2937
 
@@ -13240,6 +13252,12 @@ module Google
13240
13252
  include Google::Apis::Core::JsonObjectSupport
13241
13253
  end
13242
13254
 
13255
+ class ShoppingWebentityShoppingAnnotationProductImage
13256
+ class Representation < Google::Apis::Core::JsonRepresentation; end
13257
+
13258
+ include Google::Apis::Core::JsonObjectSupport
13259
+ end
13260
+
13243
13261
  class ShoppingWebentityShoppingAnnotationProductRating
13244
13262
  class Representation < Google::Apis::Core::JsonRepresentation; end
13245
13263
 
@@ -15921,6 +15939,7 @@ module Google
15921
15939
  # @private
15922
15940
  class Representation < Google::Apis::Core::JsonRepresentation
15923
15941
  property :app_unique_id, as: 'appUniqueId'
15942
+ property :contact_info_source, as: 'contactInfoSource'
15924
15943
  property :display_app_unique_id, as: 'displayAppUniqueId'
15925
15944
  property :label, as: 'label'
15926
15945
  property :mimetype, as: 'mimetype'
@@ -16070,8 +16089,6 @@ module Google
16070
16089
  class AppsPeopleOzExternalMergedpeopleapiConnectionReminder
16071
16090
  # @private
16072
16091
  class Representation < Google::Apis::Core::JsonRepresentation
16073
- property :contact_prompt_settings, as: 'contactPromptSettings', class: Google::Apis::ContentwarehouseV1::SocialGraphApiProtoContactPromptSettings, decorator: Google::Apis::ContentwarehouseV1::SocialGraphApiProtoContactPromptSettings::Representation
16074
-
16075
16092
  property :metadata, as: 'metadata', class: Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata, decorator: Google::Apis::ContentwarehouseV1::AppsPeopleOzExternalMergedpeopleapiPersonFieldMetadata::Representation
16076
16093
 
16077
16094
  collection :prompt, as: 'prompt', class: Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPrompt, decorator: Google::Apis::ContentwarehouseV1::SocialGraphApiProtoPrompt::Representation
@@ -18269,6 +18286,7 @@ module Google
18269
18286
  class Representation < Google::Apis::Core::JsonRepresentation
18270
18287
  property :device_id, as: 'deviceId', class: Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesDeviceId, decorator: Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesDeviceId::Representation
18271
18288
 
18289
+ property :legacy_surface_type, as: 'legacySurfaceType'
18272
18290
  property :surface_type, as: 'surfaceType'
18273
18291
  property :surface_version, as: 'surfaceVersion', class: Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesGovernedSurfaceVersion, decorator: Google::Apis::ContentwarehouseV1::AssistantApiCoreTypesGovernedSurfaceVersion::Representation
18274
18292
 
@@ -21014,6 +21032,29 @@ module Google
21014
21032
  end
21015
21033
  end
21016
21034
 
21035
+ class AssistantPfrDeviceRdMetadata
21036
+ # @private
21037
+ class Representation < Google::Apis::Core::JsonRepresentation
21038
+ property :device_name, as: 'deviceName'
21039
+ collection :device_types, as: 'deviceTypes'
21040
+ property :effective_arg_span_length, as: 'effectiveArgSpanLength'
21041
+ property :has_ambiguous_resolutions, as: 'hasAmbiguousResolutions'
21042
+ property :has_resolved_device_id, as: 'hasResolvedDeviceId'
21043
+ property :room_name, as: 'roomName'
21044
+ end
21045
+ end
21046
+
21047
+ class AssistantPfrSmartHomeIntentMetadata
21048
+ # @private
21049
+ class Representation < Google::Apis::Core::JsonRepresentation
21050
+ collection :device_rd_metadata, as: 'deviceRdMetadata', class: Google::Apis::ContentwarehouseV1::AssistantPfrDeviceRdMetadata, decorator: Google::Apis::ContentwarehouseV1::AssistantPfrDeviceRdMetadata::Representation
21051
+
21052
+ property :intent_name, as: 'intentName'
21053
+ property :is_exact_match, as: 'isExactMatch'
21054
+ property :is_grounded, as: 'isGrounded'
21055
+ end
21056
+ end
21057
+
21017
21058
  class AssistantPrefulfillmentRankerPrefulfillmentSignals
21018
21059
  # @private
21019
21060
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -21038,8 +21079,10 @@ module Google
21038
21079
  property :intent_name_pauis, as: 'intentNamePauis'
21039
21080
  property :is_feasible, as: 'isFeasible'
21040
21081
  property :is_fully_grounded, as: 'isFullyGrounded'
21082
+ property :is_high_confidence_podcast_intent, as: 'isHighConfidencePodcastIntent'
21041
21083
  property :is_media_control_intent, as: 'isMediaControlIntent'
21042
21084
  property :is_play_generic_music, as: 'isPlayGenericMusic'
21085
+ property :is_podcast_generic_intent, as: 'isPodcastGenericIntent'
21043
21086
  property :is_podcast_intent, as: 'isPodcastIntent'
21044
21087
  property :is_sage_intent, as: 'isSageIntent'
21045
21088
  property :is_tvm_intent, as: 'isTvmIntent'
@@ -21065,6 +21108,8 @@ module Google
21065
21108
  property :predicted_intent_confidence, as: 'predictedIntentConfidence'
21066
21109
  property :ranker_name, as: 'rankerName'
21067
21110
  property :search_dispatch, as: 'searchDispatch'
21111
+ property :smarthome_intent_metadata, as: 'smarthomeIntentMetadata', class: Google::Apis::ContentwarehouseV1::AssistantPfrSmartHomeIntentMetadata, decorator: Google::Apis::ContentwarehouseV1::AssistantPfrSmartHomeIntentMetadata::Representation
21112
+
21068
21113
  property :sub_intent_type, as: 'subIntentType'
21069
21114
  property :top_hypothesis_confidence, as: 'topHypothesisConfidence'
21070
21115
  property :vertical_confidence_score, as: 'verticalConfidenceScore'
@@ -22777,6 +22822,7 @@ module Google
22777
22822
  property :encoding_quality, as: 'encodingQuality'
22778
22823
  property :encoding_type, as: 'encodingType'
22779
22824
  property :height, as: 'height'
22825
+ property :image_blob_id, as: 'imageBlobId'
22780
22826
  property :image_bytes, :base64 => true, as: 'imageBytes'
22781
22827
  property :image_string, as: 'imageString'
22782
22828
  property :width, as: 'width'
@@ -26694,6 +26740,8 @@ module Google
26694
26740
  property :delete_time, as: 'deleteTime'
26695
26741
  property :display_name, as: 'displayName'
26696
26742
  property :document_is_folder, as: 'documentIsFolder'
26743
+ property :document_is_legal_hold_folder, as: 'documentIsLegalHoldFolder'
26744
+ property :document_is_retention_folder, as: 'documentIsRetentionFolder'
26697
26745
  property :document_name, as: 'documentName'
26698
26746
  property :snippet, as: 'snippet'
26699
26747
  property :update_time, as: 'updateTime'
@@ -40391,6 +40439,8 @@ module Google
40391
40439
  property :brand_entity_id, :numeric_string => true, as: 'brandEntityId'
40392
40440
  property :catalog_id, :numeric_string => true, as: 'catalogId'
40393
40441
  property :global_product_cluster_id, :numeric_string => true, as: 'globalProductClusterId'
40442
+ collection :images, as: 'images', class: Google::Apis::ContentwarehouseV1::ShoppingWebentityShoppingAnnotationProductImage, decorator: Google::Apis::ContentwarehouseV1::ShoppingWebentityShoppingAnnotationProductImage::Representation
40443
+
40394
40444
  property :locale, as: 'locale', class: Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachmentLocale, decorator: Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachmentLocale::Representation
40395
40445
 
40396
40446
  collection :moka_facet, as: 'mokaFacet', class: Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachmentMokaFacetValue, decorator: Google::Apis::ContentwarehouseV1::QualityShoppingShoppingAttachmentMokaFacetValue::Representation
@@ -43062,6 +43112,7 @@ module Google
43062
43112
 
43063
43113
  property :version_embedding_fields_hash, :numeric_string => true, as: 'versionEmbeddingFieldsHash'
43064
43114
  collection :version_embedding_vector, as: 'versionEmbeddingVector'
43115
+ property :versions_simhash, :numeric_string => true, as: 'versionsSimhash'
43065
43116
  end
43066
43117
  end
43067
43118
 
@@ -44093,6 +44144,14 @@ module Google
44093
44144
  end
44094
44145
  end
44095
44146
 
44147
+ class ShoppingWebentityShoppingAnnotationProductImage
44148
+ # @private
44149
+ class Representation < Google::Apis::Core::JsonRepresentation
44150
+ property :image_docid, :numeric_string => true, as: 'imageDocid'
44151
+ property :product_image_type, as: 'productImageType'
44152
+ end
44153
+ end
44154
+
44096
44155
  class ShoppingWebentityShoppingAnnotationProductRating
44097
44156
  # @private
44098
44157
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -48490,6 +48549,7 @@ module Google
48490
48549
  property :entitlement_id, as: 'entitlementId'
48491
48550
  property :price_in_micros, :numeric_string => true, as: 'priceInMicros'
48492
48551
  property :super_vod_item_id, as: 'superVodItemId'
48552
+ property :transaction_id, as: 'transactionId'
48493
48553
  property :version, as: 'version'
48494
48554
  end
48495
48555
  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.19.0
4
+ version: 0.20.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-06-25 00:00:00.000000000 Z
11
+ date: 2023-07-02 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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-contentwarehouse_v1/v0.20.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: []