Skip to content

Commit 7eb2e0e

Browse files
feat: Automated regeneration of discoveryengine v1beta client (googleapis#23633)
Auto-created at 2025-07-06 10:36:09 +0000 using the toys pull request generator.
1 parent 7b7ace5 commit 7eb2e0e

File tree

5 files changed

+80
-11
lines changed

5 files changed

+80
-11
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207770,6 +207770,7 @@
207770207770
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig/additionalParams/additional_param": additional_param
207771207771
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig/authParams": auth_params
207772207772
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig/authParams/auth_param": auth_param
207773+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig/tenant": tenant
207773207774
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig": google_cloud_discoveryengine_v1alpha_data_connector_realtime_sync_config
207774207775
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/realtimeSyncSecret": realtime_sync_secret
207775207776
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDataConnectorRealtimeSyncConfig/webhookUri": webhook_uri
@@ -208474,6 +208475,10 @@
208474208475
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReason/quotaFailure": quota_failure
208475208476
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure": google_cloud_discoveryengine_v1alpha_target_site_failure_reason_quota_failure
208476208477
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaTargetSiteFailureReasonQuotaFailure/totalRequiredQuota": total_required_quota
208478+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaTenant": google_cloud_discoveryengine_v1alpha_tenant
208479+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaTenant/displayName": display_name
208480+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaTenant/id": id
208481+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaTenant/uri": uri
208477208482
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata": google_cloud_discoveryengine_v1alpha_train_custom_model_metadata
208478208483
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata/createTime": create_time
208479208484
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata/updateTime": update_time

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.72.0 (2025-07-06)
4+
5+
* Regenerated from discovery document revision 20250701
6+
37
### v0.71.0 (2025-06-29)
48

59
* Regenerated from discovery document revision 20250619

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

Lines changed: 52 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5877,7 +5877,7 @@ def update!(**args)
58775877
class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
58785878
include Google::Apis::Core::Hashable
58795879

5880-
# The number of documents deleted.
5880+
# Optional. The number of documents deleted.
58815881
# Corresponds to the JSON property `deletedRecordCount`
58825882
# @return [Fixnum]
58835883
attr_accessor :deleted_record_count
@@ -5887,8 +5887,7 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
58875887
# @return [String]
58885888
attr_accessor :entity_name
58895889

5890-
# The total number of documents failed at sync at any stage (extraction,
5891-
# indexing, etc).
5890+
# Optional. The total number of documents failed at sync at indexing stage.
58925891
# Corresponds to the JSON property `errorRecordCount`
58935892
# @return [Fixnum]
58945893
attr_accessor :error_record_count
@@ -5899,13 +5898,13 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
58995898
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleRpcStatus>]
59005899
attr_accessor :errors
59015900

5902-
# The number of documents extracted from connector source, ready to be ingested
5903-
# to VAIS.
5901+
# Optional. The number of documents extracted from connector source, ready to be
5902+
# ingested to VAIS.
59045903
# Corresponds to the JSON property `extractedRecordCount`
59055904
# @return [Fixnum]
59065905
attr_accessor :extracted_record_count
59075906

5908-
# The number of documents indexed.
5907+
# Optional. The number of documents indexed.
59095908
# Corresponds to the JSON property `indexedRecordCount`
59105909
# @return [Fixnum]
59115910
attr_accessor :indexed_record_count
@@ -5915,13 +5914,13 @@ class GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRun
59155914
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaConnectorRunEntityRunProgress]
59165915
attr_accessor :progress
59175916

5918-
# The number of documents scheduled to be crawled/extracted from connector
5919-
# source. This only applies to third party connectors.
5917+
# Optional. The number of documents scheduled to be crawled/extracted from
5918+
# connector source. This only applies to third party connectors.
59205919
# Corresponds to the JSON property `scheduledRecordCount`
59215920
# @return [Fixnum]
59225921
attr_accessor :scheduled_record_count
59235922

5924-
# The number of requests sent to 3p API.
5923+
# Optional. The number of requests sent to 3p API.
59255924
# Corresponds to the JSON property `sourceApiRequestCount`
59265925
# @return [Fixnum]
59275926
attr_accessor :source_api_request_count
@@ -6834,6 +6833,13 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig
68346833
# @return [Hash<String,Object>]
68356834
attr_accessor :auth_params
68366835

6836+
# Tenant information for a connector source. This includes some of the same
6837+
# information stored in the Credential message, but is limited to only what is
6838+
# needed to provide a list of accessible tenants to the user.
6839+
# Corresponds to the JSON property `tenant`
6840+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTenant]
6841+
attr_accessor :tenant
6842+
68376843
def initialize(**args)
68386844
update!(**args)
68396845
end
@@ -6842,6 +6848,7 @@ def initialize(**args)
68426848
def update!(**args)
68436849
@additional_params = args[:additional_params] if args.key?(:additional_params)
68446850
@auth_params = args[:auth_params] if args.key?(:auth_params)
6851+
@tenant = args[:tenant] if args.key?(:tenant)
68456852
end
68466853
end
68476854

@@ -12070,6 +12077,42 @@ def update!(**args)
1207012077
end
1207112078
end
1207212079

12080+
# Tenant information for a connector source. This includes some of the same
12081+
# information stored in the Credential message, but is limited to only what is
12082+
# needed to provide a list of accessible tenants to the user.
12083+
class GoogleCloudDiscoveryengineV1alphaTenant
12084+
include Google::Apis::Core::Hashable
12085+
12086+
# Optional display name for the tenant, e.g. "My Slack Team".
12087+
# Corresponds to the JSON property `displayName`
12088+
# @return [String]
12089+
attr_accessor :display_name
12090+
12091+
# The tenant's instance ID. Examples: Jira ("8594f221-9797-5f78-1fa4-
12092+
# 485e198d7cd0"), Slack ("T123456").
12093+
# Corresponds to the JSON property `id`
12094+
# @return [String]
12095+
attr_accessor :id
12096+
12097+
# The URI of the tenant, if applicable. For example, the URI of a Jira instance
12098+
# is https://my-jira-instance.atlassian.net, and a Slack tenant does not have a
12099+
# URI.
12100+
# Corresponds to the JSON property `uri`
12101+
# @return [String]
12102+
attr_accessor :uri
12103+
12104+
def initialize(**args)
12105+
update!(**args)
12106+
end
12107+
12108+
# Update properties of this object
12109+
def update!(**args)
12110+
@display_name = args[:display_name] if args.key?(:display_name)
12111+
@id = args[:id] if args.key?(:id)
12112+
@uri = args[:uri] if args.key?(:uri)
12113+
end
12114+
end
12115+
1207312116
# Metadata related to the progress of the TrainCustomModel operation. This is
1207412117
# returned by the google.longrunning.Operation.metadata field.
1207512118
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata

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.71.0"
19+
GEM_VERSION = "0.72.0"
2020

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

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

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1900,6 +1900,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
19001900
include Google::Apis::Core::JsonObjectSupport
19011901
end
19021902

1903+
class GoogleCloudDiscoveryengineV1alphaTenant
1904+
class Representation < Google::Apis::Core::JsonRepresentation; end
1905+
1906+
include Google::Apis::Core::JsonObjectSupport
1907+
end
1908+
19031909
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata
19041910
class Representation < Google::Apis::Core::JsonRepresentation; end
19051911

@@ -6010,6 +6016,8 @@ class GoogleCloudDiscoveryengineV1alphaDataConnectorEndUserConfig
60106016
class Representation < Google::Apis::Core::JsonRepresentation
60116017
hash :additional_params, as: 'additionalParams'
60126018
hash :auth_params, as: 'authParams'
6019+
property :tenant, as: 'tenant', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTenant, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaTenant::Representation
6020+
60136021
end
60146022
end
60156023

@@ -7383,6 +7391,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
73837391
end
73847392
end
73857393

7394+
class GoogleCloudDiscoveryengineV1alphaTenant
7395+
# @private
7396+
class Representation < Google::Apis::Core::JsonRepresentation
7397+
property :display_name, as: 'displayName'
7398+
property :id, as: 'id'
7399+
property :uri, as: 'uri'
7400+
end
7401+
end
7402+
73867403
class GoogleCloudDiscoveryengineV1alphaTrainCustomModelMetadata
73877404
# @private
73887405
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)