Skip to content

Commit 5568635

Browse files
feat: Automated regeneration of firebaseml v2beta client (googleapis#21148)
Auto-created at 2025-01-05 10:09:09 +0000 using the toys pull request generator.
1 parent 7dce2fa commit 5568635

File tree

5 files changed

+103
-3
lines changed

5 files changed

+103
-3
lines changed

api_names_out.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225450,6 +225450,9 @@
225450225450
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Retrieval/disableAttribution": disable_attribution
225451225451
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Retrieval/vertexAiSearch": vertex_ai_search
225452225452
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Retrieval/vertexRagStore": vertex_rag_store
225453+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1RetrievalConfig": google_cloud_aiplatform_v1beta1_retrieval_config
225454+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1RetrievalConfig/languageCode": language_code
225455+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1RetrievalConfig/latLng": lat_lng
225453225456
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1RetrievalMetadata": google_cloud_aiplatform_v1beta1_retrieval_metadata
225454225457
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1RetrievalMetadata/googleSearchDynamicRetrievalScore": google_search_dynamic_retrieval_score
225455225458
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SafetyRating": google_cloud_aiplatform_v1beta1_safety_rating
@@ -225511,6 +225514,7 @@
225511225514
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolCodeExecution": google_cloud_aiplatform_v1beta1_tool_code_execution
225512225515
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolConfig": google_cloud_aiplatform_v1beta1_tool_config
225513225516
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolConfig/functionCallingConfig": function_calling_config
225517+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolConfig/retrievalConfig": retrieval_config
225514225518
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolGoogleSearch": google_cloud_aiplatform_v1beta1_tool_google_search
225515225519
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexAISearch": google_cloud_aiplatform_v1beta1_vertex_ai_search
225516225520
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexAISearch/datastore": datastore
@@ -225545,6 +225549,9 @@
225545225549
"/firebaseml:v2beta/GroundingMetadata/searchEntryPoint": search_entry_point
225546225550
"/firebaseml:v2beta/GroundingMetadata/webSearchQueries": web_search_queries
225547225551
"/firebaseml:v2beta/GroundingMetadata/webSearchQueries/web_search_query": web_search_query
225552+
"/firebaseml:v2beta/LatLng": lat_lng
225553+
"/firebaseml:v2beta/LatLng/latitude": latitude
225554+
"/firebaseml:v2beta/LatLng/longitude": longitude
225548225555
"/firebaseml:v2beta/ModelOperationMetadata": model_operation_metadata
225549225556
"/firebaseml:v2beta/ModelOperationMetadata/basicOperationStatus": basic_operation_status
225550225557
"/firebaseml:v2beta/ModelOperationMetadata/name": name

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

3-
### v0.13.0 (2024-12-22)
3+
### v0.13.0 (2025-01-05)
44

5-
* Regenerated from discovery document revision 20241217
5+
* Regenerated from discovery document revision 20241231
66

77
### v0.12.0 (2024-12-15)
88

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

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,6 +1521,34 @@ def update!(**args)
15211521
end
15221522
end
15231523

1524+
# Retrieval config.
1525+
class GoogleCloudAiplatformV1beta1RetrievalConfig
1526+
include Google::Apis::Core::Hashable
1527+
1528+
# The language code of the user.
1529+
# Corresponds to the JSON property `languageCode`
1530+
# @return [String]
1531+
attr_accessor :language_code
1532+
1533+
# An object that represents a latitude/longitude pair. This is expressed as a
1534+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
1535+
# specified otherwise, this object must conform to the WGS84 standard. Values
1536+
# must be within normalized ranges.
1537+
# Corresponds to the JSON property `latLng`
1538+
# @return [Google::Apis::FirebasemlV2beta::LatLng]
1539+
attr_accessor :lat_lng
1540+
1541+
def initialize(**args)
1542+
update!(**args)
1543+
end
1544+
1545+
# Update properties of this object
1546+
def update!(**args)
1547+
@language_code = args[:language_code] if args.key?(:language_code)
1548+
@lat_lng = args[:lat_lng] if args.key?(:lat_lng)
1549+
end
1550+
end
1551+
15241552
# Metadata related to retrieval in the grounding flow.
15251553
class GoogleCloudAiplatformV1beta1RetrievalMetadata
15261554
include Google::Apis::Core::Hashable
@@ -1951,13 +1979,19 @@ class GoogleCloudAiplatformV1beta1ToolConfig
19511979
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig]
19521980
attr_accessor :function_calling_config
19531981

1982+
# Retrieval config.
1983+
# Corresponds to the JSON property `retrievalConfig`
1984+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalConfig]
1985+
attr_accessor :retrieval_config
1986+
19541987
def initialize(**args)
19551988
update!(**args)
19561989
end
19571990

19581991
# Update properties of this object
19591992
def update!(**args)
19601993
@function_calling_config = args[:function_calling_config] if args.key?(:function_calling_config)
1994+
@retrieval_config = args[:retrieval_config] if args.key?(:retrieval_config)
19611995
end
19621996
end
19631997

@@ -2113,6 +2147,34 @@ def update!(**args)
21132147
end
21142148
end
21152149

2150+
# An object that represents a latitude/longitude pair. This is expressed as a
2151+
# pair of doubles to represent degrees latitude and degrees longitude. Unless
2152+
# specified otherwise, this object must conform to the WGS84 standard. Values
2153+
# must be within normalized ranges.
2154+
class LatLng
2155+
include Google::Apis::Core::Hashable
2156+
2157+
# The latitude in degrees. It must be in the range [-90.0, +90.0].
2158+
# Corresponds to the JSON property `latitude`
2159+
# @return [Float]
2160+
attr_accessor :latitude
2161+
2162+
# The longitude in degrees. It must be in the range [-180.0, +180.0].
2163+
# Corresponds to the JSON property `longitude`
2164+
# @return [Float]
2165+
attr_accessor :longitude
2166+
2167+
def initialize(**args)
2168+
update!(**args)
2169+
end
2170+
2171+
# Update properties of this object
2172+
def update!(**args)
2173+
@latitude = args[:latitude] if args.key?(:latitude)
2174+
@longitude = args[:longitude] if args.key?(:longitude)
2175+
end
2176+
end
2177+
21162178
# This is returned in the longrunning operations for create/update.
21172179
class ModelOperationMetadata
21182180
include Google::Apis::Core::Hashable

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

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

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

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
274274
include Google::Apis::Core::JsonObjectSupport
275275
end
276276

277+
class GoogleCloudAiplatformV1beta1RetrievalConfig
278+
class Representation < Google::Apis::Core::JsonRepresentation; end
279+
280+
include Google::Apis::Core::JsonObjectSupport
281+
end
282+
277283
class GoogleCloudAiplatformV1beta1RetrievalMetadata
278284
class Representation < Google::Apis::Core::JsonRepresentation; end
279285

@@ -370,6 +376,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
370376
include Google::Apis::Core::JsonObjectSupport
371377
end
372378

379+
class LatLng
380+
class Representation < Google::Apis::Core::JsonRepresentation; end
381+
382+
include Google::Apis::Core::JsonObjectSupport
383+
end
384+
373385
class ModelOperationMetadata
374386
class Representation < Google::Apis::Core::JsonRepresentation; end
375387

@@ -820,6 +832,15 @@ class Representation < Google::Apis::Core::JsonRepresentation
820832
end
821833
end
822834

835+
class GoogleCloudAiplatformV1beta1RetrievalConfig
836+
# @private
837+
class Representation < Google::Apis::Core::JsonRepresentation
838+
property :language_code, as: 'languageCode'
839+
property :lat_lng, as: 'latLng', class: Google::Apis::FirebasemlV2beta::LatLng, decorator: Google::Apis::FirebasemlV2beta::LatLng::Representation
840+
841+
end
842+
end
843+
823844
class GoogleCloudAiplatformV1beta1RetrievalMetadata
824845
# @private
825846
class Representation < Google::Apis::Core::JsonRepresentation
@@ -932,6 +953,8 @@ class GoogleCloudAiplatformV1beta1ToolConfig
932953
class Representation < Google::Apis::Core::JsonRepresentation
933954
property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig::Representation
934955

956+
property :retrieval_config, as: 'retrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalConfig::Representation
957+
935958
end
936959
end
937960

@@ -985,6 +1008,14 @@ class Representation < Google::Apis::Core::JsonRepresentation
9851008
end
9861009
end
9871010

1011+
class LatLng
1012+
# @private
1013+
class Representation < Google::Apis::Core::JsonRepresentation
1014+
property :latitude, as: 'latitude'
1015+
property :longitude, as: 'longitude'
1016+
end
1017+
end
1018+
9881019
class ModelOperationMetadata
9891020
# @private
9901021
class Representation < Google::Apis::Core::JsonRepresentation

0 commit comments

Comments
 (0)