google-apis-sqladmin_v1beta4 0.2.0 → 0.7.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: 74776b4aad07d4d393ff13623832fcc47f98a5051282c0567f9a9bd0fe88faed
4
- data.tar.gz: c83f443000d6db640182ec6cc5cfe0f409b308a62abbe9405441163250be566d
3
+ metadata.gz: ac527d19fe66e47d8ef576e6f3c59c329c484f613109b4747560d38c2e0cfa3a
4
+ data.tar.gz: 133317cba94118551fc0868b45ff66ac05fbf0d9c504d2d5dd5403c42ebd0845
5
5
  SHA512:
6
- metadata.gz: 6d0ee6611ac1937ca76cffe730eb458adfe6c59ab3ed6dc0399a5d7ab6744220ca06a8db3f67f9fe0b33ae64289d961cbb9083ba88b72189e7aeb1fc6dcfe171
7
- data.tar.gz: 5ae4ae3569e1c1444c0798d4903529d92a95292fe5cdaa56a34ec00eb9dd0d2f76d5f71cd9755e867bfa1b420b602ad56afd85f15d14d8ef0b7a1ac517b46340
6
+ metadata.gz: cbd91677c0568b026d28aea201254f906f0f67da2ff533859634cd765b5a5592ec39def38060fb4cd752ed6ee39e5e2ee39a03401907ae98cdbb9f6c806cef78
7
+ data.tar.gz: 1347ffaf7cb08fbec3bfd23803175f269ac605426f52166c05d71311c64c979302f7bff8475552bc9790d616bd945638aa81048ede249f5b37496c82a48b347f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Release history for google-apis-sqladmin_v1beta4
2
2
 
3
+ ### v0.7.0 (2021-04-29)
4
+
5
+ * Regenerated from discovery document revision 20210420
6
+
7
+ ### v0.6.0 (2021-03-31)
8
+
9
+ * Regenerated from discovery document revision 20210321
10
+
11
+ ### v0.5.0 (2021-03-19)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.4.0 (2021-03-11)
16
+
17
+ * Regenerated from discovery document revision 20210310
18
+ * Regenerated using generator version 0.2.0
19
+
20
+ ### v0.3.0 (2021-03-04)
21
+
22
+ * Unspecified changes
23
+
3
24
  ### v0.2.0 (2021-01-27)
4
25
 
5
26
  * Regenerated from discovery document revision 20210119
@@ -538,7 +538,7 @@ module Google
538
538
  end
539
539
  end
540
540
 
541
- # A Cloud SQL instance resource. Next field: 36
541
+ # A Cloud SQL instance resource.
542
542
  class DatabaseInstance
543
543
  include Google::Apis::Core::Hashable
544
544
 
@@ -564,8 +564,8 @@ module Google
564
564
  # The database engine type and version. The *databaseVersion* field cannot be
565
565
  # changed after instance creation. MySQL instances: *MYSQL_8_0*, *MYSQL_5_7* (
566
566
  # default), or *MYSQL_5_6*. PostgreSQL instances: *POSTGRES_9_6*, *POSTGRES_10*,
567
- # *POSTGRES_11* or *POSTGRES_12* (default). SQL Server instances: *
568
- # 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*, *
569
569
  # SQLSERVER_2017_EXPRESS*, or *SQLSERVER_2017_WEB*.
570
570
  # Corresponds to the JSON property `databaseVersion`
571
571
  # @return [String]
@@ -644,6 +644,11 @@ module Google
644
644
  # @return [Google::Apis::SqladminV1beta4::OnPremisesConfiguration]
645
645
  attr_accessor :on_premises_configuration
646
646
 
647
+ # This message wraps up the information written by out-of-disk detection job.
648
+ # Corresponds to the JSON property `outOfDiskReport`
649
+ # @return [Google::Apis::SqladminV1beta4::SqlOutOfDiskReport]
650
+ attr_accessor :out_of_disk_report
651
+
647
652
  # The project ID of the project containing the Cloud SQL instance. The Google
648
653
  # apps domain is prefixed if applicable.
649
654
  # Corresponds to the JSON property `project`
@@ -673,8 +678,7 @@ module Google
673
678
  # @return [String]
674
679
  attr_accessor :root_password
675
680
 
676
- # The status indicating if instance satisfies physical zone separation. Reserved
677
- # for future use.
681
+ # The status indicating if instance satisfiesPzs. Reserved for future use.
678
682
  # Corresponds to the JSON property `satisfiesPzs`
679
683
  # @return [Boolean]
680
684
  attr_accessor :satisfies_pzs
@@ -718,10 +722,9 @@ module Google
718
722
  # following. *SQL_INSTANCE_STATE_UNSPECIFIED*: The state of the instance is
719
723
  # unknown. *RUNNABLE*: The instance is running, or has been stopped by owner. *
720
724
  # SUSPENDED*: The instance is not available, for example due to problems with
721
- # billing. for example due to problems with billing. *PENDING_DELETE*: The
722
- # instance is being deleted. *PENDING_CREATE*: The instance is being created. *
723
- # MAINTENANCE*: The instance is down for maintenance. *FAILED*: The instance
724
- # creation failed.
725
+ # billing. *PENDING_DELETE*: The instance is being deleted. *PENDING_CREATE*:
726
+ # The instance is being created. *MAINTENANCE*: The instance is down for
727
+ # maintenance. *FAILED*: The instance creation failed.
725
728
  # Corresponds to the JSON property `state`
726
729
  # @return [String]
727
730
  attr_accessor :state
@@ -754,6 +757,7 @@ module Google
754
757
  @max_disk_size = args[:max_disk_size] if args.key?(:max_disk_size)
755
758
  @name = args[:name] if args.key?(:name)
756
759
  @on_premises_configuration = args[:on_premises_configuration] if args.key?(:on_premises_configuration)
760
+ @out_of_disk_report = args[:out_of_disk_report] if args.key?(:out_of_disk_report)
757
761
  @project = args[:project] if args.key?(:project)
758
762
  @region = args[:region] if args.key?(:region)
759
763
  @replica_configuration = args[:replica_configuration] if args.key?(:replica_configuration)
@@ -1052,7 +1056,9 @@ module Google
1052
1056
  # by using this property or by using the *csvExportOptions.selectQuery* property,
1053
1057
  # which takes precedence over this property. *PostgreSQL instances:* You must
1054
1058
  # specify one database to be exported. If *fileType* is *CSV*, this database
1055
- # must match the one specified in the *csvExportOptions.selectQuery* property.
1059
+ # must match the one specified in the *csvExportOptions.selectQuery* property. *
1060
+ # SQL Server instances:* You must specify one database to be exported, and the *
1061
+ # fileType* must be *BAK*.
1056
1062
  # Corresponds to the JSON property `databases`
1057
1063
  # @return [Array<String>]
1058
1064
  attr_accessor :databases
@@ -1467,7 +1473,8 @@ module Google
1467
1473
 
1468
1474
  # Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-
1469
1475
  # 4500 bytes. Query length more than this field value will be truncated to this
1470
- # value. When unset, query length will be the default value.
1476
+ # value. When unset, query length will be the default value. Changing query
1477
+ # length will restart the database.
1471
1478
  # Corresponds to the JSON property `queryStringLength`
1472
1479
  # @return [Fixnum]
1473
1480
  attr_accessor :query_string_length
@@ -2031,7 +2038,7 @@ module Google
2031
2038
 
2032
2039
  # An Operation resource. For successful operations that return an Operation
2033
2040
  # resource, only the fields relevant to the operation are populated in the
2034
- # resource. Next field: 18
2041
+ # resource.
2035
2042
  class Operation
2036
2043
  include Google::Apis::Core::Hashable
2037
2044
 
@@ -2507,8 +2514,7 @@ module Google
2507
2514
  # @return [Fixnum]
2508
2515
  attr_accessor :storage_auto_resize_limit
2509
2516
 
2510
- # The tier (or machine type) for this instance, for example *db-n1-standard-1* (
2511
- # MySQL instances) or *db-custom-1-3840* (PostgreSQL instances).
2517
+ # The tier (or machine type) for this instance, for example *db-custom-1-3840* .
2512
2518
  # Corresponds to the JSON property `tier`
2513
2519
  # @return [String]
2514
2520
  attr_accessor :tier
@@ -2577,7 +2583,7 @@ module Google
2577
2583
  end
2578
2584
  end
2579
2585
 
2580
- # External primary instance migration setting error.
2586
+ # External primary instance migration setting error/warning.
2581
2587
  class SqlExternalSyncSettingError
2582
2588
  include Google::Apis::Core::Hashable
2583
2589
 
@@ -2586,7 +2592,7 @@ module Google
2586
2592
  # @return [String]
2587
2593
  attr_accessor :detail
2588
2594
 
2589
- # This is always *sql#migrationSettingError*.
2595
+ # Can be *sql#externalSyncSettingError* or *sql#externalSyncSettingWarning*.
2590
2596
  # Corresponds to the JSON property `kind`
2591
2597
  # @return [String]
2592
2598
  attr_accessor :kind
@@ -2641,6 +2647,11 @@ module Google
2641
2647
  # @return [String]
2642
2648
  attr_accessor :kind
2643
2649
 
2650
+ # List of migration warnings.
2651
+ # Corresponds to the JSON property `warnings`
2652
+ # @return [Array<Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError>]
2653
+ attr_accessor :warnings
2654
+
2644
2655
  def initialize(**args)
2645
2656
  update!(**args)
2646
2657
  end
@@ -2649,6 +2660,36 @@ module Google
2649
2660
  def update!(**args)
2650
2661
  @errors = args[:errors] if args.key?(:errors)
2651
2662
  @kind = args[:kind] if args.key?(:kind)
2663
+ @warnings = args[:warnings] if args.key?(:warnings)
2664
+ end
2665
+ end
2666
+
2667
+ # This message wraps up the information written by out-of-disk detection job.
2668
+ class SqlOutOfDiskReport
2669
+ include Google::Apis::Core::Hashable
2670
+
2671
+ # The minimum recommended increase size in GigaBytes This field is consumed by
2672
+ # the frontend Writers: -- the proactive database wellness job for OOD. Readers:
2673
+ # -- the Pantheon frontend
2674
+ # Corresponds to the JSON property `sqlMinRecommendedIncreaseSizeGb`
2675
+ # @return [Fixnum]
2676
+ attr_accessor :sql_min_recommended_increase_size_gb
2677
+
2678
+ # This field represents the state generated by the proactive database wellness
2679
+ # job for OutOfDisk issues. Writers: -- the proactive database wellness job for
2680
+ # OOD. Readers: -- the Pantheon frontend -- the proactive database wellness job
2681
+ # Corresponds to the JSON property `sqlOutOfDiskState`
2682
+ # @return [String]
2683
+ attr_accessor :sql_out_of_disk_state
2684
+
2685
+ def initialize(**args)
2686
+ update!(**args)
2687
+ end
2688
+
2689
+ # Update properties of this object
2690
+ def update!(**args)
2691
+ @sql_min_recommended_increase_size_gb = args[:sql_min_recommended_increase_size_gb] if args.key?(:sql_min_recommended_increase_size_gb)
2692
+ @sql_out_of_disk_state = args[:sql_out_of_disk_state] if args.key?(:sql_out_of_disk_state)
2652
2693
  end
2653
2694
  end
2654
2695
 
@@ -2892,7 +2933,7 @@ module Google
2892
2933
 
2893
2934
  # An Operation resource. For successful operations that return an Operation
2894
2935
  # resource, only the fields relevant to the operation are populated in the
2895
- # resource. Next field: 18
2936
+ # resource.
2896
2937
  # Corresponds to the JSON property `operation`
2897
2938
  # @return [Google::Apis::SqladminV1beta4::Operation]
2898
2939
  attr_accessor :operation
@@ -2964,7 +3005,7 @@ module Google
2964
3005
  # @return [Array<String>]
2965
3006
  attr_accessor :region
2966
3007
 
2967
- # An identifier for the machine type, for example, db-n1-standard-1. For related
3008
+ # An identifier for the machine type, for example, db-custom-1-3840. For related
2968
3009
  # information, see Pricing.
2969
3010
  # Corresponds to the JSON property `tier`
2970
3011
  # @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.2.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.1.2"
22
+ GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210119"
25
+ REVISION = "20210420"
26
26
  end
27
27
  end
28
28
  end
@@ -388,6 +388,12 @@ module Google
388
388
  include Google::Apis::Core::JsonObjectSupport
389
389
  end
390
390
 
391
+ class SqlOutOfDiskReport
392
+ class Representation < Google::Apis::Core::JsonRepresentation; end
393
+
394
+ include Google::Apis::Core::JsonObjectSupport
395
+ end
396
+
391
397
  class SqlScheduledMaintenance
392
398
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
399
 
@@ -628,6 +634,8 @@ module Google
628
634
  property :name, as: 'name'
629
635
  property :on_premises_configuration, as: 'onPremisesConfiguration', class: Google::Apis::SqladminV1beta4::OnPremisesConfiguration, decorator: Google::Apis::SqladminV1beta4::OnPremisesConfiguration::Representation
630
636
 
637
+ property :out_of_disk_report, as: 'outOfDiskReport', class: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport, decorator: Google::Apis::SqladminV1beta4::SqlOutOfDiskReport::Representation
638
+
631
639
  property :project, as: 'project'
632
640
  property :region, as: 'region'
633
641
  property :replica_configuration, as: 'replicaConfiguration', class: Google::Apis::SqladminV1beta4::ReplicaConfiguration, decorator: Google::Apis::SqladminV1beta4::ReplicaConfiguration::Representation
@@ -1161,6 +1169,16 @@ module Google
1161
1169
  collection :errors, as: 'errors', class: Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError, decorator: Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError::Representation
1162
1170
 
1163
1171
  property :kind, as: 'kind'
1172
+ collection :warnings, as: 'warnings', class: Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError, decorator: Google::Apis::SqladminV1beta4::SqlExternalSyncSettingError::Representation
1173
+
1174
+ end
1175
+ end
1176
+
1177
+ class SqlOutOfDiskReport
1178
+ # @private
1179
+ class Representation < Google::Apis::Core::JsonRepresentation
1180
+ property :sql_min_recommended_increase_size_gb, as: 'sqlMinRecommendedIncreaseSizeGb'
1181
+ property :sql_out_of_disk_state, as: 'sqlOutOfDiskState'
1164
1182
  end
1165
1183
  end
1166
1184
 
@@ -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.2.0
4
+ version: 0.7.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-02-08 00:00:00.000000000 Z
11
+ date: 2021-05-18 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.2.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.7.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.2.6
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for Cloud SQL Admin API V1beta4