google-apis-sqladmin_v1beta4 0.102.0 → 0.103.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5901af023f7d6200f2805dea3f7934137d1598239ae87b725cae31fedd5a423a
|
|
4
|
+
data.tar.gz: e804342a8f68587bd01ace6a8995f950064612c1dd661fe07157986763bfe0bb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85c6fa3f5019b6944ab375b33c3816e11f18f3250b1555fdc95175c52c29e5e51f1bc6c12457a9217d51b31219a284ba0869427bdbf789e4f4c3af06e9cfae41
|
|
7
|
+
data.tar.gz: '068e11fc0ef6a98aaf5d88922c60d8c9af58eafdaf348b072e85878735301fc4053f90b525f5cb7b91844a341e27159e28be9e7ff8e8e78dc9a33545461fca46'
|
data/CHANGELOG.md
CHANGED
|
@@ -393,7 +393,9 @@ module Google
|
|
|
393
393
|
attr_accessor :point_in_time_recovery_enabled
|
|
394
394
|
alias_method :point_in_time_recovery_enabled?, :point_in_time_recovery_enabled
|
|
395
395
|
|
|
396
|
-
#
|
|
396
|
+
# Optional. Deprecated: replication_log_archiving_enabled is deprecated and will
|
|
397
|
+
# be removed from a future version of the API. Use
|
|
398
|
+
# point_in_time_recovery_enabled instead.
|
|
397
399
|
# Corresponds to the JSON property `replicationLogArchivingEnabled`
|
|
398
400
|
# @return [Boolean]
|
|
399
401
|
attr_accessor :replication_log_archiving_enabled
|
|
@@ -897,6 +899,12 @@ module Google
|
|
|
897
899
|
# @return [String]
|
|
898
900
|
attr_accessor :backend_type
|
|
899
901
|
|
|
902
|
+
# Optional. Output only. Connection name of the Cloud SQL instance used in
|
|
903
|
+
# connection strings, in the format project:region:instance.
|
|
904
|
+
# Corresponds to the JSON property `connectionName`
|
|
905
|
+
# @return [String]
|
|
906
|
+
attr_accessor :connection_name
|
|
907
|
+
|
|
900
908
|
# Custom subject alternative names for the server certificate.
|
|
901
909
|
# Corresponds to the JSON property `customSubjectAlternativeNames`
|
|
902
910
|
# @return [Array<String>]
|
|
@@ -983,6 +991,7 @@ module Google
|
|
|
983
991
|
# Update properties of this object
|
|
984
992
|
def update!(**args)
|
|
985
993
|
@backend_type = args[:backend_type] if args.key?(:backend_type)
|
|
994
|
+
@connection_name = args[:connection_name] if args.key?(:connection_name)
|
|
986
995
|
@custom_subject_alternative_names = args[:custom_subject_alternative_names] if args.key?(:custom_subject_alternative_names)
|
|
987
996
|
@database_version = args[:database_version] if args.key?(:database_version)
|
|
988
997
|
@dns_name = args[:dns_name] if args.key?(:dns_name)
|
|
@@ -1917,6 +1926,17 @@ module Google
|
|
|
1917
1926
|
# @return [String]
|
|
1918
1927
|
attr_accessor :partial_result_mode
|
|
1919
1928
|
|
|
1929
|
+
# Optional. The resource name of the Secret Manager secret holding the password
|
|
1930
|
+
# for the user to log into the database. The secret should be created using the
|
|
1931
|
+
# regional endpoint (for API) or from the Regional Secrets page (for UI), and
|
|
1932
|
+
# stored in the same region as the Cloud SQL instance. The expected resource
|
|
1933
|
+
# name format is `projects/`project`/locations/`location`/secrets/`secret`/
|
|
1934
|
+
# versions/`secret_version``. This field is used together with the `user` field.
|
|
1935
|
+
# The secret resource name will not be stored.
|
|
1936
|
+
# Corresponds to the JSON property `passwordSecretVersion`
|
|
1937
|
+
# @return [String]
|
|
1938
|
+
attr_accessor :password_secret_version
|
|
1939
|
+
|
|
1920
1940
|
# Optional. The maximum number of rows returned per SQL statement.
|
|
1921
1941
|
# Corresponds to the JSON property `rowLimit`
|
|
1922
1942
|
# @return [Fixnum]
|
|
@@ -1945,6 +1965,7 @@ module Google
|
|
|
1945
1965
|
@auto_iam_authn = args[:auto_iam_authn] if args.key?(:auto_iam_authn)
|
|
1946
1966
|
@database = args[:database] if args.key?(:database)
|
|
1947
1967
|
@partial_result_mode = args[:partial_result_mode] if args.key?(:partial_result_mode)
|
|
1968
|
+
@password_secret_version = args[:password_secret_version] if args.key?(:password_secret_version)
|
|
1948
1969
|
@row_limit = args[:row_limit] if args.key?(:row_limit)
|
|
1949
1970
|
@sql_statement = args[:sql_statement] if args.key?(:sql_statement)
|
|
1950
1971
|
@user = args[:user] if args.key?(:user)
|
|
@@ -4421,12 +4442,33 @@ module Google
|
|
|
4421
4442
|
class PerformanceCaptureConfig
|
|
4422
4443
|
include Google::Apis::Core::Hashable
|
|
4423
4444
|
|
|
4445
|
+
# Optional. Specifies the minimum percentage of CPU utilization to trigger the
|
|
4446
|
+
# performance capture. Valid integers range from `10` to `99`. Enter `0` to
|
|
4447
|
+
# disable the check.
|
|
4448
|
+
# Corresponds to the JSON property `cpuUtilizationThresholdPercent`
|
|
4449
|
+
# @return [Fixnum]
|
|
4450
|
+
attr_accessor :cpu_utilization_threshold_percent
|
|
4451
|
+
|
|
4424
4452
|
# Optional. Enables or disables the performance capture feature.
|
|
4425
4453
|
# Corresponds to the JSON property `enabled`
|
|
4426
4454
|
# @return [Boolean]
|
|
4427
4455
|
attr_accessor :enabled
|
|
4428
4456
|
alias_method :enabled?, :enabled
|
|
4429
4457
|
|
|
4458
|
+
# Optional. Specifies the minimum number of undo log entries in the history list
|
|
4459
|
+
# length to trigger the performance capture. Valid integers range from `10000`
|
|
4460
|
+
# to `10000000`. Enter `0` to disable the check.
|
|
4461
|
+
# Corresponds to the JSON property `historyListLengthThresholdCount`
|
|
4462
|
+
# @return [Fixnum]
|
|
4463
|
+
attr_accessor :history_list_length_threshold_count
|
|
4464
|
+
|
|
4465
|
+
# Optional. Specifies the minimum percentage of memory usage to trigger the
|
|
4466
|
+
# performance capture. Valid integers range from `10` to `99`. Enter `0` to
|
|
4467
|
+
# disable the check.
|
|
4468
|
+
# Corresponds to the JSON property `memoryUsageThresholdPercent`
|
|
4469
|
+
# @return [Fixnum]
|
|
4470
|
+
attr_accessor :memory_usage_threshold_percent
|
|
4471
|
+
|
|
4430
4472
|
# Optional. Specifies the minimum number of consecutive probe threshold that
|
|
4431
4473
|
# triggers performance capture.
|
|
4432
4474
|
# Corresponds to the JSON property `probeThreshold`
|
|
@@ -4451,24 +4493,73 @@ module Google
|
|
|
4451
4493
|
# @return [Fixnum]
|
|
4452
4494
|
attr_accessor :seconds_behind_source_threshold
|
|
4453
4495
|
|
|
4496
|
+
# Optional. Specifies the minimum allowed number of semaphore waits to trigger
|
|
4497
|
+
# the performance capture. Valid integers range from `10` to `10000`. Enter `0`
|
|
4498
|
+
# to disable the check.
|
|
4499
|
+
# Corresponds to the JSON property `semaphoreWaitThresholdCount`
|
|
4500
|
+
# @return [Fixnum]
|
|
4501
|
+
attr_accessor :semaphore_wait_threshold_count
|
|
4502
|
+
|
|
4454
4503
|
# Optional. Specifies the amount of time in seconds that a transaction needs to
|
|
4455
4504
|
# have been open before the watcher starts recording it.
|
|
4456
4505
|
# Corresponds to the JSON property `transactionDurationThreshold`
|
|
4457
4506
|
# @return [Fixnum]
|
|
4458
4507
|
attr_accessor :transaction_duration_threshold
|
|
4459
4508
|
|
|
4509
|
+
# Optional. Specifies a customer-defined list of users to exclude from
|
|
4510
|
+
# transaction termination. Entries can be in the format 'user@host' or just '
|
|
4511
|
+
# user'. A standalone 'user' implies 'user@%', excluding the user from any host.
|
|
4512
|
+
# Wildcard '%' is allowed in the host part of the 'user@host' format. Example: `[
|
|
4513
|
+
# "app_user", "db_admin@10.1.2.3", "report_user@%"]`
|
|
4514
|
+
# Corresponds to the JSON property `transactionKillExcludedUserHosts`
|
|
4515
|
+
# @return [Array<String>]
|
|
4516
|
+
attr_accessor :transaction_kill_excluded_user_hosts
|
|
4517
|
+
|
|
4518
|
+
# Optional. Specifies the amount of time in seconds that a transaction needs to
|
|
4519
|
+
# have been open before the watcher starts terminating it. Valid integers range
|
|
4520
|
+
# from `60` to `604800` (7 days). Enter `0` to disable. If enabled (i.e., > 0),
|
|
4521
|
+
# this value must be greater than or equal to `transaction_duration_threshold`.
|
|
4522
|
+
# Configurations where `0 < transaction_kill_threshold_seconds <
|
|
4523
|
+
# transaction_duration_threshold` will be rejected.
|
|
4524
|
+
# Corresponds to the JSON property `transactionKillThresholdSeconds`
|
|
4525
|
+
# @return [Fixnum]
|
|
4526
|
+
attr_accessor :transaction_kill_threshold_seconds
|
|
4527
|
+
|
|
4528
|
+
# Optional. Determines which transactions are allowed to be terminated when they
|
|
4529
|
+
# exceed `transaction_kill_threshold_seconds`. This allows protecting write-
|
|
4530
|
+
# heavy transactions from auto-termination if desired. Defaults to `
|
|
4531
|
+
# READ_ONLY_TRANSACTIONS` if unspecified.
|
|
4532
|
+
# Corresponds to the JSON property `transactionKillType`
|
|
4533
|
+
# @return [String]
|
|
4534
|
+
attr_accessor :transaction_kill_type
|
|
4535
|
+
|
|
4536
|
+
# Optional. Specifies the minimum allowed number of transactions in lock wait
|
|
4537
|
+
# state to trigger the performance capture. Valid integers range from `10` to `
|
|
4538
|
+
# 10000`. Enter `0` to disable the check.
|
|
4539
|
+
# Corresponds to the JSON property `transactionLockWaitThresholdCount`
|
|
4540
|
+
# @return [Fixnum]
|
|
4541
|
+
attr_accessor :transaction_lock_wait_threshold_count
|
|
4542
|
+
|
|
4460
4543
|
def initialize(**args)
|
|
4461
4544
|
update!(**args)
|
|
4462
4545
|
end
|
|
4463
4546
|
|
|
4464
4547
|
# Update properties of this object
|
|
4465
4548
|
def update!(**args)
|
|
4549
|
+
@cpu_utilization_threshold_percent = args[:cpu_utilization_threshold_percent] if args.key?(:cpu_utilization_threshold_percent)
|
|
4466
4550
|
@enabled = args[:enabled] if args.key?(:enabled)
|
|
4551
|
+
@history_list_length_threshold_count = args[:history_list_length_threshold_count] if args.key?(:history_list_length_threshold_count)
|
|
4552
|
+
@memory_usage_threshold_percent = args[:memory_usage_threshold_percent] if args.key?(:memory_usage_threshold_percent)
|
|
4467
4553
|
@probe_threshold = args[:probe_threshold] if args.key?(:probe_threshold)
|
|
4468
4554
|
@probing_interval_seconds = args[:probing_interval_seconds] if args.key?(:probing_interval_seconds)
|
|
4469
4555
|
@running_threads_threshold = args[:running_threads_threshold] if args.key?(:running_threads_threshold)
|
|
4470
4556
|
@seconds_behind_source_threshold = args[:seconds_behind_source_threshold] if args.key?(:seconds_behind_source_threshold)
|
|
4557
|
+
@semaphore_wait_threshold_count = args[:semaphore_wait_threshold_count] if args.key?(:semaphore_wait_threshold_count)
|
|
4471
4558
|
@transaction_duration_threshold = args[:transaction_duration_threshold] if args.key?(:transaction_duration_threshold)
|
|
4559
|
+
@transaction_kill_excluded_user_hosts = args[:transaction_kill_excluded_user_hosts] if args.key?(:transaction_kill_excluded_user_hosts)
|
|
4560
|
+
@transaction_kill_threshold_seconds = args[:transaction_kill_threshold_seconds] if args.key?(:transaction_kill_threshold_seconds)
|
|
4561
|
+
@transaction_kill_type = args[:transaction_kill_type] if args.key?(:transaction_kill_type)
|
|
4562
|
+
@transaction_lock_wait_threshold_count = args[:transaction_lock_wait_threshold_count] if args.key?(:transaction_lock_wait_threshold_count)
|
|
4472
4563
|
end
|
|
4473
4564
|
end
|
|
4474
4565
|
|
|
@@ -4714,6 +4805,11 @@ module Google
|
|
|
4714
4805
|
# @return [String]
|
|
4715
4806
|
attr_accessor :consumer_project
|
|
4716
4807
|
|
|
4808
|
+
# Output only. The status of automated DNS provisioning.
|
|
4809
|
+
# Corresponds to the JSON property `instanceAutoDnsStatus`
|
|
4810
|
+
# @return [String]
|
|
4811
|
+
attr_accessor :instance_auto_dns_status
|
|
4812
|
+
|
|
4717
4813
|
# The IP address of the consumer endpoint.
|
|
4718
4814
|
# Corresponds to the JSON property `ipAddress`
|
|
4719
4815
|
# @return [String]
|
|
@@ -4737,6 +4833,11 @@ module Google
|
|
|
4737
4833
|
# @return [String]
|
|
4738
4834
|
attr_accessor :status
|
|
4739
4835
|
|
|
4836
|
+
# Output only. The status of automated DNS provisioning for the write endpoint.
|
|
4837
|
+
# Corresponds to the JSON property `writeEndpointAutoDnsStatus`
|
|
4838
|
+
# @return [String]
|
|
4839
|
+
attr_accessor :write_endpoint_auto_dns_status
|
|
4840
|
+
|
|
4740
4841
|
def initialize(**args)
|
|
4741
4842
|
update!(**args)
|
|
4742
4843
|
end
|
|
@@ -4746,10 +4847,12 @@ module Google
|
|
|
4746
4847
|
@consumer_network = args[:consumer_network] if args.key?(:consumer_network)
|
|
4747
4848
|
@consumer_network_status = args[:consumer_network_status] if args.key?(:consumer_network_status)
|
|
4748
4849
|
@consumer_project = args[:consumer_project] if args.key?(:consumer_project)
|
|
4850
|
+
@instance_auto_dns_status = args[:instance_auto_dns_status] if args.key?(:instance_auto_dns_status)
|
|
4749
4851
|
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
|
4750
4852
|
@service_connection_policy = args[:service_connection_policy] if args.key?(:service_connection_policy)
|
|
4751
4853
|
@service_connection_policy_creation_result = args[:service_connection_policy_creation_result] if args.key?(:service_connection_policy_creation_result)
|
|
4752
4854
|
@status = args[:status] if args.key?(:status)
|
|
4855
|
+
@write_endpoint_auto_dns_status = args[:write_endpoint_auto_dns_status] if args.key?(:write_endpoint_auto_dns_status)
|
|
4753
4856
|
end
|
|
4754
4857
|
end
|
|
4755
4858
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module SqladminV1beta4
|
|
18
18
|
# Version of the google-apis-sqladmin_v1beta4 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.103.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260703"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1132,6 +1132,7 @@ module Google
|
|
|
1132
1132
|
# @private
|
|
1133
1133
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1134
1134
|
property :backend_type, as: 'backendType'
|
|
1135
|
+
property :connection_name, as: 'connectionName'
|
|
1135
1136
|
collection :custom_subject_alternative_names, as: 'customSubjectAlternativeNames'
|
|
1136
1137
|
property :database_version, as: 'databaseVersion'
|
|
1137
1138
|
property :dns_name, as: 'dnsName'
|
|
@@ -1379,6 +1380,7 @@ module Google
|
|
|
1379
1380
|
property :auto_iam_authn, as: 'autoIamAuthn'
|
|
1380
1381
|
property :database, as: 'database'
|
|
1381
1382
|
property :partial_result_mode, as: 'partialResultMode'
|
|
1383
|
+
property :password_secret_version, as: 'passwordSecretVersion'
|
|
1382
1384
|
property :row_limit, :numeric_string => true, as: 'rowLimit'
|
|
1383
1385
|
property :sql_statement, as: 'sqlStatement'
|
|
1384
1386
|
property :user, as: 'user'
|
|
@@ -2046,12 +2048,20 @@ module Google
|
|
|
2046
2048
|
class PerformanceCaptureConfig
|
|
2047
2049
|
# @private
|
|
2048
2050
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2051
|
+
property :cpu_utilization_threshold_percent, as: 'cpuUtilizationThresholdPercent'
|
|
2049
2052
|
property :enabled, as: 'enabled'
|
|
2053
|
+
property :history_list_length_threshold_count, as: 'historyListLengthThresholdCount'
|
|
2054
|
+
property :memory_usage_threshold_percent, as: 'memoryUsageThresholdPercent'
|
|
2050
2055
|
property :probe_threshold, as: 'probeThreshold'
|
|
2051
2056
|
property :probing_interval_seconds, as: 'probingIntervalSeconds'
|
|
2052
2057
|
property :running_threads_threshold, as: 'runningThreadsThreshold'
|
|
2053
2058
|
property :seconds_behind_source_threshold, as: 'secondsBehindSourceThreshold'
|
|
2059
|
+
property :semaphore_wait_threshold_count, as: 'semaphoreWaitThresholdCount'
|
|
2054
2060
|
property :transaction_duration_threshold, as: 'transactionDurationThreshold'
|
|
2061
|
+
collection :transaction_kill_excluded_user_hosts, as: 'transactionKillExcludedUserHosts'
|
|
2062
|
+
property :transaction_kill_threshold_seconds, as: 'transactionKillThresholdSeconds'
|
|
2063
|
+
property :transaction_kill_type, as: 'transactionKillType'
|
|
2064
|
+
property :transaction_lock_wait_threshold_count, as: 'transactionLockWaitThresholdCount'
|
|
2055
2065
|
end
|
|
2056
2066
|
end
|
|
2057
2067
|
|
|
@@ -2114,10 +2124,12 @@ module Google
|
|
|
2114
2124
|
property :consumer_network, as: 'consumerNetwork'
|
|
2115
2125
|
property :consumer_network_status, as: 'consumerNetworkStatus'
|
|
2116
2126
|
property :consumer_project, as: 'consumerProject'
|
|
2127
|
+
property :instance_auto_dns_status, as: 'instanceAutoDnsStatus'
|
|
2117
2128
|
property :ip_address, as: 'ipAddress'
|
|
2118
2129
|
property :service_connection_policy, as: 'serviceConnectionPolicy'
|
|
2119
2130
|
property :service_connection_policy_creation_result, as: 'serviceConnectionPolicyCreationResult'
|
|
2120
2131
|
property :status, as: 'status'
|
|
2132
|
+
property :write_endpoint_auto_dns_status, as: 'writeEndpointAutoDnsStatus'
|
|
2121
2133
|
end
|
|
2122
2134
|
end
|
|
2123
2135
|
|
|
@@ -463,10 +463,10 @@ module Google
|
|
|
463
463
|
|
|
464
464
|
# Retrieves connect settings about a Cloud SQL instance using the instance DNS
|
|
465
465
|
# name.
|
|
466
|
-
# @param [String] dns_name
|
|
467
|
-
# Required. Cloud SQL instance ID. This does not include the project ID.
|
|
468
466
|
# @param [String] location
|
|
469
467
|
# Required. The region of the instance.
|
|
468
|
+
# @param [String] dns_name
|
|
469
|
+
# Required. Cloud SQL instance ID. This does not include the project ID.
|
|
470
470
|
# @param [String] fields
|
|
471
471
|
# Selector specifying which fields to include in a partial response.
|
|
472
472
|
# @param [String] quota_user
|
|
@@ -484,12 +484,12 @@ module Google
|
|
|
484
484
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
485
485
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
486
486
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
487
|
-
def resolve_connect(
|
|
488
|
-
command = make_simple_command(:get, 'sql/v1beta4/
|
|
487
|
+
def resolve_connect(location, dns_name, fields: nil, quota_user: nil, options: nil, &block)
|
|
488
|
+
command = make_simple_command(:get, 'sql/v1beta4/locations/{location}/dns/{dnsName}:resolveConnectSettings', options)
|
|
489
489
|
command.response_representation = Google::Apis::SqladminV1beta4::ConnectSettings::Representation
|
|
490
490
|
command.response_class = Google::Apis::SqladminV1beta4::ConnectSettings
|
|
491
|
-
command.params['dnsName'] = dns_name unless dns_name.nil?
|
|
492
491
|
command.params['location'] = location unless location.nil?
|
|
492
|
+
command.params['dnsName'] = dns_name unless dns_name.nil?
|
|
493
493
|
command.query['fields'] = fields unless fields.nil?
|
|
494
494
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
495
495
|
execute_or_queue_command(command, &block)
|
|
@@ -1519,6 +1519,12 @@ module Google
|
|
|
1519
1519
|
# @param [String] instance
|
|
1520
1520
|
# Cloud SQL instance ID. This does not include the project ID.
|
|
1521
1521
|
# @param [Google::Apis::SqladminV1beta4::DatabaseInstance] database_instance_object
|
|
1522
|
+
# @param [Boolean] reconcile_psc_networking
|
|
1523
|
+
# Optional. Set PSC config to the same value as the existing config to reconcile
|
|
1524
|
+
# the PSC networking.
|
|
1525
|
+
# @param [Boolean] reconcile_psc_networking_force
|
|
1526
|
+
# Optional. Set PSC config to the same value as the existing config and force
|
|
1527
|
+
# reconcile the PSC networking.
|
|
1522
1528
|
# @param [String] fields
|
|
1523
1529
|
# Selector specifying which fields to include in a partial response.
|
|
1524
1530
|
# @param [String] quota_user
|
|
@@ -1536,7 +1542,7 @@ module Google
|
|
|
1536
1542
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1537
1543
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1538
1544
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1539
|
-
def patch_instance(project, instance, database_instance_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1545
|
+
def patch_instance(project, instance, database_instance_object = nil, reconcile_psc_networking: nil, reconcile_psc_networking_force: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1540
1546
|
command = make_simple_command(:patch, 'sql/v1beta4/projects/{project}/instances/{instance}', options)
|
|
1541
1547
|
command.request_representation = Google::Apis::SqladminV1beta4::DatabaseInstance::Representation
|
|
1542
1548
|
command.request_object = database_instance_object
|
|
@@ -1544,6 +1550,8 @@ module Google
|
|
|
1544
1550
|
command.response_class = Google::Apis::SqladminV1beta4::Operation
|
|
1545
1551
|
command.params['project'] = project unless project.nil?
|
|
1546
1552
|
command.params['instance'] = instance unless instance.nil?
|
|
1553
|
+
command.query['reconcilePscNetworking'] = reconcile_psc_networking unless reconcile_psc_networking.nil?
|
|
1554
|
+
command.query['reconcilePscNetworkingForce'] = reconcile_psc_networking_force unless reconcile_psc_networking_force.nil?
|
|
1547
1555
|
command.query['fields'] = fields unless fields.nil?
|
|
1548
1556
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1549
1557
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-sqladmin_v1beta4
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.103.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.103.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-sqladmin_v1beta4
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|