Skip to content

Commit 12d8b3c

Browse files
feat: Automated regeneration of discoveryengine v1beta client (googleapis#21075)
Auto-created at 2024-12-15 10:42:59 +0000 using the toys pull request generator.
1 parent 8a1d22c commit 12d8b3c

File tree

4 files changed

+12
-126
lines changed

4 files changed

+12
-126
lines changed

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.53.0 (2024-12-15)
4+
5+
* Regenerated from discovery document revision 20241210
6+
37
### v0.52.0 (2024-12-08)
48

59
* Regenerated from discovery document revision 20241206

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

Lines changed: 6 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1839,8 +1839,8 @@ class GoogleCloudDiscoveryengineV1Engine
18391839
attr_accessor :display_name
18401840

18411841
# The industry vertical that the engine registers. The restriction of the Engine
1842-
# industry vertical is based on DataStore: If unspecified, default to `GENERIC`.
1843-
# Vertical on Engine has to match vertical of the DataStore linked to the engine.
1842+
# industry vertical is based on DataStore: Vertical on Engine has to match
1843+
# vertical of the DataStore linked to the engine.
18441844
# Corresponds to the JSON property `industryVertical`
18451845
# @return [String]
18461846
attr_accessor :industry_vertical
@@ -4982,71 +4982,6 @@ def update!(**args)
49824982
end
49834983
end
49844984

4985-
# Metadata that describes a custom tuned model.
4986-
class GoogleCloudDiscoveryengineV1alphaCustomTuningModel
4987-
include Google::Apis::Core::Hashable
4988-
4989-
# Deprecated: Timestamp the Model was created at.
4990-
# Corresponds to the JSON property `createTime`
4991-
# @return [String]
4992-
attr_accessor :create_time
4993-
4994-
# The display name of the model.
4995-
# Corresponds to the JSON property `displayName`
4996-
# @return [String]
4997-
attr_accessor :display_name
4998-
4999-
# Currently this is only populated if the model state is `
5000-
# INPUT_VALIDATION_FAILED`.
5001-
# Corresponds to the JSON property `errorMessage`
5002-
# @return [String]
5003-
attr_accessor :error_message
5004-
5005-
# The metrics of the trained model.
5006-
# Corresponds to the JSON property `metrics`
5007-
# @return [Hash<String,Float>]
5008-
attr_accessor :metrics
5009-
5010-
# The state that the model is in (e.g.`TRAINING` or `TRAINING_FAILED`).
5011-
# Corresponds to the JSON property `modelState`
5012-
# @return [String]
5013-
attr_accessor :model_state
5014-
5015-
# The version of the model.
5016-
# Corresponds to the JSON property `modelVersion`
5017-
# @return [Fixnum]
5018-
attr_accessor :model_version
5019-
5020-
# Required. The fully qualified resource name of the model. Format: `projects/`
5021-
# project`/locations/`location`/collections/`collection`/dataStores/`data_store`/
5022-
# customTuningModels/`custom_tuning_model``. Model must be an alpha-numerical
5023-
# string with limit of 40 characters.
5024-
# Corresponds to the JSON property `name`
5025-
# @return [String]
5026-
attr_accessor :name
5027-
5028-
# Timestamp the model training was initiated.
5029-
# Corresponds to the JSON property `trainingStartTime`
5030-
# @return [String]
5031-
attr_accessor :training_start_time
5032-
5033-
def initialize(**args)
5034-
update!(**args)
5035-
end
5036-
5037-
# Update properties of this object
5038-
def update!(**args)
5039-
@create_time = args[:create_time] if args.key?(:create_time)
5040-
@display_name = args[:display_name] if args.key?(:display_name)
5041-
@error_message = args[:error_message] if args.key?(:error_message)
5042-
@metrics = args[:metrics] if args.key?(:metrics)
5043-
@model_state = args[:model_state] if args.key?(:model_state)
5044-
@model_version = args[:model_version] if args.key?(:model_version)
5045-
@name = args[:name] if args.key?(:name)
5046-
@training_start_time = args[:training_start_time] if args.key?(:training_start_time)
5047-
end
5048-
end
5049-
50504985
# DataStore captures global settings and configs at the DataStore level.
50514986
class GoogleCloudDiscoveryengineV1alphaDataStore
50524987
include Google::Apis::Core::Hashable
@@ -5759,8 +5694,8 @@ class GoogleCloudDiscoveryengineV1alphaEngine
57595694
attr_accessor :display_name
57605695

57615696
# The industry vertical that the engine registers. The restriction of the Engine
5762-
# industry vertical is based on DataStore: If unspecified, default to `GENERIC`.
5763-
# Vertical on Engine has to match vertical of the DataStore linked to the engine.
5697+
# industry vertical is based on DataStore: Vertical on Engine has to match
5698+
# vertical of the DataStore linked to the engine.
57645699
# Corresponds to the JSON property `industryVertical`
57655700
# @return [String]
57665701
attr_accessor :industry_vertical
@@ -7000,25 +6935,6 @@ def update!(**args)
70006935
end
70016936
end
70026937

7003-
# Response message for SearchTuningService.ListCustomModels method.
7004-
class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
7005-
include Google::Apis::Core::Hashable
7006-
7007-
# List of custom tuning models.
7008-
# Corresponds to the JSON property `models`
7009-
# @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomTuningModel>]
7010-
attr_accessor :models
7011-
7012-
def initialize(**args)
7013-
update!(**args)
7014-
end
7015-
7016-
# Update properties of this object
7017-
def update!(**args)
7018-
@models = args[:models] if args.key?(:models)
7019-
end
7020-
end
7021-
70226938
# Request for ListSessions method.
70236939
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
70246940
include Google::Apis::Core::Hashable
@@ -14287,8 +14203,8 @@ class GoogleCloudDiscoveryengineV1betaEngine
1428714203
attr_accessor :display_name
1428814204

1428914205
# The industry vertical that the engine registers. The restriction of the Engine
14290-
# industry vertical is based on DataStore: If unspecified, default to `GENERIC`.
14291-
# Vertical on Engine has to match vertical of the DataStore linked to the engine.
14206+
# industry vertical is based on DataStore: Vertical on Engine has to match
14207+
# vertical of the DataStore linked to the engine.
1429214208
# Corresponds to the JSON property `industryVertical`
1429314209
# @return [String]
1429414210
attr_accessor :industry_vertical

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.52.0"
19+
GEM_VERSION = "0.53.0"
2020

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

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

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

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -856,12 +856,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
856856
include Google::Apis::Core::JsonObjectSupport
857857
end
858858

859-
class GoogleCloudDiscoveryengineV1alphaCustomTuningModel
860-
class Representation < Google::Apis::Core::JsonRepresentation; end
861-
862-
include Google::Apis::Core::JsonObjectSupport
863-
end
864-
865859
class GoogleCloudDiscoveryengineV1alphaDataStore
866860
class Representation < Google::Apis::Core::JsonRepresentation; end
867861

@@ -1198,12 +1192,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
11981192
include Google::Apis::Core::JsonObjectSupport
11991193
end
12001194

1201-
class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
1202-
class Representation < Google::Apis::Core::JsonRepresentation; end
1203-
1204-
include Google::Apis::Core::JsonObjectSupport
1205-
end
1206-
12071195
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
12081196
class Representation < Google::Apis::Core::JsonRepresentation; end
12091197

@@ -4816,20 +4804,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
48164804
end
48174805
end
48184806

4819-
class GoogleCloudDiscoveryengineV1alphaCustomTuningModel
4820-
# @private
4821-
class Representation < Google::Apis::Core::JsonRepresentation
4822-
property :create_time, as: 'createTime'
4823-
property :display_name, as: 'displayName'
4824-
property :error_message, as: 'errorMessage'
4825-
hash :metrics, as: 'metrics'
4826-
property :model_state, as: 'modelState'
4827-
property :model_version, :numeric_string => true, as: 'modelVersion'
4828-
property :name, as: 'name'
4829-
property :training_start_time, as: 'trainingStartTime'
4830-
end
4831-
end
4832-
48334807
class GoogleCloudDiscoveryengineV1alphaDataStore
48344808
# @private
48354809
class Representation < Google::Apis::Core::JsonRepresentation
@@ -5378,14 +5352,6 @@ class Representation < Google::Apis::Core::JsonRepresentation
53785352
end
53795353
end
53805354

5381-
class GoogleCloudDiscoveryengineV1alphaListCustomModelsResponse
5382-
# @private
5383-
class Representation < Google::Apis::Core::JsonRepresentation
5384-
collection :models, as: 'models', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomTuningModel, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCustomTuningModel::Representation
5385-
5386-
end
5387-
end
5388-
53895355
class GoogleCloudDiscoveryengineV1alphaListSessionsRequest
53905356
# @private
53915357
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)