google-apis-discoveryengine_v1alpha 0.70.0 → 0.72.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.
@@ -1746,6 +1746,28 @@ module Google
1746
1746
  end
1747
1747
  end
1748
1748
 
1749
+ # Discovery Engine Assistant resource.
1750
+ class GoogleCloudDiscoveryengineV1Assistant
1751
+ include Google::Apis::Core::Hashable
1752
+
1753
+ # Immutable. Resource name of the assistant. Format: `projects/`project`/
1754
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
1755
+ # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
1756
+ # characters.
1757
+ # Corresponds to the JSON property `name`
1758
+ # @return [String]
1759
+ attr_accessor :name
1760
+
1761
+ def initialize(**args)
1762
+ update!(**args)
1763
+ end
1764
+
1765
+ # Update properties of this object
1766
+ def update!(**args)
1767
+ @name = args[:name] if args.key?(:name)
1768
+ end
1769
+ end
1770
+
1749
1771
  # Metadata related to the progress of the SiteSearchEngineService.
1750
1772
  # BatchCreateTargetSites operation. This will be returned by the google.
1751
1773
  # longrunning.Operation.metadata field.
@@ -1868,14 +1890,14 @@ module Google
1868
1890
  attr_accessor :is_default
1869
1891
  alias_method :is_default?, :is_default
1870
1892
 
1871
- # KMS key resource name which will be used to encrypt resources `projects/`
1872
- # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
1893
+ # Required. KMS key resource name which will be used to encrypt resources `
1894
+ # projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
1873
1895
  # Corresponds to the JSON property `kmsKey`
1874
1896
  # @return [String]
1875
1897
  attr_accessor :kms_key
1876
1898
 
1877
- # KMS key version resource name which will be used to encrypt resources `/
1878
- # cryptoKeyVersions/`keyVersion``.
1899
+ # Output only. KMS key version resource name which will be used to encrypt
1900
+ # resources `/cryptoKeyVersions/`keyVersion``.
1879
1901
  # Corresponds to the JSON property `kmsKeyVersion`
1880
1902
  # @return [String]
1881
1903
  attr_accessor :kms_key_version
@@ -7877,6 +7899,14 @@ module Google
7877
7899
  # @return [Array<String>]
7878
7900
  attr_accessor :assist_skipped_reasons
7879
7901
 
7902
+ # Immutable. Identifier. Resource name of the `AssistAnswer`. Format: `projects/`
7903
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
7904
+ # sessions/`session`/assistAnswers/`assist_answer`` This field must be a UTF-8
7905
+ # encoded string with a length limit of 1024 characters.
7906
+ # Corresponds to the JSON property `name`
7907
+ # @return [String]
7908
+ attr_accessor :name
7909
+
7880
7910
  # Replies of the assistant.
7881
7911
  # Corresponds to the JSON property `replies`
7882
7912
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAssistAnswerReply>]
@@ -7894,6 +7924,7 @@ module Google
7894
7924
  # Update properties of this object
7895
7925
  def update!(**args)
7896
7926
  @assist_skipped_reasons = args[:assist_skipped_reasons] if args.key?(:assist_skipped_reasons)
7927
+ @name = args[:name] if args.key?(:name)
7897
7928
  @replies = args[:replies] if args.key?(:replies)
7898
7929
  @state = args[:state] if args.key?(:state)
7899
7930
  end
@@ -7947,6 +7978,28 @@ module Google
7947
7978
  end
7948
7979
  end
7949
7980
 
7981
+ # Discovery Engine Assistant resource.
7982
+ class GoogleCloudDiscoveryengineV1alphaAssistant
7983
+ include Google::Apis::Core::Hashable
7984
+
7985
+ # Immutable. Resource name of the assistant. Format: `projects/`project`/
7986
+ # locations/`location`/collections/`collection`/engines/`engine`/assistants/`
7987
+ # assistant`` It must be a UTF-8 encoded string with a length limit of 1024
7988
+ # characters.
7989
+ # Corresponds to the JSON property `name`
7990
+ # @return [String]
7991
+ attr_accessor :name
7992
+
7993
+ def initialize(**args)
7994
+ update!(**args)
7995
+ end
7996
+
7997
+ # Update properties of this object
7998
+ def update!(**args)
7999
+ @name = args[:name] if args.key?(:name)
8000
+ end
8001
+ end
8002
+
7950
8003
  # Multi-modal content.
7951
8004
  class GoogleCloudDiscoveryengineV1alphaAssistantContent
7952
8005
  include Google::Apis::Core::Hashable
@@ -8569,6 +8622,31 @@ module Google
8569
8622
  end
8570
8623
  end
8571
8624
 
8625
+ # The BigQuery output destination configuration.
8626
+ class GoogleCloudDiscoveryengineV1alphaBigQueryDestination
8627
+ include Google::Apis::Core::Hashable
8628
+
8629
+ # Required. The ID of a BigQuery Dataset.
8630
+ # Corresponds to the JSON property `datasetId`
8631
+ # @return [String]
8632
+ attr_accessor :dataset_id
8633
+
8634
+ # Required. The table_id of exported BigQuery table.
8635
+ # Corresponds to the JSON property `tableId`
8636
+ # @return [String]
8637
+ attr_accessor :table_id
8638
+
8639
+ def initialize(**args)
8640
+ update!(**args)
8641
+ end
8642
+
8643
+ # Update properties of this object
8644
+ def update!(**args)
8645
+ @dataset_id = args[:dataset_id] if args.key?(:dataset_id)
8646
+ @table_id = args[:table_id] if args.key?(:table_id)
8647
+ end
8648
+ end
8649
+
8572
8650
  # BigQuery source import data from.
8573
8651
  class GoogleCloudDiscoveryengineV1alphaBigQuerySource
8574
8652
  include Google::Apis::Core::Hashable
@@ -9446,14 +9524,14 @@ module Google
9446
9524
  attr_accessor :is_default
9447
9525
  alias_method :is_default?, :is_default
9448
9526
 
9449
- # KMS key resource name which will be used to encrypt resources `projects/`
9450
- # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
9527
+ # Required. KMS key resource name which will be used to encrypt resources `
9528
+ # projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
9451
9529
  # Corresponds to the JSON property `kmsKey`
9452
9530
  # @return [String]
9453
9531
  attr_accessor :kms_key
9454
9532
 
9455
- # KMS key version resource name which will be used to encrypt resources `/
9456
- # cryptoKeyVersions/`keyVersion``.
9533
+ # Output only. KMS key version resource name which will be used to encrypt
9534
+ # resources `/cryptoKeyVersions/`keyVersion``.
9457
9535
  # Corresponds to the JSON property `kmsKeyVersion`
9458
9536
  # @return [String]
9459
9537
  attr_accessor :kms_key_version
@@ -13335,6 +13413,67 @@ module Google
13335
13413
  end
13336
13414
  end
13337
13415
 
13416
+ # Metadata related to the progress of the Export operation. This is returned by
13417
+ # the google.longrunning.Operation.metadata field.
13418
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsMetadata
13419
+ include Google::Apis::Core::Hashable
13420
+
13421
+ # Operation create time.
13422
+ # Corresponds to the JSON property `createTime`
13423
+ # @return [String]
13424
+ attr_accessor :create_time
13425
+
13426
+ # Operation last update time. If the operation is done, this is also the finish
13427
+ # time.
13428
+ # Corresponds to the JSON property `updateTime`
13429
+ # @return [String]
13430
+ attr_accessor :update_time
13431
+
13432
+ def initialize(**args)
13433
+ update!(**args)
13434
+ end
13435
+
13436
+ # Update properties of this object
13437
+ def update!(**args)
13438
+ @create_time = args[:create_time] if args.key?(:create_time)
13439
+ @update_time = args[:update_time] if args.key?(:update_time)
13440
+ end
13441
+ end
13442
+
13443
+ # Request message for the `ExportMetrics` method.
13444
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsRequest
13445
+ include Google::Apis::Core::Hashable
13446
+
13447
+ # The output configuration setting.
13448
+ # Corresponds to the JSON property `outputConfig`
13449
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaOutputConfig]
13450
+ attr_accessor :output_config
13451
+
13452
+ def initialize(**args)
13453
+ update!(**args)
13454
+ end
13455
+
13456
+ # Update properties of this object
13457
+ def update!(**args)
13458
+ @output_config = args[:output_config] if args.key?(:output_config)
13459
+ end
13460
+ end
13461
+
13462
+ # Response of the ExportMetricsRequest. If the long running operation was
13463
+ # successful, then this message is returned by the google.longrunning.Operations.
13464
+ # response field.
13465
+ class GoogleCloudDiscoveryengineV1alphaExportMetricsResponse
13466
+ include Google::Apis::Core::Hashable
13467
+
13468
+ def initialize(**args)
13469
+ update!(**args)
13470
+ end
13471
+
13472
+ # Update properties of this object
13473
+ def update!(**args)
13474
+ end
13475
+ end
13476
+
13338
13477
  # Fact Chunk.
13339
13478
  class GoogleCloudDiscoveryengineV1alphaFactChunk
13340
13479
  include Google::Apis::Core::Hashable
@@ -13662,6 +13801,190 @@ module Google
13662
13801
  end
13663
13802
  end
13664
13803
 
13804
+ # Caracteristics of other file types.
13805
+ class GoogleCloudDiscoveryengineV1alphaFileCharacteristics
13806
+ include Google::Apis::Core::Hashable
13807
+
13808
+ # Output only. Generic map of characteristics.
13809
+ # Corresponds to the JSON property `characteristics`
13810
+ # @return [Hash<String,String>]
13811
+ attr_accessor :characteristics
13812
+
13813
+ def initialize(**args)
13814
+ update!(**args)
13815
+ end
13816
+
13817
+ # Update properties of this object
13818
+ def update!(**args)
13819
+ @characteristics = args[:characteristics] if args.key?(:characteristics)
13820
+ end
13821
+ end
13822
+
13823
+ # Represents a file attached to a session (context file)
13824
+ class GoogleCloudDiscoveryengineV1alphaFileMetadata
13825
+ include Google::Apis::Core::Hashable
13826
+
13827
+ # Output only. The size of the context file in bytes.
13828
+ # Corresponds to the JSON property `byteSize`
13829
+ # @return [Fixnum]
13830
+ attr_accessor :byte_size
13831
+
13832
+ # Output only. The AssistantService.DownloadSessionFile URL to download the file.
13833
+ # This URL will need the same credentials as AssistantService.
13834
+ # ListSessionFileMetadata method and will provide the resource.
13835
+ # Corresponds to the JSON property `downloadUri`
13836
+ # @return [String]
13837
+ attr_accessor :download_uri
13838
+
13839
+ # Output only. The ID of the file.
13840
+ # Corresponds to the JSON property `fileId`
13841
+ # @return [String]
13842
+ attr_accessor :file_id
13843
+
13844
+ # Optional. The origin of the file.
13845
+ # Corresponds to the JSON property `fileOriginType`
13846
+ # @return [String]
13847
+ attr_accessor :file_origin_type
13848
+
13849
+ # Output only. The time the file was added to the session. Note that if a file
13850
+ # was added, then modified externally, then added again, the add time will be
13851
+ # updated.
13852
+ # Corresponds to the JSON property `lastAddTime`
13853
+ # @return [String]
13854
+ attr_accessor :last_add_time
13855
+
13856
+ # Optional. Represents metadata related to the file that can suit particular use
13857
+ # cases. The prefix "google." is reserved for the key for use by Google, but
13858
+ # other prefixes can be freely used.
13859
+ # Corresponds to the JSON property `metadata`
13860
+ # @return [Hash<String,String>]
13861
+ attr_accessor :metadata
13862
+
13863
+ # The content type of the file, see https://www.iana.org/assignments/media-types/
13864
+ # media-types.xhtml.
13865
+ # Corresponds to the JSON property `mimeType`
13866
+ # @return [String]
13867
+ attr_accessor :mime_type
13868
+
13869
+ # Output only. The name of the file uploaded.
13870
+ # Corresponds to the JSON property `name`
13871
+ # @return [String]
13872
+ attr_accessor :name
13873
+
13874
+ # Optional. The type of the original source of the file.
13875
+ # Corresponds to the JSON property `originalSourceType`
13876
+ # @return [String]
13877
+ attr_accessor :original_source_type
13878
+
13879
+ # Optional. The original location of the file. It may be a local file path, or
13880
+ # any other URI that allows accessing the file in an external system. There are
13881
+ # two scenarios in which this url may be empty: 1. If the file was sent as
13882
+ # inline data (e.g. pasted from the clipboard). 2. If the original location is
13883
+ # not available. Note that there's no guarantee that the URI will be pointing to
13884
+ # a valid or actually existing file. For example, a file might have been
13885
+ # uploaded to the session, and then deleted from the original source.
13886
+ # Corresponds to the JSON property `originalUri`
13887
+ # @return [String]
13888
+ attr_accessor :original_uri
13889
+
13890
+ # Output only. The time the file was uploaded (If this is a file generated by an
13891
+ # internal process and then made available to the session, this indicates the
13892
+ # moment it happened).
13893
+ # Corresponds to the JSON property `uploadTime`
13894
+ # @return [String]
13895
+ attr_accessor :upload_time
13896
+
13897
+ # Output only. Alternate views of this file object. Each file view is attached
13898
+ # to a specific role. Possible example keys: - "thumbnail" - "mobile_thumbnail" -
13899
+ # "clip" - "summary" - "translation"
13900
+ # Corresponds to the JSON property `views`
13901
+ # @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFileView>]
13902
+ attr_accessor :views
13903
+
13904
+ def initialize(**args)
13905
+ update!(**args)
13906
+ end
13907
+
13908
+ # Update properties of this object
13909
+ def update!(**args)
13910
+ @byte_size = args[:byte_size] if args.key?(:byte_size)
13911
+ @download_uri = args[:download_uri] if args.key?(:download_uri)
13912
+ @file_id = args[:file_id] if args.key?(:file_id)
13913
+ @file_origin_type = args[:file_origin_type] if args.key?(:file_origin_type)
13914
+ @last_add_time = args[:last_add_time] if args.key?(:last_add_time)
13915
+ @metadata = args[:metadata] if args.key?(:metadata)
13916
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
13917
+ @name = args[:name] if args.key?(:name)
13918
+ @original_source_type = args[:original_source_type] if args.key?(:original_source_type)
13919
+ @original_uri = args[:original_uri] if args.key?(:original_uri)
13920
+ @upload_time = args[:upload_time] if args.key?(:upload_time)
13921
+ @views = args[:views] if args.key?(:views)
13922
+ end
13923
+ end
13924
+
13925
+ # Represents a specific alternate version or "view" of a file object, such as a
13926
+ # summary, a thumbnail, a translated version, etc.
13927
+ class GoogleCloudDiscoveryengineV1alphaFileView
13928
+ include Google::Apis::Core::Hashable
13929
+
13930
+ # Output only. The size of the view in bytes.
13931
+ # Corresponds to the JSON property `byteSize`
13932
+ # @return [Fixnum]
13933
+ attr_accessor :byte_size
13934
+
13935
+ # Output only. The time the view was created.
13936
+ # Corresponds to the JSON property `createTime`
13937
+ # @return [String]
13938
+ attr_accessor :create_time
13939
+
13940
+ # Caracteristics of other file types.
13941
+ # Corresponds to the JSON property `fileCharacteristics`
13942
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFileCharacteristics]
13943
+ attr_accessor :file_characteristics
13944
+
13945
+ # Standard characteristics of an image media view.
13946
+ # Corresponds to the JSON property `imageCharacteristics`
13947
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImageCharacteristics]
13948
+ attr_accessor :image_characteristics
13949
+
13950
+ # Output only. MIME type (e.g., "image/jpeg", "image/png", "text/plain", "video/
13951
+ # mp4")
13952
+ # Corresponds to the JSON property `mimeType`
13953
+ # @return [String]
13954
+ attr_accessor :mime_type
13955
+
13956
+ # Output only. The URI to access this media view.
13957
+ # Corresponds to the JSON property `uri`
13958
+ # @return [String]
13959
+ attr_accessor :uri
13960
+
13961
+ # Standard characteristics of a video media view.
13962
+ # Corresponds to the JSON property `videoCharacteristics`
13963
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaVideoCharacteristics]
13964
+ attr_accessor :video_characteristics
13965
+
13966
+ # Output only. Globally Unique id for this specific view.
13967
+ # Corresponds to the JSON property `viewId`
13968
+ # @return [String]
13969
+ attr_accessor :view_id
13970
+
13971
+ def initialize(**args)
13972
+ update!(**args)
13973
+ end
13974
+
13975
+ # Update properties of this object
13976
+ def update!(**args)
13977
+ @byte_size = args[:byte_size] if args.key?(:byte_size)
13978
+ @create_time = args[:create_time] if args.key?(:create_time)
13979
+ @file_characteristics = args[:file_characteristics] if args.key?(:file_characteristics)
13980
+ @image_characteristics = args[:image_characteristics] if args.key?(:image_characteristics)
13981
+ @mime_type = args[:mime_type] if args.key?(:mime_type)
13982
+ @uri = args[:uri] if args.key?(:uri)
13983
+ @video_characteristics = args[:video_characteristics] if args.key?(:video_characteristics)
13984
+ @view_id = args[:view_id] if args.key?(:view_id)
13985
+ end
13986
+ end
13987
+
13665
13988
  # Firestore source import data from.
13666
13989
  class GoogleCloudDiscoveryengineV1alphaFirestoreSource
13667
13990
  include Google::Apis::Core::Hashable
@@ -14136,6 +14459,43 @@ module Google
14136
14459
  end
14137
14460
  end
14138
14461
 
14462
+ # Standard characteristics of an image media view.
14463
+ class GoogleCloudDiscoveryengineV1alphaImageCharacteristics
14464
+ include Google::Apis::Core::Hashable
14465
+
14466
+ # Output only. Bit depth of the image (e.g., 8-bit, 16-bit).
14467
+ # Corresponds to the JSON property `bitDepth`
14468
+ # @return [Fixnum]
14469
+ attr_accessor :bit_depth
14470
+
14471
+ # Output only. Color space of the image (e.g., "RGB", "CMYK", "Grayscale").
14472
+ # Corresponds to the JSON property `colorSpace`
14473
+ # @return [String]
14474
+ attr_accessor :color_space
14475
+
14476
+ # Output only. Image height in pixels.
14477
+ # Corresponds to the JSON property `height`
14478
+ # @return [Fixnum]
14479
+ attr_accessor :height
14480
+
14481
+ # Output only. Image width in pixels.
14482
+ # Corresponds to the JSON property `width`
14483
+ # @return [Fixnum]
14484
+ attr_accessor :width
14485
+
14486
+ def initialize(**args)
14487
+ update!(**args)
14488
+ end
14489
+
14490
+ # Update properties of this object
14491
+ def update!(**args)
14492
+ @bit_depth = args[:bit_depth] if args.key?(:bit_depth)
14493
+ @color_space = args[:color_space] if args.key?(:color_space)
14494
+ @height = args[:height] if args.key?(:height)
14495
+ @width = args[:width] if args.key?(:width)
14496
+ end
14497
+ end
14498
+
14139
14499
  # Metadata related to the progress of the ImportCompletionSuggestions operation.
14140
14500
  # This will be returned by the google.longrunning.Operation.metadata field.
14141
14501
  class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata
@@ -15324,6 +15684,33 @@ module Google
15324
15684
  end
15325
15685
  end
15326
15686
 
15687
+ # Response message for SessionService.ListFiles method.
15688
+ class GoogleCloudDiscoveryengineV1alphaListFilesResponse
15689
+ include Google::Apis::Core::Hashable
15690
+
15691
+ # The FileMetadatas.
15692
+ # Corresponds to the JSON property `files`
15693
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFileMetadata>]
15694
+ attr_accessor :files
15695
+
15696
+ # A token to retrieve next page of results. Pass this value in the
15697
+ # ListFilesRequest.page_token field in the subsequent call to `ListFiles` method
15698
+ # to retrieve the next page of results.
15699
+ # Corresponds to the JSON property `nextPageToken`
15700
+ # @return [String]
15701
+ attr_accessor :next_page_token
15702
+
15703
+ def initialize(**args)
15704
+ update!(**args)
15705
+ end
15706
+
15707
+ # Update properties of this object
15708
+ def update!(**args)
15709
+ @files = args[:files] if args.key?(:files)
15710
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
15711
+ end
15712
+ end
15713
+
15327
15714
  # Response message for IdentityMappingStoreService.ListIdentityMappingStores
15328
15715
  class GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse
15329
15716
  include Google::Apis::Core::Hashable
@@ -15483,9 +15870,12 @@ module Google
15483
15870
  class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
15484
15871
  include Google::Apis::Core::Hashable
15485
15872
 
15486
- # A filter to apply on the list results. The supported features are:
15487
- # user_pseudo_id, state, starred. Examples: "user_pseudo_id = some_id" "starred =
15488
- # true"
15873
+ # A comma-separated list of fields to filter by, in EBNF grammar. The supported
15874
+ # fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
15875
+ # is_pinned` * `labels` * `create_time` * `update_time` Examples: * `
15876
+ # user_pseudo_id = some_id` * `display_name = "some_name"` * `starred = true` * `
15877
+ # is_pinned=true AND (NOT labels:hidden)` * `create_time > "1970-01-01T12:00:00Z"
15878
+ # `
15489
15879
  # Corresponds to the JSON property `filter`
15490
15880
  # @return [String]
15491
15881
  attr_accessor :filter
@@ -15764,6 +16154,25 @@ module Google
15764
16154
  end
15765
16155
  end
15766
16156
 
16157
+ # The output configuration setting.
16158
+ class GoogleCloudDiscoveryengineV1alphaOutputConfig
16159
+ include Google::Apis::Core::Hashable
16160
+
16161
+ # The BigQuery output destination configuration.
16162
+ # Corresponds to the JSON property `bigqueryDestination`
16163
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBigQueryDestination]
16164
+ attr_accessor :bigquery_destination
16165
+
16166
+ def initialize(**args)
16167
+ update!(**args)
16168
+ end
16169
+
16170
+ # Update properties of this object
16171
+ def update!(**args)
16172
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
16173
+ end
16174
+ end
16175
+
15767
16176
  # Detailed page information.
15768
16177
  class GoogleCloudDiscoveryengineV1alphaPageInfo
15769
16178
  include Google::Apis::Core::Hashable
@@ -16063,6 +16472,11 @@ module Google
16063
16472
  # @return [String]
16064
16473
  attr_accessor :data_use_terms_version
16065
16474
 
16475
+ # Parameters for Agentspace.
16476
+ # Corresponds to the JSON property `saasParams`
16477
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams]
16478
+ attr_accessor :saas_params
16479
+
16066
16480
  def initialize(**args)
16067
16481
  update!(**args)
16068
16482
  end
@@ -16071,10 +16485,32 @@ module Google
16071
16485
  def update!(**args)
16072
16486
  @accept_data_use_terms = args[:accept_data_use_terms] if args.key?(:accept_data_use_terms)
16073
16487
  @data_use_terms_version = args[:data_use_terms_version] if args.key?(:data_use_terms_version)
16488
+ @saas_params = args[:saas_params] if args.key?(:saas_params)
16074
16489
  end
16075
16490
  end
16076
16491
 
16077
- # Metadata related to the progress of the PurgeCompletionSuggestions operation.
16492
+ # Parameters for Agentspace.
16493
+ class GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams
16494
+ include Google::Apis::Core::Hashable
16495
+
16496
+ # Optional. Set to `true` to specify that caller has read and would like to give
16497
+ # consent to the [Terms for Agent Space quality of service].
16498
+ # Corresponds to the JSON property `acceptBizQos`
16499
+ # @return [Boolean]
16500
+ attr_accessor :accept_biz_qos
16501
+ alias_method :accept_biz_qos?, :accept_biz_qos
16502
+
16503
+ def initialize(**args)
16504
+ update!(**args)
16505
+ end
16506
+
16507
+ # Update properties of this object
16508
+ def update!(**args)
16509
+ @accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
16510
+ end
16511
+ end
16512
+
16513
+ # Metadata related to the progress of the PurgeCompletionSuggestions operation.
16078
16514
  # This is returned by the google.longrunning.Operation.metadata field.
16079
16515
  class GoogleCloudDiscoveryengineV1alphaPurgeCompletionSuggestionsMetadata
16080
16516
  include Google::Apis::Core::Hashable
@@ -16661,7 +17097,7 @@ module Google
16661
17097
  # @return [String]
16662
17098
  attr_accessor :query
16663
17099
 
16664
- # Required. A list of records to rank. At most 200 records to rank.
17100
+ # Required. A list of records to rank.
16665
17101
  # Corresponds to the JSON property `records`
16666
17102
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankingRecord>]
16667
17103
  attr_accessor :records
@@ -19145,6 +19581,17 @@ module Google
19145
19581
  class GoogleCloudDiscoveryengineV1alphaSearchRequestNaturalLanguageQueryUnderstandingSpec
19146
19582
  include Google::Apis::Core::Hashable
19147
19583
 
19584
+ # Optional. Controls behavior of how extracted filters are applied to the search.
19585
+ # The default behavior depends on the request. For single datastore structured
19586
+ # search, the default is `HARD_FILTER`. For multi-datastore search, the default
19587
+ # behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
19588
+ # filters, and the `SOFT_BOOST` setting will not affect them. This field is only
19589
+ # used if SearchRequest.natural_language_query_understanding_spec.
19590
+ # filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
19591
+ # Corresponds to the JSON property `extractedFilterBehavior`
19592
+ # @return [String]
19593
+ attr_accessor :extracted_filter_behavior
19594
+
19148
19595
  # The condition under which filter extraction should occur. Server behavior
19149
19596
  # defaults to `DISABLED`.
19150
19597
  # Corresponds to the JSON property `filterExtractionCondition`
@@ -19166,6 +19613,7 @@ module Google
19166
19613
 
19167
19614
  # Update properties of this object
19168
19615
  def update!(**args)
19616
+ @extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
19169
19617
  @filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
19170
19618
  @geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
19171
19619
  end
@@ -21187,12 +21635,6 @@ module Google
21187
21635
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec]
21188
21636
  attr_accessor :image_generation_spec
21189
21637
 
21190
- # Optional. The name of the tool registry to use. Format: `projects/`project`/
21191
- # locations/`location`/toolRegistries/`tool_registry``
21192
- # Corresponds to the JSON property `toolRegistry`
21193
- # @return [String]
21194
- attr_accessor :tool_registry
21195
-
21196
21638
  # Specification of the Vertex AI Search tool.
21197
21639
  # Corresponds to the JSON property `vertexAiSearchSpec`
21198
21640
  # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec]
@@ -21215,7 +21657,6 @@ module Google
21215
21657
  # Update properties of this object
21216
21658
  def update!(**args)
21217
21659
  @image_generation_spec = args[:image_generation_spec] if args.key?(:image_generation_spec)
21218
- @tool_registry = args[:tool_registry] if args.key?(:tool_registry)
21219
21660
  @vertex_ai_search_spec = args[:vertex_ai_search_spec] if args.key?(:vertex_ai_search_spec)
21220
21661
  @video_generation_spec = args[:video_generation_spec] if args.key?(:video_generation_spec)
21221
21662
  @web_grounding_spec = args[:web_grounding_spec] if args.key?(:web_grounding_spec)
@@ -21246,14 +21687,6 @@ module Google
21246
21687
  # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec>]
21247
21688
  attr_accessor :data_store_specs
21248
21689
 
21249
- # Optional. Deprecated. Please refrain from using this field. Whether the Vertex
21250
- # AI Search tool is disabled. Default value is false, the tool is enabled by
21251
- # default.
21252
- # Corresponds to the JSON property `disabled`
21253
- # @return [Boolean]
21254
- attr_accessor :disabled
21255
- alias_method :disabled?, :disabled
21256
-
21257
21690
  # Optional. The filter syntax consists of an expression language for
21258
21691
  # constructing a predicate from one or more fields of the documents being
21259
21692
  # filtered. Filter expression is case-sensitive. If this field is unrecognizable,
@@ -21276,7 +21709,6 @@ module Google
21276
21709
  # Update properties of this object
21277
21710
  def update!(**args)
21278
21711
  @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
21279
- @disabled = args[:disabled] if args.key?(:disabled)
21280
21712
  @filter = args[:filter] if args.key?(:filter)
21281
21713
  end
21282
21714
  end
@@ -21298,20 +21730,12 @@ module Google
21298
21730
  class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec
21299
21731
  include Google::Apis::Core::Hashable
21300
21732
 
21301
- # Optional. Deprecated. Please refrain from using this field. Whether the web
21302
- # grounding tool is enabled.
21303
- # Corresponds to the JSON property `enabled`
21304
- # @return [Boolean]
21305
- attr_accessor :enabled
21306
- alias_method :enabled?, :enabled
21307
-
21308
21733
  def initialize(**args)
21309
21734
  update!(**args)
21310
21735
  end
21311
21736
 
21312
21737
  # Update properties of this object
21313
21738
  def update!(**args)
21314
- @enabled = args[:enabled] if args.key?(:enabled)
21315
21739
  end
21316
21740
  end
21317
21741
 
@@ -21987,6 +22411,63 @@ module Google
21987
22411
  end
21988
22412
  end
21989
22413
 
22414
+ # Request for the AssistantService.UploadSessionFile method.
22415
+ class GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest
22416
+ include Google::Apis::Core::Hashable
22417
+
22418
+ # A reference to data stored on the filesystem, on GFS or in blobstore.
22419
+ # Corresponds to the JSON property `blob`
22420
+ # @return [Google::Apis::DiscoveryengineV1alpha::GdataMedia]
22421
+ attr_accessor :blob
22422
+
22423
+ # Extra information added to operations that support Scotty media requests.
22424
+ # Corresponds to the JSON property `mediaRequestInfo`
22425
+ # @return [Google::Apis::DiscoveryengineV1alpha::ApiservingMediaRequestInfo]
22426
+ attr_accessor :media_request_info
22427
+
22428
+ def initialize(**args)
22429
+ update!(**args)
22430
+ end
22431
+
22432
+ # Update properties of this object
22433
+ def update!(**args)
22434
+ @blob = args[:blob] if args.key?(:blob)
22435
+ @media_request_info = args[:media_request_info] if args.key?(:media_request_info)
22436
+ end
22437
+ end
22438
+
22439
+ # Response for the AssistantService.UploadSessionFile method.
22440
+ class GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse
22441
+ include Google::Apis::Core::Hashable
22442
+
22443
+ # The ID of the uploaded file.
22444
+ # Corresponds to the JSON property `fileId`
22445
+ # @return [String]
22446
+ attr_accessor :file_id
22447
+
22448
+ # This message is for backends to pass their scotty media specific fields to ESF.
22449
+ # Backend will include this in their response message to ESF. Example:
22450
+ # ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
22451
+ # ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
22452
+ # will include apiserving.MediaResponseInfo to tell ESF about data like
22453
+ # dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
22454
+ # optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
22455
+ # media_response_info = 2 `
22456
+ # Corresponds to the JSON property `mediaResponseInfo`
22457
+ # @return [Google::Apis::DiscoveryengineV1alpha::ApiservingMediaResponseInfo]
22458
+ attr_accessor :media_response_info
22459
+
22460
+ def initialize(**args)
22461
+ update!(**args)
22462
+ end
22463
+
22464
+ # Update properties of this object
22465
+ def update!(**args)
22466
+ @file_id = args[:file_id] if args.key?(:file_id)
22467
+ @media_response_info = args[:media_response_info] if args.key?(:media_response_info)
22468
+ end
22469
+ end
22470
+
21990
22471
  # UserEvent captures all metadata information Discovery Engine API needs to know
21991
22472
  # about how end users interact with your website.
21992
22473
  class GoogleCloudDiscoveryengineV1alphaUserEvent
@@ -22324,6 +22805,67 @@ module Google
22324
22805
  end
22325
22806
  end
22326
22807
 
22808
+ # Standard characteristics of a video media view.
22809
+ class GoogleCloudDiscoveryengineV1alphaVideoCharacteristics
22810
+ include Google::Apis::Core::Hashable
22811
+
22812
+ # Output only. Bitrate of the audio in kbps.
22813
+ # Corresponds to the JSON property `audioBitrateKbps`
22814
+ # @return [Fixnum]
22815
+ attr_accessor :audio_bitrate_kbps
22816
+
22817
+ # Output only. Audio codecs used in the video.
22818
+ # Corresponds to the JSON property `audioCodecs`
22819
+ # @return [Array<String>]
22820
+ attr_accessor :audio_codecs
22821
+
22822
+ # Output only. Video duration.
22823
+ # Corresponds to the JSON property `duration`
22824
+ # @return [String]
22825
+ attr_accessor :duration
22826
+
22827
+ # Output only. Frame rate (frames per second).
22828
+ # Corresponds to the JSON property `frameRate`
22829
+ # @return [Float]
22830
+ attr_accessor :frame_rate
22831
+
22832
+ # Output only. Video height in pixels.
22833
+ # Corresponds to the JSON property `height`
22834
+ # @return [Fixnum]
22835
+ attr_accessor :height
22836
+
22837
+ # Output only. Bitrate of the video in kbps.
22838
+ # Corresponds to the JSON property `videoBitrateKbps`
22839
+ # @return [Fixnum]
22840
+ attr_accessor :video_bitrate_kbps
22841
+
22842
+ # Output only. Video codecs used in the video.
22843
+ # Corresponds to the JSON property `videoCodecs`
22844
+ # @return [Array<String>]
22845
+ attr_accessor :video_codecs
22846
+
22847
+ # Output only. Video width in pixels.
22848
+ # Corresponds to the JSON property `width`
22849
+ # @return [Fixnum]
22850
+ attr_accessor :width
22851
+
22852
+ def initialize(**args)
22853
+ update!(**args)
22854
+ end
22855
+
22856
+ # Update properties of this object
22857
+ def update!(**args)
22858
+ @audio_bitrate_kbps = args[:audio_bitrate_kbps] if args.key?(:audio_bitrate_kbps)
22859
+ @audio_codecs = args[:audio_codecs] if args.key?(:audio_codecs)
22860
+ @duration = args[:duration] if args.key?(:duration)
22861
+ @frame_rate = args[:frame_rate] if args.key?(:frame_rate)
22862
+ @height = args[:height] if args.key?(:height)
22863
+ @video_bitrate_kbps = args[:video_bitrate_kbps] if args.key?(:video_bitrate_kbps)
22864
+ @video_codecs = args[:video_codecs] if args.key?(:video_codecs)
22865
+ @width = args[:width] if args.key?(:width)
22866
+ end
22867
+ end
22868
+
22327
22869
  # WidgetConfig captures configs at the Widget level.
22328
22870
  class GoogleCloudDiscoveryengineV1alphaWidgetConfig
22329
22871
  include Google::Apis::Core::Hashable
@@ -23385,14 +23927,14 @@ module Google
23385
23927
  attr_accessor :is_default
23386
23928
  alias_method :is_default?, :is_default
23387
23929
 
23388
- # KMS key resource name which will be used to encrypt resources `projects/`
23389
- # project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
23930
+ # Required. KMS key resource name which will be used to encrypt resources `
23931
+ # projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
23390
23932
  # Corresponds to the JSON property `kmsKey`
23391
23933
  # @return [String]
23392
23934
  attr_accessor :kms_key
23393
23935
 
23394
- # KMS key version resource name which will be used to encrypt resources `/
23395
- # cryptoKeyVersions/`keyVersion``.
23936
+ # Output only. KMS key version resource name which will be used to encrypt
23937
+ # resources `/cryptoKeyVersions/`keyVersion``.
23396
23938
  # Corresponds to the JSON property `kmsKeyVersion`
23397
23939
  # @return [String]
23398
23940
  attr_accessor :kms_key_version
@@ -27569,6 +28111,17 @@ module Google
27569
28111
  class GoogleCloudDiscoveryengineV1betaSearchRequestNaturalLanguageQueryUnderstandingSpec
27570
28112
  include Google::Apis::Core::Hashable
27571
28113
 
28114
+ # Optional. Controls behavior of how extracted filters are applied to the search.
28115
+ # The default behavior depends on the request. For single datastore structured
28116
+ # search, the default is `HARD_FILTER`. For multi-datastore search, the default
28117
+ # behavior is `SOFT_BOOST`. Location-based filters are always applied as hard
28118
+ # filters, and the `SOFT_BOOST` setting will not affect them. This field is only
28119
+ # used if SearchRequest.natural_language_query_understanding_spec.
28120
+ # filter_extraction_condition is set to FilterExtractionCondition.ENABLED.
28121
+ # Corresponds to the JSON property `extractedFilterBehavior`
28122
+ # @return [String]
28123
+ attr_accessor :extracted_filter_behavior
28124
+
27572
28125
  # The condition under which filter extraction should occur. Server behavior
27573
28126
  # defaults to `DISABLED`.
27574
28127
  # Corresponds to the JSON property `filterExtractionCondition`
@@ -27590,6 +28143,7 @@ module Google
27590
28143
 
27591
28144
  # Update properties of this object
27592
28145
  def update!(**args)
28146
+ @extracted_filter_behavior = args[:extracted_filter_behavior] if args.key?(:extracted_filter_behavior)
27593
28147
  @filter_extraction_condition = args[:filter_extraction_condition] if args.key?(:filter_extraction_condition)
27594
28148
  @geo_search_query_detection_field_names = args[:geo_search_query_detection_field_names] if args.key?(:geo_search_query_detection_field_names)
27595
28149
  end
@@ -28314,6 +28868,220 @@ module Google
28314
28868
  end
28315
28869
  end
28316
28870
 
28871
+ # Metadata about an agentspace source.
28872
+ class GoogleCloudNotebooklmV1alphaAgentspaceMetadata
28873
+ include Google::Apis::Core::Hashable
28874
+
28875
+ # Output only. The full document name in Agentspace.
28876
+ # Corresponds to the JSON property `documentName`
28877
+ # @return [String]
28878
+ attr_accessor :document_name
28879
+
28880
+ # Output only. The title of the document.
28881
+ # Corresponds to the JSON property `documentTitle`
28882
+ # @return [String]
28883
+ attr_accessor :document_title
28884
+
28885
+ def initialize(**args)
28886
+ update!(**args)
28887
+ end
28888
+
28889
+ # Update properties of this object
28890
+ def update!(**args)
28891
+ @document_name = args[:document_name] if args.key?(:document_name)
28892
+ @document_title = args[:document_title] if args.key?(:document_title)
28893
+ end
28894
+ end
28895
+
28896
+ # Request for SourceService.BatchCreateSources method.
28897
+ class GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest
28898
+ include Google::Apis::Core::Hashable
28899
+
28900
+ # Required. The UserContents to be uploaded.
28901
+ # Corresponds to the JSON property `userContents`
28902
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContent>]
28903
+ attr_accessor :user_contents
28904
+
28905
+ def initialize(**args)
28906
+ update!(**args)
28907
+ end
28908
+
28909
+ # Update properties of this object
28910
+ def update!(**args)
28911
+ @user_contents = args[:user_contents] if args.key?(:user_contents)
28912
+ end
28913
+ end
28914
+
28915
+ # Response for SourceService.BatchCreateSources method.
28916
+ class GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse
28917
+ include Google::Apis::Core::Hashable
28918
+
28919
+ # The Sources.
28920
+ # Corresponds to the JSON property `sources`
28921
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSource>]
28922
+ attr_accessor :sources
28923
+
28924
+ def initialize(**args)
28925
+ update!(**args)
28926
+ end
28927
+
28928
+ # Update properties of this object
28929
+ def update!(**args)
28930
+ @sources = args[:sources] if args.key?(:sources)
28931
+ end
28932
+ end
28933
+
28934
+ # Response for NotebookService.ListRecentlyViewedNotebooks method.
28935
+ class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
28936
+ include Google::Apis::Core::Hashable
28937
+
28938
+ # The page token, provide this to retrieve the subsequent page.
28939
+ # Corresponds to the JSON property `nextPageToken`
28940
+ # @return [String]
28941
+ attr_accessor :next_page_token
28942
+
28943
+ # The list of recently viewed notebooks.
28944
+ # Corresponds to the JSON property `notebooks`
28945
+ # @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook>]
28946
+ attr_accessor :notebooks
28947
+
28948
+ def initialize(**args)
28949
+ update!(**args)
28950
+ end
28951
+
28952
+ # Update properties of this object
28953
+ def update!(**args)
28954
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
28955
+ @notebooks = args[:notebooks] if args.key?(:notebooks)
28956
+ end
28957
+ end
28958
+
28959
+ # Notebook is a resource where users can store their content (as sources) and
28960
+ # interacts with the content.
28961
+ class GoogleCloudNotebooklmV1alphaNotebook
28962
+ include Google::Apis::Core::Hashable
28963
+
28964
+ # Output only. The emoji of the notebook.
28965
+ # Corresponds to the JSON property `emoji`
28966
+ # @return [String]
28967
+ attr_accessor :emoji
28968
+
28969
+ # Metadata for a notebook.
28970
+ # Corresponds to the JSON property `metadata`
28971
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebookMetadata]
28972
+ attr_accessor :metadata
28973
+
28974
+ # Identifier. The identifier of the notebook. Format: `projects/`project`/
28975
+ # locations/`location`/notebooks/`notebook_id``. This field must be a UTF-8
28976
+ # encoded string.
28977
+ # Corresponds to the JSON property `name`
28978
+ # @return [String]
28979
+ attr_accessor :name
28980
+
28981
+ # Optional. Notebook id, which is the last segment of the notebook's resource
28982
+ # name. This is to make it similar with notebooklm API.
28983
+ # Corresponds to the JSON property `notebookId`
28984
+ # @return [String]
28985
+ attr_accessor :notebook_id
28986
+
28987
+ # Optional. The title of the notebook.
28988
+ # Corresponds to the JSON property `title`
28989
+ # @return [String]
28990
+ attr_accessor :title
28991
+
28992
+ def initialize(**args)
28993
+ update!(**args)
28994
+ end
28995
+
28996
+ # Update properties of this object
28997
+ def update!(**args)
28998
+ @emoji = args[:emoji] if args.key?(:emoji)
28999
+ @metadata = args[:metadata] if args.key?(:metadata)
29000
+ @name = args[:name] if args.key?(:name)
29001
+ @notebook_id = args[:notebook_id] if args.key?(:notebook_id)
29002
+ @title = args[:title] if args.key?(:title)
29003
+ end
29004
+ end
29005
+
29006
+ # Metadata for a notebook.
29007
+ class GoogleCloudNotebooklmV1alphaNotebookMetadata
29008
+ include Google::Apis::Core::Hashable
29009
+
29010
+ # The time at which this project was created.
29011
+ # Corresponds to the JSON property `createTime`
29012
+ # @return [String]
29013
+ attr_accessor :create_time
29014
+
29015
+ # True if the project is shareable.
29016
+ # Corresponds to the JSON property `isShareable`
29017
+ # @return [Boolean]
29018
+ attr_accessor :is_shareable
29019
+ alias_method :is_shareable?, :is_shareable
29020
+
29021
+ # True if this project is currently shared with other people, false otherwise.
29022
+ # Corresponds to the JSON property `isShared`
29023
+ # @return [Boolean]
29024
+ attr_accessor :is_shared
29025
+ alias_method :is_shared?, :is_shared
29026
+
29027
+ # A timestamp indicating the time that the current in session user has last
29028
+ # viewed the project.
29029
+ # Corresponds to the JSON property `lastViewed`
29030
+ # @return [String]
29031
+ attr_accessor :last_viewed
29032
+
29033
+ def initialize(**args)
29034
+ update!(**args)
29035
+ end
29036
+
29037
+ # Update properties of this object
29038
+ def update!(**args)
29039
+ @create_time = args[:create_time] if args.key?(:create_time)
29040
+ @is_shareable = args[:is_shareable] if args.key?(:is_shareable)
29041
+ @is_shared = args[:is_shared] if args.key?(:is_shared)
29042
+ @last_viewed = args[:last_viewed] if args.key?(:last_viewed)
29043
+ end
29044
+ end
29045
+
29046
+ # Source represents a single source of content.
29047
+ class GoogleCloudNotebooklmV1alphaSource
29048
+ include Google::Apis::Core::Hashable
29049
+
29050
+ # Represents the metadata of a source and some additional information.
29051
+ # Corresponds to the JSON property `metadata`
29052
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSourceMetadata]
29053
+ attr_accessor :metadata
29054
+
29055
+ # Identifier. The full resource name of the source. Format: `projects/`project`/
29056
+ # locations/`location`/notebooks/`notebook`/sources/`source_id``. This field
29057
+ # must be a UTF-8 encoded string with a length limit of 1024 characters.
29058
+ # Corresponds to the JSON property `name`
29059
+ # @return [String]
29060
+ attr_accessor :name
29061
+
29062
+ # SourceId is the last segment of the source's resource name.
29063
+ # Corresponds to the JSON property `sourceId`
29064
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSourceId]
29065
+ attr_accessor :source_id
29066
+
29067
+ # Optional. Title of the source.
29068
+ # Corresponds to the JSON property `title`
29069
+ # @return [String]
29070
+ attr_accessor :title
29071
+
29072
+ def initialize(**args)
29073
+ update!(**args)
29074
+ end
29075
+
29076
+ # Update properties of this object
29077
+ def update!(**args)
29078
+ @metadata = args[:metadata] if args.key?(:metadata)
29079
+ @name = args[:name] if args.key?(:name)
29080
+ @source_id = args[:source_id] if args.key?(:source_id)
29081
+ @title = args[:title] if args.key?(:title)
29082
+ end
29083
+ end
29084
+
28317
29085
  # SourceId is the last segment of the source's resource name.
28318
29086
  class GoogleCloudNotebooklmV1alphaSourceId
28319
29087
  include Google::Apis::Core::Hashable
@@ -28333,6 +29101,43 @@ module Google
28333
29101
  end
28334
29102
  end
28335
29103
 
29104
+ # Represents the metadata of a source and some additional information.
29105
+ class GoogleCloudNotebooklmV1alphaSourceMetadata
29106
+ include Google::Apis::Core::Hashable
29107
+
29108
+ # Metadata about an agentspace source.
29109
+ # Corresponds to the JSON property `agentspaceMetadata`
29110
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaAgentspaceMetadata]
29111
+ attr_accessor :agentspace_metadata
29112
+
29113
+ # The timestamp the source was added.
29114
+ # Corresponds to the JSON property `sourceAddedTimestamp`
29115
+ # @return [String]
29116
+ attr_accessor :source_added_timestamp
29117
+
29118
+ # The number of tokens in the source.
29119
+ # Corresponds to the JSON property `tokenCount`
29120
+ # @return [Fixnum]
29121
+ attr_accessor :token_count
29122
+
29123
+ # The word count of the source.
29124
+ # Corresponds to the JSON property `wordCount`
29125
+ # @return [Fixnum]
29126
+ attr_accessor :word_count
29127
+
29128
+ def initialize(**args)
29129
+ update!(**args)
29130
+ end
29131
+
29132
+ # Update properties of this object
29133
+ def update!(**args)
29134
+ @agentspace_metadata = args[:agentspace_metadata] if args.key?(:agentspace_metadata)
29135
+ @source_added_timestamp = args[:source_added_timestamp] if args.key?(:source_added_timestamp)
29136
+ @token_count = args[:token_count] if args.key?(:token_count)
29137
+ @word_count = args[:word_count] if args.key?(:word_count)
29138
+ end
29139
+ end
29140
+
28336
29141
  # Request for the SourceService.UploadSourceFile method.
28337
29142
  class GoogleCloudNotebooklmV1alphaUploadSourceFileRequest
28338
29143
  include Google::Apis::Core::Hashable
@@ -28397,6 +29202,56 @@ module Google
28397
29202
  end
28398
29203
  end
28399
29204
 
29205
+ # The "Content" messages refer to data the user wants to upload.
29206
+ class GoogleCloudNotebooklmV1alphaUserContent
29207
+ include Google::Apis::Core::Hashable
29208
+
29209
+ # Agentspace content uploaded as source.
29210
+ # Corresponds to the JSON property `agentspaceContent`
29211
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent]
29212
+ attr_accessor :agentspace_content
29213
+
29214
+ def initialize(**args)
29215
+ update!(**args)
29216
+ end
29217
+
29218
+ # Update properties of this object
29219
+ def update!(**args)
29220
+ @agentspace_content = args[:agentspace_content] if args.key?(:agentspace_content)
29221
+ end
29222
+ end
29223
+
29224
+ # Agentspace content uploaded as source.
29225
+ class GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent
29226
+ include Google::Apis::Core::Hashable
29227
+
29228
+ # Optional. The full document name in Agentspace.
29229
+ # Corresponds to the JSON property `documentName`
29230
+ # @return [String]
29231
+ attr_accessor :document_name
29232
+
29233
+ # Optional. Engine to verify the permission of the document.
29234
+ # Corresponds to the JSON property `engineName`
29235
+ # @return [String]
29236
+ attr_accessor :engine_name
29237
+
29238
+ # Optional. The full idea name for IdeaForge.
29239
+ # Corresponds to the JSON property `ideaforgeIdeaName`
29240
+ # @return [String]
29241
+ attr_accessor :ideaforge_idea_name
29242
+
29243
+ def initialize(**args)
29244
+ update!(**args)
29245
+ end
29246
+
29247
+ # Update properties of this object
29248
+ def update!(**args)
29249
+ @document_name = args[:document_name] if args.key?(:document_name)
29250
+ @engine_name = args[:engine_name] if args.key?(:engine_name)
29251
+ @ideaforge_idea_name = args[:ideaforge_idea_name] if args.key?(:ideaforge_idea_name)
29252
+ end
29253
+ end
29254
+
28400
29255
  # The request message for Operations.CancelOperation.
28401
29256
  class GoogleLongrunningCancelOperationRequest
28402
29257
  include Google::Apis::Core::Hashable