google-apis-sqladmin_v1beta4 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73f479f9f93ef4f01ef43b95308ad3cf00dfc04d7ad43fffbc6d6082f8bb3752
4
- data.tar.gz: 0b21a2ec0e77b8713322e2817d1755304ac8a8bb6e3ef8dbf54a384be10cd400
3
+ metadata.gz: 7691202ac256acdbde5fed02d015609bc2cc7faae91e85a65970f80d17da3d52
4
+ data.tar.gz: aeadb1853cf98773f0cb8e8e9b984d52b13ad6ea11e0dd8584cc4b6dfa0368f9
5
5
  SHA512:
6
- metadata.gz: 55e1ea6561e35d873d5cb1e6c463ae80d4aa46f29858a2d2e650b880a9e4a9b3d93d92933ec6730e01ee61193749582942f5101b2a5c7f5e0ee4bb92aab10223
7
- data.tar.gz: 79b601cc03fdb61961887860e64892b339e7e062e425c3ebddd3d23db704560097e8442270b05f16899c4fa9e057573cfaca95ac1c5526588327510986debdd0
6
+ metadata.gz: 1f8ab407256564ad0c70f09daeeb4f98d0ecaeec6d630ccb67aed3bf8b0d12eaa5b909d0e452a538f03f7e5e13a54c9bf504ffd458b9a7a2a96e535d45ad9ae1
7
+ data.tar.gz: a69b3cfafe46eac500ff2c9a5a97b541925995a6d7e43d76da69b4bea5117dd2e79a8a9800b67a7fb5f5ee2d3cd30ffb25317381e8ce7171aa3e44d7abec1521
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.15.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210816
6
+
3
7
  ### v0.14.0 (2021-07-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20210715
@@ -605,6 +605,12 @@ module Google
605
605
  # @return [String]
606
606
  attr_accessor :connection_name
607
607
 
608
+ # Output only. The time when the instance was created in RFC 3339 format (https:/
609
+ # /tools.ietf.org/html/rfc3339), for example 2012-11-15T16:19:00.094Z
610
+ # Corresponds to the JSON property `createTime`
611
+ # @return [String]
612
+ attr_accessor :create_time
613
+
608
614
  # The current disk usage of the instance in bytes. This property has been
609
615
  # deprecated. Use the "cloudsql.googleapis.com/database/disk/bytes_used" metric
610
616
  # in Cloud Monitoring API instead. Please see this announcement for details.
@@ -793,6 +799,7 @@ module Google
793
799
  def update!(**args)
794
800
  @backend_type = args[:backend_type] if args.key?(:backend_type)
795
801
  @connection_name = args[:connection_name] if args.key?(:connection_name)
802
+ @create_time = args[:create_time] if args.key?(:create_time)
796
803
  @current_disk_size = args[:current_disk_size] if args.key?(:current_disk_size)
797
804
  @database_version = args[:database_version] if args.key?(:database_version)
798
805
  @disk_encryption_configuration = args[:disk_encryption_configuration] if args.key?(:disk_encryption_configuration)
@@ -926,6 +933,12 @@ module Google
926
933
  # @return [Google::Apis::SqladminV1beta4::DemoteMasterConfiguration]
927
934
  attr_accessor :replica_configuration
928
935
 
936
+ # Flag to skip replication setup on the instance.
937
+ # Corresponds to the JSON property `skipReplicationSetup`
938
+ # @return [Boolean]
939
+ attr_accessor :skip_replication_setup
940
+ alias_method :skip_replication_setup?, :skip_replication_setup
941
+
929
942
  # Verify GTID consistency for demote operation. Default value: *True*. Setting
930
943
  # this flag to false enables you to bypass GTID consistency check between on-
931
944
  # premises primary instance and Cloud SQL instance during the demotion operation
@@ -946,6 +959,7 @@ module Google
946
959
  @kind = args[:kind] if args.key?(:kind)
947
960
  @master_instance_name = args[:master_instance_name] if args.key?(:master_instance_name)
948
961
  @replica_configuration = args[:replica_configuration] if args.key?(:replica_configuration)
962
+ @skip_replication_setup = args[:skip_replication_setup] if args.key?(:skip_replication_setup)
949
963
  @verify_gtid_consistency = args[:verify_gtid_consistency] if args.key?(:verify_gtid_consistency)
950
964
  end
951
965
  end
@@ -1609,6 +1623,39 @@ module Google
1609
1623
  end
1610
1624
  end
1611
1625
 
1626
+ # Reference to another Cloud SQL instance.
1627
+ class InstanceReference
1628
+ include Google::Apis::Core::Hashable
1629
+
1630
+ # The name of the Cloud SQL instance being referenced. This does not include the
1631
+ # project ID.
1632
+ # Corresponds to the JSON property `name`
1633
+ # @return [String]
1634
+ attr_accessor :name
1635
+
1636
+ # The project ID of the Cloud SQL instance being referenced. The default is the
1637
+ # same project ID as the instance references it.
1638
+ # Corresponds to the JSON property `project`
1639
+ # @return [String]
1640
+ attr_accessor :project
1641
+
1642
+ # The region of the Cloud SQL instance being referenced.
1643
+ # Corresponds to the JSON property `region`
1644
+ # @return [String]
1645
+ attr_accessor :region
1646
+
1647
+ def initialize(**args)
1648
+ update!(**args)
1649
+ end
1650
+
1651
+ # Update properties of this object
1652
+ def update!(**args)
1653
+ @name = args[:name] if args.key?(:name)
1654
+ @project = args[:project] if args.key?(:project)
1655
+ @region = args[:region] if args.key?(:region)
1656
+ end
1657
+ end
1658
+
1612
1659
  # Database instance clone request.
1613
1660
  class CloneInstancesRequest
1614
1661
  include Google::Apis::Core::Hashable
@@ -1835,6 +1882,16 @@ module Google
1835
1882
  class IpConfiguration
1836
1883
  include Google::Apis::Core::Hashable
1837
1884
 
1885
+ # The name of the allocated ip range for the private ip CloudSQL instance. For
1886
+ # example: "google-managed-services-default". If set, the instance ip will be
1887
+ # created in the allocated range. The range name must comply with [RFC 1035](
1888
+ # https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63
1889
+ # characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?.`
1890
+ # Reserved for future use.
1891
+ # Corresponds to the JSON property `allocatedIpRange`
1892
+ # @return [String]
1893
+ attr_accessor :allocated_ip_range
1894
+
1838
1895
  # The list of external networks that are allowed to connect to the instance
1839
1896
  # using the IP. In 'CIDR' notation, also known as 'slash' notation (for example:
1840
1897
  # *192.168.100.0/24*).
@@ -1868,6 +1925,7 @@ module Google
1868
1925
 
1869
1926
  # Update properties of this object
1870
1927
  def update!(**args)
1928
+ @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
1871
1929
  @authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
1872
1930
  @ipv4_enabled = args[:ipv4_enabled] if args.key?(:ipv4_enabled)
1873
1931
  @private_network = args[:private_network] if args.key?(:private_network)
@@ -2079,6 +2137,25 @@ module Google
2079
2137
  end
2080
2138
  end
2081
2139
 
2140
+ # MySQL-specific external server sync settings.
2141
+ class MySqlSyncConfig
2142
+ include Google::Apis::Core::Hashable
2143
+
2144
+ # Flags to use for the initial dump.
2145
+ # Corresponds to the JSON property `initialSyncFlags`
2146
+ # @return [Array<Google::Apis::SqladminV1beta4::SyncFlags>]
2147
+ attr_accessor :initial_sync_flags
2148
+
2149
+ def initialize(**args)
2150
+ update!(**args)
2151
+ end
2152
+
2153
+ # Update properties of this object
2154
+ def update!(**args)
2155
+ @initial_sync_flags = args[:initial_sync_flags] if args.key?(:initial_sync_flags)
2156
+ end
2157
+ end
2158
+
2082
2159
  # On-premises instance configuration.
2083
2160
  class OnPremisesConfiguration
2084
2161
  include Google::Apis::Core::Hashable
@@ -2119,6 +2196,11 @@ module Google
2119
2196
  # @return [String]
2120
2197
  attr_accessor :password
2121
2198
 
2199
+ # Reference to another Cloud SQL instance.
2200
+ # Corresponds to the JSON property `sourceInstance`
2201
+ # @return [Google::Apis::SqladminV1beta4::InstanceReference]
2202
+ attr_accessor :source_instance
2203
+
2122
2204
  # The username for connecting to on-premises instance.
2123
2205
  # Corresponds to the JSON property `username`
2124
2206
  # @return [String]
@@ -2137,6 +2219,7 @@ module Google
2137
2219
  @host_port = args[:host_port] if args.key?(:host_port)
2138
2220
  @kind = args[:kind] if args.key?(:kind)
2139
2221
  @password = args[:password] if args.key?(:password)
2222
+ @source_instance = args[:source_instance] if args.key?(:source_instance)
2140
2223
  @username = args[:username] if args.key?(:username)
2141
2224
  end
2142
2225
  end
@@ -2738,6 +2821,70 @@ module Google
2738
2821
  end
2739
2822
  end
2740
2823
 
2824
+ #
2825
+ class SqlInstancesStartExternalSyncRequest
2826
+ include Google::Apis::Core::Hashable
2827
+
2828
+ # MySQL-specific external server sync settings.
2829
+ # Corresponds to the JSON property `mysqlSyncConfig`
2830
+ # @return [Google::Apis::SqladminV1beta4::MySqlSyncConfig]
2831
+ attr_accessor :mysql_sync_config
2832
+
2833
+ # Whether to skip the verification step (VESS).
2834
+ # Corresponds to the JSON property `skipVerification`
2835
+ # @return [Boolean]
2836
+ attr_accessor :skip_verification
2837
+ alias_method :skip_verification?, :skip_verification
2838
+
2839
+ # External sync mode.
2840
+ # Corresponds to the JSON property `syncMode`
2841
+ # @return [String]
2842
+ attr_accessor :sync_mode
2843
+
2844
+ def initialize(**args)
2845
+ update!(**args)
2846
+ end
2847
+
2848
+ # Update properties of this object
2849
+ def update!(**args)
2850
+ @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
2851
+ @skip_verification = args[:skip_verification] if args.key?(:skip_verification)
2852
+ @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
2853
+ end
2854
+ end
2855
+
2856
+ #
2857
+ class SqlInstancesVerifyExternalSyncSettingsRequest
2858
+ include Google::Apis::Core::Hashable
2859
+
2860
+ # MySQL-specific external server sync settings.
2861
+ # Corresponds to the JSON property `mysqlSyncConfig`
2862
+ # @return [Google::Apis::SqladminV1beta4::MySqlSyncConfig]
2863
+ attr_accessor :mysql_sync_config
2864
+
2865
+ # External sync mode
2866
+ # Corresponds to the JSON property `syncMode`
2867
+ # @return [String]
2868
+ attr_accessor :sync_mode
2869
+
2870
+ # Flag to enable verifying connection only
2871
+ # Corresponds to the JSON property `verifyConnectionOnly`
2872
+ # @return [Boolean]
2873
+ attr_accessor :verify_connection_only
2874
+ alias_method :verify_connection_only?, :verify_connection_only
2875
+
2876
+ def initialize(**args)
2877
+ update!(**args)
2878
+ end
2879
+
2880
+ # Update properties of this object
2881
+ def update!(**args)
2882
+ @mysql_sync_config = args[:mysql_sync_config] if args.key?(:mysql_sync_config)
2883
+ @sync_mode = args[:sync_mode] if args.key?(:sync_mode)
2884
+ @verify_connection_only = args[:verify_connection_only] if args.key?(:verify_connection_only)
2885
+ end
2886
+ end
2887
+
2741
2888
  # Instance verify external sync settings response.
2742
2889
  class SqlInstancesVerifyExternalSyncSettingsResponse
2743
2890
  include Google::Apis::Core::Hashable
@@ -3091,6 +3238,33 @@ module Google
3091
3238
  end
3092
3239
  end
3093
3240
 
3241
+ # Initial sync flags for certain Cloud SQL APIs. Currently used for the MySQL
3242
+ # external server initial dump.
3243
+ class SyncFlags
3244
+ include Google::Apis::Core::Hashable
3245
+
3246
+ # The name of the flag.
3247
+ # Corresponds to the JSON property `name`
3248
+ # @return [String]
3249
+ attr_accessor :name
3250
+
3251
+ # The value of the flag. This field must be omitted if the flag doesn't take a
3252
+ # value.
3253
+ # Corresponds to the JSON property `value`
3254
+ # @return [String]
3255
+ attr_accessor :value
3256
+
3257
+ def initialize(**args)
3258
+ update!(**args)
3259
+ end
3260
+
3261
+ # Update properties of this object
3262
+ def update!(**args)
3263
+ @name = args[:name] if args.key?(:name)
3264
+ @value = args[:value] if args.key?(:value)
3265
+ end
3266
+ end
3267
+
3094
3268
  # A Google Cloud SQL service tier resource.
3095
3269
  class Tier
3096
3270
  include Google::Apis::Core::Hashable
@@ -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.14.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210715"
25
+ REVISION = "20210816"
26
26
  end
27
27
  end
28
28
  end
@@ -232,6 +232,12 @@ module Google
232
232
  include Google::Apis::Core::JsonObjectSupport
233
233
  end
234
234
 
235
+ class InstanceReference
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
235
241
  class CloneInstancesRequest
236
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
237
243
 
@@ -322,6 +328,12 @@ module Google
322
328
  include Google::Apis::Core::JsonObjectSupport
323
329
  end
324
330
 
331
+ class MySqlSyncConfig
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
325
337
  class OnPremisesConfiguration
326
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
327
339
 
@@ -400,6 +412,18 @@ module Google
400
412
  include Google::Apis::Core::JsonObjectSupport
401
413
  end
402
414
 
415
+ class SqlInstancesStartExternalSyncRequest
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
421
+ class SqlInstancesVerifyExternalSyncSettingsRequest
422
+ class Representation < Google::Apis::Core::JsonRepresentation; end
423
+
424
+ include Google::Apis::Core::JsonObjectSupport
425
+ end
426
+
403
427
  class SqlInstancesVerifyExternalSyncSettingsResponse
404
428
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
429
 
@@ -466,6 +490,12 @@ module Google
466
490
  include Google::Apis::Core::JsonObjectSupport
467
491
  end
468
492
 
493
+ class SyncFlags
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
469
499
  class Tier
470
500
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
501
 
@@ -645,6 +675,7 @@ module Google
645
675
  class Representation < Google::Apis::Core::JsonRepresentation
646
676
  property :backend_type, as: 'backendType'
647
677
  property :connection_name, as: 'connectionName'
678
+ property :create_time, as: 'createTime'
648
679
  property :current_disk_size, :numeric_string => true, as: 'currentDiskSize'
649
680
  property :database_version, as: 'databaseVersion'
650
681
  property :disk_encryption_configuration, as: 'diskEncryptionConfiguration', class: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration, decorator: Google::Apis::SqladminV1beta4::DiskEncryptionConfiguration::Representation
@@ -721,6 +752,7 @@ module Google
721
752
  property :master_instance_name, as: 'masterInstanceName'
722
753
  property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1beta4::DemoteMasterConfiguration, decorator: Google::Apis::SqladminV1beta4::DemoteMasterConfiguration::Representation
723
754
 
755
+ property :skip_replication_setup, as: 'skipReplicationSetup'
724
756
  property :verify_gtid_consistency, as: 'verifyGtidConsistency'
725
757
  end
726
758
  end
@@ -902,6 +934,15 @@ module Google
902
934
  end
903
935
  end
904
936
 
937
+ class InstanceReference
938
+ # @private
939
+ class Representation < Google::Apis::Core::JsonRepresentation
940
+ property :name, as: 'name'
941
+ property :project, as: 'project'
942
+ property :region, as: 'region'
943
+ end
944
+ end
945
+
905
946
  class CloneInstancesRequest
906
947
  # @private
907
948
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -991,6 +1032,7 @@ module Google
991
1032
  class IpConfiguration
992
1033
  # @private
993
1034
  class Representation < Google::Apis::Core::JsonRepresentation
1035
+ property :allocated_ip_range, as: 'allocatedIpRange'
994
1036
  collection :authorized_networks, as: 'authorizedNetworks', class: Google::Apis::SqladminV1beta4::AclEntry, decorator: Google::Apis::SqladminV1beta4::AclEntry::Representation
995
1037
 
996
1038
  property :ipv4_enabled, as: 'ipv4Enabled'
@@ -1045,6 +1087,14 @@ module Google
1045
1087
  end
1046
1088
  end
1047
1089
 
1090
+ class MySqlSyncConfig
1091
+ # @private
1092
+ class Representation < Google::Apis::Core::JsonRepresentation
1093
+ collection :initial_sync_flags, as: 'initialSyncFlags', class: Google::Apis::SqladminV1beta4::SyncFlags, decorator: Google::Apis::SqladminV1beta4::SyncFlags::Representation
1094
+
1095
+ end
1096
+ end
1097
+
1048
1098
  class OnPremisesConfiguration
1049
1099
  # @private
1050
1100
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1055,6 +1105,8 @@ module Google
1055
1105
  property :host_port, as: 'hostPort'
1056
1106
  property :kind, as: 'kind'
1057
1107
  property :password, as: 'password'
1108
+ property :source_instance, as: 'sourceInstance', class: Google::Apis::SqladminV1beta4::InstanceReference, decorator: Google::Apis::SqladminV1beta4::InstanceReference::Representation
1109
+
1058
1110
  property :username, as: 'username'
1059
1111
  end
1060
1112
  end
@@ -1212,6 +1264,26 @@ module Google
1212
1264
  end
1213
1265
  end
1214
1266
 
1267
+ class SqlInstancesStartExternalSyncRequest
1268
+ # @private
1269
+ class Representation < Google::Apis::Core::JsonRepresentation
1270
+ property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1beta4::MySqlSyncConfig, decorator: Google::Apis::SqladminV1beta4::MySqlSyncConfig::Representation
1271
+
1272
+ property :skip_verification, as: 'skipVerification'
1273
+ property :sync_mode, as: 'syncMode'
1274
+ end
1275
+ end
1276
+
1277
+ class SqlInstancesVerifyExternalSyncSettingsRequest
1278
+ # @private
1279
+ class Representation < Google::Apis::Core::JsonRepresentation
1280
+ property :mysql_sync_config, as: 'mysqlSyncConfig', class: Google::Apis::SqladminV1beta4::MySqlSyncConfig, decorator: Google::Apis::SqladminV1beta4::MySqlSyncConfig::Representation
1281
+
1282
+ property :sync_mode, as: 'syncMode'
1283
+ property :verify_connection_only, as: 'verifyConnectionOnly'
1284
+ end
1285
+ end
1286
+
1215
1287
  class SqlInstancesVerifyExternalSyncSettingsResponse
1216
1288
  # @private
1217
1289
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1318,6 +1390,14 @@ module Google
1318
1390
  end
1319
1391
  end
1320
1392
 
1393
+ class SyncFlags
1394
+ # @private
1395
+ class Representation < Google::Apis::Core::JsonRepresentation
1396
+ property :name, as: 'name'
1397
+ property :value, as: 'value'
1398
+ end
1399
+ end
1400
+
1321
1401
  class Tier
1322
1402
  # @private
1323
1403
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1402,10 +1402,7 @@ module Google
1402
1402
  # ID of the project that contains the instance.
1403
1403
  # @param [String] instance
1404
1404
  # Cloud SQL instance ID. This does not include the project ID.
1405
- # @param [Boolean] skip_verification
1406
- # Whether to skip the verification step (VESS).
1407
- # @param [String] sync_mode
1408
- # External sync mode.
1405
+ # @param [Google::Apis::SqladminV1beta4::SqlInstancesStartExternalSyncRequest] sql_instances_start_external_sync_request_object
1409
1406
  # @param [String] fields
1410
1407
  # Selector specifying which fields to include in a partial response.
1411
1408
  # @param [String] quota_user
@@ -1423,14 +1420,14 @@ module Google
1423
1420
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1424
1421
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1425
1422
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1426
- def start_project_instance_external_sync(project, instance, skip_verification: nil, sync_mode: nil, fields: nil, quota_user: nil, options: nil, &block)
1423
+ def start_project_instance_external_sync(project, instance, sql_instances_start_external_sync_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1427
1424
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/startExternalSync', options)
1425
+ command.request_representation = Google::Apis::SqladminV1beta4::SqlInstancesStartExternalSyncRequest::Representation
1426
+ command.request_object = sql_instances_start_external_sync_request_object
1428
1427
  command.response_representation = Google::Apis::SqladminV1beta4::Operation::Representation
1429
1428
  command.response_class = Google::Apis::SqladminV1beta4::Operation
1430
1429
  command.params['project'] = project unless project.nil?
1431
1430
  command.params['instance'] = instance unless instance.nil?
1432
- command.query['skipVerification'] = skip_verification unless skip_verification.nil?
1433
- command.query['syncMode'] = sync_mode unless sync_mode.nil?
1434
1431
  command.query['fields'] = fields unless fields.nil?
1435
1432
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1436
1433
  execute_or_queue_command(command, &block)
@@ -1441,10 +1438,7 @@ module Google
1441
1438
  # Project ID of the project that contains the instance.
1442
1439
  # @param [String] instance
1443
1440
  # Cloud SQL instance ID. This does not include the project ID.
1444
- # @param [String] sync_mode
1445
- # External sync mode
1446
- # @param [Boolean] verify_connection_only
1447
- # Flag to enable verifying connection only
1441
+ # @param [Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsRequest] sql_instances_verify_external_sync_settings_request_object
1448
1442
  # @param [String] fields
1449
1443
  # Selector specifying which fields to include in a partial response.
1450
1444
  # @param [String] quota_user
@@ -1462,14 +1456,14 @@ module Google
1462
1456
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1463
1457
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1464
1458
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1465
- def verify_project_instance_external_sync_settings(project, instance, sync_mode: nil, verify_connection_only: nil, fields: nil, quota_user: nil, options: nil, &block)
1459
+ def verify_project_instance_external_sync_settings(project, instance, sql_instances_verify_external_sync_settings_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1466
1460
  command = make_simple_command(:post, 'sql/v1beta4/projects/{project}/instances/{instance}/verifyExternalSyncSettings', options)
1461
+ command.request_representation = Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsRequest::Representation
1462
+ command.request_object = sql_instances_verify_external_sync_settings_request_object
1467
1463
  command.response_representation = Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse::Representation
1468
1464
  command.response_class = Google::Apis::SqladminV1beta4::SqlInstancesVerifyExternalSyncSettingsResponse
1469
1465
  command.params['project'] = project unless project.nil?
1470
1466
  command.params['instance'] = instance unless instance.nil?
1471
- command.query['syncMode'] = sync_mode unless sync_mode.nil?
1472
- command.query['verifyConnectionOnly'] = verify_connection_only unless verify_connection_only.nil?
1473
1467
  command.query['fields'] = fields unless fields.nil?
1474
1468
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1475
1469
  execute_or_queue_command(command, &block)
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta4'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
35
  # Manage your Google SQL Service instances
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-sqladmin_v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-02 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.15.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sqladmin_v1beta4
63
63
  post_install_message:
64
64
  rdoc_options: []