From 5136515dbc6d10db7a105f98eca3b82200fd61ad Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 30 Oct 2023 07:12:41 +0000 Subject: [PATCH] feat(all): auto-regenerate discovery clients --- metastore/v1/metastore-api.json | 28 +++++++++++- metastore/v1/metastore-gen.go | 66 ++++++++++++++++++++++++++++ metastore/v1alpha/metastore-api.json | 8 ++-- metastore/v1alpha/metastore-gen.go | 14 +++--- metastore/v1beta/metastore-api.json | 8 ++-- metastore/v1beta/metastore-gen.go | 14 +++--- 6 files changed, 115 insertions(+), 23 deletions(-) diff --git a/metastore/v1/metastore-api.json b/metastore/v1/metastore-api.json index 5974fee4221..6250e79bcea 100644 --- a/metastore/v1/metastore-api.json +++ b/metastore/v1/metastore-api.json @@ -1339,7 +1339,7 @@ } } }, - "revision": "20231010", + "revision": "20231023", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -1569,6 +1569,17 @@ }, "type": "object" }, + "DataCatalogConfig": { + "description": "Specifies how metastore metadata should be integrated with the Data Catalog service.", + "id": "DataCatalogConfig", + "properties": { + "enabled": { + "description": "Optional. Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.", + "type": "boolean" + } + }, + "type": "object" + }, "DatabaseDump": { "description": "A specification of the location of and metadata about a database dump from a relational database management system.", "id": "DatabaseDump", @@ -2187,6 +2198,17 @@ }, "type": "object" }, + "MetadataIntegration": { + "description": "Specifies how metastore metadata should be integrated with external services.", + "id": "MetadataIntegration", + "properties": { + "dataCatalogConfig": { + "$ref": "DataCatalogConfig", + "description": "Optional. The integration config for the Data Catalog service." + } + }, + "type": "object" + }, "MetadataManagementActivity": { "description": "The metadata management activities of the metastore service.", "id": "MetadataManagementActivity", @@ -2583,6 +2605,10 @@ "$ref": "MaintenanceWindow", "description": "The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type." }, + "metadataIntegration": { + "$ref": "MetadataIntegration", + "description": "Optional. The setting that defines how metastore metadata should be integrated with external services and systems." + }, "metadataManagementActivity": { "$ref": "MetadataManagementActivity", "description": "Output only. The metadata management activities of the metastore service.", diff --git a/metastore/v1/metastore-gen.go b/metastore/v1/metastore-gen.go index 573fe0e84dd..3070a5a07d2 100644 --- a/metastore/v1/metastore-gen.go +++ b/metastore/v1/metastore-gen.go @@ -643,6 +643,37 @@ func (s *Consumer) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// DataCatalogConfig: Specifies how metastore metadata should be +// integrated with the Data Catalog service. +type DataCatalogConfig struct { + // Enabled: Optional. Defines whether the metastore metadata should be + // synced to Data Catalog. The default value is to disable syncing + // metastore metadata to Data Catalog. + Enabled bool `json:"enabled,omitempty"` + + // ForceSendFields is a list of field names (e.g. "Enabled") to + // unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "Enabled") to include in + // API requests with the JSON null value. By default, fields with empty + // values are omitted from API requests. However, any field with an + // empty value appearing in NullFields will be sent to the server as + // null. It is an error if a field in this list has a non-empty value. + // This may be used to include null fields in Patch requests. + NullFields []string `json:"-"` +} + +func (s *DataCatalogConfig) MarshalJSON() ([]byte, error) { + type NoMethod DataCatalogConfig + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // DatabaseDump: A specification of the location of and metadata about a // database dump from a relational database management system. type DatabaseDump struct { @@ -1591,6 +1622,37 @@ func (s *MetadataImport) MarshalJSON() ([]byte, error) { return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) } +// MetadataIntegration: Specifies how metastore metadata should be +// integrated with external services. +type MetadataIntegration struct { + // DataCatalogConfig: Optional. The integration config for the Data + // Catalog service. + DataCatalogConfig *DataCatalogConfig `json:"dataCatalogConfig,omitempty"` + + // ForceSendFields is a list of field names (e.g. "DataCatalogConfig") + // to unconditionally include in API requests. By default, fields with + // empty or default values are omitted from API requests. However, any + // non-pointer, non-interface field appearing in ForceSendFields will be + // sent to the server regardless of whether the field is empty or not. + // This may be used to include empty fields in Patch requests. + ForceSendFields []string `json:"-"` + + // NullFields is a list of field names (e.g. "DataCatalogConfig") to + // include in API requests with the JSON null value. By default, fields + // with empty values are omitted from API requests. However, any field + // with an empty value appearing in NullFields will be sent to the + // server as null. It is an error if a field in this list has a + // non-empty value. This may be used to include null fields in Patch + // requests. + NullFields []string `json:"-"` +} + +func (s *MetadataIntegration) MarshalJSON() ([]byte, error) { + type NoMethod MetadataIntegration + raw := NoMethod(*s) + return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields) +} + // MetadataManagementActivity: The metadata management activities of the // metastore service. type MetadataManagementActivity struct { @@ -2255,6 +2317,10 @@ type Service struct { // for services with the SPANNER database type. MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` + // MetadataIntegration: Optional. The setting that defines how metastore + // metadata should be integrated with external services and systems. + MetadataIntegration *MetadataIntegration `json:"metadataIntegration,omitempty"` + // MetadataManagementActivity: Output only. The metadata management // activities of the metastore service. MetadataManagementActivity *MetadataManagementActivity `json:"metadataManagementActivity,omitempty"` diff --git a/metastore/v1alpha/metastore-api.json b/metastore/v1alpha/metastore-api.json index d86d65536c3..4418823a30f 100644 --- a/metastore/v1alpha/metastore-api.json +++ b/metastore/v1alpha/metastore-api.json @@ -1579,7 +1579,7 @@ } } }, - "revision": "20231010", + "revision": "20231023", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -1816,7 +1816,7 @@ "id": "DataCatalogConfig", "properties": { "enabled": { - "description": "Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.", + "description": "Optional. Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.", "type": "boolean" } }, @@ -2471,7 +2471,7 @@ "properties": { "dataCatalogConfig": { "$ref": "DataCatalogConfig", - "description": "The integration config for the Data Catalog service." + "description": "Optional. The integration config for the Data Catalog service." }, "dataplexConfig": { "$ref": "DataplexConfig", @@ -2904,7 +2904,7 @@ }, "metadataIntegration": { "$ref": "MetadataIntegration", - "description": "The setting that defines how metastore metadata should be integrated with external services and systems." + "description": "Optional. The setting that defines how metastore metadata should be integrated with external services and systems." }, "metadataManagementActivity": { "$ref": "MetadataManagementActivity", diff --git a/metastore/v1alpha/metastore-gen.go b/metastore/v1alpha/metastore-gen.go index 9f37f5fd6d0..2ea0e8726eb 100644 --- a/metastore/v1alpha/metastore-gen.go +++ b/metastore/v1alpha/metastore-gen.go @@ -671,9 +671,9 @@ func (s *Consumer) MarshalJSON() ([]byte, error) { // DataCatalogConfig: Specifies how metastore metadata should be // integrated with the Data Catalog service. type DataCatalogConfig struct { - // Enabled: Defines whether the metastore metadata should be synced to - // Data Catalog. The default value is to disable syncing metastore - // metadata to Data Catalog. + // Enabled: Optional. Defines whether the metastore metadata should be + // synced to Data Catalog. The default value is to disable syncing + // metastore metadata to Data Catalog. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to @@ -1710,8 +1710,8 @@ func (s *MetadataImport) MarshalJSON() ([]byte, error) { // MetadataIntegration: Specifies how metastore metadata should be // integrated with external services. type MetadataIntegration struct { - // DataCatalogConfig: The integration config for the Data Catalog - // service. + // DataCatalogConfig: Optional. The integration config for the Data + // Catalog service. DataCatalogConfig *DataCatalogConfig `json:"dataCatalogConfig,omitempty"` // DataplexConfig: The integration config for the Dataplex service. @@ -2472,8 +2472,8 @@ type Service struct { // for services with the SPANNER database type. MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` - // MetadataIntegration: The setting that defines how metastore metadata - // should be integrated with external services and systems. + // MetadataIntegration: Optional. The setting that defines how metastore + // metadata should be integrated with external services and systems. MetadataIntegration *MetadataIntegration `json:"metadataIntegration,omitempty"` // MetadataManagementActivity: Output only. The metadata management diff --git a/metastore/v1beta/metastore-api.json b/metastore/v1beta/metastore-api.json index c296f085f12..083c40e4c93 100644 --- a/metastore/v1beta/metastore-api.json +++ b/metastore/v1beta/metastore-api.json @@ -1579,7 +1579,7 @@ } } }, - "revision": "20231010", + "revision": "20231023", "rootUrl": "https://metastore.googleapis.com/", "schemas": { "AlterMetadataResourceLocationRequest": { @@ -1816,7 +1816,7 @@ "id": "DataCatalogConfig", "properties": { "enabled": { - "description": "Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.", + "description": "Optional. Defines whether the metastore metadata should be synced to Data Catalog. The default value is to disable syncing metastore metadata to Data Catalog.", "type": "boolean" } }, @@ -2471,7 +2471,7 @@ "properties": { "dataCatalogConfig": { "$ref": "DataCatalogConfig", - "description": "The integration config for the Data Catalog service." + "description": "Optional. The integration config for the Data Catalog service." }, "dataplexConfig": { "$ref": "DataplexConfig", @@ -2904,7 +2904,7 @@ }, "metadataIntegration": { "$ref": "MetadataIntegration", - "description": "The setting that defines how metastore metadata should be integrated with external services and systems." + "description": "Optional. The setting that defines how metastore metadata should be integrated with external services and systems." }, "metadataManagementActivity": { "$ref": "MetadataManagementActivity", diff --git a/metastore/v1beta/metastore-gen.go b/metastore/v1beta/metastore-gen.go index d18b722a56d..cda1eb2202a 100644 --- a/metastore/v1beta/metastore-gen.go +++ b/metastore/v1beta/metastore-gen.go @@ -671,9 +671,9 @@ func (s *Consumer) MarshalJSON() ([]byte, error) { // DataCatalogConfig: Specifies how metastore metadata should be // integrated with the Data Catalog service. type DataCatalogConfig struct { - // Enabled: Defines whether the metastore metadata should be synced to - // Data Catalog. The default value is to disable syncing metastore - // metadata to Data Catalog. + // Enabled: Optional. Defines whether the metastore metadata should be + // synced to Data Catalog. The default value is to disable syncing + // metastore metadata to Data Catalog. Enabled bool `json:"enabled,omitempty"` // ForceSendFields is a list of field names (e.g. "Enabled") to @@ -1710,8 +1710,8 @@ func (s *MetadataImport) MarshalJSON() ([]byte, error) { // MetadataIntegration: Specifies how metastore metadata should be // integrated with external services. type MetadataIntegration struct { - // DataCatalogConfig: The integration config for the Data Catalog - // service. + // DataCatalogConfig: Optional. The integration config for the Data + // Catalog service. DataCatalogConfig *DataCatalogConfig `json:"dataCatalogConfig,omitempty"` // DataplexConfig: The integration config for the Dataplex service. @@ -2472,8 +2472,8 @@ type Service struct { // for services with the SPANNER database type. MaintenanceWindow *MaintenanceWindow `json:"maintenanceWindow,omitempty"` - // MetadataIntegration: The setting that defines how metastore metadata - // should be integrated with external services and systems. + // MetadataIntegration: Optional. The setting that defines how metastore + // metadata should be integrated with external services and systems. MetadataIntegration *MetadataIntegration `json:"metadataIntegration,omitempty"` // MetadataManagementActivity: Output only. The metadata management