Skip to content

Commit

Permalink
feat(metastore): update the API
Browse files Browse the repository at this point in the history
#### metastore:v1alpha

The following keys were added:
- schemas.AlterMetadataResourceLocationResponse.description
- schemas.AlterMetadataResourceLocationResponse.id
- schemas.AlterMetadataResourceLocationResponse.type
- schemas.MoveTableToDatabaseResponse.description
- schemas.MoveTableToDatabaseResponse.id
- schemas.MoveTableToDatabaseResponse.type

The following keys were changed:
- schemas.BackendMetastore.properties.name.description

#### metastore:v1beta

The following keys were added:
- schemas.AlterMetadataResourceLocationResponse.description
- schemas.AlterMetadataResourceLocationResponse.id
- schemas.AlterMetadataResourceLocationResponse.type
- schemas.MoveTableToDatabaseResponse.description
- schemas.MoveTableToDatabaseResponse.id
- schemas.MoveTableToDatabaseResponse.type

The following keys were changed:
- schemas.BackendMetastore.properties.name.description

#### metastore:v1

The following keys were changed:
- schemas.BackendMetastore.properties.name.description
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent aa626fc commit 7be6208
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 9 deletions.
4 changes: 2 additions & 2 deletions discovery/metastore-v1.json
Expand Up @@ -1259,7 +1259,7 @@
}
}
},
"revision": "20221208",
"revision": "20230111",
"rootUrl": "https://metastore.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -1327,7 +1327,7 @@
"type": "string"
},
"name": {
"description": "The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: Dataplex projects/{project_id}/locations/{location}/lakes/{lake_id} BigQuery projects/{project_id} Dataproc Metastore projects/{project_id}/locations/{location}/services/{service_id}",
"description": "The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: BigQuery projects/{project_id} Dataproc Metastore projects/{project_id}/locations/{location}/services/{service_id}",
"type": "string"
}
},
Expand Down
16 changes: 14 additions & 2 deletions discovery/metastore-v1alpha.json
Expand Up @@ -1551,7 +1551,7 @@
}
}
},
"revision": "20221208",
"revision": "20230111",
"rootUrl": "https://metastore.googleapis.com/",
"schemas": {
"AlterMetadataResourceLocationRequest": {
Expand All @@ -1569,6 +1569,12 @@
},
"type": "object"
},
"AlterMetadataResourceLocationResponse": {
"description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.",
"id": "AlterMetadataResourceLocationResponse",
"properties": {},
"type": "object"
},
"AuditConfig": {
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
Expand Down Expand Up @@ -1659,7 +1665,7 @@
"type": "string"
},
"name": {
"description": "The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: Dataplex projects/{project_id}/locations/{location}/lakes/{lake_id} BigQuery projects/{project_id} Dataproc Metastore projects/{project_id}/locations/{location}/services/{service_id}",
"description": "The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: BigQuery projects/{project_id} Dataproc Metastore projects/{project_id}/locations/{location}/services/{service_id}",
"type": "string"
}
},
Expand Down Expand Up @@ -2455,6 +2461,12 @@
},
"type": "object"
},
"MoveTableToDatabaseResponse": {
"description": "Response message for DataprocMetastore.MoveTableToDatabase.",
"id": "MoveTableToDatabaseResponse",
"properties": {},
"type": "object"
},
"NetworkConfig": {
"description": "Network configuration for the Dataproc Metastore service.",
"id": "NetworkConfig",
Expand Down
16 changes: 14 additions & 2 deletions discovery/metastore-v1beta.json
Expand Up @@ -1551,7 +1551,7 @@
}
}
},
"revision": "20221208",
"revision": "20230111",
"rootUrl": "https://metastore.googleapis.com/",
"schemas": {
"AlterMetadataResourceLocationRequest": {
Expand All @@ -1569,6 +1569,12 @@
},
"type": "object"
},
"AlterMetadataResourceLocationResponse": {
"description": "Response message for DataprocMetastore.AlterMetadataResourceLocation.",
"id": "AlterMetadataResourceLocationResponse",
"properties": {},
"type": "object"
},
"AuditConfig": {
"description": "Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { \"audit_configs\": [ { \"service\": \"allServices\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\", \"exempted_members\": [ \"user:jose@example.com\" ] }, { \"log_type\": \"DATA_WRITE\" }, { \"log_type\": \"ADMIN_READ\" } ] }, { \"service\": \"sampleservice.googleapis.com\", \"audit_log_configs\": [ { \"log_type\": \"DATA_READ\" }, { \"log_type\": \"DATA_WRITE\", \"exempted_members\": [ \"user:aliya@example.com\" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.",
"id": "AuditConfig",
Expand Down Expand Up @@ -1659,7 +1665,7 @@
"type": "string"
},
"name": {
"description": "The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: Dataplex projects/{project_id}/locations/{location}/lakes/{lake_id} BigQuery projects/{project_id} Dataproc Metastore projects/{project_id}/locations/{location}/services/{service_id}",
"description": "The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: BigQuery projects/{project_id} Dataproc Metastore projects/{project_id}/locations/{location}/services/{service_id}",
"type": "string"
}
},
Expand Down Expand Up @@ -2455,6 +2461,12 @@
},
"type": "object"
},
"MoveTableToDatabaseResponse": {
"description": "Response message for DataprocMetastore.MoveTableToDatabase.",
"id": "MoveTableToDatabaseResponse",
"properties": {},
"type": "object"
},
"NetworkConfig": {
"description": "Network configuration for the Dataproc Metastore service.",
"id": "NetworkConfig",
Expand Down
2 changes: 1 addition & 1 deletion src/apis/metastore/v1.ts
Expand Up @@ -161,7 +161,7 @@ export namespace metastore_v1 {
*/
metastoreType?: string | null;
/**
* The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: Dataplex projects/{project_id\}/locations/{location\}/lakes/{lake_id\} BigQuery projects/{project_id\} Dataproc Metastore projects/{project_id\}/locations/{location\}/services/{service_id\}
* The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: BigQuery projects/{project_id\} Dataproc Metastore projects/{project_id\}/locations/{location\}/services/{service_id\}
*/
name?: string | null;
}
Expand Down
10 changes: 9 additions & 1 deletion src/apis/metastore/v1alpha.ts
Expand Up @@ -137,6 +137,10 @@ export namespace metastore_v1alpha {
*/
resourceName?: string | null;
}
/**
* Response message for DataprocMetastore.AlterMetadataResourceLocation.
*/
export interface Schema$AlterMetadataResourceLocationResponse {}
/**
* Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
*/
Expand Down Expand Up @@ -189,7 +193,7 @@ export namespace metastore_v1alpha {
*/
metastoreType?: string | null;
/**
* The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: Dataplex projects/{project_id\}/locations/{location\}/lakes/{lake_id\} BigQuery projects/{project_id\} Dataproc Metastore projects/{project_id\}/locations/{location\}/services/{service_id\}
* The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: BigQuery projects/{project_id\} Dataproc Metastore projects/{project_id\}/locations/{location\}/services/{service_id\}
*/
name?: string | null;
}
Expand Down Expand Up @@ -697,6 +701,10 @@ export namespace metastore_v1alpha {
*/
tableName?: string | null;
}
/**
* Response message for DataprocMetastore.MoveTableToDatabase.
*/
export interface Schema$MoveTableToDatabaseResponse {}
/**
* Network configuration for the Dataproc Metastore service.
*/
Expand Down
10 changes: 9 additions & 1 deletion src/apis/metastore/v1beta.ts
Expand Up @@ -137,6 +137,10 @@ export namespace metastore_v1beta {
*/
resourceName?: string | null;
}
/**
* Response message for DataprocMetastore.AlterMetadataResourceLocation.
*/
export interface Schema$AlterMetadataResourceLocationResponse {}
/**
* Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] \}, { "log_type": "DATA_WRITE" \}, { "log_type": "ADMIN_READ" \} ] \}, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" \}, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] \} ] \} ] \} For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
*/
Expand Down Expand Up @@ -189,7 +193,7 @@ export namespace metastore_v1beta {
*/
metastoreType?: string | null;
/**
* The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: Dataplex projects/{project_id\}/locations/{location\}/lakes/{lake_id\} BigQuery projects/{project_id\} Dataproc Metastore projects/{project_id\}/locations/{location\}/services/{service_id\}
* The relative resource name of the metastore that is being federated. The formats of the relative resource names for the currently supported metastores are listed below: BigQuery projects/{project_id\} Dataproc Metastore projects/{project_id\}/locations/{location\}/services/{service_id\}
*/
name?: string | null;
}
Expand Down Expand Up @@ -697,6 +701,10 @@ export namespace metastore_v1beta {
*/
tableName?: string | null;
}
/**
* Response message for DataprocMetastore.MoveTableToDatabase.
*/
export interface Schema$MoveTableToDatabaseResponse {}
/**
* Network configuration for the Dataproc Metastore service.
*/
Expand Down

0 comments on commit 7be6208

Please sign in to comment.