google-cloud-sql-v1beta4 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40ad62cd847d6a95ed88d1e5241795c67a429e4bc34556f6845a6d8c9c1eb789
4
- data.tar.gz: 865dfaa096f4c7bfa7c8fdc1d8ac8563c5fee0fd86299c7fb8812d0442217e37
3
+ metadata.gz: 1d754fefdc78a6808d328711ecac4ce36b12ea06cd95ac19e808ece2a95aa14d
4
+ data.tar.gz: 6558b35de7d0a7dbdf0f13155c5f15be485798e831ffd559e3e9626687e75936
5
5
  SHA512:
6
- metadata.gz: 704ae24a911129376cf977af2e4ac38bdca31a822c585d0ef3f8ea71021e6211e2fba8f9f4304a26a92cc989b3c8a6585cedffee0d5ebf7c1485e2eddf75b5f7
7
- data.tar.gz: 57652a87599d731476a8dd2ad32bf739f04f0c8f1b67aee3b04d0835ac2e09ad9b20d5648d2326d516420578fe4b2ff80ebb83605adaf03a9defbf3ee2836c86
6
+ metadata.gz: 8ef609ab9c5c2580ef02713ced60b55a6a6bc2326eba54d16b85f2cf7ca16032a2e3c73351d940c8935396c106c78e4ca5bb77d1356e702d526e43060017a64d
7
+ data.tar.gz: 966e80e0b112aadbda8e202988b30ab3974b23b650c1cb57c819178fec03dbea65b85df94c189c8a5ed7fa3187079b1bfb71052b8fe34371aad5ef2c24b122f8
@@ -12,7 +12,7 @@ require 'google/protobuf/duration_pb'
12
12
  require 'google/protobuf/timestamp_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n.google/cloud/sql/v1beta4/cloud_sql_users.proto\x12\x18google.cloud.sql.v1beta4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x32google/cloud/sql/v1beta4/cloud_sql_resources.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"n\n\x15SqlUsersDeleteRequest\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0f\n\x07project\x18\x04 \x01(\t\x12\x16\n\x08location\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"k\n\x12SqlUsersGetRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07project\x18\x03 \x01(\t\x12\x0c\n\x04host\x18\x04 \x01(\t\x12\x16\n\x08location\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x80\x01\n\x15SqlUsersInsertRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12,\n\x04\x62ody\x18\x64 \x01(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\x12\x16\n\x08location\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"P\n\x13SqlUsersListRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x16\n\x08location\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\xf2\x02\n\x15SqlUsersUpdateRequest\x12\x12\n\x04host\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0f\n\x07project\x18\x04 \x01(\t\x12\x1c\n\x0e\x64\x61tabase_roles\x18\x05 \x03(\tB\x04\xe2\x41\x01\x01\x12(\n\x15revoke_existing_roles\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x1a\n\x0cserver_roles\x18\x07 \x03(\tB\x04\xe2\x41\x01\x01\x12/\n\x1crevoke_existing_server_roles\x18\x08 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12,\n\x04\x62ody\x18\x64 \x01(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\x12\x16\n\x08location\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x42\x18\n\x16_revoke_existing_rolesB\x1f\n\x1d_revoke_existing_server_roles\"\x8c\x02\n\x1cUserPasswordValidationPolicy\x12\x1f\n\x17\x61llowed_failed_attempts\x18\x01 \x01(\x05\x12?\n\x1cpassword_expiration_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12$\n\x1c\x65nable_failed_attempts_check\x18\x03 \x01(\x08\x12>\n\x06status\x18\x04 \x01(\x0b\x32(.google.cloud.sql.v1beta4.PasswordStatusB\x04\xe2\x41\x01\x03\x12$\n\x1c\x65nable_password_verification\x18\x05 \x01(\x08\"^\n\x0ePasswordStatus\x12\x0e\n\x06locked\x18\x01 \x01(\x08\x12<\n\x18password_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x8e\x08\n\x04User\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x12\n\x04host\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x10\n\x08instance\x18\x06 \x01(\t\x12\x0f\n\x07project\x18\x07 \x01(\t\x12\x38\n\x04type\x18\x08 \x01(\x0e\x32*.google.cloud.sql.v1beta4.User.SqlUserType\x12P\n\x16sqlserver_user_details\x18\t \x01(\x0b\x32..google.cloud.sql.v1beta4.SqlServerUserDetailsH\x00\x12\x17\n\tiam_email\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x12O\n\x0fpassword_policy\x18\x0c \x01(\x0b\x32\x36.google.cloud.sql.v1beta4.UserPasswordValidationPolicy\x12P\n\x12\x64ual_password_type\x18\r \x01(\x0e\x32/.google.cloud.sql.v1beta4.User.DualPasswordTypeH\x01\x88\x01\x01\x12\x41\n\niam_status\x18\x0e \x01(\x0e\x32(.google.cloud.sql.v1beta4.User.IamStatusH\x02\x88\x01\x01\x12\x1c\n\x0e\x64\x61tabase_roles\x18\x0f \x03(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cserver_roles\x18\x10 \x03(\tB\x04\xe2\x41\x01\x01\"\xd6\x01\n\x0bSqlUserType\x12\x0c\n\x08\x42UILT_IN\x10\x00\x12\x12\n\x0e\x43LOUD_IAM_USER\x10\x01\x12\x1d\n\x19\x43LOUD_IAM_SERVICE_ACCOUNT\x10\x02\x12\x13\n\x0f\x43LOUD_IAM_GROUP\x10\x03\x12\x18\n\x14\x43LOUD_IAM_GROUP_USER\x10\x04\x12#\n\x1f\x43LOUD_IAM_GROUP_SERVICE_ACCOUNT\x10\x05\x12 \n\x1c\x43LOUD_IAM_WORKFORCE_IDENTITY\x10\x06\x12\x10\n\x0c\x45NTRAID_USER\x10\x07\"|\n\x10\x44ualPasswordType\x12\"\n\x1e\x44UAL_PASSWORD_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17NO_MODIFY_DUAL_PASSWORD\x10\x01\x12\x14\n\x10NO_DUAL_PASSWORD\x10\x02\x12\x11\n\rDUAL_PASSWORD\x10\x03\"A\n\tIamStatus\x12\x1a\n\x16IAM_STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08INACTIVE\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x42\x0e\n\x0cuser_detailsB\x15\n\x13_dual_password_typeB\r\n\x0b_iam_status\">\n\x14SqlServerUserDetails\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12\x14\n\x0cserver_roles\x18\x02 \x03(\t\"m\n\x11UsersListResponse\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12-\n\x05items\x18\x02 \x03(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\x12\x1b\n\x0fnext_page_token\x18\x03 \x01(\tB\x02\x18\x01\x32\xd4\x07\n\x0fSqlUsersService\x12\xa2\x01\n\x06\x44\x65lete\x12/.google.cloud.sql.v1beta4.SqlUsersDeleteRequest\x1a#.google.cloud.sql.v1beta4.Operation\"B\x82\xd3\xe4\x93\x02<*:/sql/v1beta4/projects/{project}/instances/{instance}/users\x12\x9e\x01\n\x03Get\x12,.google.cloud.sql.v1beta4.SqlUsersGetRequest\x1a\x1e.google.cloud.sql.v1beta4.User\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/sql/v1beta4/projects/{project}/instances/{instance}/users/{name}\x12\xa8\x01\n\x06Insert\x12/.google.cloud.sql.v1beta4.SqlUsersInsertRequest\x1a#.google.cloud.sql.v1beta4.Operation\"H\x82\xd3\xe4\x93\x02\x42\":/sql/v1beta4/projects/{project}/instances/{instance}/users:\x04\x62ody\x12\xa6\x01\n\x04List\x12-.google.cloud.sql.v1beta4.SqlUsersListRequest\x1a+.google.cloud.sql.v1beta4.UsersListResponse\"B\x82\xd3\xe4\x93\x02<\x12:/sql/v1beta4/projects/{project}/instances/{instance}/users\x12\xa8\x01\n\x06Update\x12/.google.cloud.sql.v1beta4.SqlUsersUpdateRequest\x1a#.google.cloud.sql.v1beta4.Operation\"H\x82\xd3\xe4\x93\x02\x42\x1a:/sql/v1beta4/projects/{project}/instances/{instance}/users:\x04\x62ody\x1a|\xca\x41\x17sqladmin.googleapis.com\xd2\x41_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminBd\n\x1c\x63om.google.cloud.sql.v1beta4B\x12\x43loudSqlUsersProtoP\x01Z.cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpbb\x06proto3"
15
+ descriptor_data = "\n.google/cloud/sql/v1beta4/cloud_sql_users.proto\x12\x18google.cloud.sql.v1beta4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x32google/cloud/sql/v1beta4/cloud_sql_resources.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"n\n\x15SqlUsersDeleteRequest\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0f\n\x07project\x18\x04 \x01(\t\x12\x16\n\x08location\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"k\n\x12SqlUsersGetRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07project\x18\x03 \x01(\t\x12\x0c\n\x04host\x18\x04 \x01(\t\x12\x16\n\x08location\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"\x80\x01\n\x15SqlUsersInsertRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12,\n\x04\x62ody\x18\x64 \x01(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\x12\x16\n\x08location\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"P\n\x13SqlUsersListRequest\x12\x10\n\x08instance\x18\x01 \x01(\t\x12\x0f\n\x07project\x18\x02 \x01(\t\x12\x16\n\x08location\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"\xf2\x02\n\x15SqlUsersUpdateRequest\x12\x12\n\x04host\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x0f\n\x07project\x18\x04 \x01(\t\x12\x1c\n\x0e\x64\x61tabase_roles\x18\x05 \x03(\tB\x04\xe2\x41\x01\x01\x12(\n\x15revoke_existing_roles\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x00\x88\x01\x01\x12\x1a\n\x0cserver_roles\x18\x07 \x03(\tB\x04\xe2\x41\x01\x01\x12/\n\x1crevoke_existing_server_roles\x18\x08 \x01(\x08\x42\x04\xe2\x41\x01\x01H\x01\x88\x01\x01\x12,\n\x04\x62ody\x18\x64 \x01(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\x12\x16\n\x08location\x18\t \x01(\tB\x04\xe2\x41\x01\x01\x42\x18\n\x16_revoke_existing_rolesB\x1f\n\x1d_revoke_existing_server_roles\"\x8c\x02\n\x1cUserPasswordValidationPolicy\x12\x1f\n\x17\x61llowed_failed_attempts\x18\x01 \x01(\x05\x12?\n\x1cpassword_expiration_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12$\n\x1c\x65nable_failed_attempts_check\x18\x03 \x01(\x08\x12>\n\x06status\x18\x04 \x01(\x0b\x32(.google.cloud.sql.v1beta4.PasswordStatusB\x04\xe2\x41\x01\x03\x12$\n\x1c\x65nable_password_verification\x18\x05 \x01(\x08\"^\n\x0ePasswordStatus\x12\x0e\n\x06locked\x18\x01 \x01(\x08\x12<\n\x18password_expiration_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xa9\x08\n\x04User\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x10\n\x08password\x18\x02 \x01(\t\x12\x0c\n\x04\x65tag\x18\x03 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x12\n\x04host\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\x12\x10\n\x08instance\x18\x06 \x01(\t\x12\x0f\n\x07project\x18\x07 \x01(\t\x12\x38\n\x04type\x18\x08 \x01(\x0e\x32*.google.cloud.sql.v1beta4.User.SqlUserType\x12P\n\x16sqlserver_user_details\x18\t \x01(\x0b\x32..google.cloud.sql.v1beta4.SqlServerUserDetailsH\x00\x12\x17\n\tiam_email\x18\x0b \x01(\tB\x04\xe2\x41\x01\x01\x12O\n\x0fpassword_policy\x18\x0c \x01(\x0b\x32\x36.google.cloud.sql.v1beta4.UserPasswordValidationPolicy\x12P\n\x12\x64ual_password_type\x18\r \x01(\x0e\x32/.google.cloud.sql.v1beta4.User.DualPasswordTypeH\x01\x88\x01\x01\x12\x41\n\niam_status\x18\x0e \x01(\x0e\x32(.google.cloud.sql.v1beta4.User.IamStatusH\x02\x88\x01\x01\x12\x1c\n\x0e\x64\x61tabase_roles\x18\x0f \x03(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0cserver_roles\x18\x10 \x03(\tB\x04\xe2\x41\x01\x01\"\xf1\x01\n\x0bSqlUserType\x12\x0c\n\x08\x42UILT_IN\x10\x00\x12\x12\n\x0e\x43LOUD_IAM_USER\x10\x01\x12\x1d\n\x19\x43LOUD_IAM_SERVICE_ACCOUNT\x10\x02\x12\x13\n\x0f\x43LOUD_IAM_GROUP\x10\x03\x12\x18\n\x14\x43LOUD_IAM_GROUP_USER\x10\x04\x12#\n\x1f\x43LOUD_IAM_GROUP_SERVICE_ACCOUNT\x10\x05\x12 \n\x1c\x43LOUD_IAM_WORKFORCE_IDENTITY\x10\x06\x12\x10\n\x0c\x45NTRAID_USER\x10\x07\x12\x19\n\x15\x41\x43TIVE_DIRECTORY_USER\x10\x08\"|\n\x10\x44ualPasswordType\x12\"\n\x1e\x44UAL_PASSWORD_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17NO_MODIFY_DUAL_PASSWORD\x10\x01\x12\x14\n\x10NO_DUAL_PASSWORD\x10\x02\x12\x11\n\rDUAL_PASSWORD\x10\x03\"A\n\tIamStatus\x12\x1a\n\x16IAM_STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08INACTIVE\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x42\x0e\n\x0cuser_detailsB\x15\n\x13_dual_password_typeB\r\n\x0b_iam_status\">\n\x14SqlServerUserDetails\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12\x14\n\x0cserver_roles\x18\x02 \x03(\t\"m\n\x11UsersListResponse\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12-\n\x05items\x18\x02 \x03(\x0b\x32\x1e.google.cloud.sql.v1beta4.User\x12\x1b\n\x0fnext_page_token\x18\x03 \x01(\tB\x02\x18\x01\x32\xd4\x07\n\x0fSqlUsersService\x12\xa2\x01\n\x06\x44\x65lete\x12/.google.cloud.sql.v1beta4.SqlUsersDeleteRequest\x1a#.google.cloud.sql.v1beta4.Operation\"B\x82\xd3\xe4\x93\x02<*:/sql/v1beta4/projects/{project}/instances/{instance}/users\x12\x9e\x01\n\x03Get\x12,.google.cloud.sql.v1beta4.SqlUsersGetRequest\x1a\x1e.google.cloud.sql.v1beta4.User\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/sql/v1beta4/projects/{project}/instances/{instance}/users/{name}\x12\xa8\x01\n\x06Insert\x12/.google.cloud.sql.v1beta4.SqlUsersInsertRequest\x1a#.google.cloud.sql.v1beta4.Operation\"H\x82\xd3\xe4\x93\x02\x42\":/sql/v1beta4/projects/{project}/instances/{instance}/users:\x04\x62ody\x12\xa6\x01\n\x04List\x12-.google.cloud.sql.v1beta4.SqlUsersListRequest\x1a+.google.cloud.sql.v1beta4.UsersListResponse\"B\x82\xd3\xe4\x93\x02<\x12:/sql/v1beta4/projects/{project}/instances/{instance}/users\x12\xa8\x01\n\x06Update\x12/.google.cloud.sql.v1beta4.SqlUsersUpdateRequest\x1a#.google.cloud.sql.v1beta4.Operation\"H\x82\xd3\xe4\x93\x02\x42\x1a:/sql/v1beta4/projects/{project}/instances/{instance}/users:\x04\x62ody\x1a|\xca\x41\x17sqladmin.googleapis.com\xd2\x41_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminBd\n\x1c\x63om.google.cloud.sql.v1beta4B\x12\x43loudSqlUsersProtoP\x01Z.cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpbb\x06proto3"
16
16
 
17
17
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
18
  pool.add_serialized_file(descriptor_data)
@@ -12,7 +12,7 @@ require 'google/cloud/sql/v1beta4/cloud_sql_resources_pb'
12
12
  require 'google/protobuf/timestamp_pb'
13
13
 
14
14
 
15
- descriptor_data = "\n:google/cloud/sql/v1beta4/cloud_sql_workload_captures.proto\x12\x18google.cloud.sql.v1beta4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/sql/v1beta4/cloud_sql_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb5\x01\n\x1fSqlWorkloadCapturesStartRequest\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x63\n\x1estart_workload_capture_context\x18\x64 \x01(\x0b\x32\x35.google.cloud.sql.v1beta4.StartWorkloadCaptureContextB\x04\xe2\x41\x01\x01\"\xb2\x01\n\x1eSqlWorkloadCapturesStopRequest\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x61\n\x1dstop_workload_capture_context\x18\x64 \x01(\x0b\x32\x34.google.cloud.sql.v1beta4.StopWorkloadCaptureContextB\x04\xe2\x41\x01\x01\"\xd4\x01\n%SqlWorkloadCapturesStartReplayRequest\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x61\n\x1dstart_workload_replay_context\x18\x64 \x01(\x0b\x32\x34.google.cloud.sql.v1beta4.StartWorkloadReplayContextB\x04\xe2\x41\x01\x02\x12\x19\n\x0bworkload_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\"\xb6\x01\n$SqlWorkloadCapturesStopReplayRequest\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12_\n\x1cstop_workload_replay_context\x18\x64 \x01(\x0b\x32\x33.google.cloud.sql.v1beta4.StopWorkloadReplayContextB\x04\xe2\x41\x01\x01\"O\n\x1eSqlWorkloadCapturesListRequest\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"r\n\x1cWorkloadCapturesListResponse\x12\x44\n\x11workload_captures\x18\x01 \x03(\x0b\x32).google.cloud.sql.v1beta4.WorkloadCapture\x12\x0c\n\x04kind\x18\x02 \x01(\t\"\xc8\x04\n\x0fWorkloadCapture\x12\x19\n\x0bworkload_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x42\n\x0fsource_instance\x18\x02 \x01(\tB)\xe2\x41\x01\x03\xfa\x41\"\n sqladmin.googleapis.com/Instance\x12U\n\x16workload_capture_state\x18\x03 \x01(\x0e\x32/.google.cloud.sql.v1beta4.WorkloadCapture.StateB\x04\xe2\x41\x01\x03\x12\x34\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12G\n\x0freplay_instance\x18\x06 \x01(\tB)\xe2\x41\x01\x03\xfa\x41\"\n sqladmin.googleapis.com/InstanceH\x00\x88\x01\x01\x12!\n\x0eretention_days\x18\x07 \x01(\x05\x42\x04\xe2\x41\x01\x03H\x01\x88\x01\x01\x12\x1c\n\tbackup_id\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03H\x02\x88\x01\x01\"V\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0e\n\nTERMINATED\x10\x04\x42\x12\n\x10_replay_instanceB\x11\n\x0f_retention_daysB\x0c\n\n_backup_id2\x98\t\n\x1aSqlWorkloadCapturesService\x12\xbf\x01\n\x05Start\x12\x39.google.cloud.sql.v1beta4.SqlWorkloadCapturesStartRequest\x1a#.google.cloud.sql.v1beta4.Operation\"V\x82\xd3\xe4\x93\x02P\"K/sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures:start:\x01*\x12\xbc\x01\n\x04Stop\x12\x38.google.cloud.sql.v1beta4.SqlWorkloadCapturesStopRequest\x1a#.google.cloud.sql.v1beta4.Operation\"U\x82\xd3\xe4\x93\x02O\"J/sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures:stop:\x01*\x12\xdf\x01\n\x0bStartReplay\x12?.google.cloud.sql.v1beta4.SqlWorkloadCapturesStartReplayRequest\x1a#.google.cloud.sql.v1beta4.Operation\"j\x82\xd3\xe4\x93\x02\x64\"_/sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures/{workload_id}:startReplay:\x01*\x12\xce\x01\n\nStopReplay\x12>.google.cloud.sql.v1beta4.SqlWorkloadCapturesStopReplayRequest\x1a#.google.cloud.sql.v1beta4.Operation\"[\x82\xd3\xe4\x93\x02U\"P/sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures:stopReplay:\x01*\x12\xc7\x01\n\x04List\x12\x38.google.cloud.sql.v1beta4.SqlWorkloadCapturesListRequest\x1a\x36.google.cloud.sql.v1beta4.WorkloadCapturesListResponse\"M\x82\xd3\xe4\x93\x02G\x12\x45/sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures\x1a|\xca\x41\x17sqladmin.googleapis.com\xd2\x41_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminBo\n\x1c\x63om.google.cloud.sql.v1beta4B\x1d\x43loudSqlWorkloadCapturesProtoP\x01Z.cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpbb\x06proto3"
15
+ descriptor_data = "\n:google/cloud/sql/v1beta4/cloud_sql_workload_captures.proto\x12\x18google.cloud.sql.v1beta4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x32google/cloud/sql/v1beta4/cloud_sql_resources.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x01\n\x1cWorkloadCapturesStartRequest\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x63\n\x1estart_workload_capture_context\x18\x64 \x01(\x0b\x32\x35.google.cloud.sql.v1beta4.StartWorkloadCaptureContextB\x04\xe2\x41\x01\x01\"\xaf\x01\n\x1bWorkloadCapturesStopRequest\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x61\n\x1dstop_workload_capture_context\x18\x64 \x01(\x0b\x32\x34.google.cloud.sql.v1beta4.StopWorkloadCaptureContextB\x04\xe2\x41\x01\x01\"\xd1\x01\n\"WorkloadCapturesStartReplayRequest\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x61\n\x1dstart_workload_replay_context\x18\x64 \x01(\x0b\x32\x34.google.cloud.sql.v1beta4.StartWorkloadReplayContextB\x04\xe2\x41\x01\x02\x12\x19\n\x0bworkload_id\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\"\xb3\x01\n!WorkloadCapturesStopReplayRequest\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12_\n\x1cstop_workload_replay_context\x18\x64 \x01(\x0b\x32\x33.google.cloud.sql.v1beta4.StopWorkloadReplayContextB\x04\xe2\x41\x01\x01\"O\n\x1eSqlWorkloadCapturesListRequest\x12\x15\n\x07project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\"r\n\x1cWorkloadCapturesListResponse\x12\x44\n\x11workload_captures\x18\x01 \x03(\x0b\x32).google.cloud.sql.v1beta4.WorkloadCapture\x12\x0c\n\x04kind\x18\x02 \x01(\t\"\xc8\x04\n\x0fWorkloadCapture\x12\x19\n\x0bworkload_id\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x42\n\x0fsource_instance\x18\x02 \x01(\tB)\xe2\x41\x01\x03\xfa\x41\"\n cloudsql.googleapis.com/Instance\x12U\n\x16workload_capture_state\x18\x03 \x01(\x0e\x32/.google.cloud.sql.v1beta4.WorkloadCapture.StateB\x04\xe2\x41\x01\x03\x12\x34\n\nstart_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12G\n\x0freplay_instance\x18\x06 \x01(\tB)\xe2\x41\x01\x03\xfa\x41\"\n cloudsql.googleapis.com/InstanceH\x00\x88\x01\x01\x12!\n\x0eretention_days\x18\x07 \x01(\x05\x42\x04\xe2\x41\x01\x03H\x01\x88\x01\x01\x12\x1c\n\tbackup_id\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03H\x02\x88\x01\x01\"V\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x12\x0e\n\nTERMINATED\x10\x04\x42\x12\n\x10_replay_instanceB\x11\n\x0f_retention_daysB\x0c\n\n_backup_id2\x8c\t\n\x1aSqlWorkloadCapturesService\x12\xbc\x01\n\x05Start\x12\x36.google.cloud.sql.v1beta4.WorkloadCapturesStartRequest\x1a#.google.cloud.sql.v1beta4.Operation\"V\x82\xd3\xe4\x93\x02P\"K/sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures:start:\x01*\x12\xb9\x01\n\x04Stop\x12\x35.google.cloud.sql.v1beta4.WorkloadCapturesStopRequest\x1a#.google.cloud.sql.v1beta4.Operation\"U\x82\xd3\xe4\x93\x02O\"J/sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures:stop:\x01*\x12\xdc\x01\n\x0bStartReplay\x12<.google.cloud.sql.v1beta4.WorkloadCapturesStartReplayRequest\x1a#.google.cloud.sql.v1beta4.Operation\"j\x82\xd3\xe4\x93\x02\x64\"_/sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures/{workload_id}:startReplay:\x01*\x12\xcb\x01\n\nStopReplay\x12;.google.cloud.sql.v1beta4.WorkloadCapturesStopReplayRequest\x1a#.google.cloud.sql.v1beta4.Operation\"[\x82\xd3\xe4\x93\x02U\"P/sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures:stopReplay:\x01*\x12\xc7\x01\n\x04List\x12\x38.google.cloud.sql.v1beta4.SqlWorkloadCapturesListRequest\x1a\x36.google.cloud.sql.v1beta4.WorkloadCapturesListResponse\"M\x82\xd3\xe4\x93\x02G\x12\x45/sql/v1beta4/projects/{project}/instances/{instance}/workloadCaptures\x1a|\xca\x41\x17sqladmin.googleapis.com\xd2\x41_https://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/sqlservice.adminBo\n\x1c\x63om.google.cloud.sql.v1beta4B\x1d\x43loudSqlWorkloadCapturesProtoP\x01Z.cloud.google.com/go/sql/apiv1beta4/sqlpb;sqlpbb\x06proto3"
16
16
 
17
17
  pool = ::Google::Protobuf::DescriptorPool.generated_pool
18
18
  pool.add_serialized_file(descriptor_data)
@@ -21,10 +21,10 @@ module Google
21
21
  module Cloud
22
22
  module Sql
23
23
  module V1beta4
24
- SqlWorkloadCapturesStartRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.SqlWorkloadCapturesStartRequest").msgclass
25
- SqlWorkloadCapturesStopRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.SqlWorkloadCapturesStopRequest").msgclass
26
- SqlWorkloadCapturesStartReplayRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.SqlWorkloadCapturesStartReplayRequest").msgclass
27
- SqlWorkloadCapturesStopReplayRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.SqlWorkloadCapturesStopReplayRequest").msgclass
24
+ WorkloadCapturesStartRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.WorkloadCapturesStartRequest").msgclass
25
+ WorkloadCapturesStopRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.WorkloadCapturesStopRequest").msgclass
26
+ WorkloadCapturesStartReplayRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.WorkloadCapturesStartReplayRequest").msgclass
27
+ WorkloadCapturesStopReplayRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.WorkloadCapturesStopReplayRequest").msgclass
28
28
  SqlWorkloadCapturesListRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.SqlWorkloadCapturesListRequest").msgclass
29
29
  WorkloadCapturesListResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.WorkloadCapturesListResponse").msgclass
30
30
  WorkloadCapture = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.sql.v1beta4.WorkloadCapture").msgclass
@@ -38,16 +38,16 @@ module Google
38
38
  # a "captured workload". This workload can be replayed later on a different
39
39
  # instance to safely test performance impacts, database upgrades,
40
40
  # configuration changes etc. before applying them to production.
41
- rpc :Start, ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest, ::Google::Cloud::Sql::V1beta4::Operation
41
+ rpc :Start, ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest, ::Google::Cloud::Sql::V1beta4::Operation
42
42
  # Stops capturing the query traffic and related operations executed on the
43
43
  # primary instance.
44
- rpc :Stop, ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest, ::Google::Cloud::Sql::V1beta4::Operation
44
+ rpc :Stop, ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest, ::Google::Cloud::Sql::V1beta4::Operation
45
45
  # Starts executing a captured workload on a separate Cloud SQL instance
46
46
  # provisioned for workload replay. This target instance simulates the
47
47
  # production environment without affecting the primary instance.
48
- rpc :StartReplay, ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest, ::Google::Cloud::Sql::V1beta4::Operation
48
+ rpc :StartReplay, ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest, ::Google::Cloud::Sql::V1beta4::Operation
49
49
  # Stops an active workload replay on the target Cloud SQL replay instance.
50
- rpc :StopReplay, ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest, ::Google::Cloud::Sql::V1beta4::Operation
50
+ rpc :StopReplay, ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest, ::Google::Cloud::Sql::V1beta4::Operation
51
51
  # Lists all captured workloads associated with the instance.
52
52
  rpc :List, ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesListRequest, ::Google::Cloud::Sql::V1beta4::WorkloadCapturesListResponse
53
53
  end
@@ -206,9 +206,9 @@ module Google
206
206
  #
207
207
  # @overload start(request, options = nil)
208
208
  # Pass arguments to `start` via a request object, either of type
209
- # {::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest} or an equivalent Hash.
209
+ # {::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest} or an equivalent Hash.
210
210
  #
211
- # @param request [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest, ::Hash]
211
+ # @param request [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest, ::Hash]
212
212
  # A request object representing the call parameters. Required. To specify no
213
213
  # parameters, or to keep all the default parameter values, pass an empty Hash.
214
214
  # @param options [::Gapic::CallOptions, ::Hash]
@@ -241,7 +241,7 @@ module Google
241
241
  # client = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesService::Client.new
242
242
  #
243
243
  # # Create a request. To set request fields, pass in keyword arguments.
244
- # request = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest.new
244
+ # request = Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest.new
245
245
  #
246
246
  # # Call the start method.
247
247
  # result = client.start request
@@ -252,7 +252,7 @@ module Google
252
252
  def start request, options = nil
253
253
  raise ::ArgumentError, "request must be provided" if request.nil?
254
254
 
255
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest
255
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest
256
256
 
257
257
  # Converts hash and nil to an options object
258
258
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
@@ -299,9 +299,9 @@ module Google
299
299
  #
300
300
  # @overload stop(request, options = nil)
301
301
  # Pass arguments to `stop` via a request object, either of type
302
- # {::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest} or an equivalent Hash.
302
+ # {::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest} or an equivalent Hash.
303
303
  #
304
- # @param request [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest, ::Hash]
304
+ # @param request [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest, ::Hash]
305
305
  # A request object representing the call parameters. Required. To specify no
306
306
  # parameters, or to keep all the default parameter values, pass an empty Hash.
307
307
  # @param options [::Gapic::CallOptions, ::Hash]
@@ -334,7 +334,7 @@ module Google
334
334
  # client = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesService::Client.new
335
335
  #
336
336
  # # Create a request. To set request fields, pass in keyword arguments.
337
- # request = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest.new
337
+ # request = Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest.new
338
338
  #
339
339
  # # Call the stop method.
340
340
  # result = client.stop request
@@ -345,7 +345,7 @@ module Google
345
345
  def stop request, options = nil
346
346
  raise ::ArgumentError, "request must be provided" if request.nil?
347
347
 
348
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest
348
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest
349
349
 
350
350
  # Converts hash and nil to an options object
351
351
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
@@ -393,9 +393,9 @@ module Google
393
393
  #
394
394
  # @overload start_replay(request, options = nil)
395
395
  # Pass arguments to `start_replay` via a request object, either of type
396
- # {::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest} or an equivalent Hash.
396
+ # {::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest} or an equivalent Hash.
397
397
  #
398
- # @param request [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest, ::Hash]
398
+ # @param request [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest, ::Hash]
399
399
  # A request object representing the call parameters. Required. To specify no
400
400
  # parameters, or to keep all the default parameter values, pass an empty Hash.
401
401
  # @param options [::Gapic::CallOptions, ::Hash]
@@ -430,7 +430,7 @@ module Google
430
430
  # client = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesService::Client.new
431
431
  #
432
432
  # # Create a request. To set request fields, pass in keyword arguments.
433
- # request = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest.new
433
+ # request = Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest.new
434
434
  #
435
435
  # # Call the start_replay method.
436
436
  # result = client.start_replay request
@@ -441,7 +441,7 @@ module Google
441
441
  def start_replay request, options = nil
442
442
  raise ::ArgumentError, "request must be provided" if request.nil?
443
443
 
444
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest
444
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest
445
445
 
446
446
  # Converts hash and nil to an options object
447
447
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
@@ -490,9 +490,9 @@ module Google
490
490
  #
491
491
  # @overload stop_replay(request, options = nil)
492
492
  # Pass arguments to `stop_replay` via a request object, either of type
493
- # {::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest} or an equivalent Hash.
493
+ # {::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest} or an equivalent Hash.
494
494
  #
495
- # @param request [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest, ::Hash]
495
+ # @param request [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest, ::Hash]
496
496
  # A request object representing the call parameters. Required. To specify no
497
497
  # parameters, or to keep all the default parameter values, pass an empty Hash.
498
498
  # @param options [::Gapic::CallOptions, ::Hash]
@@ -527,7 +527,7 @@ module Google
527
527
  # client = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesService::Client.new
528
528
  #
529
529
  # # Create a request. To set request fields, pass in keyword arguments.
530
- # request = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest.new
530
+ # request = Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest.new
531
531
  #
532
532
  # # Call the stop_replay method.
533
533
  # result = client.stop_replay request
@@ -538,7 +538,7 @@ module Google
538
538
  def stop_replay request, options = nil
539
539
  raise ::ArgumentError, "request must be provided" if request.nil?
540
540
 
541
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest
541
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest
542
542
 
543
543
  # Converts hash and nil to an options object
544
544
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
@@ -199,9 +199,9 @@ module Google
199
199
  #
200
200
  # @overload start(request, options = nil)
201
201
  # Pass arguments to `start` via a request object, either of type
202
- # {::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest} or an equivalent Hash.
202
+ # {::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest} or an equivalent Hash.
203
203
  #
204
- # @param request [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest, ::Hash]
204
+ # @param request [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest, ::Hash]
205
205
  # A request object representing the call parameters. Required. To specify no
206
206
  # parameters, or to keep all the default parameter values, pass an empty Hash.
207
207
  # @param options [::Gapic::CallOptions, ::Hash]
@@ -233,7 +233,7 @@ module Google
233
233
  # client = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesService::Rest::Client.new
234
234
  #
235
235
  # # Create a request. To set request fields, pass in keyword arguments.
236
- # request = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest.new
236
+ # request = Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest.new
237
237
  #
238
238
  # # Call the start method.
239
239
  # result = client.start request
@@ -244,7 +244,7 @@ module Google
244
244
  def start request, options = nil
245
245
  raise ::ArgumentError, "request must be provided" if request.nil?
246
246
 
247
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest
247
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest
248
248
 
249
249
  # Converts hash and nil to an options object
250
250
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
@@ -282,9 +282,9 @@ module Google
282
282
  #
283
283
  # @overload stop(request, options = nil)
284
284
  # Pass arguments to `stop` via a request object, either of type
285
- # {::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest} or an equivalent Hash.
285
+ # {::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest} or an equivalent Hash.
286
286
  #
287
- # @param request [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest, ::Hash]
287
+ # @param request [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest, ::Hash]
288
288
  # A request object representing the call parameters. Required. To specify no
289
289
  # parameters, or to keep all the default parameter values, pass an empty Hash.
290
290
  # @param options [::Gapic::CallOptions, ::Hash]
@@ -316,7 +316,7 @@ module Google
316
316
  # client = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesService::Rest::Client.new
317
317
  #
318
318
  # # Create a request. To set request fields, pass in keyword arguments.
319
- # request = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest.new
319
+ # request = Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest.new
320
320
  #
321
321
  # # Call the stop method.
322
322
  # result = client.stop request
@@ -327,7 +327,7 @@ module Google
327
327
  def stop request, options = nil
328
328
  raise ::ArgumentError, "request must be provided" if request.nil?
329
329
 
330
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest
330
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest
331
331
 
332
332
  # Converts hash and nil to an options object
333
333
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
@@ -366,9 +366,9 @@ module Google
366
366
  #
367
367
  # @overload start_replay(request, options = nil)
368
368
  # Pass arguments to `start_replay` via a request object, either of type
369
- # {::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest} or an equivalent Hash.
369
+ # {::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest} or an equivalent Hash.
370
370
  #
371
- # @param request [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest, ::Hash]
371
+ # @param request [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest, ::Hash]
372
372
  # A request object representing the call parameters. Required. To specify no
373
373
  # parameters, or to keep all the default parameter values, pass an empty Hash.
374
374
  # @param options [::Gapic::CallOptions, ::Hash]
@@ -402,7 +402,7 @@ module Google
402
402
  # client = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesService::Rest::Client.new
403
403
  #
404
404
  # # Create a request. To set request fields, pass in keyword arguments.
405
- # request = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest.new
405
+ # request = Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest.new
406
406
  #
407
407
  # # Call the start_replay method.
408
408
  # result = client.start_replay request
@@ -413,7 +413,7 @@ module Google
413
413
  def start_replay request, options = nil
414
414
  raise ::ArgumentError, "request must be provided" if request.nil?
415
415
 
416
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest
416
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest
417
417
 
418
418
  # Converts hash and nil to an options object
419
419
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
@@ -450,9 +450,9 @@ module Google
450
450
  #
451
451
  # @overload stop_replay(request, options = nil)
452
452
  # Pass arguments to `stop_replay` via a request object, either of type
453
- # {::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest} or an equivalent Hash.
453
+ # {::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest} or an equivalent Hash.
454
454
  #
455
- # @param request [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest, ::Hash]
455
+ # @param request [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest, ::Hash]
456
456
  # A request object representing the call parameters. Required. To specify no
457
457
  # parameters, or to keep all the default parameter values, pass an empty Hash.
458
458
  # @param options [::Gapic::CallOptions, ::Hash]
@@ -486,7 +486,7 @@ module Google
486
486
  # client = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesService::Rest::Client.new
487
487
  #
488
488
  # # Create a request. To set request fields, pass in keyword arguments.
489
- # request = Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest.new
489
+ # request = Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest.new
490
490
  #
491
491
  # # Call the stop_replay method.
492
492
  # result = client.stop_replay request
@@ -497,7 +497,7 @@ module Google
497
497
  def stop_replay request, options = nil
498
498
  raise ::ArgumentError, "request must be provided" if request.nil?
499
499
 
500
- request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest
500
+ request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest
501
501
 
502
502
  # Converts hash and nil to an options object
503
503
  options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
@@ -76,7 +76,7 @@ module Google
76
76
  ##
77
77
  # Baseline implementation for the start REST call
78
78
  #
79
- # @param request_pb [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest]
79
+ # @param request_pb [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest]
80
80
  # A request object representing the call parameters. Required.
81
81
  # @param options [::Gapic::CallOptions]
82
82
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
@@ -116,7 +116,7 @@ module Google
116
116
  ##
117
117
  # Baseline implementation for the stop REST call
118
118
  #
119
- # @param request_pb [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest]
119
+ # @param request_pb [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest]
120
120
  # A request object representing the call parameters. Required.
121
121
  # @param options [::Gapic::CallOptions]
122
122
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
@@ -156,7 +156,7 @@ module Google
156
156
  ##
157
157
  # Baseline implementation for the start_replay REST call
158
158
  #
159
- # @param request_pb [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest]
159
+ # @param request_pb [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest]
160
160
  # A request object representing the call parameters. Required.
161
161
  # @param options [::Gapic::CallOptions]
162
162
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
@@ -196,7 +196,7 @@ module Google
196
196
  ##
197
197
  # Baseline implementation for the stop_replay REST call
198
198
  #
199
- # @param request_pb [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest]
199
+ # @param request_pb [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest]
200
200
  # A request object representing the call parameters. Required.
201
201
  # @param options [::Gapic::CallOptions]
202
202
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
@@ -278,7 +278,7 @@ module Google
278
278
  #
279
279
  # GRPC transcoding helper method for the start REST call
280
280
  #
281
- # @param request_pb [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartRequest]
281
+ # @param request_pb [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartRequest]
282
282
  # A request object representing the call parameters. Required.
283
283
  # @return [Array(String, [String, nil], Hash{String => String})]
284
284
  # Uri, Body, Query string parameters
@@ -301,7 +301,7 @@ module Google
301
301
  #
302
302
  # GRPC transcoding helper method for the stop REST call
303
303
  #
304
- # @param request_pb [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopRequest]
304
+ # @param request_pb [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopRequest]
305
305
  # A request object representing the call parameters. Required.
306
306
  # @return [Array(String, [String, nil], Hash{String => String})]
307
307
  # Uri, Body, Query string parameters
@@ -324,7 +324,7 @@ module Google
324
324
  #
325
325
  # GRPC transcoding helper method for the start_replay REST call
326
326
  #
327
- # @param request_pb [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStartReplayRequest]
327
+ # @param request_pb [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStartReplayRequest]
328
328
  # A request object representing the call parameters. Required.
329
329
  # @return [Array(String, [String, nil], Hash{String => String})]
330
330
  # Uri, Body, Query string parameters
@@ -348,7 +348,7 @@ module Google
348
348
  #
349
349
  # GRPC transcoding helper method for the stop_replay REST call
350
350
  #
351
- # @param request_pb [::Google::Cloud::Sql::V1beta4::SqlWorkloadCapturesStopReplayRequest]
351
+ # @param request_pb [::Google::Cloud::Sql::V1beta4::WorkloadCapturesStopReplayRequest]
352
352
  # A request object representing the call parameters. Required.
353
353
  # @return [Array(String, [String, nil], Hash{String => String})]
354
354
  # Uri, Body, Query string parameters
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Sql
23
23
  module V1beta4
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -255,6 +255,9 @@ module Google
255
255
 
256
256
  # Microsoft Entra ID user.
257
257
  ENTRAID_USER = 7
258
+
259
+ # Active Directory user.
260
+ ACTIVE_DIRECTORY_USER = 8
258
261
  end
259
262
 
260
263
  # The type of retained password.
@@ -32,7 +32,7 @@ module Google
32
32
  # @!attribute [rw] start_workload_capture_context
33
33
  # @return [::Google::Cloud::Sql::V1beta4::StartWorkloadCaptureContext]
34
34
  # Optional. Contains details about the start workload capture operation.
35
- class SqlWorkloadCapturesStartRequest
35
+ class WorkloadCapturesStartRequest
36
36
  include ::Google::Protobuf::MessageExts
37
37
  extend ::Google::Protobuf::MessageExts::ClassMethods
38
38
  end
@@ -47,7 +47,7 @@ module Google
47
47
  # @!attribute [rw] stop_workload_capture_context
48
48
  # @return [::Google::Cloud::Sql::V1beta4::StopWorkloadCaptureContext]
49
49
  # Optional. Contains details about the stop workload capture operation.
50
- class SqlWorkloadCapturesStopRequest
50
+ class WorkloadCapturesStopRequest
51
51
  include ::Google::Protobuf::MessageExts
52
52
  extend ::Google::Protobuf::MessageExts::ClassMethods
53
53
  end
@@ -66,7 +66,7 @@ module Google
66
66
  # @!attribute [rw] workload_id
67
67
  # @return [::String]
68
68
  # Required. The ID of the workload to replay.
69
- class SqlWorkloadCapturesStartReplayRequest
69
+ class WorkloadCapturesStartReplayRequest
70
70
  include ::Google::Protobuf::MessageExts
71
71
  extend ::Google::Protobuf::MessageExts::ClassMethods
72
72
  end
@@ -84,7 +84,7 @@ module Google
84
84
  # @!attribute [rw] stop_workload_replay_context
85
85
  # @return [::Google::Cloud::Sql::V1beta4::StopWorkloadReplayContext]
86
86
  # Optional. Contains details about the stop workload replay operation.
87
- class SqlWorkloadCapturesStopReplayRequest
87
+ class WorkloadCapturesStopReplayRequest
88
88
  include ::Google::Protobuf::MessageExts
89
89
  extend ::Google::Protobuf::MessageExts::ClassMethods
90
90
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-sql-v1beta4
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC