Class: Google::Cloud::Sql::V1beta4::Operation
- Inherits:
-
Object
- Object
- Google::Cloud::Sql::V1beta4::Operation
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb
Overview
An Operation resource. For successful operations that return an Operation resource, only the fields relevant to the operation are populated in the resource.
Defined Under Namespace
Modules: SqlOperationStatus, SqlOperationType
Instance Attribute Summary collapse
-
#acquire_ssrs_lease_context ⇒ ::Google::Cloud::Sql::V1beta4::AcquireSsrsLeaseContext
The context for acquire SSRS lease operation, if applicable.
-
#api_warning ⇒ ::Google::Cloud::Sql::V1beta4::ApiWarning
An Admin API warning message.
-
#backup_context ⇒ ::Google::Cloud::Sql::V1beta4::BackupContext
The context for backup operation, if applicable.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
The time this operation finished in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z. -
#error ⇒ ::Google::Cloud::Sql::V1beta4::OperationErrors
If errors occurred during processing of this operation, this field will be populated.
-
#export_context ⇒ ::Google::Cloud::Sql::V1beta4::ExportContext
The context for export operation, if applicable.
-
#import_context ⇒ ::Google::Cloud::Sql::V1beta4::ImportContext
The context for import operation, if applicable.
-
#insert_time ⇒ ::Google::Protobuf::Timestamp
The time this operation was enqueued in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z. -
#kind ⇒ ::String
This is always
sql#operation. -
#name ⇒ ::String
An identifier that uniquely identifies the operation.
-
#operation_type ⇒ ::Google::Cloud::Sql::V1beta4::Operation::SqlOperationType
The type of the operation.
-
#pre_check_major_version_upgrade_context ⇒ ::Google::Cloud::Sql::V1beta4::PreCheckMajorVersionUpgradeContext
The context for pre-check major version upgrade operation, if applicable.
-
#self_link ⇒ ::String
The URI of this resource.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
The time this operation actually started in UTC timezone in RFC 3339 format, for example
2012-11-15T16:19:00.094Z. -
#status ⇒ ::Google::Cloud::Sql::V1beta4::Operation::SqlOperationStatus
The status of an operation.
-
#sub_operation_type ⇒ ::Google::Cloud::Sql::V1beta4::SqlSubOperationType
Optional.
-
#target_id ⇒ ::String
Name of the resource on which this operation runs.
- #target_link ⇒ ::String
-
#target_project ⇒ ::String
The project ID of the target instance related to this operation.
-
#user ⇒ ::String
The email address of the user who initiated this operation.
Instance Attribute Details
#acquire_ssrs_lease_context ⇒ ::Google::Cloud::Sql::V1beta4::AcquireSsrsLeaseContext
Returns The context for acquire SSRS lease operation, if applicable.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#api_warning ⇒ ::Google::Cloud::Sql::V1beta4::ApiWarning
Returns An Admin API warning message.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#backup_context ⇒ ::Google::Cloud::Sql::V1beta4::BackupContext
Returns The context for backup operation, if applicable.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#end_time ⇒ ::Google::Protobuf::Timestamp
Returns The time this operation finished in UTC timezone in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#error ⇒ ::Google::Cloud::Sql::V1beta4::OperationErrors
Returns If errors occurred during processing of this operation, this field will be populated.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#export_context ⇒ ::Google::Cloud::Sql::V1beta4::ExportContext
Returns The context for export operation, if applicable.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#import_context ⇒ ::Google::Cloud::Sql::V1beta4::ImportContext
Returns The context for import operation, if applicable.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#insert_time ⇒ ::Google::Protobuf::Timestamp
Returns The time this operation was enqueued in UTC timezone in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#kind ⇒ ::String
Returns This is always sql#operation.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#name ⇒ ::String
Returns An identifier that uniquely identifies the operation. You can use this identifier to retrieve the Operations resource that has information about the operation.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#operation_type ⇒ ::Google::Cloud::Sql::V1beta4::Operation::SqlOperationType
Returns The type of the operation. Valid values are:
-
CREATE -
DELETE -
UPDATE -
RESTART -
IMPORT -
EXPORT -
BACKUP_VOLUME -
RESTORE_VOLUME -
CREATE_USER -
DELETE_USER -
CREATE_DATABASE -
DELETE_DATABASE.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#pre_check_major_version_upgrade_context ⇒ ::Google::Cloud::Sql::V1beta4::PreCheckMajorVersionUpgradeContext
Returns The context for pre-check major version upgrade operation, if applicable. This field is only populated when the operation_type is PRE_CHECK_MAJOR_VERSION_UPGRADE. The PreCheckMajorVersionUpgradeContext message itself contains the details for that pre-check, such as the target database version for the upgrade and the results of the check (including any warnings or errors found).
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#self_link ⇒ ::String
Returns The URI of this resource.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#start_time ⇒ ::Google::Protobuf::Timestamp
Returns The time this operation actually started in UTC timezone in
RFC 3339 format, for example
2012-11-15T16:19:00.094Z.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#status ⇒ ::Google::Cloud::Sql::V1beta4::Operation::SqlOperationStatus
Returns The status of an operation.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#sub_operation_type ⇒ ::Google::Cloud::Sql::V1beta4::SqlSubOperationType
Returns Optional. The sub operation based on the operation type.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#target_id ⇒ ::String
Returns Name of the resource on which this operation runs.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#target_link ⇒ ::String
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#target_project ⇒ ::String
Returns The project ID of the target instance related to this operation.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |
#user ⇒ ::String
Returns The email address of the user who initiated this operation.
2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 |
# File 'proto_docs/google/cloud/sql/v1beta4/cloud_sql_resources.rb', line 2892 class Operation include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The type of Cloud SQL operation. module SqlOperationType # Unknown operation type. SQL_OPERATION_TYPE_UNSPECIFIED = 0 # Imports data into a Cloud SQL instance. IMPORT = 1 # Exports data from a Cloud SQL instance to a Cloud Storage # bucket. EXPORT = 2 # Creates a new Cloud SQL instance. CREATE = 3 # Updates the settings of a Cloud SQL instance. UPDATE = 4 # Deletes a Cloud SQL instance. DELETE = 5 # Restarts the Cloud SQL instance. RESTART = 6 BACKUP = 7 SNAPSHOT = 8 # Performs instance backup. BACKUP_VOLUME = 9 # Deletes an instance backup. DELETE_VOLUME = 10 # Restores an instance backup. RESTORE_VOLUME = 11 # Injects a privileged user in mysql for MOB instances. INJECT_USER = 12 # Clones a Cloud SQL instance. CLONE = 14 # Stops replication on a Cloud SQL read replica instance. STOP_REPLICA = 15 # Starts replication on a Cloud SQL read replica instance. START_REPLICA = 16 # Promotes a Cloud SQL replica instance. PROMOTE_REPLICA = 17 # Creates a Cloud SQL replica instance. CREATE_REPLICA = 18 # Creates a new user in a Cloud SQL instance. CREATE_USER = 19 # Deletes a user from a Cloud SQL instance. DELETE_USER = 20 # Updates an existing user in a Cloud SQL instance. If a user with the # specified username doesn't exist, a new user is created. UPDATE_USER = 21 # Creates a database in the Cloud SQL instance. CREATE_DATABASE = 22 # Deletes a database in the Cloud SQL instance. DELETE_DATABASE = 23 # Updates a database in the Cloud SQL instance. UPDATE_DATABASE = 24 # Performs failover of an HA-enabled Cloud SQL # failover replica. FAILOVER = 25 # Deletes the backup taken by a backup run. DELETE_BACKUP = 26 RECREATE_REPLICA = 27 # Truncates a general or slow log table in MySQL. TRUNCATE_LOG = 28 # Demotes the stand-alone instance to be a Cloud SQL # read replica for an external database server. DEMOTE_MASTER = 29 # Indicates that the instance is currently in maintenance. Maintenance # typically causes the instance to be unavailable for 1-3 minutes. MAINTENANCE = 30 # This field is deprecated, and will be removed in future version of API. ENABLE_PRIVATE_IP = 31 DEFER_MAINTENANCE = 32 # Creates clone instance. CREATE_CLONE = 33 # Reschedule maintenance to another time. RESCHEDULE_MAINTENANCE = 34 # Starts external sync of a Cloud SQL EM replica to an external primary # instance. START_EXTERNAL_SYNC = 35 # Recovers logs from an instance's old data disk. LOG_CLEANUP = 36 # Performs auto-restart of an HA-enabled Cloud SQL database for auto # recovery. AUTO_RESTART = 37 # Re-encrypts CMEK instances with latest key version. REENCRYPT = 38 # Switches the roles of the primary and replica pair. The target instance # should be the replica. SWITCHOVER = 39 # Update a backup. UPDATE_BACKUP = 40 # Acquire a lease for the setup of SQL Server Reporting Services (SSRS). ACQUIRE_SSRS_LEASE = 42 # Release a lease for the setup of SQL Server Reporting Services (SSRS). RELEASE_SSRS_LEASE = 43 # Reconfigures old primary after a promote replica operation. Effect of a # promote operation to the old primary is executed in this operation, # asynchronously from the promote replica operation executed to the # replica. RECONFIGURE_OLD_PRIMARY = 44 # Indicates that the instance, its read replicas, and its cascading # replicas are in maintenance. Maintenance typically gets initiated on # groups of replicas first, followed by the primary instance. For each # instance, maintenance typically causes the instance to be unavailable for # 1-3 minutes. CLUSTER_MAINTENANCE = 45 # Indicates that the instance (and any of its replicas) are currently in # maintenance. This is initiated as a self-service request by using SSM. # Maintenance typically causes the instance to be unavailable for 1-3 # minutes. SELF_SERVICE_MAINTENANCE = 46 # Switches a primary instance to a replica. This operation runs as part of # a switchover operation to the original primary instance. SWITCHOVER_TO_REPLICA = 47 # Updates the major version of a Cloud SQL instance. MAJOR_VERSION_UPGRADE = 48 # Deprecated: ADVANCED_BACKUP is deprecated. Use ENHANCED_BACKUP instead. ADVANCED_BACKUP = 49 # Changes the BackupTier of a Cloud SQL instance. MANAGE_BACKUP = 50 # Creates a backup for an Enhanced BackupTier Cloud SQL instance. ENHANCED_BACKUP = 51 # Repairs entire read pool or specified read pool nodes in the read pool. REPAIR_READ_POOL = 52 # Creates a Cloud SQL read pool instance. CREATE_READ_POOL = 53 # Pre-checks for major version upgrade. PRE_CHECK_MAJOR_VERSION_UPGRADE = 54 # This operation type represents individual steps in a multi-step setup # migration workflow: including configuration, replication, # switchover/back, and data reseeding, as defined by operation's intent. SETUP_MIGRATION = 58 # Sends a message to a Cloud SQL agent. AGENT_SEND_MESSAGE = 59 end # The status of an operation. module SqlOperationStatus # The state of the operation is unknown. SQL_OPERATION_STATUS_UNSPECIFIED = 0 # The operation has been queued, but has not started yet. PENDING = 1 # The operation is running. RUNNING = 2 # The operation completed. DONE = 3 end end |