google-apis-sqladmin_v1beta4 0.1.0 → 0.6.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: 17ccae49f4713e013e5807913cca29f3e8f277ef988ea3fad31da24c8596a063
4
- data.tar.gz: 640f037076b6a8fe737d7f33bd1a73303d79e9bd4eb67cdf3024f75b398964cc
3
+ metadata.gz: 8566e3706c006d8cf10041a81a92ec1fe721f0722cd8c77c2acdcff72ded8090
4
+ data.tar.gz: 8a4c7c322db76997e421fc478995d4831e833806cc5e02f79e459ab52e591476
5
5
  SHA512:
6
- metadata.gz: dd01b08799451f9aaf6d2a3cdacb233e69f67cfcad4d9437d1f768d26d3669eabf82837f83c57631accce7d52a21c2ea477d5b74bf77f2d21452fe209bf88bd9
7
- data.tar.gz: d1afa38e938d093ca5b396e82b09d3952b84196d4c1ff5aa70e1c7accd57c26a22abb1b1ea946128338da3a69a0a1a3e6989a60bb91738a56ae82d6958f94350
6
+ metadata.gz: 8c3f4b5ab5067f2d599da3cfbef3bdec6f871bd34f021b1fa7b099ca04c19cf7df64ef5309c1a6af731873171455d95eea8c9462476d73ccaf284ea6a2b30959
7
+ data.tar.gz: 520616334311527bb5a28b59322f48597a2e8fd969878e15ef64f9d07ed96f0b641ea2bd388315da84580e2191e49bb6d3bc6bd13ad5f6cc22159fd93aad2f78
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.6.0 (2021-03-31)
4
+
5
+ * Regenerated from discovery document revision 20210321
6
+
7
+ ### v0.5.0 (2021-03-19)
8
+
9
+ * Unspecified changes
10
+
11
+ ### v0.4.0 (2021-03-11)
12
+
13
+ * Regenerated from discovery document revision 20210310
14
+ * Regenerated using generator version 0.2.0
15
+
16
+ ### v0.3.0 (2021-03-04)
17
+
18
+ * Unspecified changes
19
+
20
+ ### v0.2.0 (2021-01-27)
21
+
22
+ * Regenerated from discovery document revision 20210119
23
+ * Regenerated using generator version 0.1.2
24
+
3
25
  ### v0.1.0 (2021-01-07)
4
26
 
5
27
  * Regenerated using generator version 0.1.1
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta4'
31
31
 
32
- # View and manage your data across Google Cloud Platform services
32
+ # See, edit, configure, and delete your Google Cloud Platform data
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
35
  # Manage your Google SQL Service instances
@@ -74,6 +74,11 @@ module Google
74
74
  # @return [String]
75
75
  attr_accessor :message
76
76
 
77
+ # The region name for REGION_UNREACHABLE warning.
78
+ # Corresponds to the JSON property `region`
79
+ # @return [String]
80
+ attr_accessor :region
81
+
77
82
  def initialize(**args)
78
83
  update!(**args)
79
84
  end
@@ -82,6 +87,7 @@ module Google
82
87
  def update!(**args)
83
88
  @code = args[:code] if args.key?(:code)
84
89
  @message = args[:message] if args.key?(:message)
90
+ @region = args[:region] if args.key?(:region)
85
91
  end
86
92
  end
87
93
 
@@ -291,7 +297,8 @@ module Google
291
297
  # @return [String]
292
298
  attr_accessor :status
293
299
 
294
- # The type of this run; can be either "AUTOMATED" or "ON_DEMAND".
300
+ # The type of this run; can be either "AUTOMATED" or "ON_DEMAND". This field
301
+ # defaults to "ON_DEMAND" and is ignored, when specified for insert requests.
295
302
  # Corresponds to the JSON property `type`
296
303
  # @return [String]
297
304
  attr_accessor :type
@@ -531,7 +538,7 @@ module Google
531
538
  end
532
539
  end
533
540
 
534
- # A Cloud SQL instance resource. Next field: 36
541
+ # A Cloud SQL instance resource.
535
542
  class DatabaseInstance
536
543
  include Google::Apis::Core::Hashable
537
544
 
@@ -557,8 +564,8 @@ module Google
557
564
  # The database engine type and version. The *databaseVersion* field cannot be
558
565
  # changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (
559
566
  # default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*,
560
- # *POSTGRES_11* or *POSTGRES_12* (default). SQL Server instances: *
561
- # SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *
567
+ # *POSTGRES_11*, *POSTGRES_12*, or *POSTGRES_13* (default). SQL Server instances:
568
+ # *SQLSERVER_2017_STANDARD* (default), *SQLSERVER_2017_ENTERPRISE*, *
562
569
  # SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.
563
570
  # Corresponds to the JSON property `databaseVersion`
564
571
  # @return [String]
@@ -666,8 +673,7 @@ module Google
666
673
  # @return [String]
667
674
  attr_accessor :root_password
668
675
 
669
- # The status indicating if instance satisfies physical zone separation. Reserved
670
- # for future use.
676
+ # The status indicating if instance satisfiesPzs. Reserved for future use.
671
677
  # Corresponds to the JSON property `satisfiesPzs`
672
678
  # @return [Boolean]
673
679
  attr_accessor :satisfies_pzs
@@ -709,12 +715,11 @@ module Google
709
715
 
710
716
  # The current serving state of the Cloud SQL instance. This can be one of the
711
717
  # following. *SQL_INSTANCE_STATE_UNSPECIFIED*: The state of the instance is
712
- # unknown. *RUNNABLE*: The instance has been stopped by owner. It is not
713
- # currently running, but it's ready to be restarted. *SUSPENDED*: The instance
714
- # is not available, for example due to problems with billing. for example due to
715
- # problems with billing. *PENDING_DELETE*: The instance is being deleted. *
716
- # PENDING_CREATE*: The instance is being created. *MAINTENANCE*: The instance is
717
- # down for maintenance. *FAILED*: The instance creation failed.
718
+ # unknown. *RUNNABLE*: The instance is running, or has been stopped by owner. *
719
+ # SUSPENDED*: The instance is not available, for example due to problems with
720
+ # billing. *PENDING_DELETE*: The instance is being deleted. *PENDING_CREATE*:
721
+ # The instance is being created. *MAINTENANCE*: The instance is down for
722
+ # maintenance. *FAILED*: The instance creation failed.
718
723
  # Corresponds to the JSON property `state`
719
724
  # @return [String]
720
725
  attr_accessor :state
@@ -1045,7 +1050,9 @@ module Google
1045
1050
  # by using this property or by using the *csvExportOptions.selectQuery* property,
1046
1051
  # which takes precedence over this property. *PostgreSQL instances:* You must
1047
1052
  # specify one database to be exported. If *fileType* is *CSV*, this database
1048
- # must match the one specified in the *csvExportOptions.selectQuery* property.
1053
+ # must match the one specified in the *csvExportOptions.selectQuery* property. *
1054
+ # SQL Server instances:* You must specify one database to be exported, and the *
1055
+ # fileType* must be *BAK*.
1049
1056
  # Corresponds to the JSON property `databases`
1050
1057
  # @return [Array<String>]
1051
1058
  attr_accessor :databases
@@ -1460,7 +1467,8 @@ module Google
1460
1467
 
1461
1468
  # Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-
1462
1469
  # 4500 bytes. Query length more than this field value will be truncated to this
1463
- # value. When unset, query length will be the default value.
1470
+ # value. When unset, query length will be the default value. Changing query
1471
+ # length will restart the database.
1464
1472
  # Corresponds to the JSON property `queryStringLength`
1465
1473
  # @return [Fixnum]
1466
1474
  attr_accessor :query_string_length
@@ -2024,7 +2032,7 @@ module Google
2024
2032
 
2025
2033
  # An Operation resource. For successful operations that return an Operation
2026
2034
  # resource, only the fields relevant to the operation are populated in the
2027
- # resource. Next field: 18
2035
+ # resource.
2028
2036
  class Operation
2029
2037
  include Google::Apis::Core::Hashable
2030
2038
 
@@ -2500,8 +2508,7 @@ module Google
2500
2508
  # @return [Fixnum]
2501
2509
  attr_accessor :storage_auto_resize_limit
2502
2510
 
2503
- # The tier (or machine type) for this instance, for example *db-n1-standard-1* (
2504
- # MySQL instances) or *db-custom-1-3840* (PostgreSQL instances).
2511
+ # The tier (or machine type) for this instance, for example *db-custom-1-3840* .
2505
2512
  # Corresponds to the JSON property `tier`
2506
2513
  # @return [String]
2507
2514
  attr_accessor :tier
@@ -2570,7 +2577,7 @@ module Google
2570
2577
  end
2571
2578
  end
2572
2579
 
2573
- # External primary instance migration setting error.
2580
+ # External primary instance migration setting error/warning.
2574
2581
  class SqlExternalSyncSettingError
2575
2582
  include Google::Apis::Core::Hashable
2576
2583
 
@@ -2579,7 +2586,7 @@ module Google
2579
2586
  # @return [String]
2580
2587
  attr_accessor :detail
2581
2588
 
2582
- # This is always *sql#migrationSettingError*.
2589
+ # Can be *sql#externalSyncSettingError* or *sql#externalSyncSettingWarning*.
2583
2590
  # Corresponds to the JSON property `kind`
2584
2591
  # @return [String]
2585
2592
  attr_accessor :kind
@@ -2634,6 +2641,11 @@ module Google
2634
2641
  # @return [String]
2635
2642
  attr_accessor :kind
2636
2643
 
2644
+ # List of migration warnings.
2645
+ # Corresponds to the JSON property `warnings`
2646
+ # @return [Array<Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError>]
2647
+ attr_accessor :warnings
2648
+
2637
2649
  def initialize(**args)
2638
2650
  update!(**args)
2639
2651
  end
@@ -2642,6 +2654,7 @@ module Google
2642
2654
  def update!(**args)
2643
2655
  @errors = args[:errors] if args.key?(:errors)
2644
2656
  @kind = args[:kind] if args.key?(:kind)
2657
+ @warnings = args[:warnings] if args.key?(:warnings)
2645
2658
  end
2646
2659
  end
2647
2660
 
@@ -2828,6 +2841,11 @@ module Google
2828
2841
  class SslCertsCreateEphemeralRequest
2829
2842
  include Google::Apis::Core::Hashable
2830
2843
 
2844
+ # Access token to include in the signed certificate.
2845
+ # Corresponds to the JSON property `access_token`
2846
+ # @return [String]
2847
+ attr_accessor :access_token
2848
+
2831
2849
  # PEM encoded public key to include in the signed certificate.
2832
2850
  # Corresponds to the JSON property `public_key`
2833
2851
  # @return [String]
@@ -2839,6 +2857,7 @@ module Google
2839
2857
 
2840
2858
  # Update properties of this object
2841
2859
  def update!(**args)
2860
+ @access_token = args[:access_token] if args.key?(:access_token)
2842
2861
  @public_key = args[:public_key] if args.key?(:public_key)
2843
2862
  end
2844
2863
  end
@@ -2879,7 +2898,7 @@ module Google
2879
2898
 
2880
2899
  # An Operation resource. For successful operations that return an Operation
2881
2900
  # resource, only the fields relevant to the operation are populated in the
2882
- # resource. Next field: 18
2901
+ # resource.
2883
2902
  # Corresponds to the JSON property `operation`
2884
2903
  # @return [Google::Apis::SqladminV1beta4::Operation]
2885
2904
  attr_accessor :operation
@@ -2951,7 +2970,7 @@ module Google
2951
2970
  # @return [Array<String>]
2952
2971
  attr_accessor :region
2953
2972
 
2954
- # An identifier for the machine type, for example, db-n1-standard-1. For related
2973
+ # An identifier for the machine type, for example, db-custom-1-3840. For related
2955
2974
  # information, see Pricing.
2956
2975
  # Corresponds to the JSON property `tier`
2957
2976
  # @return [String]
@@ -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.1.0"
19
+ GEM_VERSION = "0.6.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.1"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20201205"
25
+ REVISION = "20210321"
26
26
  end
27
27
  end
28
28
  end
@@ -487,6 +487,7 @@ module Google
487
487
  class Representation < Google::Apis::Core::JsonRepresentation
488
488
  property :code, as: 'code'
489
489
  property :message, as: 'message'
490
+ property :region, as: 'region'
490
491
  end
491
492
  end
492
493
 
@@ -1160,6 +1161,8 @@ module Google
1160
1161
  collection :errors, as: 'errors', class: Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError, decorator: Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError::Representation
1161
1162
 
1162
1163
  property :kind, as: 'kind'
1164
+ collection :warnings, as: 'warnings', class: Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError, decorator: Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError::Representation
1165
+
1163
1166
  end
1164
1167
  end
1165
1168
 
@@ -1215,6 +1218,7 @@ module Google
1215
1218
  class SslCertsCreateEphemeralRequest
1216
1219
  # @private
1217
1220
  class Representation < Google::Apis::Core::JsonRepresentation
1221
+ property :access_token, as: 'access_token'
1218
1222
  property :public_key, as: 'public_key'
1219
1223
  end
1220
1224
  end
@@ -1137,7 +1137,7 @@ module Google
1137
1137
  execute_or_queue_command(command, &block)
1138
1138
  end
1139
1139
 
1140
- # Truncate MySQL general and slow query log tables
1140
+ # Truncate MySQL general and slow query log tables MySQL only.
1141
1141
  # @param [String] project
1142
1142
  # Project ID of the Cloud SQL project.
1143
1143
  # @param [String] instance
@@ -1582,8 +1582,8 @@ module Google
1582
1582
  execute_or_queue_command(command, &block)
1583
1583
  end
1584
1584
 
1585
- # Lists all available machine types (tiers) for Cloud SQL, for example, db-n1-
1586
- # standard-1. For related information, see Pricing.
1585
+ # Lists all available machine types (tiers) for Cloud SQL, for example, db-
1586
+ # custom-1-3840. For related information, see Pricing.
1587
1587
  # @param [String] project
1588
1588
  # Project ID of the project for which to list tiers.
1589
1589
  # @param [String] fields
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.1.0
4
+ version: 0.6.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-01-08 00:00:00.000000000 Z
11
+ date: 2021-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sqladmin_v1beta4/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.6.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-sqladmin_v1beta4
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
62
62
  requirements:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
- version: '2.4'
65
+ version: '2.5'
66
66
  required_rubygems_version: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.1.4
72
+ rubygems_version: 3.2.13
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud SQL Admin API V1beta4