google-api-client 0.23.0 → 0.23.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +114 -0
- data/CODE_OF_CONDUCT.md +43 -0
- data/MIGRATING.md +1 -5
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/service.rb +3 -3
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -3
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +9 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +34 -1
- data/generated/google/apis/appengine_v1/representations.rb +16 -0
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +67 -3
- data/generated/google/apis/appengine_v1beta/representations.rb +32 -0
- data/generated/google/apis/appengine_v1beta4.rb +1 -1
- data/generated/google/apis/appengine_v1beta5.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +6 -4
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -6
- data/generated/google/apis/chat_v1.rb +2 -2
- data/generated/google/apis/chat_v1/classes.rb +76 -0
- data/generated/google/apis/chat_v1/representations.rb +25 -0
- data/generated/google/apis/chat_v1/service.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1.rb +2 -2
- data/generated/google/apis/cloudbuild_v1/classes.rb +21 -33
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +31 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +31 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +3 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +0 -331
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -1
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +66 -22
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +40 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -3
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +38 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +9 -5
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +51 -19
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +2 -3
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +9 -12
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +4 -11
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +49 -18
- data/generated/google/apis/compute_alpha/representations.rb +6 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1114 -103
- data/generated/google/apis/compute_beta/representations.rb +431 -0
- data/generated/google/apis/compute_beta/service.rb +605 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +95 -1
- data/generated/google/apis/compute_v1/representations.rb +33 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +1 -1
- data/generated/google/apis/container_v1/service.rb +1 -1
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +348 -2
- data/generated/google/apis/container_v1beta1/representations.rb +121 -0
- data/generated/google/apis/container_v1beta1/service.rb +114 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +147 -0
- data/generated/google/apis/content_v2/representations.rb +65 -0
- data/generated/google/apis/content_v2/service.rb +81 -1
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +7 -0
- data/generated/google/apis/content_v2sandbox/representations.rb +1 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +262 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +130 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +164 -1
- data/generated/google/apis/dataproc_v1/representations.rb +70 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
- data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +40 -21
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +43 -28
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -110
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +70 -26
- data/generated/google/apis/dlp_v2/representations.rb +3 -0
- data/generated/google/apis/dlp_v2/service.rb +78 -17
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +33 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +17 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +137 -125
- data/generated/google/apis/firestore_v1beta1/representations.rb +39 -35
- data/generated/google/apis/firestore_v1beta1/service.rb +16 -16
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +0 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +17 -3
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/{sqladmin_v1beta3.rb → iamcredentials_v1.rb} +9 -13
- data/generated/google/apis/iamcredentials_v1/classes.rb +272 -0
- data/generated/google/apis/iamcredentials_v1/representations.rb +139 -0
- data/generated/google/apis/iamcredentials_v1/service.rb +207 -0
- data/generated/google/apis/indexing_v3.rb +32 -0
- data/generated/google/apis/indexing_v3/classes.rb +115 -0
- data/generated/google/apis/indexing_v3/representations.rb +72 -0
- data/generated/google/apis/indexing_v3/service.rb +122 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +73 -72
- data/generated/google/apis/jobs_v2/representations.rb +0 -1
- data/generated/google/apis/jobs_v2/service.rb +8 -7
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +42 -0
- data/generated/google/apis/logging_v2/representations.rb +17 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +42 -0
- data/generated/google/apis/logging_v2beta1/representations.rb +17 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +17 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +4 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +91 -7
- data/generated/google/apis/monitoring_v3/representations.rb +17 -0
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +1 -1
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +12 -2
- data/generated/google/apis/poly_v1/representations.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +57 -4
- data/generated/google/apis/pubsub_v1/representations.rb +19 -0
- data/generated/google/apis/pubsub_v1/service.rb +40 -2
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/script_v1.rb +4 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -4
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +42 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +17 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +284 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +78 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +42 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +17 -0
- data/generated/google/apis/{replicapool_v1beta2.rb → serviceusage_v1.rb} +13 -15
- data/generated/google/apis/serviceusage_v1/classes.rb +4020 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1239 -0
- data/generated/google/apis/serviceusage_v1/service.rb +423 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +102 -1
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +55 -0
- data/generated/google/apis/serviceuser_v1.rb +1 -1
- data/generated/google/apis/serviceuser_v1/classes.rb +42 -0
- data/generated/google/apis/serviceuser_v1/representations.rb +17 -0
- data/generated/google/apis/serviceuser_v1/service.rb +2 -2
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +8 -0
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +28 -28
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +28 -28
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +4 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -3
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +4 -2
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -10
- data/generated/google/apis/replicapool_v1beta2/classes.rb +0 -633
- data/generated/google/apis/replicapool_v1beta2/representations.rb +0 -264
- data/generated/google/apis/replicapool_v1beta2/service.rb +0 -583
- data/generated/google/apis/sqladmin_v1beta3/classes.rb +0 -1632
- data/generated/google/apis/sqladmin_v1beta3/representations.rb +0 -733
- data/generated/google/apis/sqladmin_v1beta3/service.rb +0 -995
@@ -1,1632 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module SqladminV1beta3
|
24
|
-
|
25
|
-
# Database instance backup configuration.
|
26
|
-
class BackupConfiguration
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# Whether binary log is enabled. If backup configuration is disabled, binary log
|
30
|
-
# must be disabled as well.
|
31
|
-
# Corresponds to the JSON property `binaryLogEnabled`
|
32
|
-
# @return [Boolean]
|
33
|
-
attr_accessor :binary_log_enabled
|
34
|
-
alias_method :binary_log_enabled?, :binary_log_enabled
|
35
|
-
|
36
|
-
# Whether this configuration is enabled.
|
37
|
-
# Corresponds to the JSON property `enabled`
|
38
|
-
# @return [Boolean]
|
39
|
-
attr_accessor :enabled
|
40
|
-
alias_method :enabled?, :enabled
|
41
|
-
|
42
|
-
# Identifier for this configuration. This gets generated automatically when a
|
43
|
-
# backup configuration is created.
|
44
|
-
# Corresponds to the JSON property `id`
|
45
|
-
# @return [String]
|
46
|
-
attr_accessor :id
|
47
|
-
|
48
|
-
# This is always sql#backupConfiguration.
|
49
|
-
# Corresponds to the JSON property `kind`
|
50
|
-
# @return [String]
|
51
|
-
attr_accessor :kind
|
52
|
-
|
53
|
-
# Whether replication log archiving is enabled. Replication log archiving is
|
54
|
-
# required for the point-in-time recovery (PITR) feature. PostgreSQL instances
|
55
|
-
# only.
|
56
|
-
# Corresponds to the JSON property `replicationLogArchivingEnabled`
|
57
|
-
# @return [Boolean]
|
58
|
-
attr_accessor :replication_log_archiving_enabled
|
59
|
-
alias_method :replication_log_archiving_enabled?, :replication_log_archiving_enabled
|
60
|
-
|
61
|
-
# Start time for the daily backup configuration in UTC timezone in the 24 hour
|
62
|
-
# format - HH:MM.
|
63
|
-
# Corresponds to the JSON property `startTime`
|
64
|
-
# @return [String]
|
65
|
-
attr_accessor :start_time
|
66
|
-
|
67
|
-
def initialize(**args)
|
68
|
-
update!(**args)
|
69
|
-
end
|
70
|
-
|
71
|
-
# Update properties of this object
|
72
|
-
def update!(**args)
|
73
|
-
@binary_log_enabled = args[:binary_log_enabled] if args.key?(:binary_log_enabled)
|
74
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
75
|
-
@id = args[:id] if args.key?(:id)
|
76
|
-
@kind = args[:kind] if args.key?(:kind)
|
77
|
-
@replication_log_archiving_enabled = args[:replication_log_archiving_enabled] if args.key?(:replication_log_archiving_enabled)
|
78
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
79
|
-
end
|
80
|
-
end
|
81
|
-
|
82
|
-
# A database instance backup run resource.
|
83
|
-
class BackupRun
|
84
|
-
include Google::Apis::Core::Hashable
|
85
|
-
|
86
|
-
# Backup Configuration identifier.
|
87
|
-
# Corresponds to the JSON property `backupConfiguration`
|
88
|
-
# @return [String]
|
89
|
-
attr_accessor :backup_configuration
|
90
|
-
|
91
|
-
# The due time of this run in UTC timezone in RFC 3339 format, for example 2012-
|
92
|
-
# 11-15T16:19:00.094Z.
|
93
|
-
# Corresponds to the JSON property `dueTime`
|
94
|
-
# @return [DateTime]
|
95
|
-
attr_accessor :due_time
|
96
|
-
|
97
|
-
# The time the backup operation completed in UTC timezone in RFC 3339 format,
|
98
|
-
# for example 2012-11-15T16:19:00.094Z.
|
99
|
-
# Corresponds to the JSON property `endTime`
|
100
|
-
# @return [DateTime]
|
101
|
-
attr_accessor :end_time
|
102
|
-
|
103
|
-
# The time the run was enqueued in UTC timezone in RFC 3339 format, for example
|
104
|
-
# 2012-11-15T16:19:00.094Z.
|
105
|
-
# Corresponds to the JSON property `enqueuedTime`
|
106
|
-
# @return [DateTime]
|
107
|
-
attr_accessor :enqueued_time
|
108
|
-
|
109
|
-
# Database instance operation error.
|
110
|
-
# Corresponds to the JSON property `error`
|
111
|
-
# @return [Google::Apis::SqladminV1beta3::OperationError]
|
112
|
-
attr_accessor :error
|
113
|
-
|
114
|
-
# Name of the database instance.
|
115
|
-
# Corresponds to the JSON property `instance`
|
116
|
-
# @return [String]
|
117
|
-
attr_accessor :instance
|
118
|
-
|
119
|
-
# This is always sql#backupRun.
|
120
|
-
# Corresponds to the JSON property `kind`
|
121
|
-
# @return [String]
|
122
|
-
attr_accessor :kind
|
123
|
-
|
124
|
-
# The time the backup operation actually started in UTC timezone in RFC 3339
|
125
|
-
# format, for example 2012-11-15T16:19:00.094Z.
|
126
|
-
# Corresponds to the JSON property `startTime`
|
127
|
-
# @return [DateTime]
|
128
|
-
attr_accessor :start_time
|
129
|
-
|
130
|
-
# The status of this run.
|
131
|
-
# Corresponds to the JSON property `status`
|
132
|
-
# @return [String]
|
133
|
-
attr_accessor :status
|
134
|
-
|
135
|
-
def initialize(**args)
|
136
|
-
update!(**args)
|
137
|
-
end
|
138
|
-
|
139
|
-
# Update properties of this object
|
140
|
-
def update!(**args)
|
141
|
-
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
142
|
-
@due_time = args[:due_time] if args.key?(:due_time)
|
143
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
144
|
-
@enqueued_time = args[:enqueued_time] if args.key?(:enqueued_time)
|
145
|
-
@error = args[:error] if args.key?(:error)
|
146
|
-
@instance = args[:instance] if args.key?(:instance)
|
147
|
-
@kind = args[:kind] if args.key?(:kind)
|
148
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
149
|
-
@status = args[:status] if args.key?(:status)
|
150
|
-
end
|
151
|
-
end
|
152
|
-
|
153
|
-
# Backup run list results.
|
154
|
-
class BackupRunsListResponse
|
155
|
-
include Google::Apis::Core::Hashable
|
156
|
-
|
157
|
-
# A list of backup runs in reverse chronological order of the enqueued time.
|
158
|
-
# Corresponds to the JSON property `items`
|
159
|
-
# @return [Array<Google::Apis::SqladminV1beta3::BackupRun>]
|
160
|
-
attr_accessor :items
|
161
|
-
|
162
|
-
# This is always sql#backupRunsList.
|
163
|
-
# Corresponds to the JSON property `kind`
|
164
|
-
# @return [String]
|
165
|
-
attr_accessor :kind
|
166
|
-
|
167
|
-
# The continuation token, used to page through large result sets. Provide this
|
168
|
-
# value in a subsequent request to return the next page of results.
|
169
|
-
# Corresponds to the JSON property `nextPageToken`
|
170
|
-
# @return [String]
|
171
|
-
attr_accessor :next_page_token
|
172
|
-
|
173
|
-
def initialize(**args)
|
174
|
-
update!(**args)
|
175
|
-
end
|
176
|
-
|
177
|
-
# Update properties of this object
|
178
|
-
def update!(**args)
|
179
|
-
@items = args[:items] if args.key?(:items)
|
180
|
-
@kind = args[:kind] if args.key?(:kind)
|
181
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
182
|
-
end
|
183
|
-
end
|
184
|
-
|
185
|
-
# Binary log coordinates.
|
186
|
-
class BinLogCoordinates
|
187
|
-
include Google::Apis::Core::Hashable
|
188
|
-
|
189
|
-
# Name of the binary log file for a Cloud SQL instance.
|
190
|
-
# Corresponds to the JSON property `binLogFileName`
|
191
|
-
# @return [String]
|
192
|
-
attr_accessor :bin_log_file_name
|
193
|
-
|
194
|
-
# Position (offset) within the binary log file.
|
195
|
-
# Corresponds to the JSON property `binLogPosition`
|
196
|
-
# @return [Fixnum]
|
197
|
-
attr_accessor :bin_log_position
|
198
|
-
|
199
|
-
# This is always sql#binLogCoordinates.
|
200
|
-
# Corresponds to the JSON property `kind`
|
201
|
-
# @return [String]
|
202
|
-
attr_accessor :kind
|
203
|
-
|
204
|
-
def initialize(**args)
|
205
|
-
update!(**args)
|
206
|
-
end
|
207
|
-
|
208
|
-
# Update properties of this object
|
209
|
-
def update!(**args)
|
210
|
-
@bin_log_file_name = args[:bin_log_file_name] if args.key?(:bin_log_file_name)
|
211
|
-
@bin_log_position = args[:bin_log_position] if args.key?(:bin_log_position)
|
212
|
-
@kind = args[:kind] if args.key?(:kind)
|
213
|
-
end
|
214
|
-
end
|
215
|
-
|
216
|
-
# Database instance clone context.
|
217
|
-
class CloneContext
|
218
|
-
include Google::Apis::Core::Hashable
|
219
|
-
|
220
|
-
# Binary log coordinates.
|
221
|
-
# Corresponds to the JSON property `binLogCoordinates`
|
222
|
-
# @return [Google::Apis::SqladminV1beta3::BinLogCoordinates]
|
223
|
-
attr_accessor :bin_log_coordinates
|
224
|
-
|
225
|
-
# Name of the Cloud SQL instance to be created as a clone.
|
226
|
-
# Corresponds to the JSON property `destinationInstanceName`
|
227
|
-
# @return [String]
|
228
|
-
attr_accessor :destination_instance_name
|
229
|
-
|
230
|
-
# This is always sql#cloneContext.
|
231
|
-
# Corresponds to the JSON property `kind`
|
232
|
-
# @return [String]
|
233
|
-
attr_accessor :kind
|
234
|
-
|
235
|
-
# The epoch timestamp, in milliseconds, of the time to which a point-in-time
|
236
|
-
# recovery (PITR) is performed. PostgreSQL instances only. For MySQL instances,
|
237
|
-
# use the binLogCoordinates property.
|
238
|
-
# Corresponds to the JSON property `pitrTimestampMs`
|
239
|
-
# @return [Fixnum]
|
240
|
-
attr_accessor :pitr_timestamp_ms
|
241
|
-
|
242
|
-
# Name of the Cloud SQL instance to be cloned.
|
243
|
-
# Corresponds to the JSON property `sourceInstanceName`
|
244
|
-
# @return [String]
|
245
|
-
attr_accessor :source_instance_name
|
246
|
-
|
247
|
-
def initialize(**args)
|
248
|
-
update!(**args)
|
249
|
-
end
|
250
|
-
|
251
|
-
# Update properties of this object
|
252
|
-
def update!(**args)
|
253
|
-
@bin_log_coordinates = args[:bin_log_coordinates] if args.key?(:bin_log_coordinates)
|
254
|
-
@destination_instance_name = args[:destination_instance_name] if args.key?(:destination_instance_name)
|
255
|
-
@kind = args[:kind] if args.key?(:kind)
|
256
|
-
@pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
|
257
|
-
@source_instance_name = args[:source_instance_name] if args.key?(:source_instance_name)
|
258
|
-
end
|
259
|
-
end
|
260
|
-
|
261
|
-
# MySQL flags for Cloud SQL instances.
|
262
|
-
class DatabaseFlags
|
263
|
-
include Google::Apis::Core::Hashable
|
264
|
-
|
265
|
-
# The name of the flag. These flags are passed at instance startup, so include
|
266
|
-
# both MySQL server options and MySQL system variables. Flags should be
|
267
|
-
# specified with underscores, not hyphens. For more information, see Configuring
|
268
|
-
# MySQL Flags in the Google Cloud SQL documentation, as well as the official
|
269
|
-
# MySQL documentation for server options and system variables.
|
270
|
-
# Corresponds to the JSON property `name`
|
271
|
-
# @return [String]
|
272
|
-
attr_accessor :name
|
273
|
-
|
274
|
-
# The value of the flag. Booleans should be set to on for true and off for false.
|
275
|
-
# This field must be omitted if the flag doesn't take a value.
|
276
|
-
# Corresponds to the JSON property `value`
|
277
|
-
# @return [String]
|
278
|
-
attr_accessor :value
|
279
|
-
|
280
|
-
def initialize(**args)
|
281
|
-
update!(**args)
|
282
|
-
end
|
283
|
-
|
284
|
-
# Update properties of this object
|
285
|
-
def update!(**args)
|
286
|
-
@name = args[:name] if args.key?(:name)
|
287
|
-
@value = args[:value] if args.key?(:value)
|
288
|
-
end
|
289
|
-
end
|
290
|
-
|
291
|
-
# A Cloud SQL instance resource.
|
292
|
-
class DatabaseInstance
|
293
|
-
include Google::Apis::Core::Hashable
|
294
|
-
|
295
|
-
# Connection name of the Cloud SQL instance used in connection strings.
|
296
|
-
# Corresponds to the JSON property `connectionName`
|
297
|
-
# @return [String]
|
298
|
-
attr_accessor :connection_name
|
299
|
-
|
300
|
-
# The current disk usage of the instance in bytes.
|
301
|
-
# Corresponds to the JSON property `currentDiskSize`
|
302
|
-
# @return [Fixnum]
|
303
|
-
attr_accessor :current_disk_size
|
304
|
-
|
305
|
-
# The database engine type and version. Can be MYSQL_5_5 or MYSQL_5_6. Defaults
|
306
|
-
# to MYSQL_5_5. The databaseVersion cannot be changed after instance creation.
|
307
|
-
# Corresponds to the JSON property `databaseVersion`
|
308
|
-
# @return [String]
|
309
|
-
attr_accessor :database_version
|
310
|
-
|
311
|
-
# HTTP 1.1 Entity tag for the resource.
|
312
|
-
# Corresponds to the JSON property `etag`
|
313
|
-
# @return [String]
|
314
|
-
attr_accessor :etag
|
315
|
-
|
316
|
-
# Name of the Cloud SQL instance. This does not include the project ID.
|
317
|
-
# Corresponds to the JSON property `instance`
|
318
|
-
# @return [String]
|
319
|
-
attr_accessor :instance
|
320
|
-
|
321
|
-
# The instance type. This can be one of the following.
|
322
|
-
# CLOUD_SQL_INSTANCE: Regular Cloud SQL instance.
|
323
|
-
# READ_REPLICA_INSTANCE: Cloud SQL instance acting as a read-replica.
|
324
|
-
# Corresponds to the JSON property `instanceType`
|
325
|
-
# @return [String]
|
326
|
-
attr_accessor :instance_type
|
327
|
-
|
328
|
-
# The assigned IP addresses for the instance.
|
329
|
-
# Corresponds to the JSON property `ipAddresses`
|
330
|
-
# @return [Array<Google::Apis::SqladminV1beta3::IpMapping>]
|
331
|
-
attr_accessor :ip_addresses
|
332
|
-
|
333
|
-
# The IPv6 address assigned to the instance.
|
334
|
-
# Corresponds to the JSON property `ipv6Address`
|
335
|
-
# @return [String]
|
336
|
-
attr_accessor :ipv6_address
|
337
|
-
|
338
|
-
# This is always sql#instance.
|
339
|
-
# Corresponds to the JSON property `kind`
|
340
|
-
# @return [String]
|
341
|
-
attr_accessor :kind
|
342
|
-
|
343
|
-
# The name of the instance which will act as master in the replication setup.
|
344
|
-
# Corresponds to the JSON property `masterInstanceName`
|
345
|
-
# @return [String]
|
346
|
-
attr_accessor :master_instance_name
|
347
|
-
|
348
|
-
# The maximum disk size of the instance in bytes.
|
349
|
-
# Corresponds to the JSON property `maxDiskSize`
|
350
|
-
# @return [Fixnum]
|
351
|
-
attr_accessor :max_disk_size
|
352
|
-
|
353
|
-
# The project ID of the project containing the Cloud SQL instance. The Google
|
354
|
-
# apps domain is prefixed if applicable.
|
355
|
-
# Corresponds to the JSON property `project`
|
356
|
-
# @return [String]
|
357
|
-
attr_accessor :project
|
358
|
-
|
359
|
-
# The geographical region. Can be us-central, asia-east1 or europe-west1.
|
360
|
-
# Defaults to us-central. The region can not be changed after instance creation.
|
361
|
-
# Corresponds to the JSON property `region`
|
362
|
-
# @return [String]
|
363
|
-
attr_accessor :region
|
364
|
-
|
365
|
-
# The replicas of the instance.
|
366
|
-
# Corresponds to the JSON property `replicaNames`
|
367
|
-
# @return [Array<String>]
|
368
|
-
attr_accessor :replica_names
|
369
|
-
|
370
|
-
# SslCerts Resource
|
371
|
-
# Corresponds to the JSON property `serverCaCert`
|
372
|
-
# @return [Google::Apis::SqladminV1beta3::SslCert]
|
373
|
-
attr_accessor :server_ca_cert
|
374
|
-
|
375
|
-
# The service account email address assigned to the instance.
|
376
|
-
# Corresponds to the JSON property `serviceAccountEmailAddress`
|
377
|
-
# @return [String]
|
378
|
-
attr_accessor :service_account_email_address
|
379
|
-
|
380
|
-
# Database instance settings.
|
381
|
-
# Corresponds to the JSON property `settings`
|
382
|
-
# @return [Google::Apis::SqladminV1beta3::Settings]
|
383
|
-
attr_accessor :settings
|
384
|
-
|
385
|
-
# The current serving state of the Cloud SQL instance. This can be one of the
|
386
|
-
# following.
|
387
|
-
# RUNNABLE: The instance is running, or is ready to run when accessed.
|
388
|
-
# SUSPENDED: The instance is not available, for example due to problems with
|
389
|
-
# billing.
|
390
|
-
# PENDING_CREATE: The instance is being created.
|
391
|
-
# MAINTENANCE: The instance is down for maintenance.
|
392
|
-
# UNKNOWN_STATE: The state of the instance is unknown.
|
393
|
-
# Corresponds to the JSON property `state`
|
394
|
-
# @return [String]
|
395
|
-
attr_accessor :state
|
396
|
-
|
397
|
-
def initialize(**args)
|
398
|
-
update!(**args)
|
399
|
-
end
|
400
|
-
|
401
|
-
# Update properties of this object
|
402
|
-
def update!(**args)
|
403
|
-
@connection_name = args[:connection_name] if args.key?(:connection_name)
|
404
|
-
@current_disk_size = args[:current_disk_size] if args.key?(:current_disk_size)
|
405
|
-
@database_version = args[:database_version] if args.key?(:database_version)
|
406
|
-
@etag = args[:etag] if args.key?(:etag)
|
407
|
-
@instance = args[:instance] if args.key?(:instance)
|
408
|
-
@instance_type = args[:instance_type] if args.key?(:instance_type)
|
409
|
-
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
|
410
|
-
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
411
|
-
@kind = args[:kind] if args.key?(:kind)
|
412
|
-
@master_instance_name = args[:master_instance_name] if args.key?(:master_instance_name)
|
413
|
-
@max_disk_size = args[:max_disk_size] if args.key?(:max_disk_size)
|
414
|
-
@project = args[:project] if args.key?(:project)
|
415
|
-
@region = args[:region] if args.key?(:region)
|
416
|
-
@replica_names = args[:replica_names] if args.key?(:replica_names)
|
417
|
-
@server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
|
418
|
-
@service_account_email_address = args[:service_account_email_address] if args.key?(:service_account_email_address)
|
419
|
-
@settings = args[:settings] if args.key?(:settings)
|
420
|
-
@state = args[:state] if args.key?(:state)
|
421
|
-
end
|
422
|
-
end
|
423
|
-
|
424
|
-
# Database instance export context.
|
425
|
-
class ExportContext
|
426
|
-
include Google::Apis::Core::Hashable
|
427
|
-
|
428
|
-
# Databases (for example, guestbook) from which the export is made. If
|
429
|
-
# unspecified, all databases are exported.
|
430
|
-
# Corresponds to the JSON property `database`
|
431
|
-
# @return [Array<String>]
|
432
|
-
attr_accessor :database
|
433
|
-
|
434
|
-
# This is always sql#exportContext.
|
435
|
-
# Corresponds to the JSON property `kind`
|
436
|
-
# @return [String]
|
437
|
-
attr_accessor :kind
|
438
|
-
|
439
|
-
# Tables to export, or that were exported, from the specified database. If you
|
440
|
-
# specify tables, specify one and only one database.
|
441
|
-
# Corresponds to the JSON property `table`
|
442
|
-
# @return [Array<String>]
|
443
|
-
attr_accessor :table
|
444
|
-
|
445
|
-
# The path to the file in Google Cloud Storage where the export will be stored,
|
446
|
-
# or where it was already stored. The URI is in the form gs://bucketName/
|
447
|
-
# fileName. If the file already exists, the operation fails. If the filename
|
448
|
-
# ends with .gz, the contents are compressed.
|
449
|
-
# Corresponds to the JSON property `uri`
|
450
|
-
# @return [String]
|
451
|
-
attr_accessor :uri
|
452
|
-
|
453
|
-
def initialize(**args)
|
454
|
-
update!(**args)
|
455
|
-
end
|
456
|
-
|
457
|
-
# Update properties of this object
|
458
|
-
def update!(**args)
|
459
|
-
@database = args[:database] if args.key?(:database)
|
460
|
-
@kind = args[:kind] if args.key?(:kind)
|
461
|
-
@table = args[:table] if args.key?(:table)
|
462
|
-
@uri = args[:uri] if args.key?(:uri)
|
463
|
-
end
|
464
|
-
end
|
465
|
-
|
466
|
-
# A Google Cloud SQL service flag resource.
|
467
|
-
class Flag
|
468
|
-
include Google::Apis::Core::Hashable
|
469
|
-
|
470
|
-
# For STRING flags, a list of strings that the value can be set to.
|
471
|
-
# Corresponds to the JSON property `allowedStringValues`
|
472
|
-
# @return [Array<String>]
|
473
|
-
attr_accessor :allowed_string_values
|
474
|
-
|
475
|
-
# The database version this flag applies to. Currently this can only be [
|
476
|
-
# MYSQL_5_5].
|
477
|
-
# Corresponds to the JSON property `appliesTo`
|
478
|
-
# @return [Array<String>]
|
479
|
-
attr_accessor :applies_to
|
480
|
-
|
481
|
-
# This is always sql#flag.
|
482
|
-
# Corresponds to the JSON property `kind`
|
483
|
-
# @return [String]
|
484
|
-
attr_accessor :kind
|
485
|
-
|
486
|
-
# For INTEGER flags, the maximum allowed value.
|
487
|
-
# Corresponds to the JSON property `maxValue`
|
488
|
-
# @return [Fixnum]
|
489
|
-
attr_accessor :max_value
|
490
|
-
|
491
|
-
# For INTEGER flags, the minimum allowed value.
|
492
|
-
# Corresponds to the JSON property `minValue`
|
493
|
-
# @return [Fixnum]
|
494
|
-
attr_accessor :min_value
|
495
|
-
|
496
|
-
# This is the name of the flag. Flag names always use underscores, not hyphens,
|
497
|
-
# e.g. max_allowed_packet
|
498
|
-
# Corresponds to the JSON property `name`
|
499
|
-
# @return [String]
|
500
|
-
attr_accessor :name
|
501
|
-
|
502
|
-
# The type of the flag. Flags are typed to being BOOLEAN, STRING, INTEGER or
|
503
|
-
# NONE. NONE is used for flags which do not take a value, such as
|
504
|
-
# skip_grant_tables.
|
505
|
-
# Corresponds to the JSON property `type`
|
506
|
-
# @return [String]
|
507
|
-
attr_accessor :type
|
508
|
-
|
509
|
-
def initialize(**args)
|
510
|
-
update!(**args)
|
511
|
-
end
|
512
|
-
|
513
|
-
# Update properties of this object
|
514
|
-
def update!(**args)
|
515
|
-
@allowed_string_values = args[:allowed_string_values] if args.key?(:allowed_string_values)
|
516
|
-
@applies_to = args[:applies_to] if args.key?(:applies_to)
|
517
|
-
@kind = args[:kind] if args.key?(:kind)
|
518
|
-
@max_value = args[:max_value] if args.key?(:max_value)
|
519
|
-
@min_value = args[:min_value] if args.key?(:min_value)
|
520
|
-
@name = args[:name] if args.key?(:name)
|
521
|
-
@type = args[:type] if args.key?(:type)
|
522
|
-
end
|
523
|
-
end
|
524
|
-
|
525
|
-
# Flags list response.
|
526
|
-
class FlagsListResponse
|
527
|
-
include Google::Apis::Core::Hashable
|
528
|
-
|
529
|
-
# List of flags.
|
530
|
-
# Corresponds to the JSON property `items`
|
531
|
-
# @return [Array<Google::Apis::SqladminV1beta3::Flag>]
|
532
|
-
attr_accessor :items
|
533
|
-
|
534
|
-
# This is always sql#flagsList.
|
535
|
-
# Corresponds to the JSON property `kind`
|
536
|
-
# @return [String]
|
537
|
-
attr_accessor :kind
|
538
|
-
|
539
|
-
def initialize(**args)
|
540
|
-
update!(**args)
|
541
|
-
end
|
542
|
-
|
543
|
-
# Update properties of this object
|
544
|
-
def update!(**args)
|
545
|
-
@items = args[:items] if args.key?(:items)
|
546
|
-
@kind = args[:kind] if args.key?(:kind)
|
547
|
-
end
|
548
|
-
end
|
549
|
-
|
550
|
-
# Database instance import context.
|
551
|
-
class ImportContext
|
552
|
-
include Google::Apis::Core::Hashable
|
553
|
-
|
554
|
-
# The database (for example, guestbook) to which the import is made. If not set,
|
555
|
-
# it is assumed that the database is specified in the file to be imported.
|
556
|
-
# Corresponds to the JSON property `database`
|
557
|
-
# @return [String]
|
558
|
-
attr_accessor :database
|
559
|
-
|
560
|
-
# This is always sql#importContext.
|
561
|
-
# Corresponds to the JSON property `kind`
|
562
|
-
# @return [String]
|
563
|
-
attr_accessor :kind
|
564
|
-
|
565
|
-
# A path to the MySQL dump file in Google Cloud Storage from which the import is
|
566
|
-
# made. The URI is in the form gs://bucketName/fileName. Compressed gzip files (.
|
567
|
-
# gz) are also supported.
|
568
|
-
# Corresponds to the JSON property `uri`
|
569
|
-
# @return [Array<String>]
|
570
|
-
attr_accessor :uri
|
571
|
-
|
572
|
-
def initialize(**args)
|
573
|
-
update!(**args)
|
574
|
-
end
|
575
|
-
|
576
|
-
# Update properties of this object
|
577
|
-
def update!(**args)
|
578
|
-
@database = args[:database] if args.key?(:database)
|
579
|
-
@kind = args[:kind] if args.key?(:kind)
|
580
|
-
@uri = args[:uri] if args.key?(:uri)
|
581
|
-
end
|
582
|
-
end
|
583
|
-
|
584
|
-
# An Operations resource contains information about database instance operations
|
585
|
-
# such as create, delete, and restart. Operations resources are created in
|
586
|
-
# response to operations that were initiated; you never create them directly.
|
587
|
-
class InstanceOperation
|
588
|
-
include Google::Apis::Core::Hashable
|
589
|
-
|
590
|
-
# The time this operation finished in UTC timezone in RFC 3339 format, for
|
591
|
-
# example 2012-11-15T16:19:00.094Z.
|
592
|
-
# Corresponds to the JSON property `endTime`
|
593
|
-
# @return [DateTime]
|
594
|
-
attr_accessor :end_time
|
595
|
-
|
596
|
-
# The time this operation was enqueued in UTC timezone in RFC 3339 format, for
|
597
|
-
# example 2012-11-15T16:19:00.094Z.
|
598
|
-
# Corresponds to the JSON property `enqueuedTime`
|
599
|
-
# @return [DateTime]
|
600
|
-
attr_accessor :enqueued_time
|
601
|
-
|
602
|
-
# The error(s) encountered by this operation. Only set if the operation results
|
603
|
-
# in an error.
|
604
|
-
# Corresponds to the JSON property `error`
|
605
|
-
# @return [Array<Google::Apis::SqladminV1beta3::OperationError>]
|
606
|
-
attr_accessor :error
|
607
|
-
|
608
|
-
# Database instance export context.
|
609
|
-
# Corresponds to the JSON property `exportContext`
|
610
|
-
# @return [Google::Apis::SqladminV1beta3::ExportContext]
|
611
|
-
attr_accessor :export_context
|
612
|
-
|
613
|
-
# Database instance import context.
|
614
|
-
# Corresponds to the JSON property `importContext`
|
615
|
-
# @return [Google::Apis::SqladminV1beta3::ImportContext]
|
616
|
-
attr_accessor :import_context
|
617
|
-
|
618
|
-
# Name of the database instance.
|
619
|
-
# Corresponds to the JSON property `instance`
|
620
|
-
# @return [String]
|
621
|
-
attr_accessor :instance
|
622
|
-
|
623
|
-
# This is always sql#instanceOperation.
|
624
|
-
# Corresponds to the JSON property `kind`
|
625
|
-
# @return [String]
|
626
|
-
attr_accessor :kind
|
627
|
-
|
628
|
-
# An identifier that uniquely identifies the operation. You can use this
|
629
|
-
# identifier to retrieve the Operations resource that has information about the
|
630
|
-
# operation.
|
631
|
-
# Corresponds to the JSON property `operation`
|
632
|
-
# @return [String]
|
633
|
-
attr_accessor :operation
|
634
|
-
|
635
|
-
# The type of the operation. Valid values are CREATE, DELETE, UPDATE, RESTART,
|
636
|
-
# IMPORT, EXPORT, BACKUP_VOLUME, RESTORE_VOLUME.
|
637
|
-
# Corresponds to the JSON property `operationType`
|
638
|
-
# @return [String]
|
639
|
-
attr_accessor :operation_type
|
640
|
-
|
641
|
-
# The time this operation actually started in UTC timezone in RFC 3339 format,
|
642
|
-
# for example 2012-11-15T16:19:00.094Z.
|
643
|
-
# Corresponds to the JSON property `startTime`
|
644
|
-
# @return [DateTime]
|
645
|
-
attr_accessor :start_time
|
646
|
-
|
647
|
-
# The state of an operation. Valid values are PENDING, RUNNING, DONE, UNKNOWN.
|
648
|
-
# Corresponds to the JSON property `state`
|
649
|
-
# @return [String]
|
650
|
-
attr_accessor :state
|
651
|
-
|
652
|
-
# The email address of the user who initiated this operation.
|
653
|
-
# Corresponds to the JSON property `userEmailAddress`
|
654
|
-
# @return [String]
|
655
|
-
attr_accessor :user_email_address
|
656
|
-
|
657
|
-
def initialize(**args)
|
658
|
-
update!(**args)
|
659
|
-
end
|
660
|
-
|
661
|
-
# Update properties of this object
|
662
|
-
def update!(**args)
|
663
|
-
@end_time = args[:end_time] if args.key?(:end_time)
|
664
|
-
@enqueued_time = args[:enqueued_time] if args.key?(:enqueued_time)
|
665
|
-
@error = args[:error] if args.key?(:error)
|
666
|
-
@export_context = args[:export_context] if args.key?(:export_context)
|
667
|
-
@import_context = args[:import_context] if args.key?(:import_context)
|
668
|
-
@instance = args[:instance] if args.key?(:instance)
|
669
|
-
@kind = args[:kind] if args.key?(:kind)
|
670
|
-
@operation = args[:operation] if args.key?(:operation)
|
671
|
-
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
672
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
673
|
-
@state = args[:state] if args.key?(:state)
|
674
|
-
@user_email_address = args[:user_email_address] if args.key?(:user_email_address)
|
675
|
-
end
|
676
|
-
end
|
677
|
-
|
678
|
-
# Database instance set root password request.
|
679
|
-
class InstanceSetRootPasswordRequest
|
680
|
-
include Google::Apis::Core::Hashable
|
681
|
-
|
682
|
-
# Database instance set root password context.
|
683
|
-
# Corresponds to the JSON property `setRootPasswordContext`
|
684
|
-
# @return [Google::Apis::SqladminV1beta3::SetRootPasswordContext]
|
685
|
-
attr_accessor :set_root_password_context
|
686
|
-
|
687
|
-
def initialize(**args)
|
688
|
-
update!(**args)
|
689
|
-
end
|
690
|
-
|
691
|
-
# Update properties of this object
|
692
|
-
def update!(**args)
|
693
|
-
@set_root_password_context = args[:set_root_password_context] if args.key?(:set_root_password_context)
|
694
|
-
end
|
695
|
-
end
|
696
|
-
|
697
|
-
# Database instance clone request.
|
698
|
-
class InstancesCloneRequest
|
699
|
-
include Google::Apis::Core::Hashable
|
700
|
-
|
701
|
-
# Database instance clone context.
|
702
|
-
# Corresponds to the JSON property `cloneContext`
|
703
|
-
# @return [Google::Apis::SqladminV1beta3::CloneContext]
|
704
|
-
attr_accessor :clone_context
|
705
|
-
|
706
|
-
def initialize(**args)
|
707
|
-
update!(**args)
|
708
|
-
end
|
709
|
-
|
710
|
-
# Update properties of this object
|
711
|
-
def update!(**args)
|
712
|
-
@clone_context = args[:clone_context] if args.key?(:clone_context)
|
713
|
-
end
|
714
|
-
end
|
715
|
-
|
716
|
-
# Database instance clone response.
|
717
|
-
class InstancesCloneResponse
|
718
|
-
include Google::Apis::Core::Hashable
|
719
|
-
|
720
|
-
# This is always sql#instancesClone.
|
721
|
-
# Corresponds to the JSON property `kind`
|
722
|
-
# @return [String]
|
723
|
-
attr_accessor :kind
|
724
|
-
|
725
|
-
# An unique identifier for the operation associated with the cloned instance.
|
726
|
-
# You can use this identifier to retrieve the Operations resource, which has
|
727
|
-
# information about the operation.
|
728
|
-
# Corresponds to the JSON property `operation`
|
729
|
-
# @return [String]
|
730
|
-
attr_accessor :operation
|
731
|
-
|
732
|
-
def initialize(**args)
|
733
|
-
update!(**args)
|
734
|
-
end
|
735
|
-
|
736
|
-
# Update properties of this object
|
737
|
-
def update!(**args)
|
738
|
-
@kind = args[:kind] if args.key?(:kind)
|
739
|
-
@operation = args[:operation] if args.key?(:operation)
|
740
|
-
end
|
741
|
-
end
|
742
|
-
|
743
|
-
# Database instance delete response.
|
744
|
-
class InstancesDeleteResponse
|
745
|
-
include Google::Apis::Core::Hashable
|
746
|
-
|
747
|
-
# This is always sql#instancesDelete.
|
748
|
-
# Corresponds to the JSON property `kind`
|
749
|
-
# @return [String]
|
750
|
-
attr_accessor :kind
|
751
|
-
|
752
|
-
# An identifier that uniquely identifies the operation. You can use this
|
753
|
-
# identifier to retrieve the Operations resource that has information about the
|
754
|
-
# operation.
|
755
|
-
# Corresponds to the JSON property `operation`
|
756
|
-
# @return [String]
|
757
|
-
attr_accessor :operation
|
758
|
-
|
759
|
-
def initialize(**args)
|
760
|
-
update!(**args)
|
761
|
-
end
|
762
|
-
|
763
|
-
# Update properties of this object
|
764
|
-
def update!(**args)
|
765
|
-
@kind = args[:kind] if args.key?(:kind)
|
766
|
-
@operation = args[:operation] if args.key?(:operation)
|
767
|
-
end
|
768
|
-
end
|
769
|
-
|
770
|
-
# Database instance export request.
|
771
|
-
class InstancesExportRequest
|
772
|
-
include Google::Apis::Core::Hashable
|
773
|
-
|
774
|
-
# Database instance export context.
|
775
|
-
# Corresponds to the JSON property `exportContext`
|
776
|
-
# @return [Google::Apis::SqladminV1beta3::ExportContext]
|
777
|
-
attr_accessor :export_context
|
778
|
-
|
779
|
-
def initialize(**args)
|
780
|
-
update!(**args)
|
781
|
-
end
|
782
|
-
|
783
|
-
# Update properties of this object
|
784
|
-
def update!(**args)
|
785
|
-
@export_context = args[:export_context] if args.key?(:export_context)
|
786
|
-
end
|
787
|
-
end
|
788
|
-
|
789
|
-
# Database instance export response.
|
790
|
-
class InstancesExportResponse
|
791
|
-
include Google::Apis::Core::Hashable
|
792
|
-
|
793
|
-
# This is always sql#instancesExport.
|
794
|
-
# Corresponds to the JSON property `kind`
|
795
|
-
# @return [String]
|
796
|
-
attr_accessor :kind
|
797
|
-
|
798
|
-
# An identifier that uniquely identifies the operation. You can use this
|
799
|
-
# identifier to retrieve the Operations resource that has information about the
|
800
|
-
# operation.
|
801
|
-
# Corresponds to the JSON property `operation`
|
802
|
-
# @return [String]
|
803
|
-
attr_accessor :operation
|
804
|
-
|
805
|
-
def initialize(**args)
|
806
|
-
update!(**args)
|
807
|
-
end
|
808
|
-
|
809
|
-
# Update properties of this object
|
810
|
-
def update!(**args)
|
811
|
-
@kind = args[:kind] if args.key?(:kind)
|
812
|
-
@operation = args[:operation] if args.key?(:operation)
|
813
|
-
end
|
814
|
-
end
|
815
|
-
|
816
|
-
# Database instance import request.
|
817
|
-
class InstancesImportRequest
|
818
|
-
include Google::Apis::Core::Hashable
|
819
|
-
|
820
|
-
# Database instance import context.
|
821
|
-
# Corresponds to the JSON property `importContext`
|
822
|
-
# @return [Google::Apis::SqladminV1beta3::ImportContext]
|
823
|
-
attr_accessor :import_context
|
824
|
-
|
825
|
-
def initialize(**args)
|
826
|
-
update!(**args)
|
827
|
-
end
|
828
|
-
|
829
|
-
# Update properties of this object
|
830
|
-
def update!(**args)
|
831
|
-
@import_context = args[:import_context] if args.key?(:import_context)
|
832
|
-
end
|
833
|
-
end
|
834
|
-
|
835
|
-
# Database instance import response.
|
836
|
-
class InstancesImportResponse
|
837
|
-
include Google::Apis::Core::Hashable
|
838
|
-
|
839
|
-
# This is always sql#instancesImport.
|
840
|
-
# Corresponds to the JSON property `kind`
|
841
|
-
# @return [String]
|
842
|
-
attr_accessor :kind
|
843
|
-
|
844
|
-
# An identifier that uniquely identifies the operation. You can use this
|
845
|
-
# identifier to retrieve the Operations resource that has information about the
|
846
|
-
# operation.
|
847
|
-
# Corresponds to the JSON property `operation`
|
848
|
-
# @return [String]
|
849
|
-
attr_accessor :operation
|
850
|
-
|
851
|
-
def initialize(**args)
|
852
|
-
update!(**args)
|
853
|
-
end
|
854
|
-
|
855
|
-
# Update properties of this object
|
856
|
-
def update!(**args)
|
857
|
-
@kind = args[:kind] if args.key?(:kind)
|
858
|
-
@operation = args[:operation] if args.key?(:operation)
|
859
|
-
end
|
860
|
-
end
|
861
|
-
|
862
|
-
# Database instance insert response.
|
863
|
-
class InstancesInsertResponse
|
864
|
-
include Google::Apis::Core::Hashable
|
865
|
-
|
866
|
-
# This is always sql#instancesInsert.
|
867
|
-
# Corresponds to the JSON property `kind`
|
868
|
-
# @return [String]
|
869
|
-
attr_accessor :kind
|
870
|
-
|
871
|
-
# An identifier that uniquely identifies the operation. You can use this
|
872
|
-
# identifier to retrieve the Operations resource that has information about the
|
873
|
-
# operation.
|
874
|
-
# Corresponds to the JSON property `operation`
|
875
|
-
# @return [String]
|
876
|
-
attr_accessor :operation
|
877
|
-
|
878
|
-
def initialize(**args)
|
879
|
-
update!(**args)
|
880
|
-
end
|
881
|
-
|
882
|
-
# Update properties of this object
|
883
|
-
def update!(**args)
|
884
|
-
@kind = args[:kind] if args.key?(:kind)
|
885
|
-
@operation = args[:operation] if args.key?(:operation)
|
886
|
-
end
|
887
|
-
end
|
888
|
-
|
889
|
-
# Database instances list response.
|
890
|
-
class InstancesListResponse
|
891
|
-
include Google::Apis::Core::Hashable
|
892
|
-
|
893
|
-
# List of database instance resources.
|
894
|
-
# Corresponds to the JSON property `items`
|
895
|
-
# @return [Array<Google::Apis::SqladminV1beta3::DatabaseInstance>]
|
896
|
-
attr_accessor :items
|
897
|
-
|
898
|
-
# This is always sql#instancesList.
|
899
|
-
# Corresponds to the JSON property `kind`
|
900
|
-
# @return [String]
|
901
|
-
attr_accessor :kind
|
902
|
-
|
903
|
-
# The continuation token, used to page through large result sets. Provide this
|
904
|
-
# value in a subsequent request to return the next page of results.
|
905
|
-
# Corresponds to the JSON property `nextPageToken`
|
906
|
-
# @return [String]
|
907
|
-
attr_accessor :next_page_token
|
908
|
-
|
909
|
-
def initialize(**args)
|
910
|
-
update!(**args)
|
911
|
-
end
|
912
|
-
|
913
|
-
# Update properties of this object
|
914
|
-
def update!(**args)
|
915
|
-
@items = args[:items] if args.key?(:items)
|
916
|
-
@kind = args[:kind] if args.key?(:kind)
|
917
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
918
|
-
end
|
919
|
-
end
|
920
|
-
|
921
|
-
# Database promote read replica response.
|
922
|
-
class InstancesPromoteReplicaResponse
|
923
|
-
include Google::Apis::Core::Hashable
|
924
|
-
|
925
|
-
# This is always sql#instancesPromoteReplica.
|
926
|
-
# Corresponds to the JSON property `kind`
|
927
|
-
# @return [String]
|
928
|
-
attr_accessor :kind
|
929
|
-
|
930
|
-
# An identifier that uniquely identifies the operation. You can use this
|
931
|
-
# identifier to retrieve the Operations resource that has information about the
|
932
|
-
# operation.
|
933
|
-
# Corresponds to the JSON property `operation`
|
934
|
-
# @return [String]
|
935
|
-
attr_accessor :operation
|
936
|
-
|
937
|
-
def initialize(**args)
|
938
|
-
update!(**args)
|
939
|
-
end
|
940
|
-
|
941
|
-
# Update properties of this object
|
942
|
-
def update!(**args)
|
943
|
-
@kind = args[:kind] if args.key?(:kind)
|
944
|
-
@operation = args[:operation] if args.key?(:operation)
|
945
|
-
end
|
946
|
-
end
|
947
|
-
|
948
|
-
# Database instance resetSslConfig response.
|
949
|
-
class InstancesResetSslConfigResponse
|
950
|
-
include Google::Apis::Core::Hashable
|
951
|
-
|
952
|
-
# This is always sql#instancesResetSslConfig.
|
953
|
-
# Corresponds to the JSON property `kind`
|
954
|
-
# @return [String]
|
955
|
-
attr_accessor :kind
|
956
|
-
|
957
|
-
# An identifier that uniquely identifies the operation. You can use this
|
958
|
-
# identifier to retrieve the Operations resource that has information about the
|
959
|
-
# operation. All ssl client certificates will be deleted and a new server
|
960
|
-
# certificate will be created. Does not take effect until the next instance
|
961
|
-
# restart.
|
962
|
-
# Corresponds to the JSON property `operation`
|
963
|
-
# @return [String]
|
964
|
-
attr_accessor :operation
|
965
|
-
|
966
|
-
def initialize(**args)
|
967
|
-
update!(**args)
|
968
|
-
end
|
969
|
-
|
970
|
-
# Update properties of this object
|
971
|
-
def update!(**args)
|
972
|
-
@kind = args[:kind] if args.key?(:kind)
|
973
|
-
@operation = args[:operation] if args.key?(:operation)
|
974
|
-
end
|
975
|
-
end
|
976
|
-
|
977
|
-
# Database instance restart response.
|
978
|
-
class InstancesRestartResponse
|
979
|
-
include Google::Apis::Core::Hashable
|
980
|
-
|
981
|
-
# This is always sql#instancesRestart.
|
982
|
-
# Corresponds to the JSON property `kind`
|
983
|
-
# @return [String]
|
984
|
-
attr_accessor :kind
|
985
|
-
|
986
|
-
# An identifier that uniquely identifies the operation. You can use this
|
987
|
-
# identifier to retrieve the Operations resource that has information about the
|
988
|
-
# operation.
|
989
|
-
# Corresponds to the JSON property `operation`
|
990
|
-
# @return [String]
|
991
|
-
attr_accessor :operation
|
992
|
-
|
993
|
-
def initialize(**args)
|
994
|
-
update!(**args)
|
995
|
-
end
|
996
|
-
|
997
|
-
# Update properties of this object
|
998
|
-
def update!(**args)
|
999
|
-
@kind = args[:kind] if args.key?(:kind)
|
1000
|
-
@operation = args[:operation] if args.key?(:operation)
|
1001
|
-
end
|
1002
|
-
end
|
1003
|
-
|
1004
|
-
# Database instance restore backup response.
|
1005
|
-
class InstancesRestoreBackupResponse
|
1006
|
-
include Google::Apis::Core::Hashable
|
1007
|
-
|
1008
|
-
# This is always sql#instancesRestoreBackup.
|
1009
|
-
# Corresponds to the JSON property `kind`
|
1010
|
-
# @return [String]
|
1011
|
-
attr_accessor :kind
|
1012
|
-
|
1013
|
-
# An identifier that uniquely identifies the operation. You can use this
|
1014
|
-
# identifier to retrieve the Operations resource that has information about the
|
1015
|
-
# operation.
|
1016
|
-
# Corresponds to the JSON property `operation`
|
1017
|
-
# @return [String]
|
1018
|
-
attr_accessor :operation
|
1019
|
-
|
1020
|
-
def initialize(**args)
|
1021
|
-
update!(**args)
|
1022
|
-
end
|
1023
|
-
|
1024
|
-
# Update properties of this object
|
1025
|
-
def update!(**args)
|
1026
|
-
@kind = args[:kind] if args.key?(:kind)
|
1027
|
-
@operation = args[:operation] if args.key?(:operation)
|
1028
|
-
end
|
1029
|
-
end
|
1030
|
-
|
1031
|
-
# Database instance set root password response.
|
1032
|
-
class InstancesSetRootPasswordResponse
|
1033
|
-
include Google::Apis::Core::Hashable
|
1034
|
-
|
1035
|
-
# This is always sql#instancesSetRootPassword.
|
1036
|
-
# Corresponds to the JSON property `kind`
|
1037
|
-
# @return [String]
|
1038
|
-
attr_accessor :kind
|
1039
|
-
|
1040
|
-
# An identifier that uniquely identifies the operation. You can use this
|
1041
|
-
# identifier to retrieve the Operations resource that has information about the
|
1042
|
-
# operation.
|
1043
|
-
# Corresponds to the JSON property `operation`
|
1044
|
-
# @return [String]
|
1045
|
-
attr_accessor :operation
|
1046
|
-
|
1047
|
-
def initialize(**args)
|
1048
|
-
update!(**args)
|
1049
|
-
end
|
1050
|
-
|
1051
|
-
# Update properties of this object
|
1052
|
-
def update!(**args)
|
1053
|
-
@kind = args[:kind] if args.key?(:kind)
|
1054
|
-
@operation = args[:operation] if args.key?(:operation)
|
1055
|
-
end
|
1056
|
-
end
|
1057
|
-
|
1058
|
-
# Database instance update response.
|
1059
|
-
class InstancesUpdateResponse
|
1060
|
-
include Google::Apis::Core::Hashable
|
1061
|
-
|
1062
|
-
# This is always sql#instancesUpdate.
|
1063
|
-
# Corresponds to the JSON property `kind`
|
1064
|
-
# @return [String]
|
1065
|
-
attr_accessor :kind
|
1066
|
-
|
1067
|
-
# An identifier that uniquely identifies the operation. You can use this
|
1068
|
-
# identifier to retrieve information about the operation.
|
1069
|
-
# Corresponds to the JSON property `operation`
|
1070
|
-
# @return [String]
|
1071
|
-
attr_accessor :operation
|
1072
|
-
|
1073
|
-
def initialize(**args)
|
1074
|
-
update!(**args)
|
1075
|
-
end
|
1076
|
-
|
1077
|
-
# Update properties of this object
|
1078
|
-
def update!(**args)
|
1079
|
-
@kind = args[:kind] if args.key?(:kind)
|
1080
|
-
@operation = args[:operation] if args.key?(:operation)
|
1081
|
-
end
|
1082
|
-
end
|
1083
|
-
|
1084
|
-
# IP Management configuration.
|
1085
|
-
class IpConfiguration
|
1086
|
-
include Google::Apis::Core::Hashable
|
1087
|
-
|
1088
|
-
# The list of external networks that are allowed to connect to the instance
|
1089
|
-
# using the IP. In CIDR notation, also known as 'slash' notation (e.g. 192.168.
|
1090
|
-
# 100.0/24).
|
1091
|
-
# Corresponds to the JSON property `authorizedNetworks`
|
1092
|
-
# @return [Array<String>]
|
1093
|
-
attr_accessor :authorized_networks
|
1094
|
-
|
1095
|
-
# Whether the instance should be assigned an IP address or not.
|
1096
|
-
# Corresponds to the JSON property `enabled`
|
1097
|
-
# @return [Boolean]
|
1098
|
-
attr_accessor :enabled
|
1099
|
-
alias_method :enabled?, :enabled
|
1100
|
-
|
1101
|
-
# This is always sql#ipConfiguration.
|
1102
|
-
# Corresponds to the JSON property `kind`
|
1103
|
-
# @return [String]
|
1104
|
-
attr_accessor :kind
|
1105
|
-
|
1106
|
-
# Whether SSL connections over IP should be enforced or not.
|
1107
|
-
# Corresponds to the JSON property `requireSsl`
|
1108
|
-
# @return [Boolean]
|
1109
|
-
attr_accessor :require_ssl
|
1110
|
-
alias_method :require_ssl?, :require_ssl
|
1111
|
-
|
1112
|
-
def initialize(**args)
|
1113
|
-
update!(**args)
|
1114
|
-
end
|
1115
|
-
|
1116
|
-
# Update properties of this object
|
1117
|
-
def update!(**args)
|
1118
|
-
@authorized_networks = args[:authorized_networks] if args.key?(:authorized_networks)
|
1119
|
-
@enabled = args[:enabled] if args.key?(:enabled)
|
1120
|
-
@kind = args[:kind] if args.key?(:kind)
|
1121
|
-
@require_ssl = args[:require_ssl] if args.key?(:require_ssl)
|
1122
|
-
end
|
1123
|
-
end
|
1124
|
-
|
1125
|
-
# Database instance IP Mapping.
|
1126
|
-
class IpMapping
|
1127
|
-
include Google::Apis::Core::Hashable
|
1128
|
-
|
1129
|
-
# The IP address assigned.
|
1130
|
-
# Corresponds to the JSON property `ipAddress`
|
1131
|
-
# @return [String]
|
1132
|
-
attr_accessor :ip_address
|
1133
|
-
|
1134
|
-
# The due time for this IP to be retired in RFC 3339 format, for example 2012-11-
|
1135
|
-
# 15T16:19:00.094Z. This field is only available when the IP is scheduled to be
|
1136
|
-
# retired.
|
1137
|
-
# Corresponds to the JSON property `timeToRetire`
|
1138
|
-
# @return [DateTime]
|
1139
|
-
attr_accessor :time_to_retire
|
1140
|
-
|
1141
|
-
def initialize(**args)
|
1142
|
-
update!(**args)
|
1143
|
-
end
|
1144
|
-
|
1145
|
-
# Update properties of this object
|
1146
|
-
def update!(**args)
|
1147
|
-
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
1148
|
-
@time_to_retire = args[:time_to_retire] if args.key?(:time_to_retire)
|
1149
|
-
end
|
1150
|
-
end
|
1151
|
-
|
1152
|
-
# Preferred location. This specifies where a Cloud SQL instance should
|
1153
|
-
# preferably be located, either in a specific Compute Engine zone, or co-located
|
1154
|
-
# with an App Engine application. Note that if the preferred location is not
|
1155
|
-
# available, the instance will be located as close as possible within the region.
|
1156
|
-
# Only one location may be specified.
|
1157
|
-
class LocationPreference
|
1158
|
-
include Google::Apis::Core::Hashable
|
1159
|
-
|
1160
|
-
# The App Engine application to follow, it must be in the same region as the
|
1161
|
-
# Cloud SQL instance.
|
1162
|
-
# Corresponds to the JSON property `followGaeApplication`
|
1163
|
-
# @return [String]
|
1164
|
-
attr_accessor :follow_gae_application
|
1165
|
-
|
1166
|
-
# This is always sql#locationPreference.
|
1167
|
-
# Corresponds to the JSON property `kind`
|
1168
|
-
# @return [String]
|
1169
|
-
attr_accessor :kind
|
1170
|
-
|
1171
|
-
# The preferred Compute Engine zone (e.g. us-centra1-a, us-central1-b, etc.).
|
1172
|
-
# Corresponds to the JSON property `zone`
|
1173
|
-
# @return [String]
|
1174
|
-
attr_accessor :zone
|
1175
|
-
|
1176
|
-
def initialize(**args)
|
1177
|
-
update!(**args)
|
1178
|
-
end
|
1179
|
-
|
1180
|
-
# Update properties of this object
|
1181
|
-
def update!(**args)
|
1182
|
-
@follow_gae_application = args[:follow_gae_application] if args.key?(:follow_gae_application)
|
1183
|
-
@kind = args[:kind] if args.key?(:kind)
|
1184
|
-
@zone = args[:zone] if args.key?(:zone)
|
1185
|
-
end
|
1186
|
-
end
|
1187
|
-
|
1188
|
-
# Database instance operation error.
|
1189
|
-
class OperationError
|
1190
|
-
include Google::Apis::Core::Hashable
|
1191
|
-
|
1192
|
-
# Identifies the specific error that occurred.
|
1193
|
-
# Corresponds to the JSON property `code`
|
1194
|
-
# @return [String]
|
1195
|
-
attr_accessor :code
|
1196
|
-
|
1197
|
-
# This is always sql#operationError.
|
1198
|
-
# Corresponds to the JSON property `kind`
|
1199
|
-
# @return [String]
|
1200
|
-
attr_accessor :kind
|
1201
|
-
|
1202
|
-
def initialize(**args)
|
1203
|
-
update!(**args)
|
1204
|
-
end
|
1205
|
-
|
1206
|
-
# Update properties of this object
|
1207
|
-
def update!(**args)
|
1208
|
-
@code = args[:code] if args.key?(:code)
|
1209
|
-
@kind = args[:kind] if args.key?(:kind)
|
1210
|
-
end
|
1211
|
-
end
|
1212
|
-
|
1213
|
-
# Database instance list operations response.
|
1214
|
-
class OperationsListResponse
|
1215
|
-
include Google::Apis::Core::Hashable
|
1216
|
-
|
1217
|
-
# List of operation resources.
|
1218
|
-
# Corresponds to the JSON property `items`
|
1219
|
-
# @return [Array<Google::Apis::SqladminV1beta3::InstanceOperation>]
|
1220
|
-
attr_accessor :items
|
1221
|
-
|
1222
|
-
# This is always sql#operationsList.
|
1223
|
-
# Corresponds to the JSON property `kind`
|
1224
|
-
# @return [String]
|
1225
|
-
attr_accessor :kind
|
1226
|
-
|
1227
|
-
# The continuation token, used to page through large result sets. Provide this
|
1228
|
-
# value in a subsequent request to return the next page of results.
|
1229
|
-
# Corresponds to the JSON property `nextPageToken`
|
1230
|
-
# @return [String]
|
1231
|
-
attr_accessor :next_page_token
|
1232
|
-
|
1233
|
-
def initialize(**args)
|
1234
|
-
update!(**args)
|
1235
|
-
end
|
1236
|
-
|
1237
|
-
# Update properties of this object
|
1238
|
-
def update!(**args)
|
1239
|
-
@items = args[:items] if args.key?(:items)
|
1240
|
-
@kind = args[:kind] if args.key?(:kind)
|
1241
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1242
|
-
end
|
1243
|
-
end
|
1244
|
-
|
1245
|
-
# Database instance set root password context.
|
1246
|
-
class SetRootPasswordContext
|
1247
|
-
include Google::Apis::Core::Hashable
|
1248
|
-
|
1249
|
-
# This is always sql#setRootUserContext.
|
1250
|
-
# Corresponds to the JSON property `kind`
|
1251
|
-
# @return [String]
|
1252
|
-
attr_accessor :kind
|
1253
|
-
|
1254
|
-
# The password for the root user.
|
1255
|
-
# Corresponds to the JSON property `password`
|
1256
|
-
# @return [String]
|
1257
|
-
attr_accessor :password
|
1258
|
-
|
1259
|
-
def initialize(**args)
|
1260
|
-
update!(**args)
|
1261
|
-
end
|
1262
|
-
|
1263
|
-
# Update properties of this object
|
1264
|
-
def update!(**args)
|
1265
|
-
@kind = args[:kind] if args.key?(:kind)
|
1266
|
-
@password = args[:password] if args.key?(:password)
|
1267
|
-
end
|
1268
|
-
end
|
1269
|
-
|
1270
|
-
# Database instance settings.
|
1271
|
-
class Settings
|
1272
|
-
include Google::Apis::Core::Hashable
|
1273
|
-
|
1274
|
-
# The activation policy for this instance. This specifies when the instance
|
1275
|
-
# should be activated and is applicable only when the instance state is RUNNABLE.
|
1276
|
-
# This can be one of the following.
|
1277
|
-
# ALWAYS: The instance should always be active.
|
1278
|
-
# NEVER: The instance should never be activated.
|
1279
|
-
# ON_DEMAND: The instance is activated upon receiving requests.
|
1280
|
-
# Corresponds to the JSON property `activationPolicy`
|
1281
|
-
# @return [String]
|
1282
|
-
attr_accessor :activation_policy
|
1283
|
-
|
1284
|
-
# The App Engine app IDs that can access this instance.
|
1285
|
-
# Corresponds to the JSON property `authorizedGaeApplications`
|
1286
|
-
# @return [Array<String>]
|
1287
|
-
attr_accessor :authorized_gae_applications
|
1288
|
-
|
1289
|
-
# The daily backup configuration for the instance.
|
1290
|
-
# Corresponds to the JSON property `backupConfiguration`
|
1291
|
-
# @return [Array<Google::Apis::SqladminV1beta3::BackupConfiguration>]
|
1292
|
-
attr_accessor :backup_configuration
|
1293
|
-
|
1294
|
-
# The database flags passed to the instance at startup.
|
1295
|
-
# Corresponds to the JSON property `databaseFlags`
|
1296
|
-
# @return [Array<Google::Apis::SqladminV1beta3::DatabaseFlags>]
|
1297
|
-
attr_accessor :database_flags
|
1298
|
-
|
1299
|
-
# Configuration specific to read replica instance. Indicates whether replication
|
1300
|
-
# is enabled or not.
|
1301
|
-
# Corresponds to the JSON property `databaseReplicationEnabled`
|
1302
|
-
# @return [Boolean]
|
1303
|
-
attr_accessor :database_replication_enabled
|
1304
|
-
alias_method :database_replication_enabled?, :database_replication_enabled
|
1305
|
-
|
1306
|
-
# IP Management configuration.
|
1307
|
-
# Corresponds to the JSON property `ipConfiguration`
|
1308
|
-
# @return [Google::Apis::SqladminV1beta3::IpConfiguration]
|
1309
|
-
attr_accessor :ip_configuration
|
1310
|
-
|
1311
|
-
# This is always sql#settings.
|
1312
|
-
# Corresponds to the JSON property `kind`
|
1313
|
-
# @return [String]
|
1314
|
-
attr_accessor :kind
|
1315
|
-
|
1316
|
-
# Preferred location. This specifies where a Cloud SQL instance should
|
1317
|
-
# preferably be located, either in a specific Compute Engine zone, or co-located
|
1318
|
-
# with an App Engine application. Note that if the preferred location is not
|
1319
|
-
# available, the instance will be located as close as possible within the region.
|
1320
|
-
# Only one location may be specified.
|
1321
|
-
# Corresponds to the JSON property `locationPreference`
|
1322
|
-
# @return [Google::Apis::SqladminV1beta3::LocationPreference]
|
1323
|
-
attr_accessor :location_preference
|
1324
|
-
|
1325
|
-
# The pricing plan for this instance. This can be either PER_USE or PACKAGE.
|
1326
|
-
# Corresponds to the JSON property `pricingPlan`
|
1327
|
-
# @return [String]
|
1328
|
-
attr_accessor :pricing_plan
|
1329
|
-
|
1330
|
-
# The type of replication this instance uses. This can be either ASYNCHRONOUS or
|
1331
|
-
# SYNCHRONOUS.
|
1332
|
-
# Corresponds to the JSON property `replicationType`
|
1333
|
-
# @return [String]
|
1334
|
-
attr_accessor :replication_type
|
1335
|
-
|
1336
|
-
# The version of instance settings. This is a required field for update method
|
1337
|
-
# to make sure concurrent updates are handled properly. During update, use the
|
1338
|
-
# most recent settingsVersion value for this instance and do not try to update
|
1339
|
-
# this value.
|
1340
|
-
# Corresponds to the JSON property `settingsVersion`
|
1341
|
-
# @return [Fixnum]
|
1342
|
-
attr_accessor :settings_version
|
1343
|
-
|
1344
|
-
# The tier of service for this instance, for example D1, D2. For more
|
1345
|
-
# information, see pricing.
|
1346
|
-
# Corresponds to the JSON property `tier`
|
1347
|
-
# @return [String]
|
1348
|
-
attr_accessor :tier
|
1349
|
-
|
1350
|
-
def initialize(**args)
|
1351
|
-
update!(**args)
|
1352
|
-
end
|
1353
|
-
|
1354
|
-
# Update properties of this object
|
1355
|
-
def update!(**args)
|
1356
|
-
@activation_policy = args[:activation_policy] if args.key?(:activation_policy)
|
1357
|
-
@authorized_gae_applications = args[:authorized_gae_applications] if args.key?(:authorized_gae_applications)
|
1358
|
-
@backup_configuration = args[:backup_configuration] if args.key?(:backup_configuration)
|
1359
|
-
@database_flags = args[:database_flags] if args.key?(:database_flags)
|
1360
|
-
@database_replication_enabled = args[:database_replication_enabled] if args.key?(:database_replication_enabled)
|
1361
|
-
@ip_configuration = args[:ip_configuration] if args.key?(:ip_configuration)
|
1362
|
-
@kind = args[:kind] if args.key?(:kind)
|
1363
|
-
@location_preference = args[:location_preference] if args.key?(:location_preference)
|
1364
|
-
@pricing_plan = args[:pricing_plan] if args.key?(:pricing_plan)
|
1365
|
-
@replication_type = args[:replication_type] if args.key?(:replication_type)
|
1366
|
-
@settings_version = args[:settings_version] if args.key?(:settings_version)
|
1367
|
-
@tier = args[:tier] if args.key?(:tier)
|
1368
|
-
end
|
1369
|
-
end
|
1370
|
-
|
1371
|
-
# SslCerts Resource
|
1372
|
-
class SslCert
|
1373
|
-
include Google::Apis::Core::Hashable
|
1374
|
-
|
1375
|
-
# PEM representation.
|
1376
|
-
# Corresponds to the JSON property `cert`
|
1377
|
-
# @return [String]
|
1378
|
-
attr_accessor :cert
|
1379
|
-
|
1380
|
-
# Serial number, as extracted from the certificate.
|
1381
|
-
# Corresponds to the JSON property `certSerialNumber`
|
1382
|
-
# @return [String]
|
1383
|
-
attr_accessor :cert_serial_number
|
1384
|
-
|
1385
|
-
# User supplied name. Constrained to [a-zA-Z.-_ ]+.
|
1386
|
-
# Corresponds to the JSON property `commonName`
|
1387
|
-
# @return [String]
|
1388
|
-
attr_accessor :common_name
|
1389
|
-
|
1390
|
-
# Time when the certificate was created.
|
1391
|
-
# Corresponds to the JSON property `createTime`
|
1392
|
-
# @return [DateTime]
|
1393
|
-
attr_accessor :create_time
|
1394
|
-
|
1395
|
-
# Time when the certificate expires.
|
1396
|
-
# Corresponds to the JSON property `expirationTime`
|
1397
|
-
# @return [DateTime]
|
1398
|
-
attr_accessor :expiration_time
|
1399
|
-
|
1400
|
-
# Name of the database instance.
|
1401
|
-
# Corresponds to the JSON property `instance`
|
1402
|
-
# @return [String]
|
1403
|
-
attr_accessor :instance
|
1404
|
-
|
1405
|
-
# This is always sql#sslCert.
|
1406
|
-
# Corresponds to the JSON property `kind`
|
1407
|
-
# @return [String]
|
1408
|
-
attr_accessor :kind
|
1409
|
-
|
1410
|
-
# Sha1 Fingerprint.
|
1411
|
-
# Corresponds to the JSON property `sha1Fingerprint`
|
1412
|
-
# @return [String]
|
1413
|
-
attr_accessor :sha1_fingerprint
|
1414
|
-
|
1415
|
-
def initialize(**args)
|
1416
|
-
update!(**args)
|
1417
|
-
end
|
1418
|
-
|
1419
|
-
# Update properties of this object
|
1420
|
-
def update!(**args)
|
1421
|
-
@cert = args[:cert] if args.key?(:cert)
|
1422
|
-
@cert_serial_number = args[:cert_serial_number] if args.key?(:cert_serial_number)
|
1423
|
-
@common_name = args[:common_name] if args.key?(:common_name)
|
1424
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
1425
|
-
@expiration_time = args[:expiration_time] if args.key?(:expiration_time)
|
1426
|
-
@instance = args[:instance] if args.key?(:instance)
|
1427
|
-
@kind = args[:kind] if args.key?(:kind)
|
1428
|
-
@sha1_fingerprint = args[:sha1_fingerprint] if args.key?(:sha1_fingerprint)
|
1429
|
-
end
|
1430
|
-
end
|
1431
|
-
|
1432
|
-
# SslCertDetail.
|
1433
|
-
class SslCertDetail
|
1434
|
-
include Google::Apis::Core::Hashable
|
1435
|
-
|
1436
|
-
# SslCerts Resource
|
1437
|
-
# Corresponds to the JSON property `certInfo`
|
1438
|
-
# @return [Google::Apis::SqladminV1beta3::SslCert]
|
1439
|
-
attr_accessor :cert_info
|
1440
|
-
|
1441
|
-
# The private key for the client cert, in pem format. Keep private in order to
|
1442
|
-
# protect your security.
|
1443
|
-
# Corresponds to the JSON property `certPrivateKey`
|
1444
|
-
# @return [String]
|
1445
|
-
attr_accessor :cert_private_key
|
1446
|
-
|
1447
|
-
def initialize(**args)
|
1448
|
-
update!(**args)
|
1449
|
-
end
|
1450
|
-
|
1451
|
-
# Update properties of this object
|
1452
|
-
def update!(**args)
|
1453
|
-
@cert_info = args[:cert_info] if args.key?(:cert_info)
|
1454
|
-
@cert_private_key = args[:cert_private_key] if args.key?(:cert_private_key)
|
1455
|
-
end
|
1456
|
-
end
|
1457
|
-
|
1458
|
-
# SslCert delete response.
|
1459
|
-
class SslCertsDeleteResponse
|
1460
|
-
include Google::Apis::Core::Hashable
|
1461
|
-
|
1462
|
-
# This is always sql#sslCertsDelete.
|
1463
|
-
# Corresponds to the JSON property `kind`
|
1464
|
-
# @return [String]
|
1465
|
-
attr_accessor :kind
|
1466
|
-
|
1467
|
-
# An identifier that uniquely identifies the operation. You can use this
|
1468
|
-
# identifier to retrieve the Operations resource that has information about the
|
1469
|
-
# operation.
|
1470
|
-
# Corresponds to the JSON property `operation`
|
1471
|
-
# @return [String]
|
1472
|
-
attr_accessor :operation
|
1473
|
-
|
1474
|
-
def initialize(**args)
|
1475
|
-
update!(**args)
|
1476
|
-
end
|
1477
|
-
|
1478
|
-
# Update properties of this object
|
1479
|
-
def update!(**args)
|
1480
|
-
@kind = args[:kind] if args.key?(:kind)
|
1481
|
-
@operation = args[:operation] if args.key?(:operation)
|
1482
|
-
end
|
1483
|
-
end
|
1484
|
-
|
1485
|
-
# SslCerts insert request.
|
1486
|
-
class SslCertsInsertRequest
|
1487
|
-
include Google::Apis::Core::Hashable
|
1488
|
-
|
1489
|
-
# User supplied name. Must be a distinct name from the other certificates for
|
1490
|
-
# this instance. New certificates will not be usable until the instance is
|
1491
|
-
# restarted.
|
1492
|
-
# Corresponds to the JSON property `commonName`
|
1493
|
-
# @return [String]
|
1494
|
-
attr_accessor :common_name
|
1495
|
-
|
1496
|
-
def initialize(**args)
|
1497
|
-
update!(**args)
|
1498
|
-
end
|
1499
|
-
|
1500
|
-
# Update properties of this object
|
1501
|
-
def update!(**args)
|
1502
|
-
@common_name = args[:common_name] if args.key?(:common_name)
|
1503
|
-
end
|
1504
|
-
end
|
1505
|
-
|
1506
|
-
# SslCert insert response.
|
1507
|
-
class SslCertsInsertResponse
|
1508
|
-
include Google::Apis::Core::Hashable
|
1509
|
-
|
1510
|
-
# SslCertDetail.
|
1511
|
-
# Corresponds to the JSON property `clientCert`
|
1512
|
-
# @return [Google::Apis::SqladminV1beta3::SslCertDetail]
|
1513
|
-
attr_accessor :client_cert
|
1514
|
-
|
1515
|
-
# This is always sql#sslCertsInsert.
|
1516
|
-
# Corresponds to the JSON property `kind`
|
1517
|
-
# @return [String]
|
1518
|
-
attr_accessor :kind
|
1519
|
-
|
1520
|
-
# SslCerts Resource
|
1521
|
-
# Corresponds to the JSON property `serverCaCert`
|
1522
|
-
# @return [Google::Apis::SqladminV1beta3::SslCert]
|
1523
|
-
attr_accessor :server_ca_cert
|
1524
|
-
|
1525
|
-
def initialize(**args)
|
1526
|
-
update!(**args)
|
1527
|
-
end
|
1528
|
-
|
1529
|
-
# Update properties of this object
|
1530
|
-
def update!(**args)
|
1531
|
-
@client_cert = args[:client_cert] if args.key?(:client_cert)
|
1532
|
-
@kind = args[:kind] if args.key?(:kind)
|
1533
|
-
@server_ca_cert = args[:server_ca_cert] if args.key?(:server_ca_cert)
|
1534
|
-
end
|
1535
|
-
end
|
1536
|
-
|
1537
|
-
# SslCerts list response.
|
1538
|
-
class SslCertsListResponse
|
1539
|
-
include Google::Apis::Core::Hashable
|
1540
|
-
|
1541
|
-
# List of client certificates for the instance.
|
1542
|
-
# Corresponds to the JSON property `items`
|
1543
|
-
# @return [Array<Google::Apis::SqladminV1beta3::SslCert>]
|
1544
|
-
attr_accessor :items
|
1545
|
-
|
1546
|
-
# This is always sql#sslCertsList.
|
1547
|
-
# Corresponds to the JSON property `kind`
|
1548
|
-
# @return [String]
|
1549
|
-
attr_accessor :kind
|
1550
|
-
|
1551
|
-
def initialize(**args)
|
1552
|
-
update!(**args)
|
1553
|
-
end
|
1554
|
-
|
1555
|
-
# Update properties of this object
|
1556
|
-
def update!(**args)
|
1557
|
-
@items = args[:items] if args.key?(:items)
|
1558
|
-
@kind = args[:kind] if args.key?(:kind)
|
1559
|
-
end
|
1560
|
-
end
|
1561
|
-
|
1562
|
-
# A Google Cloud SQL service tier resource.
|
1563
|
-
class Tier
|
1564
|
-
include Google::Apis::Core::Hashable
|
1565
|
-
|
1566
|
-
# The maximum disk size of this tier in bytes.
|
1567
|
-
# Corresponds to the JSON property `DiskQuota`
|
1568
|
-
# @return [Fixnum]
|
1569
|
-
attr_accessor :disk_quota
|
1570
|
-
|
1571
|
-
# The maximum RAM usage of this tier in bytes.
|
1572
|
-
# Corresponds to the JSON property `RAM`
|
1573
|
-
# @return [Fixnum]
|
1574
|
-
attr_accessor :ram
|
1575
|
-
|
1576
|
-
# This is always sql#tier.
|
1577
|
-
# Corresponds to the JSON property `kind`
|
1578
|
-
# @return [String]
|
1579
|
-
attr_accessor :kind
|
1580
|
-
|
1581
|
-
# The applicable regions for this tier.
|
1582
|
-
# Corresponds to the JSON property `region`
|
1583
|
-
# @return [Array<String>]
|
1584
|
-
attr_accessor :region
|
1585
|
-
|
1586
|
-
# An identifier for the service tier, for example D1, D2 etc. For related
|
1587
|
-
# information, see Pricing.
|
1588
|
-
# Corresponds to the JSON property `tier`
|
1589
|
-
# @return [String]
|
1590
|
-
attr_accessor :tier
|
1591
|
-
|
1592
|
-
def initialize(**args)
|
1593
|
-
update!(**args)
|
1594
|
-
end
|
1595
|
-
|
1596
|
-
# Update properties of this object
|
1597
|
-
def update!(**args)
|
1598
|
-
@disk_quota = args[:disk_quota] if args.key?(:disk_quota)
|
1599
|
-
@ram = args[:ram] if args.key?(:ram)
|
1600
|
-
@kind = args[:kind] if args.key?(:kind)
|
1601
|
-
@region = args[:region] if args.key?(:region)
|
1602
|
-
@tier = args[:tier] if args.key?(:tier)
|
1603
|
-
end
|
1604
|
-
end
|
1605
|
-
|
1606
|
-
# Tiers list response.
|
1607
|
-
class TiersListResponse
|
1608
|
-
include Google::Apis::Core::Hashable
|
1609
|
-
|
1610
|
-
# List of tiers.
|
1611
|
-
# Corresponds to the JSON property `items`
|
1612
|
-
# @return [Array<Google::Apis::SqladminV1beta3::Tier>]
|
1613
|
-
attr_accessor :items
|
1614
|
-
|
1615
|
-
# This is always sql#tiersList.
|
1616
|
-
# Corresponds to the JSON property `kind`
|
1617
|
-
# @return [String]
|
1618
|
-
attr_accessor :kind
|
1619
|
-
|
1620
|
-
def initialize(**args)
|
1621
|
-
update!(**args)
|
1622
|
-
end
|
1623
|
-
|
1624
|
-
# Update properties of this object
|
1625
|
-
def update!(**args)
|
1626
|
-
@items = args[:items] if args.key?(:items)
|
1627
|
-
@kind = args[:kind] if args.key?(:kind)
|
1628
|
-
end
|
1629
|
-
end
|
1630
|
-
end
|
1631
|
-
end
|
1632
|
-
end
|