Skip to content

Commit 55f624c

Browse files
feat: Automated regeneration of discoveryengine v1beta client (googleapis#21940)
Auto-created at 2025-03-02 10:37:14 +0000 using the toys pull request generator.
1 parent e1c0cbc commit 55f624c

File tree

5 files changed

+101
-3
lines changed

5 files changed

+101
-3
lines changed

api_names_out.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198028,10 +198028,19 @@
198028198028
"/discoveryengine:v1beta/GoogleApiMonitoredResourceMetadata/systemLabels/system_label": system_label
198029198029
"/discoveryengine:v1beta/GoogleApiMonitoredResourceMetadata/userLabels": user_labels
198030198030
"/discoveryengine:v1beta/GoogleApiMonitoredResourceMetadata/userLabels/user_label": user_label
198031+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext": google_cloud_discoveryengine_logging_connector_run_error_context
198032+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext/connectorRun": connector_run
198033+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext/dataConnector": data_connector
198034+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext/endTime": end_time
198035+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext/entity": entity
198036+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext/operation": operation
198037+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext/startTime": start_time
198038+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext/syncType": sync_type
198031198039
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingErrorContext": google_cloud_discoveryengine_logging_error_context
198032198040
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingErrorContext/httpRequest": http_request
198033198041
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingErrorContext/reportLocation": report_location
198034198042
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingErrorLog": google_cloud_discoveryengine_logging_error_log
198043+
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingErrorLog/connectorRunPayload": connector_run_payload
198035198044
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingErrorLog/context": context
198036198045
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingErrorLog/importPayload": import_payload
198037198046
"/discoveryengine:v1beta/GoogleCloudDiscoveryengineLoggingErrorLog/message": message

generated/google-apis-discoveryengine_v1beta/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Release history for google-apis-discoveryengine_v1beta
22

3-
### v0.56.0 (2025-02-26)
3+
### v0.56.0 (2025-03-02)
44

5-
* Regenerated from discovery document revision 20250222
5+
* Regenerated from discovery document revision 20250226
66

77
### v0.55.0 (2025-01-12)
88

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

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -485,6 +485,66 @@ def update!(**args)
485485
end
486486
end
487487

488+
# The error payload that is populated on LRO sync APIs, including the following:
489+
# * `google.cloud.discoveryengine.v1main.DataConnectorService.SetUpDataConnector`
490+
# * `google.cloud.discoveryengine.v1main.DataConnectorService.StartConnectorRun`
491+
class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext
492+
include Google::Apis::Core::Hashable
493+
494+
# The full resource name of the Connector Run. Format: `projects/*/locations/*/
495+
# collections/*/dataConnector/connectorRuns/*`. The `connector_run_id` is system-
496+
# generated.
497+
# Corresponds to the JSON property `connectorRun`
498+
# @return [String]
499+
attr_accessor :connector_run
500+
501+
# The full resource name of the DataConnector. Format: `projects/*/locations/*/
502+
# collections/*/dataConnector`.
503+
# Corresponds to the JSON property `dataConnector`
504+
# @return [String]
505+
attr_accessor :data_connector
506+
507+
# The time when the connector run ended.
508+
# Corresponds to the JSON property `endTime`
509+
# @return [String]
510+
attr_accessor :end_time
511+
512+
# The entity to sync for the connector run.
513+
# Corresponds to the JSON property `entity`
514+
# @return [String]
515+
attr_accessor :entity
516+
517+
# The operation resource name of the LRO to sync the connector.
518+
# Corresponds to the JSON property `operation`
519+
# @return [String]
520+
attr_accessor :operation
521+
522+
# The time when the connector run started.
523+
# Corresponds to the JSON property `startTime`
524+
# @return [String]
525+
attr_accessor :start_time
526+
527+
# The type of sync run. Can be one of the following: * `FULL` * `INCREMENTAL`
528+
# Corresponds to the JSON property `syncType`
529+
# @return [String]
530+
attr_accessor :sync_type
531+
532+
def initialize(**args)
533+
update!(**args)
534+
end
535+
536+
# Update properties of this object
537+
def update!(**args)
538+
@connector_run = args[:connector_run] if args.key?(:connector_run)
539+
@data_connector = args[:data_connector] if args.key?(:data_connector)
540+
@end_time = args[:end_time] if args.key?(:end_time)
541+
@entity = args[:entity] if args.key?(:entity)
542+
@operation = args[:operation] if args.key?(:operation)
543+
@start_time = args[:start_time] if args.key?(:start_time)
544+
@sync_type = args[:sync_type] if args.key?(:sync_type)
545+
end
546+
end
547+
488548
# A description of the context in which an error occurred.
489549
class GoogleCloudDiscoveryengineLoggingErrorContext
490550
include Google::Apis::Core::Hashable
@@ -515,6 +575,13 @@ def update!(**args)
515575
class GoogleCloudDiscoveryengineLoggingErrorLog
516576
include Google::Apis::Core::Hashable
517577

578+
# The error payload that is populated on LRO sync APIs, including the following:
579+
# * `google.cloud.discoveryengine.v1main.DataConnectorService.SetUpDataConnector`
580+
# * `google.cloud.discoveryengine.v1main.DataConnectorService.StartConnectorRun`
581+
# Corresponds to the JSON property `connectorRunPayload`
582+
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext]
583+
attr_accessor :connector_run_payload
584+
518585
# A description of the context in which an error occurred.
519586
# Corresponds to the JSON property `context`
520587
# @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingErrorContext]
@@ -574,6 +641,7 @@ def initialize(**args)
574641

575642
# Update properties of this object
576643
def update!(**args)
644+
@connector_run_payload = args[:connector_run_payload] if args.key?(:connector_run_payload)
577645
@context = args[:context] if args.key?(:context)
578646
@import_payload = args[:import_payload] if args.key?(:import_payload)
579647
@message = args[:message] if args.key?(:message)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module DiscoveryengineV1beta
2222
GENERATOR_VERSION = "0.16.0"
2323

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

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
8888
include Google::Apis::Core::JsonObjectSupport
8989
end
9090

91+
class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext
92+
class Representation < Google::Apis::Core::JsonRepresentation; end
93+
94+
include Google::Apis::Core::JsonObjectSupport
95+
end
96+
9197
class GoogleCloudDiscoveryengineLoggingErrorContext
9298
class Representation < Google::Apis::Core::JsonRepresentation; end
9399

@@ -4127,6 +4133,19 @@ class Representation < Google::Apis::Core::JsonRepresentation
41274133
end
41284134
end
41294135

4136+
class GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext
4137+
# @private
4138+
class Representation < Google::Apis::Core::JsonRepresentation
4139+
property :connector_run, as: 'connectorRun'
4140+
property :data_connector, as: 'dataConnector'
4141+
property :end_time, as: 'endTime'
4142+
property :entity, as: 'entity'
4143+
property :operation, as: 'operation'
4144+
property :start_time, as: 'startTime'
4145+
property :sync_type, as: 'syncType'
4146+
end
4147+
end
4148+
41304149
class GoogleCloudDiscoveryengineLoggingErrorContext
41314150
# @private
41324151
class Representation < Google::Apis::Core::JsonRepresentation
@@ -4140,6 +4159,8 @@ class Representation < Google::Apis::Core::JsonRepresentation
41404159
class GoogleCloudDiscoveryengineLoggingErrorLog
41414160
# @private
41424161
class Representation < Google::Apis::Core::JsonRepresentation
4162+
property :connector_run_payload, as: 'connectorRunPayload', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingConnectorRunErrorContext::Representation
4163+
41434164
property :context, as: 'context', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingErrorContext, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingErrorContext::Representation
41444165

41454166
property :import_payload, as: 'importPayload', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingImportErrorContext, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineLoggingImportErrorContext::Representation

0 commit comments

Comments
 (0)