google-apis-discoveryengine_v1alpha 0.58.0 → 0.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9a8d367bb552397cca5da331b84144514f8ec0c36cc411ac08ff1a3146c3ff30
4
- data.tar.gz: 14186c301bfde98e1262e19659c603ed4643b2282e9f3afaf5fd85fe26aa17b3
3
+ metadata.gz: be5f5b8b0d8097968d7ac72ec58baa91de62e68d73af95cb24c1fa1b6bf39718
4
+ data.tar.gz: 36595b70791a22d5580d30e442b804d59c56a01d46299406465d0a0002aedfe4
5
5
  SHA512:
6
- metadata.gz: d4d1aa2d88bd7229699133133c824662acda08c5e8a265ff29f1876b527cd6222f8da1bfd60df66d160d9d0be6be3981b3f6627c22b12353fa9c4baf26283484
7
- data.tar.gz: 10141a20b11535a39c1bc0f5071f5f2824a20a1329fff8b89d228533336b7022916ffe191fa8cb3a48e0b199f4afa21084f821097836bd075dfa76184e3e1fd1
6
+ metadata.gz: db73554705058c8db769e83b2b1e08bb04e06513c368046369cea77b0200ff3b2318e2500e4368eb91f50a333c9b173193b38250f5fd285c21ebc35b381e69b2
7
+ data.tar.gz: eee517907bfbfb6ad9ea72d41986f085e82f9e2e3d3cc6263c545453c44a9564729091372b86f40b5766cc73a333348a6363baa99fbbc335c85f6845605e6f22
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.60.0 (2025-04-20)
4
+
5
+ * Regenerated from discovery document revision 20250410
6
+
7
+ ### v0.59.0 (2025-04-06)
8
+
9
+ * Regenerated from discovery document revision 20250331
10
+
3
11
  ### v0.58.0 (2025-03-30)
4
12
 
5
13
  * Regenerated from discovery document revision 20250322
@@ -127,6 +127,17 @@ module Google
127
127
  # @return [String]
128
128
  attr_accessor :data_storage_transform
129
129
 
130
+ # For the first notification of a |diff_encoded| HttpRequestInfo, this is the
131
+ # index of the blob mint that Scotty should use when writing the resulting blob.
132
+ # This field is optional. It's not required ever, even if `
133
+ # original_object_blob_mint_index` is set. In situations like that, we will use
134
+ # the destination blob's mint for the destination blob and regular blob ACL
135
+ # checks for the original object. Note: This field is only for use by Drive API
136
+ # for diff uploads.
137
+ # Corresponds to the JSON property `destinationBlobMintIndex`
138
+ # @return [Fixnum]
139
+ attr_accessor :destination_blob_mint_index
140
+
130
141
  # Specifies the Scotty Drop Target to use for uploads. If present in a media
131
142
  # response, Scotty does not upload to a standard drop zone. Instead, Scotty
132
143
  # saves the upload directly to the location specified in this drop target.
@@ -152,6 +163,17 @@ module Google
152
163
  # @return [Google::Apis::DiscoveryengineV1alpha::GdataMedia]
153
164
  attr_accessor :media_for_diff
154
165
 
166
+ # For the first notification of a |diff_encoded| HttpRequestInfo, this is the
167
+ # index of the blob mint that Scotty should use when reading the original blob.
168
+ # This field is optional. It's not required ever, even if `
169
+ # destination_blob_mint_index` is set. In situations like that, we will use the
170
+ # destination blob's mint for the destination blob and regular blob ACL checks
171
+ # for the original object. Note: This field is only for use by Drive API for
172
+ # diff uploads.
173
+ # Corresponds to the JSON property `originalObjectBlobMintIndex`
174
+ # @return [Fixnum]
175
+ attr_accessor :original_object_blob_mint_index
176
+
155
177
  # Request class to use for all Blobstore operations for this request.
156
178
  # Corresponds to the JSON property `requestClass`
157
179
  # @return [String]
@@ -193,9 +215,11 @@ module Google
193
215
  def update!(**args)
194
216
  @custom_data = args[:custom_data] if args.key?(:custom_data)
195
217
  @data_storage_transform = args[:data_storage_transform] if args.key?(:data_storage_transform)
218
+ @destination_blob_mint_index = args[:destination_blob_mint_index] if args.key?(:destination_blob_mint_index)
196
219
  @dynamic_drop_target = args[:dynamic_drop_target] if args.key?(:dynamic_drop_target)
197
220
  @dynamic_dropzone = args[:dynamic_dropzone] if args.key?(:dynamic_dropzone)
198
221
  @media_for_diff = args[:media_for_diff] if args.key?(:media_for_diff)
222
+ @original_object_blob_mint_index = args[:original_object_blob_mint_index] if args.key?(:original_object_blob_mint_index)
199
223
  @request_class = args[:request_class] if args.key?(:request_class)
200
224
  @scotty_agent_user_id = args[:scotty_agent_user_id] if args.key?(:scotty_agent_user_id)
201
225
  @scotty_customer_log = args[:scotty_customer_log] if args.key?(:scotty_customer_log)
@@ -1765,7 +1789,8 @@ module Google
1765
1789
  attr_accessor :active_time_range
1766
1790
 
1767
1791
  # Optional. Query regex to match the whole search query. Cannot be set when
1768
- # Condition.query_terms is set. This is currently supporting promotion use case.
1792
+ # Condition.query_terms is set. Only supported for Basic Site Search promotion
1793
+ # serving controls.
1769
1794
  # Corresponds to the JSON property `queryRegex`
1770
1795
  # @return [String]
1771
1796
  attr_accessor :query_regex
@@ -3959,6 +3984,12 @@ module Google
3959
3984
  # @return [String]
3960
3985
  attr_accessor :description
3961
3986
 
3987
+ # Optional. The Document the user wants to promote. For site search, leave unset
3988
+ # and only populate uri. Can be set along with uri.
3989
+ # Corresponds to the JSON property `document`
3990
+ # @return [String]
3991
+ attr_accessor :document
3992
+
3962
3993
  # Optional. The enabled promotion will be returned for any serving configs
3963
3994
  # associated with the parent of the control this promotion is attached to. This
3964
3995
  # flag is used for basic site search only.
@@ -3990,6 +4021,7 @@ module Google
3990
4021
  # Update properties of this object
3991
4022
  def update!(**args)
3992
4023
  @description = args[:description] if args.key?(:description)
4024
+ @document = args[:document] if args.key?(:document)
3993
4025
  @enabled = args[:enabled] if args.key?(:enabled)
3994
4026
  @image_uri = args[:image_uri] if args.key?(:image_uri)
3995
4027
  @title = args[:title] if args.key?(:title)
@@ -8045,6 +8077,11 @@ module Google
8045
8077
  class GoogleCloudDiscoveryengineV1alphaChunk
8046
8078
  include Google::Apis::Core::Hashable
8047
8079
 
8080
+ # Output only. Annotation contents if the current chunk contains annotations.
8081
+ # Corresponds to the JSON property `annotationContents`
8082
+ # @return [Array<String>]
8083
+ attr_accessor :annotation_contents
8084
+
8048
8085
  # Metadata of the current chunk. This field is only populated on SearchService.
8049
8086
  # Search API.
8050
8087
  # Corresponds to the JSON property `chunkMetadata`
@@ -8056,6 +8093,13 @@ module Google
8056
8093
  # @return [String]
8057
8094
  attr_accessor :content
8058
8095
 
8096
+ # Output only. Image Data URLs if the current chunk contains images. Data URLs
8097
+ # are composed of four parts: a prefix (data:), a MIME type indicating the type
8098
+ # of data, an optional base64 token if non-textual, and the data itself: data:,
8099
+ # Corresponds to the JSON property `dataUrls`
8100
+ # @return [Array<String>]
8101
+ attr_accessor :data_urls
8102
+
8059
8103
  # Output only. This field is OUTPUT_ONLY. It contains derived data that are not
8060
8104
  # in the original input document.
8061
8105
  # Corresponds to the JSON property `derivedStructData`
@@ -8099,8 +8143,10 @@ module Google
8099
8143
 
8100
8144
  # Update properties of this object
8101
8145
  def update!(**args)
8146
+ @annotation_contents = args[:annotation_contents] if args.key?(:annotation_contents)
8102
8147
  @chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
8103
8148
  @content = args[:content] if args.key?(:content)
8149
+ @data_urls = args[:data_urls] if args.key?(:data_urls)
8104
8150
  @derived_struct_data = args[:derived_struct_data] if args.key?(:derived_struct_data)
8105
8151
  @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
8106
8152
  @id = args[:id] if args.key?(:id)
@@ -8522,7 +8568,8 @@ module Google
8522
8568
  attr_accessor :active_time_range
8523
8569
 
8524
8570
  # Optional. Query regex to match the whole search query. Cannot be set when
8525
- # Condition.query_terms is set. This is currently supporting promotion use case.
8571
+ # Condition.query_terms is set. Only supported for Basic Site Search promotion
8572
+ # serving controls.
8526
8573
  # Corresponds to the JSON property `queryRegex`
8527
8574
  # @return [String]
8528
8575
  attr_accessor :query_regex
@@ -9835,6 +9882,12 @@ module Google
9835
9882
  # @return [String]
9836
9883
  attr_accessor :realtime_state
9837
9884
 
9885
+ # The configuration for realtime sync to store additional params for realtime
9886
+ # sync.
9887
+ # Corresponds to the JSON property `realtimeSyncConfig`
9888
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig]
9889
+ attr_accessor :realtime_sync_config
9890
+
9838
9891
  # Required. The refresh interval for data sync. If duration is set to 0, the
9839
9892
  # data will be synced in real time. The streaming feature is not supported yet.
9840
9893
  # The minimum is 30 minutes and maximum is 7 days.
@@ -9895,6 +9948,7 @@ module Google
9895
9948
  @params = args[:params] if args.key?(:params)
9896
9949
  @private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
9897
9950
  @realtime_state = args[:realtime_state] if args.key?(:realtime_state)
9951
+ @realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
9898
9952
  @refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
9899
9953
  @state = args[:state] if args.key?(:state)
9900
9954
  @static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
@@ -9904,6 +9958,33 @@ module Google
9904
9958
  end
9905
9959
  end
9906
9960
 
9961
+ # The configuration for realtime sync to store additional params for realtime
9962
+ # sync.
9963
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
9964
+ include Google::Apis::Core::Hashable
9965
+
9966
+ # Optional. The ID of the Secret Manager secret used for webhook secret.
9967
+ # Corresponds to the JSON property `realtimeSyncSecret`
9968
+ # @return [String]
9969
+ attr_accessor :realtime_sync_secret
9970
+
9971
+ # Optional. Webhook url for the connector to specify additional params for
9972
+ # realtime sync.
9973
+ # Corresponds to the JSON property `webhookUri`
9974
+ # @return [String]
9975
+ attr_accessor :webhook_uri
9976
+
9977
+ def initialize(**args)
9978
+ update!(**args)
9979
+ end
9980
+
9981
+ # Update properties of this object
9982
+ def update!(**args)
9983
+ @realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
9984
+ @webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
9985
+ end
9986
+ end
9987
+
9907
9988
  # Represents an entity in the data source. For example, the `Account` object in
9908
9989
  # Salesforce.
9909
9990
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
@@ -10745,10 +10826,15 @@ module Google
10745
10826
  include Google::Apis::Core::Hashable
10746
10827
 
10747
10828
  # The MIME type of the content. Supported types: * `application/pdf` (PDF, only
10748
- # native PDFs are supported for now) * `text/html` (HTML) * `application/vnd.
10749
- # openxmlformats-officedocument.wordprocessingml.document` (DOCX) * `application/
10750
- # vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX) * `text/
10751
- # plain` (TXT) See https://www.iana.org/assignments/media-types/media-types.
10829
+ # native PDFs are supported for now) * `text/html` (HTML) * `text/plain` (TXT) *
10830
+ # `text/xml` (XML) * `application/json` (JSON) * `application/vnd.openxmlformats-
10831
+ # officedocument.wordprocessingml.document` (DOCX) * `application/vnd.
10832
+ # openxmlformats-officedocument.presentationml.presentation` (PPTX) * `
10833
+ # application/vnd.openxmlformats-officedocument.spreadsheetml.sheet` (XLSX) * `
10834
+ # application/vnd.ms-excel.sheet.macroenabled.12` (XLSM) The following types are
10835
+ # supported only if layout parser is enabled in the data store: * `image/bmp` (
10836
+ # BMP) * `image/gif` (GIF) * `image/jpeg` (JPEG) * `image/png` (PNG) * `image/
10837
+ # tiff` (TIFF) See https://www.iana.org/assignments/media-types/media-types.
10752
10838
  # xhtml.
10753
10839
  # Corresponds to the JSON property `mimeType`
10754
10840
  # @return [String]
@@ -12247,6 +12333,49 @@ module Google
12247
12333
  end
12248
12334
  end
12249
12335
 
12336
+ # Response message for DataConnectorService.GetConnectorSecret.
12337
+ class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse
12338
+ include Google::Apis::Core::Hashable
12339
+
12340
+ # The app name of the associated Connector.
12341
+ # Corresponds to the JSON property `app`
12342
+ # @return [String]
12343
+ attr_accessor :app
12344
+
12345
+ # The client id of the associated Connector.
12346
+ # Corresponds to the JSON property `clientId`
12347
+ # @return [String]
12348
+ attr_accessor :client_id
12349
+
12350
+ # The instance name of the associated Connector.
12351
+ # Corresponds to the JSON property `instance`
12352
+ # @return [String]
12353
+ attr_accessor :instance
12354
+
12355
+ # The redirect url of the associated Connector.
12356
+ # Corresponds to the JSON property `redirectUri`
12357
+ # @return [String]
12358
+ attr_accessor :redirect_uri
12359
+
12360
+ # The tenant id of the associated Connector.
12361
+ # Corresponds to the JSON property `tenantId`
12362
+ # @return [String]
12363
+ attr_accessor :tenant_id
12364
+
12365
+ def initialize(**args)
12366
+ update!(**args)
12367
+ end
12368
+
12369
+ # Update properties of this object
12370
+ def update!(**args)
12371
+ @app = args[:app] if args.key?(:app)
12372
+ @client_id = args[:client_id] if args.key?(:client_id)
12373
+ @instance = args[:instance] if args.key?(:instance)
12374
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
12375
+ @tenant_id = args[:tenant_id] if args.key?(:tenant_id)
12376
+ end
12377
+ end
12378
+
12250
12379
  # Request for GetSession method.
12251
12380
  class GoogleCloudDiscoveryengineV1alphaGetSessionRequest
12252
12381
  include Google::Apis::Core::Hashable
@@ -16309,6 +16438,12 @@ module Google
16309
16438
  # @return [String]
16310
16439
  attr_accessor :description
16311
16440
 
16441
+ # Optional. The Document the user wants to promote. For site search, leave unset
16442
+ # and only populate uri. Can be set along with uri.
16443
+ # Corresponds to the JSON property `document`
16444
+ # @return [String]
16445
+ attr_accessor :document
16446
+
16312
16447
  # Optional. The enabled promotion will be returned for any serving configs
16313
16448
  # associated with the parent of the control this promotion is attached to. This
16314
16449
  # flag is used for basic site search only.
@@ -16340,6 +16475,7 @@ module Google
16340
16475
  # Update properties of this object
16341
16476
  def update!(**args)
16342
16477
  @description = args[:description] if args.key?(:description)
16478
+ @document = args[:document] if args.key?(:document)
16343
16479
  @enabled = args[:enabled] if args.key?(:enabled)
16344
16480
  @image_uri = args[:image_uri] if args.key?(:image_uri)
16345
16481
  @title = args[:title] if args.key?(:title)
@@ -21353,7 +21489,8 @@ module Google
21353
21489
  attr_accessor :active_time_range
21354
21490
 
21355
21491
  # Optional. Query regex to match the whole search query. Cannot be set when
21356
- # Condition.query_terms is set. This is currently supporting promotion use case.
21492
+ # Condition.query_terms is set. Only supported for Basic Site Search promotion
21493
+ # serving controls.
21357
21494
  # Corresponds to the JSON property `queryRegex`
21358
21495
  # @return [String]
21359
21496
  attr_accessor :query_regex
@@ -24054,6 +24191,12 @@ module Google
24054
24191
  # @return [String]
24055
24192
  attr_accessor :description
24056
24193
 
24194
+ # Optional. The Document the user wants to promote. For site search, leave unset
24195
+ # and only populate uri. Can be set along with uri.
24196
+ # Corresponds to the JSON property `document`
24197
+ # @return [String]
24198
+ attr_accessor :document
24199
+
24057
24200
  # Optional. The enabled promotion will be returned for any serving configs
24058
24201
  # associated with the parent of the control this promotion is attached to. This
24059
24202
  # flag is used for basic site search only.
@@ -24085,6 +24228,7 @@ module Google
24085
24228
  # Update properties of this object
24086
24229
  def update!(**args)
24087
24230
  @description = args[:description] if args.key?(:description)
24231
+ @document = args[:document] if args.key?(:document)
24088
24232
  @enabled = args[:enabled] if args.key?(:enabled)
24089
24233
  @image_uri = args[:image_uri] if args.key?(:image_uri)
24090
24234
  @title = args[:title] if args.key?(:title)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1alpha
18
18
  # Version of the google-apis-discoveryengine_v1alpha gem
19
- GEM_VERSION = "0.58.0"
19
+ GEM_VERSION = "0.60.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250322"
25
+ REVISION = "20250410"
26
26
  end
27
27
  end
28
28
  end
@@ -1522,6 +1522,12 @@ module Google
1522
1522
  include Google::Apis::Core::JsonObjectSupport
1523
1523
  end
1524
1524
 
1525
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
1526
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1527
+
1528
+ include Google::Apis::Core::JsonObjectSupport
1529
+ end
1530
+
1525
1531
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
1526
1532
  class Representation < Google::Apis::Core::JsonRepresentation; end
1527
1533
 
@@ -1906,6 +1912,12 @@ module Google
1906
1912
  include Google::Apis::Core::JsonObjectSupport
1907
1913
  end
1908
1914
 
1915
+ class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse
1916
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1917
+
1918
+ include Google::Apis::Core::JsonObjectSupport
1919
+ end
1920
+
1909
1921
  class GoogleCloudDiscoveryengineV1alphaGetSessionRequest
1910
1922
  class Representation < Google::Apis::Core::JsonRepresentation; end
1911
1923
 
@@ -4200,10 +4212,12 @@ module Google
4200
4212
  class Representation < Google::Apis::Core::JsonRepresentation
4201
4213
  property :custom_data, as: 'customData'
4202
4214
  property :data_storage_transform, :base64 => true, as: 'dataStorageTransform'
4215
+ property :destination_blob_mint_index, as: 'destinationBlobMintIndex'
4203
4216
  property :dynamic_drop_target, :base64 => true, as: 'dynamicDropTarget'
4204
4217
  property :dynamic_dropzone, as: 'dynamicDropzone'
4205
4218
  property :media_for_diff, as: 'mediaForDiff', class: Google::Apis::DiscoveryengineV1alpha::GdataMedia, decorator: Google::Apis::DiscoveryengineV1alpha::GdataMedia::Representation
4206
4219
 
4220
+ property :original_object_blob_mint_index, as: 'originalObjectBlobMintIndex'
4207
4221
  property :request_class, as: 'requestClass'
4208
4222
  property :scotty_agent_user_id, :numeric_string => true, as: 'scottyAgentUserId'
4209
4223
  property :scotty_customer_log, :base64 => true, as: 'scottyCustomerLog'
@@ -5203,6 +5217,7 @@ module Google
5203
5217
  # @private
5204
5218
  class Representation < Google::Apis::Core::JsonRepresentation
5205
5219
  property :description, as: 'description'
5220
+ property :document, as: 'document'
5206
5221
  property :enabled, as: 'enabled'
5207
5222
  property :image_uri, as: 'imageUri'
5208
5223
  property :title, as: 'title'
@@ -6309,9 +6324,11 @@ module Google
6309
6324
  class GoogleCloudDiscoveryengineV1alphaChunk
6310
6325
  # @private
6311
6326
  class Representation < Google::Apis::Core::JsonRepresentation
6327
+ collection :annotation_contents, as: 'annotationContents'
6312
6328
  property :chunk_metadata, as: 'chunkMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkChunkMetadata::Representation
6313
6329
 
6314
6330
  property :content, as: 'content'
6331
+ collection :data_urls, as: 'dataUrls'
6315
6332
  hash :derived_struct_data, as: 'derivedStructData'
6316
6333
  property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaChunkDocumentMetadata::Representation
6317
6334
 
@@ -6771,6 +6788,8 @@ module Google
6771
6788
  hash :params, as: 'params'
6772
6789
  property :private_connectivity_project_id, as: 'privateConnectivityProjectId'
6773
6790
  property :realtime_state, as: 'realtimeState'
6791
+ property :realtime_sync_config, as: 'realtimeSyncConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig::Representation
6792
+
6774
6793
  property :refresh_interval, as: 'refreshInterval'
6775
6794
  property :state, as: 'state'
6776
6795
  collection :static_ip_addresses, as: 'staticIpAddresses'
@@ -6780,6 +6799,14 @@ module Google
6780
6799
  end
6781
6800
  end
6782
6801
 
6802
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
6803
+ # @private
6804
+ class Representation < Google::Apis::Core::JsonRepresentation
6805
+ property :realtime_sync_secret, as: 'realtimeSyncSecret'
6806
+ property :webhook_uri, as: 'webhookUri'
6807
+ end
6808
+ end
6809
+
6783
6810
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
6784
6811
  # @private
6785
6812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7415,6 +7442,17 @@ module Google
7415
7442
  end
7416
7443
  end
7417
7444
 
7445
+ class GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse
7446
+ # @private
7447
+ class Representation < Google::Apis::Core::JsonRepresentation
7448
+ property :app, as: 'app'
7449
+ property :client_id, as: 'clientId'
7450
+ property :instance, as: 'instance'
7451
+ property :redirect_uri, as: 'redirectUri'
7452
+ property :tenant_id, as: 'tenantId'
7453
+ end
7454
+ end
7455
+
7418
7456
  class GoogleCloudDiscoveryengineV1alphaGetSessionRequest
7419
7457
  # @private
7420
7458
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8606,6 +8644,7 @@ module Google
8606
8644
  # @private
8607
8645
  class Representation < Google::Apis::Core::JsonRepresentation
8608
8646
  property :description, as: 'description'
8647
+ property :document, as: 'document'
8609
8648
  property :enabled, as: 'enabled'
8610
8649
  property :image_uri, as: 'imageUri'
8611
8650
  property :title, as: 'title'
@@ -10647,6 +10686,7 @@ module Google
10647
10686
  # @private
10648
10687
  class Representation < Google::Apis::Core::JsonRepresentation
10649
10688
  property :description, as: 'description'
10689
+ property :document, as: 'document'
10650
10690
  property :enabled, as: 'enabled'
10651
10691
  property :image_uri, as: 'imageUri'
10652
10692
  property :title, as: 'title'
@@ -853,7 +853,8 @@ module Google
853
853
  # @param [String] update_mask
854
854
  # Indicates which fields in the provided DataConnector to update. Supported
855
855
  # field paths include: - refresh_interval - params - auto_run_disabled -
856
- # action_config - destination_configs - blocking_reasons Note: Support for these
856
+ # action_config - action_config.action_params - action_config.service_name -
857
+ # destination_configs - blocking_reasons - sync_mode Note: Support for these
857
858
  # fields may vary depending on the connector type. For example, not all
858
859
  # connectors support `destination_configs`. If an unsupported or unknown field
859
860
  # path is provided, the request will return an INVALID_ARGUMENT error.
@@ -887,6 +888,36 @@ module Google
887
888
  execute_or_queue_command(command, &block)
888
889
  end
889
890
 
891
+ # Get the secret for the associated connector.
892
+ # @param [String] name
893
+ # Required. The full resource name of the associated data connector.
894
+ # @param [String] fields
895
+ # Selector specifying which fields to include in a partial response.
896
+ # @param [String] quota_user
897
+ # Available to use for quota purposes for server-side applications. Can be any
898
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
899
+ # @param [Google::Apis::RequestOptions] options
900
+ # Request-specific options
901
+ #
902
+ # @yield [result, err] Result & error if block supplied
903
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse] parsed result object
904
+ # @yieldparam err [StandardError] error object if request failed
905
+ #
906
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse]
907
+ #
908
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
909
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
910
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
911
+ def get_project_location_collection_data_connector_connector_secret(name, fields: nil, quota_user: nil, options: nil, &block)
912
+ command = make_simple_command(:get, 'v1alpha/{+name}:getConnectorSecret', options)
913
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse::Representation
914
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGetConnectorSecretResponse
915
+ command.params['name'] = name unless name.nil?
916
+ command.query['fields'] = fields unless fields.nil?
917
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
918
+ execute_or_queue_command(command, &block)
919
+ end
920
+
890
921
  # Starts an immediate synchronization process for a DataConnector. Third Party
891
922
  # Connector Users must specify which entities should be synced. FHIR Connectors
892
923
  # must provide a timestamp to indicate the point in time from which data should
@@ -1627,6 +1658,8 @@ module Google
1627
1658
  # access the Document, regardless of whether or not it exists, a `
1628
1659
  # PERMISSION_DENIED` error is returned. If the requested Document does not exist,
1629
1660
  # a `NOT_FOUND` error is returned.
1661
+ # @param [String] image_id
1662
+ # Optional. Specifies config for IMAGE_BYTES.
1630
1663
  # @param [String] processed_document_format
1631
1664
  # What format output should be. If unspecified, defaults to JSON.
1632
1665
  # @param [String] processed_document_type
@@ -1648,11 +1681,12 @@ module Google
1648
1681
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1649
1682
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1650
1683
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1651
- def get_project_location_collection_data_store_branch_document_processed_document(name, processed_document_format: nil, processed_document_type: nil, fields: nil, quota_user: nil, options: nil, &block)
1684
+ def get_project_location_collection_data_store_branch_document_processed_document(name, image_id: nil, processed_document_format: nil, processed_document_type: nil, fields: nil, quota_user: nil, options: nil, &block)
1652
1685
  command = make_simple_command(:get, 'v1alpha/{+name}:getProcessedDocument', options)
1653
1686
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument::Representation
1654
1687
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument
1655
1688
  command.params['name'] = name unless name.nil?
1689
+ command.query['imageId'] = image_id unless image_id.nil?
1656
1690
  command.query['processedDocumentFormat'] = processed_document_format unless processed_document_format.nil?
1657
1691
  command.query['processedDocumentType'] = processed_document_type unless processed_document_type.nil?
1658
1692
  command.query['fields'] = fields unless fields.nil?
@@ -6568,6 +6602,8 @@ module Google
6568
6602
  # access the Document, regardless of whether or not it exists, a `
6569
6603
  # PERMISSION_DENIED` error is returned. If the requested Document does not exist,
6570
6604
  # a `NOT_FOUND` error is returned.
6605
+ # @param [String] image_id
6606
+ # Optional. Specifies config for IMAGE_BYTES.
6571
6607
  # @param [String] processed_document_format
6572
6608
  # What format output should be. If unspecified, defaults to JSON.
6573
6609
  # @param [String] processed_document_type
@@ -6589,11 +6625,12 @@ module Google
6589
6625
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6590
6626
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6591
6627
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6592
- def get_project_location_data_store_branch_document_processed_document(name, processed_document_format: nil, processed_document_type: nil, fields: nil, quota_user: nil, options: nil, &block)
6628
+ def get_project_location_data_store_branch_document_processed_document(name, image_id: nil, processed_document_format: nil, processed_document_type: nil, fields: nil, quota_user: nil, options: nil, &block)
6593
6629
  command = make_simple_command(:get, 'v1alpha/{+name}:getProcessedDocument', options)
6594
6630
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument::Representation
6595
6631
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProcessedDocument
6596
6632
  command.params['name'] = name unless name.nil?
6633
+ command.query['imageId'] = image_id unless image_id.nil?
6597
6634
  command.query['processedDocumentFormat'] = processed_document_format unless processed_document_format.nil?
6598
6635
  command.query['processedDocumentType'] = processed_document_type unless processed_document_type.nil?
6599
6636
  command.query['fields'] = fields unless fields.nil?
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.58.0
4
+ version: 0.60.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-30 00:00:00.000000000 Z
10
+ date: 2025-04-20 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.58.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.60.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: