google-cloud-sql-v1beta4 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -6
- data/lib/google/cloud/sql/v1beta4/cloud_sql_pb.rb +12 -1
- data/lib/google/cloud/sql/v1beta4/cloud_sql_resources_pb.rb +16 -1
- data/lib/google/cloud/sql/v1beta4/cloud_sql_services_pb.rb +27 -0
- data/lib/google/cloud/sql/v1beta4/cloud_sql_users_services_pb.rb +1 -0
- data/lib/google/cloud/sql/v1beta4/cloud_sql_workload_captures_pb.rb +2 -1
- data/lib/google/cloud/sql/v1beta4/sql_backup_runs_service/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_backup_runs_service/rest/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_backup_runs_service/rest.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_backup_runs_service.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_backups_service/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_backups_service/paths.rb +17 -0
- data/lib/google/cloud/sql/v1beta4/sql_backups_service/rest/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_backups_service/rest.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_backups_service.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_databases_service/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_databases_service/rest/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_databases_service/rest.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_databases_service.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_flags_service/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_flags_service/rest/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_flags_service/rest.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_flags_service.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_instances_service/client.rb +411 -0
- data/lib/google/cloud/sql/v1beta4/sql_instances_service/paths.rb +17 -0
- data/lib/google/cloud/sql/v1beta4/sql_instances_service/rest/client.rb +371 -0
- data/lib/google/cloud/sql/v1beta4/sql_instances_service/rest/service_stub.rb +250 -0
- data/lib/google/cloud/sql/v1beta4/sql_instances_service/rest.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_instances_service.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_operations_service/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_operations_service/rest/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_operations_service/rest.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_operations_service.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_ssl_certs_service/client.rb +317 -0
- data/lib/google/cloud/sql/v1beta4/sql_ssl_certs_service/rest/client.rb +281 -0
- data/lib/google/cloud/sql/v1beta4/sql_ssl_certs_service/rest/service_stub.rb +189 -0
- data/lib/google/cloud/sql/v1beta4/sql_ssl_certs_service/rest.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_ssl_certs_service.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_users_service/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_users_service/rest/client.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_users_service/rest.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/sql_users_service.rb +2 -0
- data/lib/google/cloud/sql/v1beta4/version.rb +1 -1
- data/proto_docs/google/cloud/sql/v1beta4/cloud_sql.rb +227 -0
- data/proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb +325 -0
- data/proto_docs/google/cloud/sql/v1beta4/cloud_sql_workload_captures.rb +16 -0
- metadata +1 -1
|
@@ -846,6 +846,15 @@ module Google
|
|
|
846
846
|
# @return [::Google::Cloud::Sql::V1beta4::DatabaseInstance::DatabaseCenterIntegration]
|
|
847
847
|
# Optional. State of the Database Center integration for this instance.
|
|
848
848
|
# When unspecified, Database Center integration is enabled by default.
|
|
849
|
+
# @!attribute [r] workload_replay_config
|
|
850
|
+
# @return [::Google::Cloud::Sql::V1beta4::WorkloadReplayConfig]
|
|
851
|
+
# Output only. The workload replay configuration for this instance. This
|
|
852
|
+
# field is set only for workload replay instances.
|
|
853
|
+
# @!attribute [r] workload_capture_config
|
|
854
|
+
# @return [::Google::Cloud::Sql::V1beta4::WorkloadCaptureConfig]
|
|
855
|
+
# Output only. The workload capture configuration for this instance. This
|
|
856
|
+
# field is set only when an active workload capture is present on the
|
|
857
|
+
# instance.
|
|
849
858
|
class DatabaseInstance
|
|
850
859
|
include ::Google::Protobuf::MessageExts
|
|
851
860
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1074,6 +1083,135 @@ module Google
|
|
|
1074
1083
|
end
|
|
1075
1084
|
end
|
|
1076
1085
|
|
|
1086
|
+
# The workload replay configuration for a Cloud SQL replay instance.
|
|
1087
|
+
# @!attribute [r] workload_id
|
|
1088
|
+
# @return [::String]
|
|
1089
|
+
# Output only. The ID of the captured workload being replayed.
|
|
1090
|
+
# @!attribute [r] source_instance
|
|
1091
|
+
# @return [::String]
|
|
1092
|
+
# Output only. The name of the source instance, excluding the project ID,
|
|
1093
|
+
# where the workload was captured.
|
|
1094
|
+
# @!attribute [r] replay_mode
|
|
1095
|
+
# @return [::Google::Cloud::Sql::V1beta4::WorkloadReplayConfig::ReplayMode]
|
|
1096
|
+
# Output only. The mode of the workload replay.
|
|
1097
|
+
# @!attribute [r] state
|
|
1098
|
+
# @return [::Google::Cloud::Sql::V1beta4::WorkloadReplayConfig::State]
|
|
1099
|
+
# Output only. The state of the workload replay.
|
|
1100
|
+
# @!attribute [r] start_time
|
|
1101
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1102
|
+
# Output only. The start time of the workload replay.
|
|
1103
|
+
# @!attribute [r] end_time
|
|
1104
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1105
|
+
# Output only. The end time of the workload replay. This field is unset while
|
|
1106
|
+
# the replay is running.
|
|
1107
|
+
class WorkloadReplayConfig
|
|
1108
|
+
include ::Google::Protobuf::MessageExts
|
|
1109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1110
|
+
|
|
1111
|
+
# The mode of workload replay.
|
|
1112
|
+
module ReplayMode
|
|
1113
|
+
# Default value. This value is unused.
|
|
1114
|
+
REPLAY_MODE_UNSPECIFIED = 0
|
|
1115
|
+
|
|
1116
|
+
# Live workload replay mode.
|
|
1117
|
+
LIVE = 1
|
|
1118
|
+
|
|
1119
|
+
# Offline (delayed) workload replay mode.
|
|
1120
|
+
OFFLINE = 2
|
|
1121
|
+
end
|
|
1122
|
+
|
|
1123
|
+
# The state of the workload replay.
|
|
1124
|
+
module State
|
|
1125
|
+
# Default value. This value is unused.
|
|
1126
|
+
STATE_UNSPECIFIED = 0
|
|
1127
|
+
|
|
1128
|
+
# Workload replay is currently running.
|
|
1129
|
+
RUNNING = 1
|
|
1130
|
+
|
|
1131
|
+
# Workload replay completed successfully. Cloud SQL sets this state when
|
|
1132
|
+
# all captured workload files finish replaying or when you explicitly
|
|
1133
|
+
# stop the replay.
|
|
1134
|
+
COMPLETED = 2
|
|
1135
|
+
|
|
1136
|
+
# Workload replay failed.
|
|
1137
|
+
FAILED = 3
|
|
1138
|
+
|
|
1139
|
+
# Workload replay was terminated automatically. Cloud SQL sets this state
|
|
1140
|
+
# when it automatically stops the replay because of a conflicting
|
|
1141
|
+
# operation.
|
|
1142
|
+
TERMINATED = 4
|
|
1143
|
+
end
|
|
1144
|
+
end
|
|
1145
|
+
|
|
1146
|
+
# The workload capture configuration for a Cloud SQL primary instance.
|
|
1147
|
+
# @!attribute [r] workload_id
|
|
1148
|
+
# @return [::String]
|
|
1149
|
+
# Output only. The ID of the captured workload.
|
|
1150
|
+
# @!attribute [r] capture_mode
|
|
1151
|
+
# @return [::Google::Cloud::Sql::V1beta4::WorkloadCaptureConfig::CaptureMode]
|
|
1152
|
+
# Output only. The mode of the workload capture.
|
|
1153
|
+
# @!attribute [r] state
|
|
1154
|
+
# @return [::Google::Cloud::Sql::V1beta4::WorkloadCaptureConfig::State]
|
|
1155
|
+
# Output only. The state of the workload capture.
|
|
1156
|
+
# @!attribute [r] start_time
|
|
1157
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1158
|
+
# Output only. The start time of the workload capture.
|
|
1159
|
+
# @!attribute [r] end_time
|
|
1160
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
1161
|
+
# Output only. The end time of the workload capture. This field is unset
|
|
1162
|
+
# while the capture is running.
|
|
1163
|
+
# @!attribute [r] replay_instance
|
|
1164
|
+
# @return [::String]
|
|
1165
|
+
# Output only. The name of the replay instance, excluding the project ID, if
|
|
1166
|
+
# live replay is enabled.
|
|
1167
|
+
# @!attribute [r] retention_days
|
|
1168
|
+
# @return [::Integer]
|
|
1169
|
+
# Output only. The retention period in days for the captured workload.
|
|
1170
|
+
# @!attribute [r] backup_id
|
|
1171
|
+
# @return [::String]
|
|
1172
|
+
# Output only. The base backup ID associated with the workload capture.
|
|
1173
|
+
# @!attribute [r] max_capture_duration
|
|
1174
|
+
# @return [::Google::Protobuf::Duration]
|
|
1175
|
+
# Output only. The maximum duration for this workload capture.
|
|
1176
|
+
class WorkloadCaptureConfig
|
|
1177
|
+
include ::Google::Protobuf::MessageExts
|
|
1178
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1179
|
+
|
|
1180
|
+
# The mode of workload capture.
|
|
1181
|
+
module CaptureMode
|
|
1182
|
+
# Default value. This value is unused.
|
|
1183
|
+
CAPTURE_MODE_UNSPECIFIED = 0
|
|
1184
|
+
|
|
1185
|
+
# Captures the workload on the primary instance without live replay.
|
|
1186
|
+
CAPTURE_ONLY = 1
|
|
1187
|
+
|
|
1188
|
+
# Captures the workload and simultaneously replays it on a live replay
|
|
1189
|
+
# instance.
|
|
1190
|
+
CAPTURE_AND_LIVE_REPLAY = 2
|
|
1191
|
+
end
|
|
1192
|
+
|
|
1193
|
+
# The state of the workload capture.
|
|
1194
|
+
module State
|
|
1195
|
+
# Default value. This value is unused.
|
|
1196
|
+
STATE_UNSPECIFIED = 0
|
|
1197
|
+
|
|
1198
|
+
# Workload capture is currently running.
|
|
1199
|
+
RUNNING = 1
|
|
1200
|
+
|
|
1201
|
+
# Workload capture completed successfully. Cloud SQL sets this state when
|
|
1202
|
+
# you explicitly stop the capture.
|
|
1203
|
+
COMPLETED = 2
|
|
1204
|
+
|
|
1205
|
+
# Workload capture failed.
|
|
1206
|
+
FAILED = 3
|
|
1207
|
+
|
|
1208
|
+
# Workload capture was terminated automatically. Cloud SQL sets this state
|
|
1209
|
+
# when it automatically stops the capture because of a conflicting
|
|
1210
|
+
# operation or because the capture reached its maximum duration.
|
|
1211
|
+
TERMINATED = 4
|
|
1212
|
+
end
|
|
1213
|
+
end
|
|
1214
|
+
|
|
1077
1215
|
# DNS metadata.
|
|
1078
1216
|
# @!attribute [r] name
|
|
1079
1217
|
# @return [::String]
|
|
@@ -3213,6 +3351,10 @@ module Google
|
|
|
3213
3351
|
|
|
3214
3352
|
# Sends a message to a Cloud SQL agent.
|
|
3215
3353
|
AGENT_SEND_MESSAGE = 59
|
|
3354
|
+
|
|
3355
|
+
# Reconciles network infrastructure (e.g. Private Service Connect,
|
|
3356
|
+
# Automated DNS Records).
|
|
3357
|
+
RECONCILE_NETWORKING = 64
|
|
3216
3358
|
end
|
|
3217
3359
|
|
|
3218
3360
|
# The status of an operation.
|
|
@@ -3541,6 +3683,14 @@ module Google
|
|
|
3541
3683
|
# @!attribute [rw] insights_config
|
|
3542
3684
|
# @return [::Google::Cloud::Sql::V1beta4::InsightsConfig]
|
|
3543
3685
|
# Insights configuration, for now relevant only for Postgres.
|
|
3686
|
+
# @!attribute [rw] msdtc_enabled
|
|
3687
|
+
# @return [::Boolean]
|
|
3688
|
+
# Optional. Enables Microsoft Distributed Transaction Coordinator (MSDTC) for
|
|
3689
|
+
# SQL Server.
|
|
3690
|
+
# @!attribute [rw] msdtc_rpc_auth_mode
|
|
3691
|
+
# @return [::Google::Cloud::Sql::V1beta4::Settings::MsdtcRpcAuthMode]
|
|
3692
|
+
# Optional. RPC authentication mode for Microsoft Distributed Transaction
|
|
3693
|
+
# Coordinator (MSDTC).
|
|
3544
3694
|
# @!attribute [rw] password_validation_policy
|
|
3545
3695
|
# @return [::Google::Cloud::Sql::V1beta4::PasswordValidationPolicy]
|
|
3546
3696
|
# The local user password validation policy of the instance for PostgreSQL
|
|
@@ -3634,6 +3784,10 @@ module Google
|
|
|
3634
3784
|
# @return [::Google::Cloud::Sql::V1beta4::PerformanceCaptureConfig]
|
|
3635
3785
|
# Optional. Configuration for Performance Capture, provides diagnostic
|
|
3636
3786
|
# metrics during high load situations.
|
|
3787
|
+
# @!attribute [rw] initial_users_config
|
|
3788
|
+
# @return [::Google::Cloud::Sql::V1beta4::InitialUsersConfig]
|
|
3789
|
+
# Optional. Input only. Users to be created on the instance during instance
|
|
3790
|
+
# creation.
|
|
3637
3791
|
class Settings
|
|
3638
3792
|
include ::Google::Protobuf::MessageExts
|
|
3639
3793
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -3662,6 +3816,30 @@ module Google
|
|
|
3662
3816
|
ON_DEMAND = 3
|
|
3663
3817
|
end
|
|
3664
3818
|
|
|
3819
|
+
# RPC authentication modes for Microsoft Distributed Transaction Coordinator
|
|
3820
|
+
# (MSDTC).
|
|
3821
|
+
module MsdtcRpcAuthMode
|
|
3822
|
+
# Unspecified RPC authentication mode.
|
|
3823
|
+
MSDTC_RPC_AUTH_MODE_UNSPECIFIED = 0
|
|
3824
|
+
|
|
3825
|
+
# Allow only secure RPC calls. Both servers (caller and receiver) must
|
|
3826
|
+
# successfully verify each other's identities, typically using Active
|
|
3827
|
+
# Directory machine accounts and Kerberos Service Principal Names (SPNs).
|
|
3828
|
+
# This is equivalent to Mutual Authentication in Microsoft SQL Server on
|
|
3829
|
+
# Windows.
|
|
3830
|
+
ALLOW_ONLY_SECURE_RPC_CALLS = 1
|
|
3831
|
+
|
|
3832
|
+
# Similar to Incoming authentication mode in Microsoft SQL Server on
|
|
3833
|
+
# Windows, the caller authenticates to the receiver.
|
|
3834
|
+
# The receiver verifies the caller's identity, but the Receiver does not
|
|
3835
|
+
# authenticate itself back to the caller.
|
|
3836
|
+
FALLBACK_TO_UNSECURE_RPC_IF_NECESSARY = 2
|
|
3837
|
+
|
|
3838
|
+
# No authentication. Highly insecure and thus should only be used on
|
|
3839
|
+
# already secure networks and never over public IP.
|
|
3840
|
+
TURN_OFF_RPC_SECURITY = 3
|
|
3841
|
+
end
|
|
3842
|
+
|
|
3665
3843
|
# The list of Cloud SQL editions available to users.
|
|
3666
3844
|
module Edition
|
|
3667
3845
|
# The instance did not specify the edition.
|
|
@@ -3855,6 +4033,54 @@ module Google
|
|
|
3855
4033
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
3856
4034
|
end
|
|
3857
4035
|
|
|
4036
|
+
# DNS Entry for the primary instance in a replication topology.
|
|
4037
|
+
# @!attribute [rw] dns
|
|
4038
|
+
# @return [::String]
|
|
4039
|
+
# Required. The DNS name.
|
|
4040
|
+
# @!attribute [rw] ipv4_address
|
|
4041
|
+
# @return [::String]
|
|
4042
|
+
# Required. The IP address.
|
|
4043
|
+
class DNSEntry
|
|
4044
|
+
include ::Google::Protobuf::MessageExts
|
|
4045
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4046
|
+
end
|
|
4047
|
+
|
|
4048
|
+
# A single certificate or key in a customer managed certificate bundle.
|
|
4049
|
+
# @!attribute [rw] certificate_type
|
|
4050
|
+
# @return [::Google::Cloud::Sql::V1beta4::CertificateType]
|
|
4051
|
+
# Required. The certificate type.
|
|
4052
|
+
# @!attribute [rw] content
|
|
4053
|
+
# @return [::String]
|
|
4054
|
+
# Required. Input only. The PEM-encoded certificate or key content in base64
|
|
4055
|
+
# format.
|
|
4056
|
+
# @!attribute [r] file_path
|
|
4057
|
+
# @return [::String]
|
|
4058
|
+
# Output only. File path of the PEM-encoded certificate or key content.
|
|
4059
|
+
class CustomerManagedCertificate
|
|
4060
|
+
include ::Google::Protobuf::MessageExts
|
|
4061
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4062
|
+
end
|
|
4063
|
+
|
|
4064
|
+
# Customer managed certificate SSL configuration.
|
|
4065
|
+
# @!attribute [r] bundle
|
|
4066
|
+
# @return [::String]
|
|
4067
|
+
# Output only. The name of the customer managed certificate configuration.
|
|
4068
|
+
# This name will be used to identify a certificate bundle.
|
|
4069
|
+
# @!attribute [rw] intent
|
|
4070
|
+
# @return [::Google::Cloud::Sql::V1beta4::Intent]
|
|
4071
|
+
# Required. The intent for this customer managed certificate configuration.
|
|
4072
|
+
# @!attribute [rw] primary_dns_record
|
|
4073
|
+
# @return [::Google::Cloud::Sql::V1beta4::DNSEntry]
|
|
4074
|
+
# DNS name associated with the primary instance in a replication topology.
|
|
4075
|
+
# This is needed to insert a DNS entry in a replica VM.
|
|
4076
|
+
# @!attribute [rw] customer_managed_certificates
|
|
4077
|
+
# @return [::Array<::Google::Cloud::Sql::V1beta4::CustomerManagedCertificate>]
|
|
4078
|
+
# Required. The server CA certificate, client key and client certificate.
|
|
4079
|
+
class CustomerManagedCertificateConfig
|
|
4080
|
+
include ::Google::Protobuf::MessageExts
|
|
4081
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4082
|
+
end
|
|
4083
|
+
|
|
3858
4084
|
# SslCerts create ephemeral certificate request.
|
|
3859
4085
|
# @!attribute [rw] public_key
|
|
3860
4086
|
# @return [::String]
|
|
@@ -4035,6 +4261,68 @@ module Google
|
|
|
4035
4261
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4036
4262
|
end
|
|
4037
4263
|
|
|
4264
|
+
# Configuration for users created during instance creation.
|
|
4265
|
+
# @!attribute [rw] initial_users
|
|
4266
|
+
# @return [::Array<::Google::Cloud::Sql::V1beta4::InitialUsersConfig::InitialUser>]
|
|
4267
|
+
# Optional. List of IAM users to be created during instance creation.
|
|
4268
|
+
# A maximum of 5 users are allowed.
|
|
4269
|
+
class InitialUsersConfig
|
|
4270
|
+
include ::Google::Protobuf::MessageExts
|
|
4271
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4272
|
+
|
|
4273
|
+
# Configuration for an IAM user created during instance creation.
|
|
4274
|
+
# @!attribute [rw] name
|
|
4275
|
+
# @return [::String]
|
|
4276
|
+
# Required. The name of the user in the Cloud SQL instance.
|
|
4277
|
+
# @!attribute [rw] type
|
|
4278
|
+
# @return [::Google::Cloud::Sql::V1beta4::InitialUsersConfig::InitialUser::SqlUserType]
|
|
4279
|
+
# Required. The user type. Cannot be BUILT_IN.
|
|
4280
|
+
# @!attribute [rw] roles
|
|
4281
|
+
# @return [::Array<::String>]
|
|
4282
|
+
# Optional. The database roles to be assigned to the user. If empty, will
|
|
4283
|
+
# grant role `cloudsqlsuperuser`.
|
|
4284
|
+
class InitialUser
|
|
4285
|
+
include ::Google::Protobuf::MessageExts
|
|
4286
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
4287
|
+
|
|
4288
|
+
# The user type.
|
|
4289
|
+
module SqlUserType
|
|
4290
|
+
# The database's built-in user type. Not supported for initial user
|
|
4291
|
+
# creation.
|
|
4292
|
+
BUILT_IN = 0
|
|
4293
|
+
|
|
4294
|
+
# Cloud IAM user.
|
|
4295
|
+
# MySQL will truncate the @ and domain when it stores the user.
|
|
4296
|
+
CLOUD_IAM_USER = 1
|
|
4297
|
+
|
|
4298
|
+
# Cloud IAM service account.
|
|
4299
|
+
# For PostgreSQL, omit the .gserviceaccount.com suffix.
|
|
4300
|
+
# MySQL will truncate the @ and domain when it stores the user.
|
|
4301
|
+
CLOUD_IAM_SERVICE_ACCOUNT = 2
|
|
4302
|
+
|
|
4303
|
+
# Cloud IAM group.
|
|
4304
|
+
CLOUD_IAM_GROUP = 3
|
|
4305
|
+
|
|
4306
|
+
# Login for a user that belongs to the Cloud IAM group. Not supported for
|
|
4307
|
+
# initial user creation.
|
|
4308
|
+
CLOUD_IAM_GROUP_USER = 4
|
|
4309
|
+
|
|
4310
|
+
# Login for a service account that belongs to the
|
|
4311
|
+
# Cloud IAM group. Not supported for initial user creation.
|
|
4312
|
+
CLOUD_IAM_GROUP_SERVICE_ACCOUNT = 5
|
|
4313
|
+
|
|
4314
|
+
# Cloud IAM workforce identity.
|
|
4315
|
+
CLOUD_IAM_WORKFORCE_IDENTITY = 6
|
|
4316
|
+
|
|
4317
|
+
# Microsoft Entra ID user. Not supported for initial user creation.
|
|
4318
|
+
ENTRAID_USER = 7
|
|
4319
|
+
|
|
4320
|
+
# Active Directory user. Not supported for initial user creation.
|
|
4321
|
+
ACTIVE_DIRECTORY_USER = 8
|
|
4322
|
+
end
|
|
4323
|
+
end
|
|
4324
|
+
end
|
|
4325
|
+
|
|
4038
4326
|
# Connection pool flags for Cloud SQL instances managed connection pool
|
|
4039
4327
|
# configuration.
|
|
4040
4328
|
# @!attribute [rw] name
|
|
@@ -4182,6 +4470,10 @@ module Google
|
|
|
4182
4470
|
# instance. Each workload capture generates a unique ID in the format
|
|
4183
4471
|
# `workload-<epoch_timestamp>` (for example, `workload-1786046400`). Use this
|
|
4184
4472
|
# ID to start executing the recorded SQL queries.
|
|
4473
|
+
# @!attribute [r] source_instance
|
|
4474
|
+
# @return [::String]
|
|
4475
|
+
# Output only. The name of the source Cloud SQL instance where the workload
|
|
4476
|
+
# was captured, excluding the project ID (for example, `my-source-instance`).
|
|
4185
4477
|
class StartWorkloadReplayContext
|
|
4186
4478
|
include ::Google::Protobuf::MessageExts
|
|
4187
4479
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -4265,6 +4557,39 @@ module Google
|
|
|
4265
4557
|
REPLICA_INCLUDED_SELF_SERVICE_MAINTENANCE = 4
|
|
4266
4558
|
end
|
|
4267
4559
|
|
|
4560
|
+
# Certificate type for customer managed certificates.
|
|
4561
|
+
module CertificateType
|
|
4562
|
+
# Unspecified certificate type.
|
|
4563
|
+
CERTIFICATE_TYPE_UNSPECIFIED = 0
|
|
4564
|
+
|
|
4565
|
+
# The x509 PEM-encoded certificate of the CA that signed the source database
|
|
4566
|
+
# server's certificate.
|
|
4567
|
+
CERTIFICATE_TYPE_PEER_SERVER_CA = 1
|
|
4568
|
+
|
|
4569
|
+
# The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with
|
|
4570
|
+
# the Client Certificate.
|
|
4571
|
+
CERTIFICATE_TYPE_PEER_CLIENT_KEY = 2
|
|
4572
|
+
|
|
4573
|
+
# The x509 PEM-encoded certificate used by the client to authenticate
|
|
4574
|
+
# against the source database server.
|
|
4575
|
+
CERTIFICATE_TYPE_PEER_CLIENT_CERTIFICATE = 3
|
|
4576
|
+
end
|
|
4577
|
+
|
|
4578
|
+
# Intent for the customer managed certificate configuration.
|
|
4579
|
+
module Intent
|
|
4580
|
+
# Unspecified intent.
|
|
4581
|
+
INTENT_UNSPECIFIED = 0
|
|
4582
|
+
|
|
4583
|
+
# Configures customer-managed certificates for pg_logical extension to
|
|
4584
|
+
# achieve mTLS authentication.
|
|
4585
|
+
PG_LOGICAL = 1
|
|
4586
|
+
|
|
4587
|
+
# Configures customer-managed certificates for built-in PostgreSQL native
|
|
4588
|
+
# replication to achieve mTLS authentication. Supported for Cloud SQL for
|
|
4589
|
+
# PostgreSQL 10 and later.
|
|
4590
|
+
NATIVE_REPLICATION = 2
|
|
4591
|
+
end
|
|
4592
|
+
|
|
4268
4593
|
# The status of a backup run.
|
|
4269
4594
|
module SqlBackupRunStatus
|
|
4270
4595
|
# The status of the run is unknown.
|
|
@@ -138,6 +138,9 @@ module Google
|
|
|
138
138
|
# @!attribute [r] backup_id
|
|
139
139
|
# @return [::String]
|
|
140
140
|
# Output only. The base backup ID associated with the workload capture.
|
|
141
|
+
# @!attribute [r] capture_mode
|
|
142
|
+
# @return [::Google::Cloud::Sql::V1beta4::WorkloadCapture::WorkloadCaptureMode]
|
|
143
|
+
# Output only. The capture mode of the workload capture.
|
|
141
144
|
class WorkloadCapture
|
|
142
145
|
include ::Google::Protobuf::MessageExts
|
|
143
146
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -162,6 +165,19 @@ module Google
|
|
|
162
165
|
# or when the maximum duration is reached.
|
|
163
166
|
TERMINATED = 4
|
|
164
167
|
end
|
|
168
|
+
|
|
169
|
+
# Specifies the mode of the workload capture.
|
|
170
|
+
module WorkloadCaptureMode
|
|
171
|
+
# Default value. This value is unused.
|
|
172
|
+
WORKLOAD_CAPTURE_MODE_UNSPECIFIED = 0
|
|
173
|
+
|
|
174
|
+
# Records and stores the workload without live replay.
|
|
175
|
+
CAPTURE_ONLY = 1
|
|
176
|
+
|
|
177
|
+
# Records the workload and simultaneously replays it on a live replay
|
|
178
|
+
# instance.
|
|
179
|
+
CAPTURE_AND_LIVE_REPLAY = 2
|
|
180
|
+
end
|
|
165
181
|
end
|
|
166
182
|
end
|
|
167
183
|
end
|