google-apis-discoveryengine_v1alpha 0.57.0 → 0.59.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: ffcb1ed39aa5e2aa4c59282191e4fc953807b277ffb87939f88f20a97a957f5d
4
- data.tar.gz: 87f71cde3e544a336f3fff116c09a75e87e226be4ca7125875a6c870e39a730a
3
+ metadata.gz: 05e701cd7068f0f5dc5794c58018166a4d4930e698a6b9340408acec1fdf8bd3
4
+ data.tar.gz: 3a3e8e78864615f95a0f467e84687c97853e5c87fefa61a3df357e69ea662b6f
5
5
  SHA512:
6
- metadata.gz: c416cf5d9a6928cbda7be87c8d74c9146e3ba33f3b946750710ca15b5c0a44fd2b306d1b5d4245953f728c0abf573e5230fbdd97359143ed9afad3a816552d23
7
- data.tar.gz: 0ad19d589ba4e46271bc6619a80f5c024e933ef331882ad0fde6526c953a44c162f8006b3b416829f2b2841afb8d2a0043066d82b62153e87604660a62e769c1
6
+ metadata.gz: '04082c8a708b60a63364c5957e56345b7542f2521465bbfaf44ffd36b7d11ca4f26e19e30df5aef27e9d35a9a8ae1944e119ddc2384c0c96f74877a3d304eb41'
7
+ data.tar.gz: 3d438b090ed45471c09665ad5949cde8313d7ce976144fd3cd22942787aaf5d6514cb6197774efd6f01b46277540afd1ecc6d2ef02d6cdc3b1d7c587e5949bae
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-discoveryengine_v1alpha
2
2
 
3
+ ### v0.59.0 (2025-04-06)
4
+
5
+ * Regenerated from discovery document revision 20250331
6
+
7
+ ### v0.58.0 (2025-03-30)
8
+
9
+ * Regenerated from discovery document revision 20250322
10
+
3
11
  ### v0.57.0 (2025-03-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20250320
@@ -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)
@@ -2901,12 +2925,28 @@ module Google
2901
2925
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
2902
2926
  include Google::Apis::Core::Hashable
2903
2927
 
2928
+ # Optional. If true, the LLM based annotation is added to the image during
2929
+ # parsing.
2930
+ # Corresponds to the JSON property `enableImageAnnotation`
2931
+ # @return [Boolean]
2932
+ attr_accessor :enable_image_annotation
2933
+ alias_method :enable_image_annotation?, :enable_image_annotation
2934
+
2935
+ # Optional. If true, the LLM based annotation is added to the table during
2936
+ # parsing.
2937
+ # Corresponds to the JSON property `enableTableAnnotation`
2938
+ # @return [Boolean]
2939
+ attr_accessor :enable_table_annotation
2940
+ alias_method :enable_table_annotation?, :enable_table_annotation
2941
+
2904
2942
  def initialize(**args)
2905
2943
  update!(**args)
2906
2944
  end
2907
2945
 
2908
2946
  # Update properties of this object
2909
2947
  def update!(**args)
2948
+ @enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
2949
+ @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
2910
2950
  end
2911
2951
  end
2912
2952
 
@@ -9819,6 +9859,12 @@ module Google
9819
9859
  # @return [String]
9820
9860
  attr_accessor :realtime_state
9821
9861
 
9862
+ # The configuration for realtime sync to store additional params for realtime
9863
+ # sync.
9864
+ # Corresponds to the JSON property `realtimeSyncConfig`
9865
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig]
9866
+ attr_accessor :realtime_sync_config
9867
+
9822
9868
  # Required. The refresh interval for data sync. If duration is set to 0, the
9823
9869
  # data will be synced in real time. The streaming feature is not supported yet.
9824
9870
  # The minimum is 30 minutes and maximum is 7 days.
@@ -9879,6 +9925,7 @@ module Google
9879
9925
  @params = args[:params] if args.key?(:params)
9880
9926
  @private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
9881
9927
  @realtime_state = args[:realtime_state] if args.key?(:realtime_state)
9928
+ @realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
9882
9929
  @refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
9883
9930
  @state = args[:state] if args.key?(:state)
9884
9931
  @static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
@@ -9888,6 +9935,33 @@ module Google
9888
9935
  end
9889
9936
  end
9890
9937
 
9938
+ # The configuration for realtime sync to store additional params for realtime
9939
+ # sync.
9940
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
9941
+ include Google::Apis::Core::Hashable
9942
+
9943
+ # Optional. The ID of the Secret Manager secret used for webhook secret.
9944
+ # Corresponds to the JSON property `realtimeSyncSecret`
9945
+ # @return [String]
9946
+ attr_accessor :realtime_sync_secret
9947
+
9948
+ # Optional. Webhook url for the connector to specify additional params for
9949
+ # realtime sync.
9950
+ # Corresponds to the JSON property `webhookUri`
9951
+ # @return [String]
9952
+ attr_accessor :webhook_uri
9953
+
9954
+ def initialize(**args)
9955
+ update!(**args)
9956
+ end
9957
+
9958
+ # Update properties of this object
9959
+ def update!(**args)
9960
+ @realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
9961
+ @webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
9962
+ end
9963
+ end
9964
+
9891
9965
  # Represents an entity in the data source. For example, the `Account` object in
9892
9966
  # Salesforce.
9893
9967
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
@@ -11011,12 +11085,28 @@ module Google
11011
11085
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
11012
11086
  include Google::Apis::Core::Hashable
11013
11087
 
11088
+ # Optional. If true, the LLM based annotation is added to the image during
11089
+ # parsing.
11090
+ # Corresponds to the JSON property `enableImageAnnotation`
11091
+ # @return [Boolean]
11092
+ attr_accessor :enable_image_annotation
11093
+ alias_method :enable_image_annotation?, :enable_image_annotation
11094
+
11095
+ # Optional. If true, the LLM based annotation is added to the table during
11096
+ # parsing.
11097
+ # Corresponds to the JSON property `enableTableAnnotation`
11098
+ # @return [Boolean]
11099
+ attr_accessor :enable_table_annotation
11100
+ alias_method :enable_table_annotation?, :enable_table_annotation
11101
+
11014
11102
  def initialize(**args)
11015
11103
  update!(**args)
11016
11104
  end
11017
11105
 
11018
11106
  # Update properties of this object
11019
11107
  def update!(**args)
11108
+ @enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
11109
+ @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
11020
11110
  end
11021
11111
  end
11022
11112
 
@@ -20259,6 +20349,11 @@ module Google
20259
20349
  class GoogleCloudDiscoveryengineV1alphaUserInfo
20260
20350
  include Google::Apis::Core::Hashable
20261
20351
 
20352
+ # Optional. IANA time zone, e.g. Europe/Budapest.
20353
+ # Corresponds to the JSON property `timeZone`
20354
+ # @return [String]
20355
+ attr_accessor :time_zone
20356
+
20262
20357
  # User agent as included in the HTTP header. The field must be a UTF-8 encoded
20263
20358
  # string with a length limit of 1,000 characters. Otherwise, an `
20264
20359
  # INVALID_ARGUMENT` error is returned. This should not be set when using the
@@ -20284,6 +20379,7 @@ module Google
20284
20379
 
20285
20380
  # Update properties of this object
20286
20381
  def update!(**args)
20382
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
20287
20383
  @user_agent = args[:user_agent] if args.key?(:user_agent)
20288
20384
  @user_id = args[:user_id] if args.key?(:user_id)
20289
20385
  end
@@ -22509,12 +22605,28 @@ module Google
22509
22605
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
22510
22606
  include Google::Apis::Core::Hashable
22511
22607
 
22608
+ # Optional. If true, the LLM based annotation is added to the image during
22609
+ # parsing.
22610
+ # Corresponds to the JSON property `enableImageAnnotation`
22611
+ # @return [Boolean]
22612
+ attr_accessor :enable_image_annotation
22613
+ alias_method :enable_image_annotation?, :enable_image_annotation
22614
+
22615
+ # Optional. If true, the LLM based annotation is added to the table during
22616
+ # parsing.
22617
+ # Corresponds to the JSON property `enableTableAnnotation`
22618
+ # @return [Boolean]
22619
+ attr_accessor :enable_table_annotation
22620
+ alias_method :enable_table_annotation?, :enable_table_annotation
22621
+
22512
22622
  def initialize(**args)
22513
22623
  update!(**args)
22514
22624
  end
22515
22625
 
22516
22626
  # Update properties of this object
22517
22627
  def update!(**args)
22628
+ @enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation)
22629
+ @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation)
22518
22630
  end
22519
22631
  end
22520
22632
 
@@ -25784,6 +25896,11 @@ module Google
25784
25896
  class GoogleCloudDiscoveryengineV1betaUserInfo
25785
25897
  include Google::Apis::Core::Hashable
25786
25898
 
25899
+ # Optional. IANA time zone, e.g. Europe/Budapest.
25900
+ # Corresponds to the JSON property `timeZone`
25901
+ # @return [String]
25902
+ attr_accessor :time_zone
25903
+
25787
25904
  # User agent as included in the HTTP header. The field must be a UTF-8 encoded
25788
25905
  # string with a length limit of 1,000 characters. Otherwise, an `
25789
25906
  # INVALID_ARGUMENT` error is returned. This should not be set when using the
@@ -25809,6 +25926,7 @@ module Google
25809
25926
 
25810
25927
  # Update properties of this object
25811
25928
  def update!(**args)
25929
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
25812
25930
  @user_agent = args[:user_agent] if args.key?(:user_agent)
25813
25931
  @user_id = args[:user_id] if args.key?(:user_id)
25814
25932
  end
@@ -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.57.0"
19
+ GEM_VERSION = "0.59.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 = "20250320"
25
+ REVISION = "20250331"
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
 
@@ -4200,10 +4206,12 @@ module Google
4200
4206
  class Representation < Google::Apis::Core::JsonRepresentation
4201
4207
  property :custom_data, as: 'customData'
4202
4208
  property :data_storage_transform, :base64 => true, as: 'dataStorageTransform'
4209
+ property :destination_blob_mint_index, as: 'destinationBlobMintIndex'
4203
4210
  property :dynamic_drop_target, :base64 => true, as: 'dynamicDropTarget'
4204
4211
  property :dynamic_dropzone, as: 'dynamicDropzone'
4205
4212
  property :media_for_diff, as: 'mediaForDiff', class: Google::Apis::DiscoveryengineV1alpha::GdataMedia, decorator: Google::Apis::DiscoveryengineV1alpha::GdataMedia::Representation
4206
4213
 
4214
+ property :original_object_blob_mint_index, as: 'originalObjectBlobMintIndex'
4207
4215
  property :request_class, as: 'requestClass'
4208
4216
  property :scotty_agent_user_id, :numeric_string => true, as: 'scottyAgentUserId'
4209
4217
  property :scotty_customer_log, :base64 => true, as: 'scottyCustomerLog'
@@ -4905,6 +4913,8 @@ module Google
4905
4913
  class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig
4906
4914
  # @private
4907
4915
  class Representation < Google::Apis::Core::JsonRepresentation
4916
+ property :enable_image_annotation, as: 'enableImageAnnotation'
4917
+ property :enable_table_annotation, as: 'enableTableAnnotation'
4908
4918
  end
4909
4919
  end
4910
4920
 
@@ -6769,6 +6779,8 @@ module Google
6769
6779
  hash :params, as: 'params'
6770
6780
  property :private_connectivity_project_id, as: 'privateConnectivityProjectId'
6771
6781
  property :realtime_state, as: 'realtimeState'
6782
+ property :realtime_sync_config, as: 'realtimeSyncConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig::Representation
6783
+
6772
6784
  property :refresh_interval, as: 'refreshInterval'
6773
6785
  property :state, as: 'state'
6774
6786
  collection :static_ip_addresses, as: 'staticIpAddresses'
@@ -6778,6 +6790,14 @@ module Google
6778
6790
  end
6779
6791
  end
6780
6792
 
6793
+ class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
6794
+ # @private
6795
+ class Representation < Google::Apis::Core::JsonRepresentation
6796
+ property :realtime_sync_secret, as: 'realtimeSyncSecret'
6797
+ property :webhook_uri, as: 'webhookUri'
6798
+ end
6799
+ end
6800
+
6781
6801
  class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
6782
6802
  # @private
6783
6803
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7092,6 +7112,8 @@ module Google
7092
7112
  class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig
7093
7113
  # @private
7094
7114
  class Representation < Google::Apis::Core::JsonRepresentation
7115
+ property :enable_image_annotation, as: 'enableImageAnnotation'
7116
+ property :enable_table_annotation, as: 'enableTableAnnotation'
7095
7117
  end
7096
7118
  end
7097
7119
 
@@ -9611,6 +9633,7 @@ module Google
9611
9633
  class GoogleCloudDiscoveryengineV1alphaUserInfo
9612
9634
  # @private
9613
9635
  class Representation < Google::Apis::Core::JsonRepresentation
9636
+ property :time_zone, as: 'timeZone'
9614
9637
  property :user_agent, as: 'userAgent'
9615
9638
  property :user_id, as: 'userId'
9616
9639
  end
@@ -10212,6 +10235,8 @@ module Google
10212
10235
  class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig
10213
10236
  # @private
10214
10237
  class Representation < Google::Apis::Core::JsonRepresentation
10238
+ property :enable_image_annotation, as: 'enableImageAnnotation'
10239
+ property :enable_table_annotation, as: 'enableTableAnnotation'
10215
10240
  end
10216
10241
  end
10217
10242
 
@@ -11068,6 +11093,7 @@ module Google
11068
11093
  class GoogleCloudDiscoveryengineV1betaUserInfo
11069
11094
  # @private
11070
11095
  class Representation < Google::Apis::Core::JsonRepresentation
11096
+ property :time_zone, as: 'timeZone'
11071
11097
  property :user_agent, as: 'userAgent'
11072
11098
  property :user_id, as: 'userId'
11073
11099
  end
@@ -853,10 +853,11 @@ 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
857
- # fields may vary depending on the connector type. For example, not all
858
- # connectors support `destination_configs`. If an unsupported or unknown field
859
- # path is provided, the request will return an INVALID_ARGUMENT error.
856
+ # action_config - destination_configs - blocking_reasons - sync_mode Note:
857
+ # Support for these fields may vary depending on the connector type. For example,
858
+ # not all connectors support `destination_configs`. If an unsupported or
859
+ # unknown field path is provided, the request will return an INVALID_ARGUMENT
860
+ # error.
860
861
  # @param [String] fields
861
862
  # Selector specifying which fields to include in a partial response.
862
863
  # @param [String] quota_user
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.57.0
4
+ version: 0.59.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 2025-04-16 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.57.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.59.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: