google-apis-discoveryengine_v1alpha 0.70.0 → 0.71.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/discoveryengine_v1alpha/classes.rb +766 -40
- data/lib/google/apis/discoveryengine_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/discoveryengine_v1alpha/representations.rb +340 -3
- data/lib/google/apis/discoveryengine_v1alpha/service.rb +238 -31
- metadata +2 -2
@@ -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 `
|
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
|
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
|
@@ -9446,14 +9499,14 @@ module Google
|
|
9446
9499
|
attr_accessor :is_default
|
9447
9500
|
alias_method :is_default?, :is_default
|
9448
9501
|
|
9449
|
-
# KMS key resource name which will be used to encrypt resources `
|
9450
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
9502
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
9503
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
9451
9504
|
# Corresponds to the JSON property `kmsKey`
|
9452
9505
|
# @return [String]
|
9453
9506
|
attr_accessor :kms_key
|
9454
9507
|
|
9455
|
-
# KMS key version resource name which will be used to encrypt
|
9456
|
-
# cryptoKeyVersions/`keyVersion``.
|
9508
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
9509
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
9457
9510
|
# Corresponds to the JSON property `kmsKeyVersion`
|
9458
9511
|
# @return [String]
|
9459
9512
|
attr_accessor :kms_key_version
|
@@ -13662,6 +13715,190 @@ module Google
|
|
13662
13715
|
end
|
13663
13716
|
end
|
13664
13717
|
|
13718
|
+
# Caracteristics of other file types.
|
13719
|
+
class GoogleCloudDiscoveryengineV1alphaFileCharacteristics
|
13720
|
+
include Google::Apis::Core::Hashable
|
13721
|
+
|
13722
|
+
# Output only. Generic map of characteristics.
|
13723
|
+
# Corresponds to the JSON property `characteristics`
|
13724
|
+
# @return [Hash<String,String>]
|
13725
|
+
attr_accessor :characteristics
|
13726
|
+
|
13727
|
+
def initialize(**args)
|
13728
|
+
update!(**args)
|
13729
|
+
end
|
13730
|
+
|
13731
|
+
# Update properties of this object
|
13732
|
+
def update!(**args)
|
13733
|
+
@characteristics = args[:characteristics] if args.key?(:characteristics)
|
13734
|
+
end
|
13735
|
+
end
|
13736
|
+
|
13737
|
+
# Represents a file attached to a session (context file)
|
13738
|
+
class GoogleCloudDiscoveryengineV1alphaFileMetadata
|
13739
|
+
include Google::Apis::Core::Hashable
|
13740
|
+
|
13741
|
+
# Output only. The size of the context file in bytes.
|
13742
|
+
# Corresponds to the JSON property `byteSize`
|
13743
|
+
# @return [Fixnum]
|
13744
|
+
attr_accessor :byte_size
|
13745
|
+
|
13746
|
+
# Output only. The AssistantService.DownloadSessionFile URL to download the file.
|
13747
|
+
# This URL will need the same credentials as AssistantService.
|
13748
|
+
# ListSessionFileMetadata method and will provide the resource.
|
13749
|
+
# Corresponds to the JSON property `downloadUri`
|
13750
|
+
# @return [String]
|
13751
|
+
attr_accessor :download_uri
|
13752
|
+
|
13753
|
+
# Output only. The ID of the file.
|
13754
|
+
# Corresponds to the JSON property `fileId`
|
13755
|
+
# @return [String]
|
13756
|
+
attr_accessor :file_id
|
13757
|
+
|
13758
|
+
# Optional. The origin of the file.
|
13759
|
+
# Corresponds to the JSON property `fileOriginType`
|
13760
|
+
# @return [String]
|
13761
|
+
attr_accessor :file_origin_type
|
13762
|
+
|
13763
|
+
# Output only. The time the file was added to the session. Note that if a file
|
13764
|
+
# was added, then modified externally, then added again, the add time will be
|
13765
|
+
# updated.
|
13766
|
+
# Corresponds to the JSON property `lastAddTime`
|
13767
|
+
# @return [String]
|
13768
|
+
attr_accessor :last_add_time
|
13769
|
+
|
13770
|
+
# Optional. Represents metadata related to the file that can suit particular use
|
13771
|
+
# cases. The prefix "google." is reserved for the key for use by Google, but
|
13772
|
+
# other prefixes can be freely used.
|
13773
|
+
# Corresponds to the JSON property `metadata`
|
13774
|
+
# @return [Hash<String,String>]
|
13775
|
+
attr_accessor :metadata
|
13776
|
+
|
13777
|
+
# The content type of the file, see https://www.iana.org/assignments/media-types/
|
13778
|
+
# media-types.xhtml.
|
13779
|
+
# Corresponds to the JSON property `mimeType`
|
13780
|
+
# @return [String]
|
13781
|
+
attr_accessor :mime_type
|
13782
|
+
|
13783
|
+
# Output only. The name of the file uploaded.
|
13784
|
+
# Corresponds to the JSON property `name`
|
13785
|
+
# @return [String]
|
13786
|
+
attr_accessor :name
|
13787
|
+
|
13788
|
+
# Optional. The type of the original source of the file.
|
13789
|
+
# Corresponds to the JSON property `originalSourceType`
|
13790
|
+
# @return [String]
|
13791
|
+
attr_accessor :original_source_type
|
13792
|
+
|
13793
|
+
# Optional. The original location of the file. It may be a local file path, or
|
13794
|
+
# any other URI that allows accessing the file in an external system. There are
|
13795
|
+
# two scenarios in which this url may be empty: 1. If the file was sent as
|
13796
|
+
# inline data (e.g. pasted from the clipboard). 2. If the original location is
|
13797
|
+
# not available. Note that there's no guarantee that the URI will be pointing to
|
13798
|
+
# a valid or actually existing file. For example, a file might have been
|
13799
|
+
# uploaded to the session, and then deleted from the original source.
|
13800
|
+
# Corresponds to the JSON property `originalUri`
|
13801
|
+
# @return [String]
|
13802
|
+
attr_accessor :original_uri
|
13803
|
+
|
13804
|
+
# Output only. The time the file was uploaded (If this is a file generated by an
|
13805
|
+
# internal process and then made available to the session, this indicates the
|
13806
|
+
# moment it happened).
|
13807
|
+
# Corresponds to the JSON property `uploadTime`
|
13808
|
+
# @return [String]
|
13809
|
+
attr_accessor :upload_time
|
13810
|
+
|
13811
|
+
# Output only. Alternate views of this file object. Each file view is attached
|
13812
|
+
# to a specific role. Possible example keys: - "thumbnail" - "mobile_thumbnail" -
|
13813
|
+
# "clip" - "summary" - "translation"
|
13814
|
+
# Corresponds to the JSON property `views`
|
13815
|
+
# @return [Hash<String,Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFileView>]
|
13816
|
+
attr_accessor :views
|
13817
|
+
|
13818
|
+
def initialize(**args)
|
13819
|
+
update!(**args)
|
13820
|
+
end
|
13821
|
+
|
13822
|
+
# Update properties of this object
|
13823
|
+
def update!(**args)
|
13824
|
+
@byte_size = args[:byte_size] if args.key?(:byte_size)
|
13825
|
+
@download_uri = args[:download_uri] if args.key?(:download_uri)
|
13826
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
13827
|
+
@file_origin_type = args[:file_origin_type] if args.key?(:file_origin_type)
|
13828
|
+
@last_add_time = args[:last_add_time] if args.key?(:last_add_time)
|
13829
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
13830
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
13831
|
+
@name = args[:name] if args.key?(:name)
|
13832
|
+
@original_source_type = args[:original_source_type] if args.key?(:original_source_type)
|
13833
|
+
@original_uri = args[:original_uri] if args.key?(:original_uri)
|
13834
|
+
@upload_time = args[:upload_time] if args.key?(:upload_time)
|
13835
|
+
@views = args[:views] if args.key?(:views)
|
13836
|
+
end
|
13837
|
+
end
|
13838
|
+
|
13839
|
+
# Represents a specific alternate version or "view" of a file object, such as a
|
13840
|
+
# summary, a thumbnail, a translated version, etc.
|
13841
|
+
class GoogleCloudDiscoveryengineV1alphaFileView
|
13842
|
+
include Google::Apis::Core::Hashable
|
13843
|
+
|
13844
|
+
# Output only. The size of the view in bytes.
|
13845
|
+
# Corresponds to the JSON property `byteSize`
|
13846
|
+
# @return [Fixnum]
|
13847
|
+
attr_accessor :byte_size
|
13848
|
+
|
13849
|
+
# Output only. The time the view was created.
|
13850
|
+
# Corresponds to the JSON property `createTime`
|
13851
|
+
# @return [String]
|
13852
|
+
attr_accessor :create_time
|
13853
|
+
|
13854
|
+
# Caracteristics of other file types.
|
13855
|
+
# Corresponds to the JSON property `fileCharacteristics`
|
13856
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFileCharacteristics]
|
13857
|
+
attr_accessor :file_characteristics
|
13858
|
+
|
13859
|
+
# Standard characteristics of an image media view.
|
13860
|
+
# Corresponds to the JSON property `imageCharacteristics`
|
13861
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaImageCharacteristics]
|
13862
|
+
attr_accessor :image_characteristics
|
13863
|
+
|
13864
|
+
# Output only. MIME type (e.g., "image/jpeg", "image/png", "text/plain", "video/
|
13865
|
+
# mp4")
|
13866
|
+
# Corresponds to the JSON property `mimeType`
|
13867
|
+
# @return [String]
|
13868
|
+
attr_accessor :mime_type
|
13869
|
+
|
13870
|
+
# Output only. The URI to access this media view.
|
13871
|
+
# Corresponds to the JSON property `uri`
|
13872
|
+
# @return [String]
|
13873
|
+
attr_accessor :uri
|
13874
|
+
|
13875
|
+
# Standard characteristics of a video media view.
|
13876
|
+
# Corresponds to the JSON property `videoCharacteristics`
|
13877
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaVideoCharacteristics]
|
13878
|
+
attr_accessor :video_characteristics
|
13879
|
+
|
13880
|
+
# Output only. Globally Unique id for this specific view.
|
13881
|
+
# Corresponds to the JSON property `viewId`
|
13882
|
+
# @return [String]
|
13883
|
+
attr_accessor :view_id
|
13884
|
+
|
13885
|
+
def initialize(**args)
|
13886
|
+
update!(**args)
|
13887
|
+
end
|
13888
|
+
|
13889
|
+
# Update properties of this object
|
13890
|
+
def update!(**args)
|
13891
|
+
@byte_size = args[:byte_size] if args.key?(:byte_size)
|
13892
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
13893
|
+
@file_characteristics = args[:file_characteristics] if args.key?(:file_characteristics)
|
13894
|
+
@image_characteristics = args[:image_characteristics] if args.key?(:image_characteristics)
|
13895
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
13896
|
+
@uri = args[:uri] if args.key?(:uri)
|
13897
|
+
@video_characteristics = args[:video_characteristics] if args.key?(:video_characteristics)
|
13898
|
+
@view_id = args[:view_id] if args.key?(:view_id)
|
13899
|
+
end
|
13900
|
+
end
|
13901
|
+
|
13665
13902
|
# Firestore source import data from.
|
13666
13903
|
class GoogleCloudDiscoveryengineV1alphaFirestoreSource
|
13667
13904
|
include Google::Apis::Core::Hashable
|
@@ -14136,6 +14373,43 @@ module Google
|
|
14136
14373
|
end
|
14137
14374
|
end
|
14138
14375
|
|
14376
|
+
# Standard characteristics of an image media view.
|
14377
|
+
class GoogleCloudDiscoveryengineV1alphaImageCharacteristics
|
14378
|
+
include Google::Apis::Core::Hashable
|
14379
|
+
|
14380
|
+
# Output only. Bit depth of the image (e.g., 8-bit, 16-bit).
|
14381
|
+
# Corresponds to the JSON property `bitDepth`
|
14382
|
+
# @return [Fixnum]
|
14383
|
+
attr_accessor :bit_depth
|
14384
|
+
|
14385
|
+
# Output only. Color space of the image (e.g., "RGB", "CMYK", "Grayscale").
|
14386
|
+
# Corresponds to the JSON property `colorSpace`
|
14387
|
+
# @return [String]
|
14388
|
+
attr_accessor :color_space
|
14389
|
+
|
14390
|
+
# Output only. Image height in pixels.
|
14391
|
+
# Corresponds to the JSON property `height`
|
14392
|
+
# @return [Fixnum]
|
14393
|
+
attr_accessor :height
|
14394
|
+
|
14395
|
+
# Output only. Image width in pixels.
|
14396
|
+
# Corresponds to the JSON property `width`
|
14397
|
+
# @return [Fixnum]
|
14398
|
+
attr_accessor :width
|
14399
|
+
|
14400
|
+
def initialize(**args)
|
14401
|
+
update!(**args)
|
14402
|
+
end
|
14403
|
+
|
14404
|
+
# Update properties of this object
|
14405
|
+
def update!(**args)
|
14406
|
+
@bit_depth = args[:bit_depth] if args.key?(:bit_depth)
|
14407
|
+
@color_space = args[:color_space] if args.key?(:color_space)
|
14408
|
+
@height = args[:height] if args.key?(:height)
|
14409
|
+
@width = args[:width] if args.key?(:width)
|
14410
|
+
end
|
14411
|
+
end
|
14412
|
+
|
14139
14413
|
# Metadata related to the progress of the ImportCompletionSuggestions operation.
|
14140
14414
|
# This will be returned by the google.longrunning.Operation.metadata field.
|
14141
14415
|
class GoogleCloudDiscoveryengineV1alphaImportCompletionSuggestionsMetadata
|
@@ -15324,6 +15598,33 @@ module Google
|
|
15324
15598
|
end
|
15325
15599
|
end
|
15326
15600
|
|
15601
|
+
# Response message for SessionService.ListFiles method.
|
15602
|
+
class GoogleCloudDiscoveryengineV1alphaListFilesResponse
|
15603
|
+
include Google::Apis::Core::Hashable
|
15604
|
+
|
15605
|
+
# The FileMetadatas.
|
15606
|
+
# Corresponds to the JSON property `files`
|
15607
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaFileMetadata>]
|
15608
|
+
attr_accessor :files
|
15609
|
+
|
15610
|
+
# A token to retrieve next page of results. Pass this value in the
|
15611
|
+
# ListFilesRequest.page_token field in the subsequent call to `ListFiles` method
|
15612
|
+
# to retrieve the next page of results.
|
15613
|
+
# Corresponds to the JSON property `nextPageToken`
|
15614
|
+
# @return [String]
|
15615
|
+
attr_accessor :next_page_token
|
15616
|
+
|
15617
|
+
def initialize(**args)
|
15618
|
+
update!(**args)
|
15619
|
+
end
|
15620
|
+
|
15621
|
+
# Update properties of this object
|
15622
|
+
def update!(**args)
|
15623
|
+
@files = args[:files] if args.key?(:files)
|
15624
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
15625
|
+
end
|
15626
|
+
end
|
15627
|
+
|
15327
15628
|
# Response message for IdentityMappingStoreService.ListIdentityMappingStores
|
15328
15629
|
class GoogleCloudDiscoveryengineV1alphaListIdentityMappingStoresResponse
|
15329
15630
|
include Google::Apis::Core::Hashable
|
@@ -15483,9 +15784,12 @@ module Google
|
|
15483
15784
|
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
|
15484
15785
|
include Google::Apis::Core::Hashable
|
15485
15786
|
|
15486
|
-
# A
|
15487
|
-
# user_pseudo_id
|
15488
|
-
#
|
15787
|
+
# A comma-separated list of fields to filter by, in EBNF grammar. The supported
|
15788
|
+
# fields are: * `user_pseudo_id` * `state` * `display_name` * `starred` * `
|
15789
|
+
# is_pinned` * `labels` * `create_time` * `update_time` Examples: "
|
15790
|
+
# user_pseudo_id = some_id" "display_name = \"some_name\"" "starred = true" "
|
15791
|
+
# is_pinned=true AND (NOT labels:hidden)" "create_time > \"1970-01-01T12:00:00Z\"
|
15792
|
+
# "
|
15489
15793
|
# Corresponds to the JSON property `filter`
|
15490
15794
|
# @return [String]
|
15491
15795
|
attr_accessor :filter
|
@@ -16063,6 +16367,11 @@ module Google
|
|
16063
16367
|
# @return [String]
|
16064
16368
|
attr_accessor :data_use_terms_version
|
16065
16369
|
|
16370
|
+
# Parameters for Agentspace.
|
16371
|
+
# Corresponds to the JSON property `saasParams`
|
16372
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams]
|
16373
|
+
attr_accessor :saas_params
|
16374
|
+
|
16066
16375
|
def initialize(**args)
|
16067
16376
|
update!(**args)
|
16068
16377
|
end
|
@@ -16071,6 +16380,28 @@ module Google
|
|
16071
16380
|
def update!(**args)
|
16072
16381
|
@accept_data_use_terms = args[:accept_data_use_terms] if args.key?(:accept_data_use_terms)
|
16073
16382
|
@data_use_terms_version = args[:data_use_terms_version] if args.key?(:data_use_terms_version)
|
16383
|
+
@saas_params = args[:saas_params] if args.key?(:saas_params)
|
16384
|
+
end
|
16385
|
+
end
|
16386
|
+
|
16387
|
+
# Parameters for Agentspace.
|
16388
|
+
class GoogleCloudDiscoveryengineV1alphaProvisionProjectRequestSaasParams
|
16389
|
+
include Google::Apis::Core::Hashable
|
16390
|
+
|
16391
|
+
# Optional. Set to `true` to specify that caller has read and would like to give
|
16392
|
+
# consent to the [Terms for Agent Space quality of service].
|
16393
|
+
# Corresponds to the JSON property `acceptBizQos`
|
16394
|
+
# @return [Boolean]
|
16395
|
+
attr_accessor :accept_biz_qos
|
16396
|
+
alias_method :accept_biz_qos?, :accept_biz_qos
|
16397
|
+
|
16398
|
+
def initialize(**args)
|
16399
|
+
update!(**args)
|
16400
|
+
end
|
16401
|
+
|
16402
|
+
# Update properties of this object
|
16403
|
+
def update!(**args)
|
16404
|
+
@accept_biz_qos = args[:accept_biz_qos] if args.key?(:accept_biz_qos)
|
16074
16405
|
end
|
16075
16406
|
end
|
16076
16407
|
|
@@ -16661,7 +16992,7 @@ module Google
|
|
16661
16992
|
# @return [String]
|
16662
16993
|
attr_accessor :query
|
16663
16994
|
|
16664
|
-
# Required. A list of records to rank.
|
16995
|
+
# Required. A list of records to rank.
|
16665
16996
|
# Corresponds to the JSON property `records`
|
16666
16997
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaRankingRecord>]
|
16667
16998
|
attr_accessor :records
|
@@ -21187,12 +21518,6 @@ module Google
|
|
21187
21518
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecImageGenerationSpec]
|
21188
21519
|
attr_accessor :image_generation_spec
|
21189
21520
|
|
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
21521
|
# Specification of the Vertex AI Search tool.
|
21197
21522
|
# Corresponds to the JSON property `vertexAiSearchSpec`
|
21198
21523
|
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecVertexAiSearchSpec]
|
@@ -21215,7 +21540,6 @@ module Google
|
|
21215
21540
|
# Update properties of this object
|
21216
21541
|
def update!(**args)
|
21217
21542
|
@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
21543
|
@vertex_ai_search_spec = args[:vertex_ai_search_spec] if args.key?(:vertex_ai_search_spec)
|
21220
21544
|
@video_generation_spec = args[:video_generation_spec] if args.key?(:video_generation_spec)
|
21221
21545
|
@web_grounding_spec = args[:web_grounding_spec] if args.key?(:web_grounding_spec)
|
@@ -21246,14 +21570,6 @@ module Google
|
|
21246
21570
|
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestDataStoreSpec>]
|
21247
21571
|
attr_accessor :data_store_specs
|
21248
21572
|
|
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
21573
|
# Optional. The filter syntax consists of an expression language for
|
21258
21574
|
# constructing a predicate from one or more fields of the documents being
|
21259
21575
|
# filtered. Filter expression is case-sensitive. If this field is unrecognizable,
|
@@ -21276,7 +21592,6 @@ module Google
|
|
21276
21592
|
# Update properties of this object
|
21277
21593
|
def update!(**args)
|
21278
21594
|
@data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
|
21279
|
-
@disabled = args[:disabled] if args.key?(:disabled)
|
21280
21595
|
@filter = args[:filter] if args.key?(:filter)
|
21281
21596
|
end
|
21282
21597
|
end
|
@@ -21298,20 +21613,12 @@ module Google
|
|
21298
21613
|
class GoogleCloudDiscoveryengineV1alphaStreamAssistRequestToolsSpecWebGroundingSpec
|
21299
21614
|
include Google::Apis::Core::Hashable
|
21300
21615
|
|
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
21616
|
def initialize(**args)
|
21309
21617
|
update!(**args)
|
21310
21618
|
end
|
21311
21619
|
|
21312
21620
|
# Update properties of this object
|
21313
21621
|
def update!(**args)
|
21314
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
21315
21622
|
end
|
21316
21623
|
end
|
21317
21624
|
|
@@ -21987,6 +22294,63 @@ module Google
|
|
21987
22294
|
end
|
21988
22295
|
end
|
21989
22296
|
|
22297
|
+
# Request for the AssistantService.UploadSessionFile method.
|
22298
|
+
class GoogleCloudDiscoveryengineV1alphaUploadSessionFileRequest
|
22299
|
+
include Google::Apis::Core::Hashable
|
22300
|
+
|
22301
|
+
# A reference to data stored on the filesystem, on GFS or in blobstore.
|
22302
|
+
# Corresponds to the JSON property `blob`
|
22303
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GdataMedia]
|
22304
|
+
attr_accessor :blob
|
22305
|
+
|
22306
|
+
# Extra information added to operations that support Scotty media requests.
|
22307
|
+
# Corresponds to the JSON property `mediaRequestInfo`
|
22308
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::ApiservingMediaRequestInfo]
|
22309
|
+
attr_accessor :media_request_info
|
22310
|
+
|
22311
|
+
def initialize(**args)
|
22312
|
+
update!(**args)
|
22313
|
+
end
|
22314
|
+
|
22315
|
+
# Update properties of this object
|
22316
|
+
def update!(**args)
|
22317
|
+
@blob = args[:blob] if args.key?(:blob)
|
22318
|
+
@media_request_info = args[:media_request_info] if args.key?(:media_request_info)
|
22319
|
+
end
|
22320
|
+
end
|
22321
|
+
|
22322
|
+
# Response for the AssistantService.UploadSessionFile method.
|
22323
|
+
class GoogleCloudDiscoveryengineV1alphaUploadSessionFileResponse
|
22324
|
+
include Google::Apis::Core::Hashable
|
22325
|
+
|
22326
|
+
# The ID of the uploaded file.
|
22327
|
+
# Corresponds to the JSON property `fileId`
|
22328
|
+
# @return [String]
|
22329
|
+
attr_accessor :file_id
|
22330
|
+
|
22331
|
+
# This message is for backends to pass their scotty media specific fields to ESF.
|
22332
|
+
# Backend will include this in their response message to ESF. Example:
|
22333
|
+
# ExportFile is an rpc defined for upload using scotty from ESF. rpc ExportFile(
|
22334
|
+
# ExportFileRequest) returns (ExportFileResponse) Message ExportFileResponse
|
22335
|
+
# will include apiserving.MediaResponseInfo to tell ESF about data like
|
22336
|
+
# dynamic_dropzone it needs to pass to Scotty. message ExportFileResponse `
|
22337
|
+
# optional gdata.Media blob = 1; optional apiserving.MediaResponseInfo
|
22338
|
+
# media_response_info = 2 `
|
22339
|
+
# Corresponds to the JSON property `mediaResponseInfo`
|
22340
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::ApiservingMediaResponseInfo]
|
22341
|
+
attr_accessor :media_response_info
|
22342
|
+
|
22343
|
+
def initialize(**args)
|
22344
|
+
update!(**args)
|
22345
|
+
end
|
22346
|
+
|
22347
|
+
# Update properties of this object
|
22348
|
+
def update!(**args)
|
22349
|
+
@file_id = args[:file_id] if args.key?(:file_id)
|
22350
|
+
@media_response_info = args[:media_response_info] if args.key?(:media_response_info)
|
22351
|
+
end
|
22352
|
+
end
|
22353
|
+
|
21990
22354
|
# UserEvent captures all metadata information Discovery Engine API needs to know
|
21991
22355
|
# about how end users interact with your website.
|
21992
22356
|
class GoogleCloudDiscoveryengineV1alphaUserEvent
|
@@ -22324,6 +22688,67 @@ module Google
|
|
22324
22688
|
end
|
22325
22689
|
end
|
22326
22690
|
|
22691
|
+
# Standard characteristics of a video media view.
|
22692
|
+
class GoogleCloudDiscoveryengineV1alphaVideoCharacteristics
|
22693
|
+
include Google::Apis::Core::Hashable
|
22694
|
+
|
22695
|
+
# Output only. Bitrate of the audio in kbps.
|
22696
|
+
# Corresponds to the JSON property `audioBitrateKbps`
|
22697
|
+
# @return [Fixnum]
|
22698
|
+
attr_accessor :audio_bitrate_kbps
|
22699
|
+
|
22700
|
+
# Output only. Audio codecs used in the video.
|
22701
|
+
# Corresponds to the JSON property `audioCodecs`
|
22702
|
+
# @return [Array<String>]
|
22703
|
+
attr_accessor :audio_codecs
|
22704
|
+
|
22705
|
+
# Output only. Video duration.
|
22706
|
+
# Corresponds to the JSON property `duration`
|
22707
|
+
# @return [String]
|
22708
|
+
attr_accessor :duration
|
22709
|
+
|
22710
|
+
# Output only. Frame rate (frames per second).
|
22711
|
+
# Corresponds to the JSON property `frameRate`
|
22712
|
+
# @return [Float]
|
22713
|
+
attr_accessor :frame_rate
|
22714
|
+
|
22715
|
+
# Output only. Video height in pixels.
|
22716
|
+
# Corresponds to the JSON property `height`
|
22717
|
+
# @return [Fixnum]
|
22718
|
+
attr_accessor :height
|
22719
|
+
|
22720
|
+
# Output only. Bitrate of the video in kbps.
|
22721
|
+
# Corresponds to the JSON property `videoBitrateKbps`
|
22722
|
+
# @return [Fixnum]
|
22723
|
+
attr_accessor :video_bitrate_kbps
|
22724
|
+
|
22725
|
+
# Output only. Video codecs used in the video.
|
22726
|
+
# Corresponds to the JSON property `videoCodecs`
|
22727
|
+
# @return [Array<String>]
|
22728
|
+
attr_accessor :video_codecs
|
22729
|
+
|
22730
|
+
# Output only. Video width in pixels.
|
22731
|
+
# Corresponds to the JSON property `width`
|
22732
|
+
# @return [Fixnum]
|
22733
|
+
attr_accessor :width
|
22734
|
+
|
22735
|
+
def initialize(**args)
|
22736
|
+
update!(**args)
|
22737
|
+
end
|
22738
|
+
|
22739
|
+
# Update properties of this object
|
22740
|
+
def update!(**args)
|
22741
|
+
@audio_bitrate_kbps = args[:audio_bitrate_kbps] if args.key?(:audio_bitrate_kbps)
|
22742
|
+
@audio_codecs = args[:audio_codecs] if args.key?(:audio_codecs)
|
22743
|
+
@duration = args[:duration] if args.key?(:duration)
|
22744
|
+
@frame_rate = args[:frame_rate] if args.key?(:frame_rate)
|
22745
|
+
@height = args[:height] if args.key?(:height)
|
22746
|
+
@video_bitrate_kbps = args[:video_bitrate_kbps] if args.key?(:video_bitrate_kbps)
|
22747
|
+
@video_codecs = args[:video_codecs] if args.key?(:video_codecs)
|
22748
|
+
@width = args[:width] if args.key?(:width)
|
22749
|
+
end
|
22750
|
+
end
|
22751
|
+
|
22327
22752
|
# WidgetConfig captures configs at the Widget level.
|
22328
22753
|
class GoogleCloudDiscoveryengineV1alphaWidgetConfig
|
22329
22754
|
include Google::Apis::Core::Hashable
|
@@ -23385,14 +23810,14 @@ module Google
|
|
23385
23810
|
attr_accessor :is_default
|
23386
23811
|
alias_method :is_default?, :is_default
|
23387
23812
|
|
23388
|
-
# KMS key resource name which will be used to encrypt resources `
|
23389
|
-
# project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
23813
|
+
# Required. KMS key resource name which will be used to encrypt resources `
|
23814
|
+
# projects/`project`/locations/`location`/keyRings/`keyRing`/cryptoKeys/`keyId``.
|
23390
23815
|
# Corresponds to the JSON property `kmsKey`
|
23391
23816
|
# @return [String]
|
23392
23817
|
attr_accessor :kms_key
|
23393
23818
|
|
23394
|
-
# KMS key version resource name which will be used to encrypt
|
23395
|
-
# cryptoKeyVersions/`keyVersion``.
|
23819
|
+
# Output only. KMS key version resource name which will be used to encrypt
|
23820
|
+
# resources `/cryptoKeyVersions/`keyVersion``.
|
23396
23821
|
# Corresponds to the JSON property `kmsKeyVersion`
|
23397
23822
|
# @return [String]
|
23398
23823
|
attr_accessor :kms_key_version
|
@@ -28314,6 +28739,220 @@ module Google
|
|
28314
28739
|
end
|
28315
28740
|
end
|
28316
28741
|
|
28742
|
+
# Metadata about an agentspace source.
|
28743
|
+
class GoogleCloudNotebooklmV1alphaAgentspaceMetadata
|
28744
|
+
include Google::Apis::Core::Hashable
|
28745
|
+
|
28746
|
+
# Output only. The full document name in Agentspace.
|
28747
|
+
# Corresponds to the JSON property `documentName`
|
28748
|
+
# @return [String]
|
28749
|
+
attr_accessor :document_name
|
28750
|
+
|
28751
|
+
# Output only. The title of the document.
|
28752
|
+
# Corresponds to the JSON property `documentTitle`
|
28753
|
+
# @return [String]
|
28754
|
+
attr_accessor :document_title
|
28755
|
+
|
28756
|
+
def initialize(**args)
|
28757
|
+
update!(**args)
|
28758
|
+
end
|
28759
|
+
|
28760
|
+
# Update properties of this object
|
28761
|
+
def update!(**args)
|
28762
|
+
@document_name = args[:document_name] if args.key?(:document_name)
|
28763
|
+
@document_title = args[:document_title] if args.key?(:document_title)
|
28764
|
+
end
|
28765
|
+
end
|
28766
|
+
|
28767
|
+
# Request for SourceService.BatchCreateSources method.
|
28768
|
+
class GoogleCloudNotebooklmV1alphaBatchCreateSourcesRequest
|
28769
|
+
include Google::Apis::Core::Hashable
|
28770
|
+
|
28771
|
+
# Required. The UserContents to be uploaded.
|
28772
|
+
# Corresponds to the JSON property `userContents`
|
28773
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContent>]
|
28774
|
+
attr_accessor :user_contents
|
28775
|
+
|
28776
|
+
def initialize(**args)
|
28777
|
+
update!(**args)
|
28778
|
+
end
|
28779
|
+
|
28780
|
+
# Update properties of this object
|
28781
|
+
def update!(**args)
|
28782
|
+
@user_contents = args[:user_contents] if args.key?(:user_contents)
|
28783
|
+
end
|
28784
|
+
end
|
28785
|
+
|
28786
|
+
# Response for SourceService.BatchCreateSources method.
|
28787
|
+
class GoogleCloudNotebooklmV1alphaBatchCreateSourcesResponse
|
28788
|
+
include Google::Apis::Core::Hashable
|
28789
|
+
|
28790
|
+
# The Sources.
|
28791
|
+
# Corresponds to the JSON property `sources`
|
28792
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSource>]
|
28793
|
+
attr_accessor :sources
|
28794
|
+
|
28795
|
+
def initialize(**args)
|
28796
|
+
update!(**args)
|
28797
|
+
end
|
28798
|
+
|
28799
|
+
# Update properties of this object
|
28800
|
+
def update!(**args)
|
28801
|
+
@sources = args[:sources] if args.key?(:sources)
|
28802
|
+
end
|
28803
|
+
end
|
28804
|
+
|
28805
|
+
# Response for NotebookService.ListRecentlyViewedNotebooks method.
|
28806
|
+
class GoogleCloudNotebooklmV1alphaListRecentlyViewedNotebooksResponse
|
28807
|
+
include Google::Apis::Core::Hashable
|
28808
|
+
|
28809
|
+
# The page token, provide this to retrieve the subsequent page.
|
28810
|
+
# Corresponds to the JSON property `nextPageToken`
|
28811
|
+
# @return [String]
|
28812
|
+
attr_accessor :next_page_token
|
28813
|
+
|
28814
|
+
# The list of recently viewed notebooks.
|
28815
|
+
# Corresponds to the JSON property `notebooks`
|
28816
|
+
# @return [Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebook>]
|
28817
|
+
attr_accessor :notebooks
|
28818
|
+
|
28819
|
+
def initialize(**args)
|
28820
|
+
update!(**args)
|
28821
|
+
end
|
28822
|
+
|
28823
|
+
# Update properties of this object
|
28824
|
+
def update!(**args)
|
28825
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
28826
|
+
@notebooks = args[:notebooks] if args.key?(:notebooks)
|
28827
|
+
end
|
28828
|
+
end
|
28829
|
+
|
28830
|
+
# Notebook is a resource where users can store their content (as sources) and
|
28831
|
+
# interacts with the content.
|
28832
|
+
class GoogleCloudNotebooklmV1alphaNotebook
|
28833
|
+
include Google::Apis::Core::Hashable
|
28834
|
+
|
28835
|
+
# Output only. The emoji of the notebook.
|
28836
|
+
# Corresponds to the JSON property `emoji`
|
28837
|
+
# @return [String]
|
28838
|
+
attr_accessor :emoji
|
28839
|
+
|
28840
|
+
# Metadata for a notebook.
|
28841
|
+
# Corresponds to the JSON property `metadata`
|
28842
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaNotebookMetadata]
|
28843
|
+
attr_accessor :metadata
|
28844
|
+
|
28845
|
+
# Identifier. The identifier of the notebook. Format: `projects/`project`/
|
28846
|
+
# locations/`location`/notebooks/`notebook_id``. This field must be a UTF-8
|
28847
|
+
# encoded string.
|
28848
|
+
# Corresponds to the JSON property `name`
|
28849
|
+
# @return [String]
|
28850
|
+
attr_accessor :name
|
28851
|
+
|
28852
|
+
# Optional. Notebook id, which is the last segment of the notebook's resource
|
28853
|
+
# name. This is to make it similar with notebooklm API.
|
28854
|
+
# Corresponds to the JSON property `notebookId`
|
28855
|
+
# @return [String]
|
28856
|
+
attr_accessor :notebook_id
|
28857
|
+
|
28858
|
+
# Optional. The title of the notebook.
|
28859
|
+
# Corresponds to the JSON property `title`
|
28860
|
+
# @return [String]
|
28861
|
+
attr_accessor :title
|
28862
|
+
|
28863
|
+
def initialize(**args)
|
28864
|
+
update!(**args)
|
28865
|
+
end
|
28866
|
+
|
28867
|
+
# Update properties of this object
|
28868
|
+
def update!(**args)
|
28869
|
+
@emoji = args[:emoji] if args.key?(:emoji)
|
28870
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
28871
|
+
@name = args[:name] if args.key?(:name)
|
28872
|
+
@notebook_id = args[:notebook_id] if args.key?(:notebook_id)
|
28873
|
+
@title = args[:title] if args.key?(:title)
|
28874
|
+
end
|
28875
|
+
end
|
28876
|
+
|
28877
|
+
# Metadata for a notebook.
|
28878
|
+
class GoogleCloudNotebooklmV1alphaNotebookMetadata
|
28879
|
+
include Google::Apis::Core::Hashable
|
28880
|
+
|
28881
|
+
# The time at which this project was created.
|
28882
|
+
# Corresponds to the JSON property `createTime`
|
28883
|
+
# @return [String]
|
28884
|
+
attr_accessor :create_time
|
28885
|
+
|
28886
|
+
# True if the project is shareable.
|
28887
|
+
# Corresponds to the JSON property `isShareable`
|
28888
|
+
# @return [Boolean]
|
28889
|
+
attr_accessor :is_shareable
|
28890
|
+
alias_method :is_shareable?, :is_shareable
|
28891
|
+
|
28892
|
+
# True if this project is currently shared with other people, false otherwise.
|
28893
|
+
# Corresponds to the JSON property `isShared`
|
28894
|
+
# @return [Boolean]
|
28895
|
+
attr_accessor :is_shared
|
28896
|
+
alias_method :is_shared?, :is_shared
|
28897
|
+
|
28898
|
+
# A timestamp indicating the time that the current in session user has last
|
28899
|
+
# viewed the project.
|
28900
|
+
# Corresponds to the JSON property `lastViewed`
|
28901
|
+
# @return [String]
|
28902
|
+
attr_accessor :last_viewed
|
28903
|
+
|
28904
|
+
def initialize(**args)
|
28905
|
+
update!(**args)
|
28906
|
+
end
|
28907
|
+
|
28908
|
+
# Update properties of this object
|
28909
|
+
def update!(**args)
|
28910
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
28911
|
+
@is_shareable = args[:is_shareable] if args.key?(:is_shareable)
|
28912
|
+
@is_shared = args[:is_shared] if args.key?(:is_shared)
|
28913
|
+
@last_viewed = args[:last_viewed] if args.key?(:last_viewed)
|
28914
|
+
end
|
28915
|
+
end
|
28916
|
+
|
28917
|
+
# Source represents a single source of content.
|
28918
|
+
class GoogleCloudNotebooklmV1alphaSource
|
28919
|
+
include Google::Apis::Core::Hashable
|
28920
|
+
|
28921
|
+
# Represents the metadata of a source and some additional information.
|
28922
|
+
# Corresponds to the JSON property `metadata`
|
28923
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSourceMetadata]
|
28924
|
+
attr_accessor :metadata
|
28925
|
+
|
28926
|
+
# Identifier. The full resource name of the source. Format: `projects/`project`/
|
28927
|
+
# locations/`location`/notebooks/`notebook`/sources/`source_id``. This field
|
28928
|
+
# must be a UTF-8 encoded string with a length limit of 1024 characters.
|
28929
|
+
# Corresponds to the JSON property `name`
|
28930
|
+
# @return [String]
|
28931
|
+
attr_accessor :name
|
28932
|
+
|
28933
|
+
# SourceId is the last segment of the source's resource name.
|
28934
|
+
# Corresponds to the JSON property `sourceId`
|
28935
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaSourceId]
|
28936
|
+
attr_accessor :source_id
|
28937
|
+
|
28938
|
+
# Optional. Title of the source.
|
28939
|
+
# Corresponds to the JSON property `title`
|
28940
|
+
# @return [String]
|
28941
|
+
attr_accessor :title
|
28942
|
+
|
28943
|
+
def initialize(**args)
|
28944
|
+
update!(**args)
|
28945
|
+
end
|
28946
|
+
|
28947
|
+
# Update properties of this object
|
28948
|
+
def update!(**args)
|
28949
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
28950
|
+
@name = args[:name] if args.key?(:name)
|
28951
|
+
@source_id = args[:source_id] if args.key?(:source_id)
|
28952
|
+
@title = args[:title] if args.key?(:title)
|
28953
|
+
end
|
28954
|
+
end
|
28955
|
+
|
28317
28956
|
# SourceId is the last segment of the source's resource name.
|
28318
28957
|
class GoogleCloudNotebooklmV1alphaSourceId
|
28319
28958
|
include Google::Apis::Core::Hashable
|
@@ -28333,6 +28972,43 @@ module Google
|
|
28333
28972
|
end
|
28334
28973
|
end
|
28335
28974
|
|
28975
|
+
# Represents the metadata of a source and some additional information.
|
28976
|
+
class GoogleCloudNotebooklmV1alphaSourceMetadata
|
28977
|
+
include Google::Apis::Core::Hashable
|
28978
|
+
|
28979
|
+
# Metadata about an agentspace source.
|
28980
|
+
# Corresponds to the JSON property `agentspaceMetadata`
|
28981
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaAgentspaceMetadata]
|
28982
|
+
attr_accessor :agentspace_metadata
|
28983
|
+
|
28984
|
+
# The timestamp the source was added.
|
28985
|
+
# Corresponds to the JSON property `sourceAddedTimestamp`
|
28986
|
+
# @return [String]
|
28987
|
+
attr_accessor :source_added_timestamp
|
28988
|
+
|
28989
|
+
# The number of tokens in the source.
|
28990
|
+
# Corresponds to the JSON property `tokenCount`
|
28991
|
+
# @return [Fixnum]
|
28992
|
+
attr_accessor :token_count
|
28993
|
+
|
28994
|
+
# The word count of the source.
|
28995
|
+
# Corresponds to the JSON property `wordCount`
|
28996
|
+
# @return [Fixnum]
|
28997
|
+
attr_accessor :word_count
|
28998
|
+
|
28999
|
+
def initialize(**args)
|
29000
|
+
update!(**args)
|
29001
|
+
end
|
29002
|
+
|
29003
|
+
# Update properties of this object
|
29004
|
+
def update!(**args)
|
29005
|
+
@agentspace_metadata = args[:agentspace_metadata] if args.key?(:agentspace_metadata)
|
29006
|
+
@source_added_timestamp = args[:source_added_timestamp] if args.key?(:source_added_timestamp)
|
29007
|
+
@token_count = args[:token_count] if args.key?(:token_count)
|
29008
|
+
@word_count = args[:word_count] if args.key?(:word_count)
|
29009
|
+
end
|
29010
|
+
end
|
29011
|
+
|
28336
29012
|
# Request for the SourceService.UploadSourceFile method.
|
28337
29013
|
class GoogleCloudNotebooklmV1alphaUploadSourceFileRequest
|
28338
29014
|
include Google::Apis::Core::Hashable
|
@@ -28397,6 +29073,56 @@ module Google
|
|
28397
29073
|
end
|
28398
29074
|
end
|
28399
29075
|
|
29076
|
+
# The "Content" messages refer to data the user wants to upload.
|
29077
|
+
class GoogleCloudNotebooklmV1alphaUserContent
|
29078
|
+
include Google::Apis::Core::Hashable
|
29079
|
+
|
29080
|
+
# Agentspace content uploaded as source.
|
29081
|
+
# Corresponds to the JSON property `agentspaceContent`
|
29082
|
+
# @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent]
|
29083
|
+
attr_accessor :agentspace_content
|
29084
|
+
|
29085
|
+
def initialize(**args)
|
29086
|
+
update!(**args)
|
29087
|
+
end
|
29088
|
+
|
29089
|
+
# Update properties of this object
|
29090
|
+
def update!(**args)
|
29091
|
+
@agentspace_content = args[:agentspace_content] if args.key?(:agentspace_content)
|
29092
|
+
end
|
29093
|
+
end
|
29094
|
+
|
29095
|
+
# Agentspace content uploaded as source.
|
29096
|
+
class GoogleCloudNotebooklmV1alphaUserContentAgentspaceContent
|
29097
|
+
include Google::Apis::Core::Hashable
|
29098
|
+
|
29099
|
+
# Optional. The full document name in Agentspace.
|
29100
|
+
# Corresponds to the JSON property `documentName`
|
29101
|
+
# @return [String]
|
29102
|
+
attr_accessor :document_name
|
29103
|
+
|
29104
|
+
# Optional. Engine to verify the permission of the document.
|
29105
|
+
# Corresponds to the JSON property `engineName`
|
29106
|
+
# @return [String]
|
29107
|
+
attr_accessor :engine_name
|
29108
|
+
|
29109
|
+
# Optional. The full idea name for IdeaForge.
|
29110
|
+
# Corresponds to the JSON property `ideaforgeIdeaName`
|
29111
|
+
# @return [String]
|
29112
|
+
attr_accessor :ideaforge_idea_name
|
29113
|
+
|
29114
|
+
def initialize(**args)
|
29115
|
+
update!(**args)
|
29116
|
+
end
|
29117
|
+
|
29118
|
+
# Update properties of this object
|
29119
|
+
def update!(**args)
|
29120
|
+
@document_name = args[:document_name] if args.key?(:document_name)
|
29121
|
+
@engine_name = args[:engine_name] if args.key?(:engine_name)
|
29122
|
+
@ideaforge_idea_name = args[:ideaforge_idea_name] if args.key?(:ideaforge_idea_name)
|
29123
|
+
end
|
29124
|
+
end
|
29125
|
+
|
28400
29126
|
# The request message for Operations.CancelOperation.
|
28401
29127
|
class GoogleLongrunningCancelOperationRequest
|
28402
29128
|
include Google::Apis::Core::Hashable
|