Skip to content

Commit 48cf41c

Browse files
feat: Automated regeneration of discoveryengine v1alpha client (googleapis#22348)
Auto-created at 2025-04-06 09:19:26 +0000 using the toys pull request generator.
1 parent a4dde57 commit 48cf41c

File tree

6 files changed

+93
-6
lines changed

6 files changed

+93
-6
lines changed

api_names_out.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195637,9 +195637,11 @@
195637195637
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo": apiserving_media_response_info
195638195638
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo/customData": custom_data
195639195639
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo/dataStorageTransform": data_storage_transform
195640+
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo/destinationBlobMintIndex": destination_blob_mint_index
195640195641
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo/dynamicDropTarget": dynamic_drop_target
195641195642
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo/dynamicDropzone": dynamic_dropzone
195642195643
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo/mediaForDiff": media_for_diff
195644+
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo/originalObjectBlobMintIndex": original_object_blob_mint_index
195643195645
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo/requestClass": request_class
195644195646
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo/scottyAgentUserId": scotty_agent_user_id
195645195647
"/discoveryengine:v1alpha/ApiservingMediaResponseInfo/scottyCustomerLog": scotty_customer_log
@@ -196955,13 +196957,17 @@
196955196957
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/params/param": param
196956196958
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/privateConnectivityProjectId": private_connectivity_project_id
196957196959
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/realtimeState": realtime_state
196960+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/realtimeSyncConfig": realtime_sync_config
196958196961
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/refreshInterval": refresh_interval
196959196962
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/state": state
196960196963
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/staticIpAddresses": static_ip_addresses
196961196964
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/staticIpAddresses/static_ip_address": static_ip_address
196962196965
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/staticIpEnabled": static_ip_enabled
196963196966
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/syncMode": sync_mode
196964196967
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnector/updateTime": update_time
196968+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig": google_cloud_discoveryengine_v1alpha_data_connector_realtime_sync_config
196969+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/realtimeSyncSecret": realtime_sync_secret
196970+
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/webhookUri": webhook_uri
196965196971
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity": google_cloud_discoveryengine_v1alpha_data_connector_source_entity
196966196972
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity/dataStore": data_store
196967196973
"/discoveryengine:v1alpha/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity/entityName": entity_name

generated/google-apis-discoveryengine_v1alpha/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-discoveryengine_v1alpha
22

3+
### v0.59.0 (2025-04-06)
4+
5+
* Regenerated from discovery document revision 20250331
6+
37
### v0.58.0 (2025-03-30)
48

59
* Regenerated from discovery document revision 20250322

generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/classes.rb

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,17 @@ class ApiservingMediaResponseInfo
127127
# @return [String]
128128
attr_accessor :data_storage_transform
129129

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+
130141
# Specifies the Scotty Drop Target to use for uploads. If present in a media
131142
# response, Scotty does not upload to a standard drop zone. Instead, Scotty
132143
# saves the upload directly to the location specified in this drop target.
@@ -152,6 +163,17 @@ class ApiservingMediaResponseInfo
152163
# @return [Google::Apis::DiscoveryengineV1alpha::GdataMedia]
153164
attr_accessor :media_for_diff
154165

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+
155177
# Request class to use for all Blobstore operations for this request.
156178
# Corresponds to the JSON property `requestClass`
157179
# @return [String]
@@ -193,9 +215,11 @@ def initialize(**args)
193215
def update!(**args)
194216
@custom_data = args[:custom_data] if args.key?(:custom_data)
195217
@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)
196219
@dynamic_drop_target = args[:dynamic_drop_target] if args.key?(:dynamic_drop_target)
197220
@dynamic_dropzone = args[:dynamic_dropzone] if args.key?(:dynamic_dropzone)
198221
@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)
199223
@request_class = args[:request_class] if args.key?(:request_class)
200224
@scotty_agent_user_id = args[:scotty_agent_user_id] if args.key?(:scotty_agent_user_id)
201225
@scotty_customer_log = args[:scotty_customer_log] if args.key?(:scotty_customer_log)
@@ -9835,6 +9859,12 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector
98359859
# @return [String]
98369860
attr_accessor :realtime_state
98379861

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+
98389868
# Required. The refresh interval for data sync. If duration is set to 0, the
98399869
# data will be synced in real time. The streaming feature is not supported yet.
98409870
# The minimum is 30 minutes and maximum is 7 days.
@@ -9895,6 +9925,7 @@ def update!(**args)
98959925
@params = args[:params] if args.key?(:params)
98969926
@private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
98979927
@realtime_state = args[:realtime_state] if args.key?(:realtime_state)
9928+
@realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
98989929
@refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
98999930
@state = args[:state] if args.key?(:state)
99009931
@static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
@@ -9904,6 +9935,33 @@ def update!(**args)
99049935
end
99059936
end
99069937

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+
99079965
# Represents an entity in the data source. For example, the `Account` object in
99089966
# Salesforce.
99099967
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity

generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module DiscoveryengineV1alpha
1818
# Version of the google-apis-discoveryengine_v1alpha gem
19-
GEM_VERSION = "0.58.0"
19+
GEM_VERSION = "0.59.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.16.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250322"
25+
REVISION = "20250331"
2626
end
2727
end
2828
end

generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/representations.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1522,6 +1522,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
15221522
include Google::Apis::Core::JsonObjectSupport
15231523
end
15241524

1525+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
1526+
class Representation < Google::Apis::Core::JsonRepresentation; end
1527+
1528+
include Google::Apis::Core::JsonObjectSupport
1529+
end
1530+
15251531
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
15261532
class Representation < Google::Apis::Core::JsonRepresentation; end
15271533

@@ -4200,10 +4206,12 @@ class ApiservingMediaResponseInfo
42004206
class Representation < Google::Apis::Core::JsonRepresentation
42014207
property :custom_data, as: 'customData'
42024208
property :data_storage_transform, :base64 => true, as: 'dataStorageTransform'
4209+
property :destination_blob_mint_index, as: 'destinationBlobMintIndex'
42034210
property :dynamic_drop_target, :base64 => true, as: 'dynamicDropTarget'
42044211
property :dynamic_dropzone, as: 'dynamicDropzone'
42054212
property :media_for_diff, as: 'mediaForDiff', class: Google::Apis::DiscoveryengineV1alpha::GdataMedia, decorator: Google::Apis::DiscoveryengineV1alpha::GdataMedia::Representation
42064213

4214+
property :original_object_blob_mint_index, as: 'originalObjectBlobMintIndex'
42074215
property :request_class, as: 'requestClass'
42084216
property :scotty_agent_user_id, :numeric_string => true, as: 'scottyAgentUserId'
42094217
property :scotty_customer_log, :base64 => true, as: 'scottyCustomerLog'
@@ -6771,6 +6779,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
67716779
hash :params, as: 'params'
67726780
property :private_connectivity_project_id, as: 'privateConnectivityProjectId'
67736781
property :realtime_state, as: 'realtimeState'
6782+
property :realtime_sync_config, as: 'realtimeSyncConfig', class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig, decorator: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig::Representation
6783+
67746784
property :refresh_interval, as: 'refreshInterval'
67756785
property :state, as: 'state'
67766786
collection :static_ip_addresses, as: 'staticIpAddresses'
@@ -6780,6 +6790,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
67806790
end
67816791
end
67826792

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+
67836801
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
67846802
# @private
67856803
class Representation < Google::Apis::Core::JsonRepresentation

generated/google-apis-discoveryengine_v1alpha/lib/google/apis/discoveryengine_v1alpha/service.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -853,10 +853,11 @@ def patch_project_location_collection(name, google_cloud_discoveryengine_v1alpha
853853
# @param [String] update_mask
854854
# Indicates which fields in the provided DataConnector to update. Supported
855855
# 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.
860861
# @param [String] fields
861862
# Selector specifying which fields to include in a partial response.
862863
# @param [String] quota_user

0 commit comments

Comments
 (0)