Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 75 | <h1><a href="sqladmin_v1beta4.html">Cloud SQL Admin API</a> . <a href="sqladmin_v1beta4.operations.html">operations</a></h1> |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 78 | <code><a href="#get">get(project, operation, x__xgafv=None)</a></code></p> |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 79 | <p class="firstline">Retrieves an instance operation that has been performed on an instance.</p> |
| 80 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 81 | <code><a href="#list">list(project, maxResults=None, pageToken=None, instance=None, x__xgafv=None)</a></code></p> |
| 82 | <p class="firstline">Lists all instance operations that have been performed on the given Cloud</p> |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 83 | <p class="toc_element"> |
| 84 | <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p> |
| 85 | <p class="firstline">Retrieves the next page of results.</p> |
| 86 | <h3>Method Details</h3> |
| 87 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 88 | <code class="details" id="get">get(project, operation, x__xgafv=None)</code> |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 89 | <pre>Retrieves an instance operation that has been performed on an instance. |
| 90 | |
| 91 | Args: |
| 92 | project: string, Project ID of the project that contains the instance. (required) |
| 93 | operation: string, Instance operation ID. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 94 | x__xgafv: string, V1 error format. |
| 95 | Allowed values |
| 96 | 1 - v1 error format |
| 97 | 2 - v2 error format |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 98 | |
| 99 | Returns: |
| 100 | An object of the form: |
| 101 | |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 102 | { # An Operation resource.&nbsp;For successful operations that return an |
| 103 | # Operation resource, only the fields relevant to the operation are populated |
| 104 | # in the resource. |
| 105 | "status": "A String", # The status of an operation. Valid values are <code>PENDING</code>, |
| 106 | # <code>RUNNING</code>, <code>DONE</code>, |
| 107 | # <code>SQL_OPERATION_STATUS_UNSPECIFIED</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 108 | "importContext": { # Database instance import context. # The context for import operation, if applicable. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 109 | "bakImportOptions": { # Import parameters specific to SQL Server .BAK files |
| 110 | "encryptionOptions": { |
| 111 | "pvkPath": "A String", # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the |
| 112 | # form <code>gs://bucketName/fileName</code>. The instance must have |
| 113 | # write permissions to the bucket and read access to the file. |
| 114 | "certPath": "A String", # Path to the Certificate (.cer) in Cloud Storage, in the form |
| 115 | # <code>gs://bucketName/fileName</code>. The instance must have |
| 116 | # write permissions to the bucket and read access to the file. |
| 117 | "pvkPassword": "A String", # Password that encrypts the private key |
| 118 | }, |
| 119 | }, |
| 120 | "kind": "A String", # This is always <code>sql#importContext</code>. |
| 121 | "database": "A String", # The target database for the import. If <code>fileType</code> is |
| 122 | # <code>SQL</code>, this field is required only if the import file does not |
| 123 | # specify a database, and is overridden by any database specification in the |
| 124 | # import file. If <code>fileType</code> is <code>CSV</code>, one database |
| 125 | # must be specified. |
| 126 | "fileType": "A String", # The file type for the specified uri. <br><code>SQL</code>: The file |
| 127 | # contains SQL statements. <br><code>CSV</code>: The file contains CSV data. |
| 128 | "uri": "A String", # Path to the import file in Cloud Storage, in the form |
| 129 | # <code>gs: |
| 130 | # //bucketName/fileName</code>. Compressed gzip files (.gz) are supported |
| 131 | # // when <code>fileType</code> is <code>SQL</code>. The instance must have |
| 132 | # // write permissions to the bucket and read access to the file. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 133 | "importUser": "A String", # The PostgreSQL user for this import operation. PostgreSQL instances only. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 134 | "csvImportOptions": { # Options for importing data as CSV. |
| 135 | "table": "A String", # The table to which CSV data is imported. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 136 | "columns": [ # The columns to which CSV data is imported. If not specified, all columns |
| 137 | # of the database table are loaded with CSV data. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 138 | "A String", |
| 139 | ], |
| 140 | }, |
| 141 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 142 | "kind": "A String", # This is always <code>sql#operation</code>. |
| 143 | "targetProject": "A String", # The project ID of the target instance related to this operation. |
| 144 | "name": "A String", # An identifier that uniquely identifies the operation. You can use this |
| 145 | # identifier to retrieve the Operations resource that has information about |
| 146 | # the operation. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 147 | "exportContext": { # Database instance export context. # The context for export operation, if applicable. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 148 | "kind": "A String", # This is always <code>sql#exportContext</code>. |
| 149 | "fileType": "A String", # The file type for the specified uri. <br><code>SQL</code>: The file |
| 150 | # contains SQL statements. <br><code>CSV</code>: The file contains CSV data. |
| 151 | "uri": "A String", # The path to the file in Google Cloud Storage where the export will be |
| 152 | # stored. The URI is in the form <code>gs: |
| 153 | # //bucketName/fileName</code>. If the file already exists, the requests |
| 154 | # // succeeds, but the operation fails. If <code>fileType</code> is |
| 155 | # // <code>SQL</code> and the filename ends with .gz, the contents are |
| 156 | # // compressed. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 157 | "csvExportOptions": { # Options for exporting data as CSV. |
| 158 | "selectQuery": "A String", # The select query used to extract the data. |
| 159 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 160 | "databases": [ # Databases to be exported. <br /> <b>MySQL instances:</b> If |
| 161 | # <code>fileType</code> is <code>SQL</code> and no database is specified, all |
| 162 | # databases are exported, except for the <code>mysql</code> system database. |
| 163 | # If <code>fileType</code> is <code>CSV</code>, you can specify one database, |
| 164 | # either by using this property or by using the |
| 165 | # <code>csvExportOptions.selectQuery</code> property, which takes precedence |
| 166 | # over this property. <br /> <b>PostgreSQL instances:</b> You must specify |
| 167 | # one database to be exported. If <code>fileType</code> is <code>CSV</code>, |
| 168 | # this database must match the one specified in the |
| 169 | # <code>csvExportOptions.selectQuery</code> property. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 170 | "A String", |
| 171 | ], |
| 172 | "sqlExportOptions": { # Options for exporting data as SQL statements. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 173 | "tables": [ # Tables to export, or that were exported, from the specified database. If |
| 174 | # you specify tables, specify one and only one database. For PostgreSQL |
| 175 | # instances, you can specify only one table. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 176 | "A String", |
| 177 | ], |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 178 | "mysqlExportOptions": { # Options for exporting from MySQL. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 179 | "masterData": 42, # Option to include SQL statement required to set up replication. |
| 180 | # If set to <code>1</code>, the dump file includes |
| 181 | # a CHANGE MASTER TO statement with the binary log coordinates. |
| 182 | # If set to <code>2</code>, the CHANGE MASTER TO statement is written as |
| 183 | # a SQL comment, and has no effect. |
| 184 | # All other values are ignored. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 185 | }, |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 186 | "schemaOnly": True or False, # Export only schemas. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 187 | }, |
| 188 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 189 | "insertTime": "A String", # The time this operation was enqueued in UTC timezone in <a |
| 190 | # href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example |
| 191 | # <code>2012-11-15T16:19:00.094Z</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 192 | "targetId": "A String", # Name of the database instance related to this operation. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 193 | "operationType": "A String", # The type of the operation. Valid values are <code>CREATE</code>, |
| 194 | # <code>DELETE</code>, <code>UPDATE</code>, <code>RESTART</code>, |
| 195 | # <code>IMPORT</code>, <code>EXPORT</code>, <code>BACKUP_VOLUME</code>, |
| 196 | # <code>RESTORE_VOLUME</code>, <code>CREATE_USER</code>, |
| 197 | # <code>DELETE_USER</code>, <code>CREATE_DATABASE</code>, |
| 198 | # <code>DELETE_DATABASE</code> . |
| 199 | "user": "A String", # The email address of the user who initiated this operation. |
| 200 | "startTime": "A String", # The time this operation actually started in UTC timezone in <a |
| 201 | # href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example |
| 202 | # <code>2012-11-15T16:19:00.094Z</code>. |
| 203 | "error": { # Database instance operation errors list wrapper. # If errors occurred during processing of this operation, this field will be |
| 204 | # populated. |
| 205 | "kind": "A String", # This is always <code>sql#operationErrors</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 206 | "errors": [ # The list of errors encountered while processing this operation. |
| 207 | { # Database instance operation error. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 208 | "kind": "A String", # This is always <code>sql#operationError</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 209 | "code": "A String", # Identifies the specific error that occurred. |
| 210 | "message": "A String", # Additional information about the error encountered. |
| 211 | }, |
| 212 | ], |
| 213 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 214 | "endTime": "A String", # The time this operation finished in UTC timezone in <a |
| 215 | # href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example |
| 216 | # <code>2012-11-15T16:19:00.094Z</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 217 | "selfLink": "A String", # The URI of this resource. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 218 | "targetLink": "A String", |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 219 | }</pre> |
| 220 | </div> |
| 221 | |
| 222 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 223 | <code class="details" id="list">list(project, maxResults=None, pageToken=None, instance=None, x__xgafv=None)</code> |
| 224 | <pre>Lists all instance operations that have been performed on the given Cloud |
| 225 | SQL instance in the reverse chronological order of the start time. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 226 | |
| 227 | Args: |
| 228 | project: string, Project ID of the project that contains the instance. (required) |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 229 | maxResults: integer, Maximum number of operations per response. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 230 | pageToken: string, A previously-returned page token representing part of the larger set of |
| 231 | results to view. |
| 232 | instance: string, Cloud SQL instance ID. This does not include the project ID. |
| 233 | x__xgafv: string, V1 error format. |
| 234 | Allowed values |
| 235 | 1 - v1 error format |
| 236 | 2 - v2 error format |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 237 | |
| 238 | Returns: |
| 239 | An object of the form: |
| 240 | |
| 241 | { # Database instance list operations response. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 242 | "nextPageToken": "A String", # The continuation token, used to page through large result sets. Provide |
| 243 | # this value in a subsequent request to return the next page of results. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 244 | "items": [ # List of operation resources. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 245 | { # An Operation resource.&nbsp;For successful operations that return an |
| 246 | # Operation resource, only the fields relevant to the operation are populated |
| 247 | # in the resource. |
| 248 | "status": "A String", # The status of an operation. Valid values are <code>PENDING</code>, |
| 249 | # <code>RUNNING</code>, <code>DONE</code>, |
| 250 | # <code>SQL_OPERATION_STATUS_UNSPECIFIED</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 251 | "importContext": { # Database instance import context. # The context for import operation, if applicable. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 252 | "bakImportOptions": { # Import parameters specific to SQL Server .BAK files |
| 253 | "encryptionOptions": { |
| 254 | "pvkPath": "A String", # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the |
| 255 | # form <code>gs://bucketName/fileName</code>. The instance must have |
| 256 | # write permissions to the bucket and read access to the file. |
| 257 | "certPath": "A String", # Path to the Certificate (.cer) in Cloud Storage, in the form |
| 258 | # <code>gs://bucketName/fileName</code>. The instance must have |
| 259 | # write permissions to the bucket and read access to the file. |
| 260 | "pvkPassword": "A String", # Password that encrypts the private key |
| 261 | }, |
| 262 | }, |
| 263 | "kind": "A String", # This is always <code>sql#importContext</code>. |
| 264 | "database": "A String", # The target database for the import. If <code>fileType</code> is |
| 265 | # <code>SQL</code>, this field is required only if the import file does not |
| 266 | # specify a database, and is overridden by any database specification in the |
| 267 | # import file. If <code>fileType</code> is <code>CSV</code>, one database |
| 268 | # must be specified. |
| 269 | "fileType": "A String", # The file type for the specified uri. <br><code>SQL</code>: The file |
| 270 | # contains SQL statements. <br><code>CSV</code>: The file contains CSV data. |
| 271 | "uri": "A String", # Path to the import file in Cloud Storage, in the form |
| 272 | # <code>gs: |
| 273 | # //bucketName/fileName</code>. Compressed gzip files (.gz) are supported |
| 274 | # // when <code>fileType</code> is <code>SQL</code>. The instance must have |
| 275 | # // write permissions to the bucket and read access to the file. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 276 | "importUser": "A String", # The PostgreSQL user for this import operation. PostgreSQL instances only. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 277 | "csvImportOptions": { # Options for importing data as CSV. |
| 278 | "table": "A String", # The table to which CSV data is imported. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 279 | "columns": [ # The columns to which CSV data is imported. If not specified, all columns |
| 280 | # of the database table are loaded with CSV data. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 281 | "A String", |
| 282 | ], |
| 283 | }, |
| 284 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 285 | "kind": "A String", # This is always <code>sql#operation</code>. |
| 286 | "targetProject": "A String", # The project ID of the target instance related to this operation. |
| 287 | "name": "A String", # An identifier that uniquely identifies the operation. You can use this |
| 288 | # identifier to retrieve the Operations resource that has information about |
| 289 | # the operation. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 290 | "exportContext": { # Database instance export context. # The context for export operation, if applicable. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 291 | "kind": "A String", # This is always <code>sql#exportContext</code>. |
| 292 | "fileType": "A String", # The file type for the specified uri. <br><code>SQL</code>: The file |
| 293 | # contains SQL statements. <br><code>CSV</code>: The file contains CSV data. |
| 294 | "uri": "A String", # The path to the file in Google Cloud Storage where the export will be |
| 295 | # stored. The URI is in the form <code>gs: |
| 296 | # //bucketName/fileName</code>. If the file already exists, the requests |
| 297 | # // succeeds, but the operation fails. If <code>fileType</code> is |
| 298 | # // <code>SQL</code> and the filename ends with .gz, the contents are |
| 299 | # // compressed. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 300 | "csvExportOptions": { # Options for exporting data as CSV. |
| 301 | "selectQuery": "A String", # The select query used to extract the data. |
| 302 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 303 | "databases": [ # Databases to be exported. <br /> <b>MySQL instances:</b> If |
| 304 | # <code>fileType</code> is <code>SQL</code> and no database is specified, all |
| 305 | # databases are exported, except for the <code>mysql</code> system database. |
| 306 | # If <code>fileType</code> is <code>CSV</code>, you can specify one database, |
| 307 | # either by using this property or by using the |
| 308 | # <code>csvExportOptions.selectQuery</code> property, which takes precedence |
| 309 | # over this property. <br /> <b>PostgreSQL instances:</b> You must specify |
| 310 | # one database to be exported. If <code>fileType</code> is <code>CSV</code>, |
| 311 | # this database must match the one specified in the |
| 312 | # <code>csvExportOptions.selectQuery</code> property. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 313 | "A String", |
| 314 | ], |
| 315 | "sqlExportOptions": { # Options for exporting data as SQL statements. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 316 | "tables": [ # Tables to export, or that were exported, from the specified database. If |
| 317 | # you specify tables, specify one and only one database. For PostgreSQL |
| 318 | # instances, you can specify only one table. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 319 | "A String", |
| 320 | ], |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 321 | "mysqlExportOptions": { # Options for exporting from MySQL. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 322 | "masterData": 42, # Option to include SQL statement required to set up replication. |
| 323 | # If set to <code>1</code>, the dump file includes |
| 324 | # a CHANGE MASTER TO statement with the binary log coordinates. |
| 325 | # If set to <code>2</code>, the CHANGE MASTER TO statement is written as |
| 326 | # a SQL comment, and has no effect. |
| 327 | # All other values are ignored. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 328 | }, |
Jon Wayne Parrott | 36e41bc | 2016-02-19 16:02:29 -0800 | [diff] [blame] | 329 | "schemaOnly": True or False, # Export only schemas. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 330 | }, |
| 331 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 332 | "insertTime": "A String", # The time this operation was enqueued in UTC timezone in <a |
| 333 | # href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example |
| 334 | # <code>2012-11-15T16:19:00.094Z</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 335 | "targetId": "A String", # Name of the database instance related to this operation. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 336 | "operationType": "A String", # The type of the operation. Valid values are <code>CREATE</code>, |
| 337 | # <code>DELETE</code>, <code>UPDATE</code>, <code>RESTART</code>, |
| 338 | # <code>IMPORT</code>, <code>EXPORT</code>, <code>BACKUP_VOLUME</code>, |
| 339 | # <code>RESTORE_VOLUME</code>, <code>CREATE_USER</code>, |
| 340 | # <code>DELETE_USER</code>, <code>CREATE_DATABASE</code>, |
| 341 | # <code>DELETE_DATABASE</code> . |
| 342 | "user": "A String", # The email address of the user who initiated this operation. |
| 343 | "startTime": "A String", # The time this operation actually started in UTC timezone in <a |
| 344 | # href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example |
| 345 | # <code>2012-11-15T16:19:00.094Z</code>. |
| 346 | "error": { # Database instance operation errors list wrapper. # If errors occurred during processing of this operation, this field will be |
| 347 | # populated. |
| 348 | "kind": "A String", # This is always <code>sql#operationErrors</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 349 | "errors": [ # The list of errors encountered while processing this operation. |
| 350 | { # Database instance operation error. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 351 | "kind": "A String", # This is always <code>sql#operationError</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 352 | "code": "A String", # Identifies the specific error that occurred. |
| 353 | "message": "A String", # Additional information about the error encountered. |
| 354 | }, |
| 355 | ], |
| 356 | }, |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 357 | "endTime": "A String", # The time this operation finished in UTC timezone in <a |
| 358 | # href="https://tools.ietf.org/html/rfc3339">RFC 3339</a> format, for example |
| 359 | # <code>2012-11-15T16:19:00.094Z</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 360 | "selfLink": "A String", # The URI of this resource. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 361 | "targetLink": "A String", |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 362 | }, |
| 363 | ], |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame^] | 364 | "kind": "A String", # This is always <code>sql#operationsList</code>. |
Craig Citro | e633be1 | 2015-03-02 13:40:36 -0800 | [diff] [blame] | 365 | }</pre> |
| 366 | </div> |
| 367 | |
| 368 | <div class="method"> |
| 369 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 370 | <pre>Retrieves the next page of results. |
| 371 | |
| 372 | Args: |
| 373 | previous_request: The request for the previous page. (required) |
| 374 | previous_response: The response from the request for the previous page. (required) |
| 375 | |
| 376 | Returns: |
| 377 | A request object that you can call 'execute()' on to request the next |
| 378 | page. Returns None if there are no more items in the collection. |
| 379 | </pre> |
| 380 | </div> |
| 381 | |
| 382 | </body></html> |