Skip to content

Commit 75ff606

Browse files
feat: Automated regeneration of sqladmin v1 client (googleapis#24165)
Auto-created at 2025-08-31 10:37:12 +0000 using the toys pull request generator.
1 parent e62e0d5 commit 75ff606

File tree

5 files changed

+33
-2
lines changed

5 files changed

+33
-2
lines changed

api_names_out.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354499,8 +354499,10 @@
354499354499
"/sqladmin:v1/ExecuteSqlPayload": execute_sql_payload
354500354500
"/sqladmin:v1/ExecuteSqlPayload/autoIamAuthn": auto_iam_authn
354501354501
"/sqladmin:v1/ExecuteSqlPayload/database": database
354502+
"/sqladmin:v1/ExecuteSqlPayload/partialResultMode": partial_result_mode
354502354503
"/sqladmin:v1/ExecuteSqlPayload/rowLimit": row_limit
354503354504
"/sqladmin:v1/ExecuteSqlPayload/sqlStatement": sql_statement
354505+
"/sqladmin:v1/ExecuteSqlPayload/user": user
354504354506
"/sqladmin:v1/ExportContext": export_context
354505354507
"/sqladmin:v1/ExportContext/bakExportOptions": bak_export_options
354506354508
"/sqladmin:v1/ExportContext/bakExportOptions/bakType": bak_type
@@ -354937,6 +354939,7 @@
354937354939
"/sqladmin:v1/SqlInstancesGetDiskShrinkConfigResponse/message": message
354938354940
"/sqladmin:v1/SqlInstancesGetDiskShrinkConfigResponse/minimalTargetSizeGb": minimal_target_size_gb
354939354941
"/sqladmin:v1/SqlInstancesGetLatestRecoveryTimeResponse": sql_instances_get_latest_recovery_time_response
354942+
"/sqladmin:v1/SqlInstancesGetLatestRecoveryTimeResponse/earliestRecoveryTime": earliest_recovery_time
354940354943
"/sqladmin:v1/SqlInstancesGetLatestRecoveryTimeResponse/kind": kind
354941354944
"/sqladmin:v1/SqlInstancesGetLatestRecoveryTimeResponse/latestRecoveryTime": latest_recovery_time
354942354945
"/sqladmin:v1/SqlInstancesReleaseSsrsLeaseResponse": sql_instances_release_ssrs_lease_response

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

3+
### v0.84.0 (2025-08-31)
4+
5+
* Regenerated from discovery document revision 20250823
6+
37
### v0.83.0 (2025-08-17)
48

59
* Regenerated from discovery document revision 20250807

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1882,6 +1882,12 @@ class ExecuteSqlPayload
18821882
# @return [String]
18831883
attr_accessor :database
18841884

1885+
# Optional. Controls how the API should respond when the SQL execution result
1886+
# exceeds 10 MB. The default mode is to throw an error.
1887+
# Corresponds to the JSON property `partialResultMode`
1888+
# @return [String]
1889+
attr_accessor :partial_result_mode
1890+
18851891
# Optional. The maximum number of rows returned per SQL statement.
18861892
# Corresponds to the JSON property `rowLimit`
18871893
# @return [Fixnum]
@@ -1893,6 +1899,13 @@ class ExecuteSqlPayload
18931899
# @return [String]
18941900
attr_accessor :sql_statement
18951901

1902+
# Optional. The name of an existing database user to connect to the database.
1903+
# When `auto_iam_authn` is set to true, this field is ignored and the API caller'
1904+
# s IAM user is used.
1905+
# Corresponds to the JSON property `user`
1906+
# @return [String]
1907+
attr_accessor :user
1908+
18961909
def initialize(**args)
18971910
update!(**args)
18981911
end
@@ -1901,8 +1914,10 @@ def initialize(**args)
19011914
def update!(**args)
19021915
@auto_iam_authn = args[:auto_iam_authn] if args.key?(:auto_iam_authn)
19031916
@database = args[:database] if args.key?(:database)
1917+
@partial_result_mode = args[:partial_result_mode] if args.key?(:partial_result_mode)
19041918
@row_limit = args[:row_limit] if args.key?(:row_limit)
19051919
@sql_statement = args[:sql_statement] if args.key?(:sql_statement)
1920+
@user = args[:user] if args.key?(:user)
19061921
end
19071922
end
19081923

@@ -5209,6 +5224,11 @@ def update!(**args)
52095224
class SqlInstancesGetLatestRecoveryTimeResponse
52105225
include Google::Apis::Core::Hashable
52115226

5227+
# Timestamp, identifies the earliest recovery time of the source instance.
5228+
# Corresponds to the JSON property `earliestRecoveryTime`
5229+
# @return [String]
5230+
attr_accessor :earliest_recovery_time
5231+
52125232
# This is always `sql#getLatestRecoveryTime`.
52135233
# Corresponds to the JSON property `kind`
52145234
# @return [String]
@@ -5225,6 +5245,7 @@ def initialize(**args)
52255245

52265246
# Update properties of this object
52275247
def update!(**args)
5248+
@earliest_recovery_time = args[:earliest_recovery_time] if args.key?(:earliest_recovery_time)
52285249
@kind = args[:kind] if args.key?(:kind)
52295250
@latest_recovery_time = args[:latest_recovery_time] if args.key?(:latest_recovery_time)
52305251
end

generated/google-apis-sqladmin_v1/lib/google/apis/sqladmin_v1/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 SqladminV1
1818
# Version of the google-apis-sqladmin_v1 gem
19-
GEM_VERSION = "0.83.0"
19+
GEM_VERSION = "0.84.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 = "20250807"
25+
REVISION = "20250823"
2626
end
2727
end
2828
end

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,8 +1302,10 @@ class ExecuteSqlPayload
13021302
class Representation < Google::Apis::Core::JsonRepresentation
13031303
property :auto_iam_authn, as: 'autoIamAuthn'
13041304
property :database, as: 'database'
1305+
property :partial_result_mode, as: 'partialResultMode'
13051306
property :row_limit, :numeric_string => true, as: 'rowLimit'
13061307
property :sql_statement, as: 'sqlStatement'
1308+
property :user, as: 'user'
13071309
end
13081310
end
13091311

@@ -2167,6 +2169,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
21672169
class SqlInstancesGetLatestRecoveryTimeResponse
21682170
# @private
21692171
class Representation < Google::Apis::Core::JsonRepresentation
2172+
property :earliest_recovery_time, as: 'earliestRecoveryTime'
21702173
property :kind, as: 'kind'
21712174
property :latest_recovery_time, as: 'latestRecoveryTime'
21722175
end

0 commit comments

Comments
 (0)