Skip to content

Commit a3ab7bb

Browse files
feat: Automated regeneration of discoveryengine v1beta client (googleapis#22366)
Auto-created at 2025-04-06 09:55:41 +0000 using the toys pull request generator.
1 parent 7a65a08 commit a3ab7bb

File tree

5 files changed

+206
-2
lines changed

5 files changed

+206
-2
lines changed

api_names_out.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201020,13 +201020,17 @@
201020201020
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/params/param": param
201021201021
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/privateConnectivityProjectId": private_connectivity_project_id
201022201022
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/realtimeState": realtime_state
201023+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/realtimeSyncConfig": realtime_sync_config
201023201024
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/refreshInterval": refresh_interval
201024201025
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/state": state
201025201026
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/staticIpAddresses": static_ip_addresses
201026201027
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/staticIpAddresses/static_ip_address": static_ip_address
201027201028
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/staticIpEnabled": static_ip_enabled
201028201029
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/syncMode": sync_mode
201029201030
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnector/updateTime": update_time
201031+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig": google_cloud_discoveryengine_v1alpha_data_connector_realtime_sync_config
201032+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/realtimeSyncSecret": realtime_sync_secret
201033+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/webhookUri": webhook_uri
201030201034
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity": google_cloud_discoveryengine_v1alpha_data_connector_source_entity
201031201035
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity/dataStore": data_store
201032201036
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity/entityName": entity_name
@@ -202387,6 +202391,7 @@
202387202391
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchRequest": google_cloud_discoveryengine_v1beta_disable_advanced_site_search_request
202388202392
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDisableAdvancedSiteSearchResponse": google_cloud_discoveryengine_v1beta_disable_advanced_site_search_response
202389202393
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocument": google_cloud_discoveryengine_v1beta_document
202394+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocument/aclInfo": acl_info
202390202395
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocument/content": content
202391202396
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocument/derivedStructData": derived_struct_data
202392202397
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocument/derivedStructData/derived_struct_datum": derived_struct_datum
@@ -202399,6 +202404,13 @@
202399202404
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocument/schemaId": schema_id
202400202405
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocument/structData": struct_data
202401202406
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocument/structData/struct_datum": struct_datum
202407+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentAclInfo": google_cloud_discoveryengine_v1beta_document_acl_info
202408+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentAclInfo/readers": readers
202409+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentAclInfo/readers/reader": reader
202410+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction": google_cloud_discoveryengine_v1beta_document_acl_info_access_restriction
202411+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction/idpWide": idp_wide
202412+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction/principals": principals
202413+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction/principals/principal": principal
202402202414
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentContent": google_cloud_discoveryengine_v1beta_document_content
202403202415
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentContent/mimeType": mime_type
202404202416
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentContent/rawBytes": raw_bytes
@@ -202889,6 +202901,9 @@
202889202901
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaPanelInfo/panelPosition": panel_position
202890202902
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaPanelInfo/totalPanels": total_panels
202891202903
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaPauseEngineRequest": google_cloud_discoveryengine_v1beta_pause_engine_request
202904+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaPrincipal": google_cloud_discoveryengine_v1beta_principal
202905+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaPrincipal/groupId": group_id
202906+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaPrincipal/userId": user_id
202892202907
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaProject": google_cloud_discoveryengine_v1beta_project
202893202908
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaProject/createTime": create_time
202894202909
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaProject/name": name

generated/google-apis-discoveryengine_v1beta/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_v1beta
22

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

59
* Regenerated from discovery document revision 20250322

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

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6196,6 +6196,12 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector
61966196
# @return [String]
61976197
attr_accessor :realtime_state
61986198

6199+
# The configuration for realtime sync to store additional params for realtime
6200+
# sync.
6201+
# Corresponds to the JSON property `realtimeSyncConfig`
6202+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig]
6203+
attr_accessor :realtime_sync_config
6204+
61996205
# Required. The refresh interval for data sync. If duration is set to 0, the
62006206
# data will be synced in real time. The streaming feature is not supported yet.
62016207
# The minimum is 30 minutes and maximum is 7 days.
@@ -6256,6 +6262,7 @@ def update!(**args)
62566262
@params = args[:params] if args.key?(:params)
62576263
@private_connectivity_project_id = args[:private_connectivity_project_id] if args.key?(:private_connectivity_project_id)
62586264
@realtime_state = args[:realtime_state] if args.key?(:realtime_state)
6265+
@realtime_sync_config = args[:realtime_sync_config] if args.key?(:realtime_sync_config)
62596266
@refresh_interval = args[:refresh_interval] if args.key?(:refresh_interval)
62606267
@state = args[:state] if args.key?(:state)
62616268
@static_ip_addresses = args[:static_ip_addresses] if args.key?(:static_ip_addresses)
@@ -6265,6 +6272,33 @@ def update!(**args)
62656272
end
62666273
end
62676274

6275+
# The configuration for realtime sync to store additional params for realtime
6276+
# sync.
6277+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
6278+
include Google::Apis::Core::Hashable
6279+
6280+
# Optional. The ID of the Secret Manager secret used for webhook secret.
6281+
# Corresponds to the JSON property `realtimeSyncSecret`
6282+
# @return [String]
6283+
attr_accessor :realtime_sync_secret
6284+
6285+
# Optional. Webhook url for the connector to specify additional params for
6286+
# realtime sync.
6287+
# Corresponds to the JSON property `webhookUri`
6288+
# @return [String]
6289+
attr_accessor :webhook_uri
6290+
6291+
def initialize(**args)
6292+
update!(**args)
6293+
end
6294+
6295+
# Update properties of this object
6296+
def update!(**args)
6297+
@realtime_sync_secret = args[:realtime_sync_secret] if args.key?(:realtime_sync_secret)
6298+
@webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
6299+
end
6300+
end
6301+
62686302
# Represents an entity in the data source. For example, the `Account` object in
62696303
# Salesforce.
62706304
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
@@ -16231,6 +16265,11 @@ def update!(**args)
1623116265
class GoogleCloudDiscoveryengineV1betaDocument
1623216266
include Google::Apis::Core::Hashable
1623316267

16268+
# ACL Information of the Document.
16269+
# Corresponds to the JSON property `aclInfo`
16270+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfo]
16271+
attr_accessor :acl_info
16272+
1623416273
# Unstructured data linked to this document.
1623516274
# Corresponds to the JSON property `content`
1623616275
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentContent]
@@ -16299,6 +16338,7 @@ def initialize(**args)
1629916338

1630016339
# Update properties of this object
1630116340
def update!(**args)
16341+
@acl_info = args[:acl_info] if args.key?(:acl_info)
1630216342
@content = args[:content] if args.key?(:content)
1630316343
@derived_struct_data = args[:derived_struct_data] if args.key?(:derived_struct_data)
1630416344
@id = args[:id] if args.key?(:id)
@@ -16312,6 +16352,59 @@ def update!(**args)
1631216352
end
1631316353
end
1631416354

16355+
# ACL Information of the Document.
16356+
class GoogleCloudDiscoveryengineV1betaDocumentAclInfo
16357+
include Google::Apis::Core::Hashable
16358+
16359+
# Readers of the document.
16360+
# Corresponds to the JSON property `readers`
16361+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction>]
16362+
attr_accessor :readers
16363+
16364+
def initialize(**args)
16365+
update!(**args)
16366+
end
16367+
16368+
# Update properties of this object
16369+
def update!(**args)
16370+
@readers = args[:readers] if args.key?(:readers)
16371+
end
16372+
end
16373+
16374+
# AclRestriction to model complex inheritance restrictions. Example: Modeling a "
16375+
# Both Permit" inheritance, where to access a child document, user needs to have
16376+
# access to parent document. Document Hierarchy - Space_S --> Page_P. Readers:
16377+
# Space_S: group_1, user_1 Page_P: group_2, group_3, user_2 Space_S ACL
16378+
# Restriction - ` "acl_info": ` "readers": [ ` "principals": [ ` "group_id": "
16379+
# group_1" `, ` "user_id": "user_1" ` ] ` ] ` ` Page_P ACL Restriction. ` "
16380+
# acl_info": ` "readers": [ ` "principals": [ ` "group_id": "group_2" `, ` "
16381+
# group_id": "group_3" `, ` "user_id": "user_2" ` ], `, ` "principals": [ ` "
16382+
# group_id": "group_1" `, ` "user_id": "user_1" ` ], ` ] ` `
16383+
class GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction
16384+
include Google::Apis::Core::Hashable
16385+
16386+
# All users within the Identity Provider.
16387+
# Corresponds to the JSON property `idpWide`
16388+
# @return [Boolean]
16389+
attr_accessor :idp_wide
16390+
alias_method :idp_wide?, :idp_wide
16391+
16392+
# List of principals.
16393+
# Corresponds to the JSON property `principals`
16394+
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPrincipal>]
16395+
attr_accessor :principals
16396+
16397+
def initialize(**args)
16398+
update!(**args)
16399+
end
16400+
16401+
# Update properties of this object
16402+
def update!(**args)
16403+
@idp_wide = args[:idp_wide] if args.key?(:idp_wide)
16404+
@principals = args[:principals] if args.key?(:principals)
16405+
end
16406+
end
16407+
1631516408
# Unstructured data linked to this document.
1631616409
class GoogleCloudDiscoveryengineV1betaDocumentContent
1631716410
include Google::Apis::Core::Hashable
@@ -19114,6 +19207,37 @@ def update!(**args)
1911419207
end
1911519208
end
1911619209

19210+
# Principal identifier of a user or a group.
19211+
class GoogleCloudDiscoveryengineV1betaPrincipal
19212+
include Google::Apis::Core::Hashable
19213+
19214+
# Group identifier. For Google Workspace user account, group_id should be the
19215+
# google workspace group email. For non-google identity provider user account,
19216+
# group_id is the mapped group identifier configured during the workforcepool
19217+
# config.
19218+
# Corresponds to the JSON property `groupId`
19219+
# @return [String]
19220+
attr_accessor :group_id
19221+
19222+
# User identifier. For Google Workspace user account, user_id should be the
19223+
# google workspace user email. For non-google identity provider user account,
19224+
# user_id is the mapped user identifier configured during the workforcepool
19225+
# config.
19226+
# Corresponds to the JSON property `userId`
19227+
# @return [String]
19228+
attr_accessor :user_id
19229+
19230+
def initialize(**args)
19231+
update!(**args)
19232+
end
19233+
19234+
# Update properties of this object
19235+
def update!(**args)
19236+
@group_id = args[:group_id] if args.key?(:group_id)
19237+
@user_id = args[:user_id] if args.key?(:user_id)
19238+
end
19239+
end
19240+
1911719241
# Metadata and configurations for a Google Cloud project in the service.
1911819242
class GoogleCloudDiscoveryengineV1betaProject
1911919243
include Google::Apis::Core::Hashable

generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/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 DiscoveryengineV1beta
1818
# Version of the google-apis-discoveryengine_v1beta gem
19-
GEM_VERSION = "0.60.0"
19+
GEM_VERSION = "0.61.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_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1006,6 +1006,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
10061006
include Google::Apis::Core::JsonObjectSupport
10071007
end
10081008

1009+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
1010+
class Representation < Google::Apis::Core::JsonRepresentation; end
1011+
1012+
include Google::Apis::Core::JsonObjectSupport
1013+
end
1014+
10091015
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
10101016
class Representation < Google::Apis::Core::JsonRepresentation; end
10111017

@@ -2626,6 +2632,18 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
26262632
include Google::Apis::Core::JsonObjectSupport
26272633
end
26282634

2635+
class GoogleCloudDiscoveryengineV1betaDocumentAclInfo
2636+
class Representation < Google::Apis::Core::JsonRepresentation; end
2637+
2638+
include Google::Apis::Core::JsonObjectSupport
2639+
end
2640+
2641+
class GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction
2642+
class Representation < Google::Apis::Core::JsonRepresentation; end
2643+
2644+
include Google::Apis::Core::JsonObjectSupport
2645+
end
2646+
26292647
class GoogleCloudDiscoveryengineV1betaDocumentContent
26302648
class Representation < Google::Apis::Core::JsonRepresentation; end
26312649

@@ -3154,6 +3172,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
31543172
include Google::Apis::Core::JsonObjectSupport
31553173
end
31563174

3175+
class GoogleCloudDiscoveryengineV1betaPrincipal
3176+
class Representation < Google::Apis::Core::JsonRepresentation; end
3177+
3178+
include Google::Apis::Core::JsonObjectSupport
3179+
end
3180+
31573181
class GoogleCloudDiscoveryengineV1betaProject
31583182
class Representation < Google::Apis::Core::JsonRepresentation; end
31593183

@@ -5645,6 +5669,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
56455669
hash :params, as: 'params'
56465670
property :private_connectivity_project_id, as: 'privateConnectivityProjectId'
56475671
property :realtime_state, as: 'realtimeState'
5672+
property :realtime_sync_config, as: 'realtimeSyncConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig::Representation
5673+
56485674
property :refresh_interval, as: 'refreshInterval'
56495675
property :state, as: 'state'
56505676
collection :static_ip_addresses, as: 'staticIpAddresses'
@@ -5654,6 +5680,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
56545680
end
56555681
end
56565682

5683+
class GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig
5684+
# @private
5685+
class Representation < Google::Apis::Core::JsonRepresentation
5686+
property :realtime_sync_secret, as: 'realtimeSyncSecret'
5687+
property :webhook_uri, as: 'webhookUri'
5688+
end
5689+
end
5690+
56575691
class GoogleCloudDiscoveryengineV1alphaDataConnectorSourceEntity
56585692
# @private
56595693
class Representation < Google::Apis::Core::JsonRepresentation
@@ -8368,6 +8402,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
83688402
class GoogleCloudDiscoveryengineV1betaDocument
83698403
# @private
83708404
class Representation < Google::Apis::Core::JsonRepresentation
8405+
property :acl_info, as: 'aclInfo', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfo, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfo::Representation
8406+
83718407
property :content, as: 'content', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentContent, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentContent::Representation
83728408

83738409
hash :derived_struct_data, as: 'derivedStructData'
@@ -8383,6 +8419,23 @@ class Representation < Google::Apis::Core::JsonRepresentation
83838419
end
83848420
end
83858421

8422+
class GoogleCloudDiscoveryengineV1betaDocumentAclInfo
8423+
# @private
8424+
class Representation < Google::Apis::Core::JsonRepresentation
8425+
collection :readers, as: 'readers', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction::Representation
8426+
8427+
end
8428+
end
8429+
8430+
class GoogleCloudDiscoveryengineV1betaDocumentAclInfoAccessRestriction
8431+
# @private
8432+
class Representation < Google::Apis::Core::JsonRepresentation
8433+
property :idp_wide, as: 'idpWide'
8434+
collection :principals, as: 'principals', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPrincipal, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaPrincipal::Representation
8435+
8436+
end
8437+
end
8438+
83868439
class GoogleCloudDiscoveryengineV1betaDocumentContent
83878440
# @private
83888441
class Representation < Google::Apis::Core::JsonRepresentation
@@ -9230,6 +9283,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
92309283
end
92319284
end
92329285

9286+
class GoogleCloudDiscoveryengineV1betaPrincipal
9287+
# @private
9288+
class Representation < Google::Apis::Core::JsonRepresentation
9289+
property :group_id, as: 'groupId'
9290+
property :user_id, as: 'userId'
9291+
end
9292+
end
9293+
92339294
class GoogleCloudDiscoveryengineV1betaProject
92349295
# @private
92359296
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)