1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Wed Feb 15 10:13:15 UTC 2023

This commit is contained in:
Automated 2023-02-15 10:13:15 +00:00
parent 02b395b082
commit 78fb6d9419
375 changed files with 5899 additions and 1603 deletions

View file

@ -138,14 +138,14 @@ REQUIRED FLAGS
The JSON file is formatted as follows:
{
"source_hierarchy_datasets": {
"dataset_template": {
"sourceHierarchyDatasets": {
"datasetTemplate": {
"location": "us-central1",
"dataset_id_prefix": "my_prefix",
"kms_key_name": "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}"
"datasetIdPrefix": "my_prefix",
"kmsKeyName": "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}"
}
},
"data_freshness": 3600
"dataFreshness": 3600
}
--gcs-destination-config=GCS_DESTINATION_CONFIG
@ -156,9 +156,9 @@ REQUIRED FLAGS
{
"path": "some/path",
"file_rotation_mb":5,
"file_rotation_interval":"15s",
"avro_file_format": {}
"fileRotationMb":5,
"fileRotationInterval":"15s",
"avroFileFormat": {}
}
This must be specified.
@ -188,19 +188,18 @@ REQUIRED FLAGS
Path to a YAML (or JSON) file containing the configuration for
MySQL Source Config.
The JSON file is formatted as follows, with snake_case field
naming:
The JSON file is formatted as follows, with camelCase field naming:
{
"include_objects": {},
"exclude_objects": {
"mysql_databases": [
"includeObjects": {},
"excludeObjects": {
"mysqlDatabases": [
{
"database":"sample_database",
"mysql_tables": [
"mysqlTables": [
{
"table": "sample_table",
"mysql_columns": [
"mysqlColumns": [
{
"column": "sample_column",
}
@ -216,19 +215,18 @@ REQUIRED FLAGS
Path to a YAML (or JSON) file containing the configuration for
Oracle Source Config.
The JSON file is formatted as follows, with snake_case field
naming:
The JSON file is formatted as follows, with camelCase field naming:
{
"include_objects": {},
"exclude_objects": {
"oracle_schemas": [
"includeObjects": {},
"excludeObjects": {
"oracleSchemas": [
{
"schema": "SAMPLE",
"oracle_tables": [
"oracleTables": [
{
"table": "SAMPLE_TABLE",
"oracle_columns": [
"oracleColumns": [
{
"column": "COL",
}
@ -244,19 +242,18 @@ REQUIRED FLAGS
Path to a YAML (or JSON) file containing the configuration for
PostgreSQL Source Config.
The JSON file is formatted as follows, with snake_case field
naming:
The JSON file is formatted as follows, with camelCase field naming:
{
"include_objects": {},
"exclude_objects": {
"postgresql_schemas": [
"includeObjects": {},
"excludeObjects": {
"postgresqlSchemas": [
{
"schema": "SAMPLE",
"postgresql_tables": [
"postgresqlTables": [
{
"table": "SAMPLE_TABLE",
"postgresql_columns": [
"postgresqlColumns": [
{
"column": "COL",
}
@ -266,7 +263,7 @@ REQUIRED FLAGS
}
]
},
"replication_slot": "SAMPLE_REPLICATION_SLOT",
"replicationSlot": "SAMPLE_REPLICATION_SLOT",
"publication": "SAMPLE_PUBLICATION"
}

View file

@ -11,10 +11,10 @@ SYNOPSIS
| --postgresql-excluded-objects=POSTGRESQL_EXCLUDED_OBJECTS]
[--clear-labels | --remove-labels=[KEY,...]]
[--destination=DESTINATION
: --bigquery-destination-config=BIGQUERY_DESTINATION_CONFIG
--bigquery-destination-config=BIGQUERY_DESTINATION_CONFIG
| --gcs-destination-config=GCS_DESTINATION_CONFIG]
[--force | --validate-only]
[--source=SOURCE : --mysql-source-config=MYSQL_SOURCE_CONFIG
[--source=SOURCE --mysql-source-config=MYSQL_SOURCE_CONFIG
| --oracle-source-config=ORACLE_SOURCE_CONFIG
| --postgresql-source-config=POSTGRESQL_SOURCE_CONFIG]
[GCLOUD_WIDE_FLAG ...]
@ -156,14 +156,14 @@ FLAGS
The JSON file is formatted as follows:
{
"source_hierarchy_datasets": {
"dataset_template": {
"sourceHierarchyDatasets": {
"datasetTemplate": {
"location": "us-central1",
"dataset_id_prefix": "my_prefix",
"kms_key_name": "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}"
"datasetIdPrefix": "my_prefix",
"kmsKeyName": "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}"
}
},
"data_freshness": 3600
"dataFreshness": 3600
}
--gcs-destination-config=GCS_DESTINATION_CONFIG
@ -174,9 +174,9 @@ FLAGS
{
"path": "some/path",
"file_rotation_mb":5,
"file_rotation_interval":"15s",
"avro_file_format": {}
"fileRotationMb":5,
"fileRotationInterval":"15s",
"avroFileFormat": {}
}
At most one of these can be specified:
@ -211,18 +211,18 @@ FLAGS
Path to a YAML (or JSON) file containing the configuration for MySQL
Source Config.
The JSON file is formatted as follows, with snake_case field naming:
The JSON file is formatted as follows, with camelCase field naming:
{
"include_objects": {},
"exclude_objects": {
"mysql_databases": [
"includeObjects": {},
"excludeObjects": {
"mysqlDatabases": [
{
"database":"sample_database",
"mysql_tables": [
"mysqlTables": [
{
"table": "sample_table",
"mysql_columns": [
"mysqlColumns": [
{
"column": "sample_column",
}
@ -238,18 +238,18 @@ FLAGS
Path to a YAML (or JSON) file containing the configuration for Oracle
Source Config.
The JSON file is formatted as follows, with snake_case field naming:
The JSON file is formatted as follows, with camelCase field naming:
{
"include_objects": {},
"exclude_objects": {
"oracle_schemas": [
"includeObjects": {},
"excludeObjects": {
"oracleSchemas": [
{
"schema": "SAMPLE",
"oracle_tables": [
"oracleTables": [
{
"table": "SAMPLE_TABLE",
"oracle_columns": [
"oracleColumns": [
{
"column": "COL",
}
@ -265,18 +265,18 @@ FLAGS
Path to a YAML (or JSON) file containing the configuration for
PostgreSQL Source Config.
The JSON file is formatted as follows, with snake_case field naming:
The JSON file is formatted as follows, with camelCase field naming:
{
"include_objects": {},
"exclude_objects": {
"postgresql_schemas": [
"includeObjects": {},
"excludeObjects": {
"postgresqlSchemas": [
{
"schema": "SAMPLE",
"postgresql_tables": [
"postgresqlTables": [
{
"table": "SAMPLE_TABLE",
"postgresql_columns": [
"postgresqlColumns": [
{
"column": "COL",
}