Skip to content

Commit

Permalink
feat(sqladmin): update the api
Browse files Browse the repository at this point in the history
#### sqladmin:v1

The following keys were added:
- schemas.ExportContext.properties.sqlExportOptions.properties.parallel.type (Total Keys: 1)
- schemas.ExportContext.properties.sqlExportOptions.properties.threads (Total Keys: 2)

#### sqladmin:v1beta4

The following keys were added:
- schemas.ExportContext.properties.sqlExportOptions.properties.parallel.type (Total Keys: 1)
- schemas.ExportContext.properties.sqlExportOptions.properties.threads (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Jan 26, 2024
1 parent ff4f783 commit dacb0be
Show file tree
Hide file tree
Showing 16 changed files with 188 additions and 10 deletions.
4 changes: 4 additions & 0 deletions docs/dyn/sqladmin_v1.backupRuns.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,12 @@ <h3>Method Details</h3>
&quot;mysqlExportOptions&quot;: { # Options for exporting from MySQL.
&quot;masterData&quot;: 42, # Option to include SQL statement required to set up replication. If set to `1`, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to `2`, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than `1`, --set-gtid-purged is set to OFF.
},
&quot;parallel&quot;: True or False, # Optional. Whether or not the export should be parallel.
&quot;schemaOnly&quot;: True or False, # Export only schemas.
&quot;tables&quot;: [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.
&quot;A String&quot;,
],
&quot;threads&quot;: 42, # Optional. The number of threads to use for parallel export.
},
&quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.
},
Expand Down Expand Up @@ -352,10 +354,12 @@ <h3>Method Details</h3>
&quot;mysqlExportOptions&quot;: { # Options for exporting from MySQL.
&quot;masterData&quot;: 42, # Option to include SQL statement required to set up replication. If set to `1`, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to `2`, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than `1`, --set-gtid-purged is set to OFF.
},
&quot;parallel&quot;: True or False, # Optional. Whether or not the export should be parallel.
&quot;schemaOnly&quot;: True or False, # Export only schemas.
&quot;tables&quot;: [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.
&quot;A String&quot;,
],
&quot;threads&quot;: 42, # Optional. The number of threads to use for parallel export.
},
&quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.
},
Expand Down
8 changes: 8 additions & 0 deletions docs/dyn/sqladmin_v1.databases.html
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,12 @@ <h3>Method Details</h3>
&quot;mysqlExportOptions&quot;: { # Options for exporting from MySQL.
&quot;masterData&quot;: 42, # Option to include SQL statement required to set up replication. If set to `1`, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to `2`, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than `1`, --set-gtid-purged is set to OFF.
},
&quot;parallel&quot;: True or False, # Optional. Whether or not the export should be parallel.
&quot;schemaOnly&quot;: True or False, # Export only schemas.
&quot;tables&quot;: [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.
&quot;A String&quot;,
],
&quot;threads&quot;: 42, # Optional. The number of threads to use for parallel export.
},
&quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.
},
Expand Down Expand Up @@ -325,10 +327,12 @@ <h3>Method Details</h3>
&quot;mysqlExportOptions&quot;: { # Options for exporting from MySQL.
&quot;masterData&quot;: 42, # Option to include SQL statement required to set up replication. If set to `1`, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to `2`, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than `1`, --set-gtid-purged is set to OFF.
},
&quot;parallel&quot;: True or False, # Optional. Whether or not the export should be parallel.
&quot;schemaOnly&quot;: True or False, # Export only schemas.
&quot;tables&quot;: [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.
&quot;A String&quot;,
],
&quot;threads&quot;: 42, # Optional. The number of threads to use for parallel export.
},
&quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.
},
Expand Down Expand Up @@ -492,10 +496,12 @@ <h3>Method Details</h3>
&quot;mysqlExportOptions&quot;: { # Options for exporting from MySQL.
&quot;masterData&quot;: 42, # Option to include SQL statement required to set up replication. If set to `1`, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to `2`, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than `1`, --set-gtid-purged is set to OFF.
},
&quot;parallel&quot;: True or False, # Optional. Whether or not the export should be parallel.
&quot;schemaOnly&quot;: True or False, # Export only schemas.
&quot;tables&quot;: [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.
&quot;A String&quot;,
],
&quot;threads&quot;: 42, # Optional. The number of threads to use for parallel export.
},
&quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.
},
Expand Down Expand Up @@ -623,10 +629,12 @@ <h3>Method Details</h3>
&quot;mysqlExportOptions&quot;: { # Options for exporting from MySQL.
&quot;masterData&quot;: 42, # Option to include SQL statement required to set up replication. If set to `1`, the dump file includes a CHANGE MASTER TO statement with the binary log coordinates, and --set-gtid-purged is set to ON. If set to `2`, the CHANGE MASTER TO statement is written as a SQL comment and has no effect. If set to any value other than `1`, --set-gtid-purged is set to OFF.
},
&quot;parallel&quot;: True or False, # Optional. Whether or not the export should be parallel.
&quot;schemaOnly&quot;: True or False, # Export only schemas.
&quot;tables&quot;: [ # Tables to export, or that were exported, from the specified database. If you specify tables, specify one and only one database. For PostgreSQL instances, you can specify only one table.
&quot;A String&quot;,
],
&quot;threads&quot;: 42, # Optional. The number of threads to use for parallel export.
},
&quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.
},
Expand Down

0 comments on commit dacb0be

Please sign in to comment.