google-apis-sqladmin_v1beta4 0.4.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/google/apis/sqladmin_v1beta4.rb +1 -1
- data/lib/google/apis/sqladmin_v1beta4/classes.rb +52 -11
- data/lib/google/apis/sqladmin_v1beta4/gem_version.rb +3 -3
- data/lib/google/apis/sqladmin_v1beta4/representations.rb +17 -0
- data/lib/google/apis/sqladmin_v1beta4/service.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b86ce485d17fd46d7baa6516cca2aad85dfb288b3d97add435b867334a13cf37
|
4
|
+
data.tar.gz: 51061fa4a4c807292a013c271ad1092c83b7c0ec7dfd31ac7149a7199a1a7681
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c3f7a4d23b25ae36d806e817cfde339531b275ff12c5ee39b098ee9b96f6fca743d1a578d7b7c9af01164668e512b7629ea7a0bde32547791e95484607f60d1
|
7
|
+
data.tar.gz: 1bcd509cc3059a86186d7aec5960f55bb38f2b02ec4750564e579339900b12bda331eba68d9fefce6f1ac0b3cb25dd7d0b7b9172f3176497fd229351b3e8c031
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Release history for google-apis-sqladmin_v1beta4
|
2
2
|
|
3
|
+
### v0.9.0 (2021-06-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210521
|
6
|
+
* Regenerated using generator version 0.3.0
|
7
|
+
|
8
|
+
### v0.8.0 (2021-05-20)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.7.0 (2021-04-29)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210420
|
15
|
+
|
16
|
+
### v0.6.0 (2021-03-31)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210321
|
19
|
+
|
20
|
+
### v0.5.0 (2021-03-19)
|
21
|
+
|
22
|
+
* Unspecified changes
|
23
|
+
|
3
24
|
### v0.4.0 (2021-03-11)
|
4
25
|
|
5
26
|
* Regenerated from discovery document revision 20210310
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# This is NOT the gem version.
|
30
30
|
VERSION = 'V1beta4'
|
31
31
|
|
32
|
-
#
|
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
|
@@ -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 *
|
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`
|
@@ -703,7 +708,7 @@ module Google
|
|
703
708
|
attr_accessor :server_ca_cert
|
704
709
|
|
705
710
|
# The service account email address assigned to the instance. This property is
|
706
|
-
#
|
711
|
+
# read-only.
|
707
712
|
# Corresponds to the JSON property `serviceAccountEmailAddress`
|
708
713
|
# @return [String]
|
709
714
|
attr_accessor :service_account_email_address
|
@@ -717,10 +722,9 @@ module Google
|
|
717
722
|
# following. *SQL_INSTANCE_STATE_UNSPECIFIED*: The state of the instance is
|
718
723
|
# unknown. *RUNNABLE*: The instance is running, or has been stopped by owner. *
|
719
724
|
# SUSPENDED*: The instance is not available, for example due to problems with
|
720
|
-
# billing.
|
721
|
-
# instance is being
|
722
|
-
#
|
723
|
-
# 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.
|
724
728
|
# Corresponds to the JSON property `state`
|
725
729
|
# @return [String]
|
726
730
|
attr_accessor :state
|
@@ -753,6 +757,7 @@ module Google
|
|
753
757
|
@max_disk_size = args[:max_disk_size] if args.key?(:max_disk_size)
|
754
758
|
@name = args[:name] if args.key?(:name)
|
755
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)
|
756
761
|
@project = args[:project] if args.key?(:project)
|
757
762
|
@region = args[:region] if args.key?(:region)
|
758
763
|
@replica_configuration = args[:replica_configuration] if args.key?(:replica_configuration)
|
@@ -1466,9 +1471,16 @@ module Google
|
|
1466
1471
|
attr_accessor :query_insights_enabled
|
1467
1472
|
alias_method :query_insights_enabled?, :query_insights_enabled
|
1468
1473
|
|
1474
|
+
# Number of query plans generated by Insights per minute. Default is 5. Changing
|
1475
|
+
# this will restart the database.
|
1476
|
+
# Corresponds to the JSON property `queryPlansPerMinute`
|
1477
|
+
# @return [Fixnum]
|
1478
|
+
attr_accessor :query_plans_per_minute
|
1479
|
+
|
1469
1480
|
# Maximum query length stored in bytes. Default value: 1024 bytes. Range: 256-
|
1470
1481
|
# 4500 bytes. Query length more than this field value will be truncated to this
|
1471
|
-
# value. When unset, query length will be the default value.
|
1482
|
+
# value. When unset, query length will be the default value. Changing query
|
1483
|
+
# length will restart the database.
|
1472
1484
|
# Corresponds to the JSON property `queryStringLength`
|
1473
1485
|
# @return [Fixnum]
|
1474
1486
|
attr_accessor :query_string_length
|
@@ -1492,6 +1504,7 @@ module Google
|
|
1492
1504
|
# Update properties of this object
|
1493
1505
|
def update!(**args)
|
1494
1506
|
@query_insights_enabled = args[:query_insights_enabled] if args.key?(:query_insights_enabled)
|
1507
|
+
@query_plans_per_minute = args[:query_plans_per_minute] if args.key?(:query_plans_per_minute)
|
1495
1508
|
@query_string_length = args[:query_string_length] if args.key?(:query_string_length)
|
1496
1509
|
@record_application_tags = args[:record_application_tags] if args.key?(:record_application_tags)
|
1497
1510
|
@record_client_address = args[:record_client_address] if args.key?(:record_client_address)
|
@@ -2508,8 +2521,7 @@ module Google
|
|
2508
2521
|
# @return [Fixnum]
|
2509
2522
|
attr_accessor :storage_auto_resize_limit
|
2510
2523
|
|
2511
|
-
# The tier (or machine type) for this instance, for example *db-
|
2512
|
-
# MySQL instances) or *db-custom-1-3840* (PostgreSQL instances).
|
2524
|
+
# The tier (or machine type) for this instance, for example *db-custom-1-3840* .
|
2513
2525
|
# Corresponds to the JSON property `tier`
|
2514
2526
|
# @return [String]
|
2515
2527
|
attr_accessor :tier
|
@@ -2659,6 +2671,35 @@ module Google
|
|
2659
2671
|
end
|
2660
2672
|
end
|
2661
2673
|
|
2674
|
+
# This message wraps up the information written by out-of-disk detection job.
|
2675
|
+
class SqlOutOfDiskReport
|
2676
|
+
include Google::Apis::Core::Hashable
|
2677
|
+
|
2678
|
+
# The minimum recommended increase size in GigaBytes This field is consumed by
|
2679
|
+
# the frontend Writers: -- the proactive database wellness job for OOD. Readers:
|
2680
|
+
# -- the Pantheon frontend
|
2681
|
+
# Corresponds to the JSON property `sqlMinRecommendedIncreaseSizeGb`
|
2682
|
+
# @return [Fixnum]
|
2683
|
+
attr_accessor :sql_min_recommended_increase_size_gb
|
2684
|
+
|
2685
|
+
# This field represents the state generated by the proactive database wellness
|
2686
|
+
# job for OutOfDisk issues. Writers: -- the proactive database wellness job for
|
2687
|
+
# OOD. Readers: -- the Pantheon frontend -- the proactive database wellness job
|
2688
|
+
# Corresponds to the JSON property `sqlOutOfDiskState`
|
2689
|
+
# @return [String]
|
2690
|
+
attr_accessor :sql_out_of_disk_state
|
2691
|
+
|
2692
|
+
def initialize(**args)
|
2693
|
+
update!(**args)
|
2694
|
+
end
|
2695
|
+
|
2696
|
+
# Update properties of this object
|
2697
|
+
def update!(**args)
|
2698
|
+
@sql_min_recommended_increase_size_gb = args[:sql_min_recommended_increase_size_gb] if args.key?(:sql_min_recommended_increase_size_gb)
|
2699
|
+
@sql_out_of_disk_state = args[:sql_out_of_disk_state] if args.key?(:sql_out_of_disk_state)
|
2700
|
+
end
|
2701
|
+
end
|
2702
|
+
|
2662
2703
|
# Any scheduled maintenancce for this instance.
|
2663
2704
|
class SqlScheduledMaintenance
|
2664
2705
|
include Google::Apis::Core::Hashable
|
@@ -2971,7 +3012,7 @@ module Google
|
|
2971
3012
|
# @return [Array<String>]
|
2972
3013
|
attr_accessor :region
|
2973
3014
|
|
2974
|
-
# An identifier for the machine type, for example, db-
|
3015
|
+
# An identifier for the machine type, for example, db-custom-1-3840. For related
|
2975
3016
|
# information, see Pricing.
|
2976
3017
|
# Corresponds to the JSON property `tier`
|
2977
3018
|
# @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.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.3.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210521"
|
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
|
@@ -839,6 +847,7 @@ module Google
|
|
839
847
|
# @private
|
840
848
|
class Representation < Google::Apis::Core::JsonRepresentation
|
841
849
|
property :query_insights_enabled, as: 'queryInsightsEnabled'
|
850
|
+
property :query_plans_per_minute, as: 'queryPlansPerMinute'
|
842
851
|
property :query_string_length, as: 'queryStringLength'
|
843
852
|
property :record_application_tags, as: 'recordApplicationTags'
|
844
853
|
property :record_client_address, as: 'recordClientAddress'
|
@@ -1166,6 +1175,14 @@ module Google
|
|
1166
1175
|
end
|
1167
1176
|
end
|
1168
1177
|
|
1178
|
+
class SqlOutOfDiskReport
|
1179
|
+
# @private
|
1180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1181
|
+
property :sql_min_recommended_increase_size_gb, as: 'sqlMinRecommendedIncreaseSizeGb'
|
1182
|
+
property :sql_out_of_disk_state, as: 'sqlOutOfDiskState'
|
1183
|
+
end
|
1184
|
+
end
|
1185
|
+
|
1169
1186
|
class SqlScheduledMaintenance
|
1170
1187
|
# @private
|
1171
1188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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-
|
1586
|
-
#
|
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.
|
4
|
+
version: 0.9.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-
|
11
|
+
date: 2021-06-07 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.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-sqladmin_v1beta4/v0.9.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: []
|
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
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
|