From 9b2e0790fde457e3b2dce1835cad16fe9cc460a5 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Wed, 9 Oct 2024 01:36:01 +0000 Subject: [PATCH] feat(dataplex)!: update the API BREAKING CHANGE: This release has breaking changes. #### dataplex:v1 The following keys were deleted: - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.description - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.id - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.ccfeRmsPath.description - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.ccfeRmsPath.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.expected.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.expected.description - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.extraParameters.description - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.extraParameters.items.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.extraParameters.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.locationData.description - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.locationData.items.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.locationData.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.parentAsset.description - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.parentAsset.items.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.properties.parentAsset.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocation.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.id - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.requirementOverride.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.requirementOverride.description - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.ziOrgPolicy.enum - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.ziOrgPolicy.enumDescriptions - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.ziOrgPolicy.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.ziRegionPolicy.enum - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.ziRegionPolicy.enumDescriptions - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.ziRegionPolicy.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.ziRegionState.enum - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.ziRegionState.enumDescriptions - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.ziRegionState.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zoneIsolation.deprecated - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zoneIsolation.description - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zoneIsolation.enum - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zoneIsolation.enumDescriptions - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zoneIsolation.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zoneSeparation.deprecated - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zoneSeparation.description - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zoneSeparation.enum - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zoneSeparation.enumDescriptions - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zoneSeparation.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zsOrgPolicy.enum - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zsOrgPolicy.enumDescriptions - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zsOrgPolicy.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zsRegionState.enum - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zsRegionState.enumDescriptions - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.properties.zsRegionState.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.id - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.properties.ziOverride.enum - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.properties.ziOverride.enumDescriptions - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.properties.ziOverride.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.properties.zsOverride.enum - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.properties.zsOverride.enumDescriptions - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.properties.zsOverride.type - schemas.CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride.type - schemas.CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation.description - schemas.CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation.id - schemas.CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation.properties.policyId.items.type - schemas.CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation.properties.policyId.type - schemas.CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation.type - schemas.CloudReliabilityZicyWs3DataplaneProtosCloudAsset.id - schemas.CloudReliabilityZicyWs3DataplaneProtosCloudAsset.properties.assetName.type - schemas.CloudReliabilityZicyWs3DataplaneProtosCloudAsset.properties.assetType.type - schemas.CloudReliabilityZicyWs3DataplaneProtosCloudAsset.type - schemas.CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition.id - schemas.CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition.properties.childAsset.items.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition.properties.childAsset.type - schemas.CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition.type - schemas.CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment.id - schemas.CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment.properties.location.items.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment.properties.location.type - schemas.CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment.type - schemas.CloudReliabilityZicyWs3DataplaneProtosExtraParameter.description - schemas.CloudReliabilityZicyWs3DataplaneProtosExtraParameter.id - schemas.CloudReliabilityZicyWs3DataplaneProtosExtraParameter.properties.regionalMigDistributionPolicy.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosExtraParameter.properties.regionalMigDistributionPolicy.description - schemas.CloudReliabilityZicyWs3DataplaneProtosExtraParameter.type - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationAssignment.id - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationAssignment.properties.location.type - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationAssignment.properties.locationType.enum - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationAssignment.properties.locationType.enumDescriptions - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationAssignment.properties.locationType.type - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationAssignment.type - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationData.id - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationData.properties.blobstoreLocation.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationData.properties.childAssetLocation.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationData.properties.directLocation.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationData.properties.gcpProjectProxy.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationData.properties.placerLocation.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationData.properties.spannerLocation.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosLocationData.type - schemas.CloudReliabilityZicyWs3DataplaneProtosPlacerLocation.description - schemas.CloudReliabilityZicyWs3DataplaneProtosPlacerLocation.id - schemas.CloudReliabilityZicyWs3DataplaneProtosPlacerLocation.properties.placerConfig.description - schemas.CloudReliabilityZicyWs3DataplaneProtosPlacerLocation.properties.placerConfig.type - schemas.CloudReliabilityZicyWs3DataplaneProtosPlacerLocation.type - schemas.CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy.description - schemas.CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy.id - schemas.CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy.properties.targetShape.description - schemas.CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy.properties.targetShape.format - schemas.CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy.properties.targetShape.type - schemas.CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy.properties.zones.description - schemas.CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy.properties.zones.items.$ref - schemas.CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy.properties.zones.type - schemas.CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy.type - schemas.CloudReliabilityZicyWs3DataplaneProtosSpannerLocation.id - schemas.CloudReliabilityZicyWs3DataplaneProtosSpannerLocation.properties.backupName.description - schemas.CloudReliabilityZicyWs3DataplaneProtosSpannerLocation.properties.backupName.items.type - schemas.CloudReliabilityZicyWs3DataplaneProtosSpannerLocation.properties.backupName.type - schemas.CloudReliabilityZicyWs3DataplaneProtosSpannerLocation.properties.dbName.description - schemas.CloudReliabilityZicyWs3DataplaneProtosSpannerLocation.properties.dbName.items.type - schemas.CloudReliabilityZicyWs3DataplaneProtosSpannerLocation.properties.dbName.type - schemas.CloudReliabilityZicyWs3DataplaneProtosSpannerLocation.type - schemas.CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy.id - schemas.CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy.properties.projectNumbers.items.type - schemas.CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy.properties.projectNumbers.type - schemas.CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy.type - schemas.CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration.id - schemas.CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration.properties.zone.type - schemas.CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration.type The following keys were added: - schemas.GoogleCloudDataplexV1AspectType.properties.transferStatus.description - schemas.GoogleCloudDataplexV1AspectType.properties.transferStatus.enum - schemas.GoogleCloudDataplexV1AspectType.properties.transferStatus.enumDescriptions - schemas.GoogleCloudDataplexV1AspectType.properties.transferStatus.readOnly - schemas.GoogleCloudDataplexV1AspectType.properties.transferStatus.type - schemas.GoogleCloudDataplexV1DiscoveryEvent.properties.datascanId.description - schemas.GoogleCloudDataplexV1DiscoveryEvent.properties.datascanId.type - schemas.GoogleCloudDataplexV1DiscoveryEvent.properties.table.$ref - schemas.GoogleCloudDataplexV1DiscoveryEvent.properties.table.description - schemas.GoogleCloudDataplexV1DiscoveryEventTableDetails.description - schemas.GoogleCloudDataplexV1DiscoveryEventTableDetails.id - schemas.GoogleCloudDataplexV1DiscoveryEventTableDetails.properties.table.description - schemas.GoogleCloudDataplexV1DiscoveryEventTableDetails.properties.table.type - schemas.GoogleCloudDataplexV1DiscoveryEventTableDetails.properties.type.description - schemas.GoogleCloudDataplexV1DiscoveryEventTableDetails.properties.type.enum - schemas.GoogleCloudDataplexV1DiscoveryEventTableDetails.properties.type.enumDescriptions - schemas.GoogleCloudDataplexV1DiscoveryEventTableDetails.properties.type.type - schemas.GoogleCloudDataplexV1DiscoveryEventTableDetails.type - schemas.GoogleCloudDataplexV1EntryGroup.properties.transferStatus.description - schemas.GoogleCloudDataplexV1EntryGroup.properties.transferStatus.enum - schemas.GoogleCloudDataplexV1EntryGroup.properties.transferStatus.enumDescriptions - schemas.GoogleCloudDataplexV1EntryGroup.properties.transferStatus.readOnly - schemas.GoogleCloudDataplexV1EntryGroup.properties.transferStatus.type The following keys were changed: - resources.projects.resources.locations.methods.lookupEntry.description - resources.projects.resources.locations.resources.entryGroups.resources.entries.methods.get.description - resources.projects.resources.locations.resources.entryGroups.resources.entries.methods.patch.parameters.aspectKeys.description - schemas.GoogleCloudDataplexV1TaskSparkTaskConfig.properties.sqlScriptFile.description --- discovery/dataplex-v1.json | 463 ++++++------------------------------- src/apis/dataplex/v1.ts | 160 +++---------- 2 files changed, 103 insertions(+), 520 deletions(-) diff --git a/discovery/dataplex-v1.json b/discovery/dataplex-v1.json index 68c7a723f2..32ecefda8f 100644 --- a/discovery/dataplex-v1.json +++ b/discovery/dataplex-v1.json @@ -398,7 +398,7 @@ ] }, "lookupEntry": { - "description": "Looks up a single Entry by name using the permission on the source system.", + "description": "Looks up a single Entry by name using the permission on the source system.Caution: The BigQuery metadata that is stored in Dataplex Catalog is changing. For more information, see Changes to BigQuery metadata stored in Dataplex Catalog (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}:lookupEntry", "httpMethod": "GET", "id": "dataplex.projects.locations.lookupEntry", @@ -2369,7 +2369,7 @@ ] }, "get": { - "description": "Gets an Entry.", + "description": "Gets an Entry.Caution: The BigQuery metadata that is stored in Dataplex Catalog is changing. For more information, see Changes to BigQuery metadata stored in Dataplex Catalog (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes).", "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/entryGroups/{entryGroupsId}/entries/{entriesId}", "httpMethod": "GET", "id": "dataplex.projects.locations.entryGroups.entries.get", @@ -2480,7 +2480,7 @@ "type": "boolean" }, "aspectKeys": { - "description": "Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. * - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.", + "description": "Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. * - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request.", "location": "query", "repeated": true, "type": "string" @@ -5997,397 +5997,9 @@ } } }, - "revision": "20240820", + "revision": "20240925", "rootUrl": "https://dataplex.googleapis.com/", "schemas": { - "CloudReliabilityZicyWs3DataplaneProtosAssetLocation": { - "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.", - "id": "CloudReliabilityZicyWs3DataplaneProtosAssetLocation", - "properties": { - "ccfeRmsPath": { - "description": "Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata.", - "type": "string" - }, - "expected": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations", - "description": "Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation." - }, - "extraParameters": { - "description": "Defines extra parameters required for specific asset types.", - "items": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosExtraParameter" - }, - "type": "array" - }, - "locationData": { - "description": "Contains all kinds of physical location definitions for this asset.", - "items": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosLocationData" - }, - "type": "array" - }, - "parentAsset": { - "description": "Defines parents assets if any in order to allow later generation of child_asset_location data via child assets.", - "items": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosCloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations": { - "id": "CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations", - "properties": { - "requirementOverride": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride", - "description": "Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic." - }, - "ziOrgPolicy": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionPolicy": { - "enum": [ - "ZI_REGION_POLICY_UNSPECIFIED", - "ZI_REGION_POLICY_UNKNOWN", - "ZI_REGION_POLICY_NOT_SET", - "ZI_REGION_POLICY_FAIL_OPEN", - "ZI_REGION_POLICY_FAIL_CLOSED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "ziRegionState": { - "enum": [ - "ZI_REGION_UNSPECIFIED", - "ZI_REGION_UNKNOWN", - "ZI_REGION_NOT_ENABLED", - "ZI_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zoneIsolation": { - "deprecated": true, - "description": "Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zoneSeparation": { - "deprecated": true, - "description": "Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location.", - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsOrgPolicy": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - }, - "zsRegionState": { - "enum": [ - "ZS_REGION_UNSPECIFIED", - "ZS_REGION_UNKNOWN", - "ZS_REGION_NOT_ENABLED", - "ZS_REGION_ENABLED" - ], - "enumDescriptions": [ - "", - "To be used if tracking of the asset ZS-bit is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride": { - "id": "CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride", - "properties": { - "ziOverride": { - "enum": [ - "ZI_UNSPECIFIED", - "ZI_UNKNOWN", - "ZI_NOT_REQUIRED", - "ZI_PREFERRED", - "ZI_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "", - "" - ], - "type": "string" - }, - "zsOverride": { - "enum": [ - "ZS_UNSPECIFIED", - "ZS_UNKNOWN", - "ZS_NOT_REQUIRED", - "ZS_REQUIRED" - ], - "enumDescriptions": [ - "", - "To be used if tracking is not available", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation": { - "description": "Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains", - "id": "CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation", - "properties": { - "policyId": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosCloudAsset": { - "id": "CloudReliabilityZicyWs3DataplaneProtosCloudAsset", - "properties": { - "assetName": { - "type": "string" - }, - "assetType": { - "type": "string" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition": { - "id": "CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition", - "properties": { - "childAsset": { - "items": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosCloudAsset" - }, - "type": "array" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment": { - "id": "CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment", - "properties": { - "location": { - "items": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosLocationAssignment" - }, - "type": "array" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosExtraParameter": { - "description": "Defines parameters that should only be used for specific asset types.", - "id": "CloudReliabilityZicyWs3DataplaneProtosExtraParameter", - "properties": { - "regionalMigDistributionPolicy": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy", - "description": "Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances." - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosLocationAssignment": { - "id": "CloudReliabilityZicyWs3DataplaneProtosLocationAssignment", - "properties": { - "location": { - "type": "string" - }, - "locationType": { - "enum": [ - "UNSPECIFIED", - "CLUSTER", - "POP", - "CLOUD_ZONE", - "CLOUD_REGION", - "MULTI_REGION_GEO", - "MULTI_REGION_JURISDICTION", - "GLOBAL", - "OTHER" - ], - "enumDescriptions": [ - "", - "1-10: Physical failure domains.", - "", - "11-20: Logical failure domains.", - "", - "", - "", - "", - "" - ], - "type": "string" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosLocationData": { - "id": "CloudReliabilityZicyWs3DataplaneProtosLocationData", - "properties": { - "blobstoreLocation": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation" - }, - "childAssetLocation": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition" - }, - "directLocation": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment" - }, - "gcpProjectProxy": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy" - }, - "placerLocation": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosPlacerLocation" - }, - "spannerLocation": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosSpannerLocation" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosPlacerLocation": { - "description": "Message describing that the location of the customer resource is tied to placer allocations", - "id": "CloudReliabilityZicyWs3DataplaneProtosPlacerLocation", - "properties": { - "placerConfig": { - "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", - "type": "string" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy": { - "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances", - "id": "CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy", - "properties": { - "targetShape": { - "description": "The shape in which the group converges around distribution of resources. Instance of proto2 enum", - "format": "int32", - "type": "integer" - }, - "zones": { - "description": "Cloud zones used by regional MIG to create instances.", - "items": { - "$ref": "CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration" - }, - "type": "array" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosSpannerLocation": { - "id": "CloudReliabilityZicyWs3DataplaneProtosSpannerLocation", - "properties": { - "backupName": { - "description": "Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata", - "items": { - "type": "string" - }, - "type": "array" - }, - "dbName": { - "description": "Set of databases used by the resource in format /span//", - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy": { - "id": "CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy", - "properties": { - "projectNumbers": { - "items": { - "type": "string" - }, - "type": "array" - } - }, - "type": "object" - }, - "CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration": { - "id": "CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration", - "properties": { - "zone": { - "type": "string" - } - }, - "type": "object" - }, "Empty": { "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } ", "id": "Empty", @@ -6703,6 +6315,21 @@ "readOnly": true, "type": "string" }, + "transferStatus": { + "description": "Output only. Denotes the transfer status of the Aspect Type. It is unspecified for Aspect Types created from Dataplex API.", + "enum": [ + "TRANSFER_STATUS_UNSPECIFIED", + "TRANSFER_STATUS_MIGRATED", + "TRANSFER_STATUS_TRANSFERRED" + ], + "enumDescriptions": [ + "The default value. It is set for resources that were not subject for migration from Data Catalog service.", + "Indicates that a resource was migrated from Data Catalog service but it hasn't been transferred yet. In particular the resource cannot be updated from Dataplex API.", + "Indicates that a resource was transferred from Data Catalog service. The resource can only be updated from Dataplex API." + ], + "readOnly": true, + "type": "string" + }, "uid": { "description": "Output only. System generated globally unique ID for the AspectType. If you delete and recreate the AspectType with the same name, then this ID will be different.", "readOnly": true, @@ -9008,6 +8635,10 @@ "description": "The data location associated with the event.", "type": "string" }, + "datascanId": { + "description": "The id of the associated datascan for standalone discovery.", + "type": "string" + }, "entity": { "$ref": "GoogleCloudDataplexV1DiscoveryEventEntityDetails", "description": "Details about the entity associated with the event." @@ -9024,6 +8655,10 @@ "$ref": "GoogleCloudDataplexV1DiscoveryEventPartitionDetails", "description": "Details about the partition associated with the event." }, + "table": { + "$ref": "GoogleCloudDataplexV1DiscoveryEventTableDetails", + "description": "Details about the BigQuery table publishing associated with the event." + }, "type": { "description": "The type of the event being logged.", "enum": [ @@ -9141,6 +8776,33 @@ }, "type": "object" }, + "GoogleCloudDataplexV1DiscoveryEventTableDetails": { + "description": "Details about the published table.", + "id": "GoogleCloudDataplexV1DiscoveryEventTableDetails", + "properties": { + "table": { + "description": "The fully-qualified resource name of the table resource.", + "type": "string" + }, + "type": { + "description": "The type of the table resource.", + "enum": [ + "TABLE_TYPE_UNSPECIFIED", + "EXTERNAL_TABLE", + "BIGLAKE_TABLE", + "OBJECT_TABLE" + ], + "enumDescriptions": [ + "An unspecified table type.", + "External table type.", + "BigLake table type.", + "Object table type for unstructured data." + ], + "type": "string" + } + }, + "type": "object" + }, "GoogleCloudDataplexV1Entity": { "description": "Represents tables and fileset metadata contained within a zone.", "id": "GoogleCloudDataplexV1Entity", @@ -9363,6 +9025,21 @@ "readOnly": true, "type": "string" }, + "transferStatus": { + "description": "Output only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API.", + "enum": [ + "TRANSFER_STATUS_UNSPECIFIED", + "TRANSFER_STATUS_MIGRATED", + "TRANSFER_STATUS_TRANSFERRED" + ], + "enumDescriptions": [ + "The default value. It is set for resources that were not subject for migration from Data Catalog service.", + "Indicates that a resource was migrated from Data Catalog service but it hasn't been transferred yet. In particular the resource cannot be updated from Dataplex API.", + "Indicates that a resource was transferred from Data Catalog service. The resource can only be updated from Dataplex API." + ], + "readOnly": true, + "type": "string" + }, "uid": { "description": "Output only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different.", "readOnly": true, @@ -11863,7 +11540,7 @@ "type": "string" }, "sqlScriptFile": { - "description": "A reference to a query file. This can be the Cloud Storage URI of the query file or it can the path to a SqlScript Content. The execution args are used to declare a set of script variables (set key=\"value\";).", + "description": "A reference to a query file. This should be the Cloud Storage URI of the query file. The execution args are used to declare a set of script variables (set key=\"value\";).", "type": "string" } }, diff --git a/src/apis/dataplex/v1.ts b/src/apis/dataplex/v1.ts index 2fcd6f2823..cbeea6514c 100644 --- a/src/apis/dataplex/v1.ts +++ b/src/apis/dataplex/v1.ts @@ -126,129 +126,6 @@ export namespace dataplex_v1 { } } - /** - * Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf. - */ - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosAssetLocation { - /** - * Spanner path of the CCFE RMS database. It is only applicable for CCFE tenants that use CCFE RMS for storing resource metadata. - */ - ccfeRmsPath?: string | null; - /** - * Defines the customer expectation around ZI/ZS for this asset and ZI/ZS state of the region at the time of asset creation. - */ - expected?: Schema$CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations; - /** - * Defines extra parameters required for specific asset types. - */ - extraParameters?: Schema$CloudReliabilityZicyWs3DataplaneProtosExtraParameter[]; - /** - * Contains all kinds of physical location definitions for this asset. - */ - locationData?: Schema$CloudReliabilityZicyWs3DataplaneProtosLocationData[]; - /** - * Defines parents assets if any in order to allow later generation of child_asset_location data via child assets. - */ - parentAsset?: Schema$CloudReliabilityZicyWs3DataplaneProtosCloudAsset[]; - } - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectations { - /** - * Explicit overrides for ZI and ZS requirements to be used for resources that should be excluded from ZI/ZS verification logic. - */ - requirementOverride?: Schema$CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride; - ziOrgPolicy?: string | null; - ziRegionPolicy?: string | null; - ziRegionState?: string | null; - /** - * Deprecated: use zi_org_policy, zi_region_policy and zi_region_state instead for setting ZI expectations as per go/zicy-publish-physical-location. - */ - zoneIsolation?: string | null; - /** - * Deprecated: use zs_org_policy, and zs_region_stateinstead for setting Zs expectations as per go/zicy-publish-physical-location. - */ - zoneSeparation?: string | null; - zsOrgPolicy?: string | null; - zsRegionState?: string | null; - } - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosAssetLocationIsolationExpectationsRequirementOverride { - ziOverride?: string | null; - zsOverride?: string | null; - } - /** - * Policy ID that identified data placement in Blobstore as per go/blobstore-user-guide#data-metadata-placement-and-failure-domains - */ - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation { - policyId?: string[] | null; - } - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosCloudAsset { - assetName?: string | null; - assetType?: string | null; - } - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition { - childAsset?: Schema$CloudReliabilityZicyWs3DataplaneProtosCloudAsset[]; - } - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment { - location?: Schema$CloudReliabilityZicyWs3DataplaneProtosLocationAssignment[]; - } - /** - * Defines parameters that should only be used for specific asset types. - */ - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosExtraParameter { - /** - * Details about zones used by regional compute.googleapis.com/InstanceGroupManager to create instances. - */ - regionalMigDistributionPolicy?: Schema$CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy; - } - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosLocationAssignment { - location?: string | null; - locationType?: string | null; - } - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosLocationData { - blobstoreLocation?: Schema$CloudReliabilityZicyWs3DataplaneProtosBlobstoreLocation; - childAssetLocation?: Schema$CloudReliabilityZicyWs3DataplaneProtosCloudAssetComposition; - directLocation?: Schema$CloudReliabilityZicyWs3DataplaneProtosDirectLocationAssignment; - gcpProjectProxy?: Schema$CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy; - placerLocation?: Schema$CloudReliabilityZicyWs3DataplaneProtosPlacerLocation; - spannerLocation?: Schema$CloudReliabilityZicyWs3DataplaneProtosSpannerLocation; - } - /** - * Message describing that the location of the customer resource is tied to placer allocations - */ - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosPlacerLocation { - /** - * Directory with a config related to it in placer (e.g. "/placer/prod/home/my-root/my-dir") - */ - placerConfig?: string | null; - } - /** - * To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances - */ - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosRegionalMigDistributionPolicy { - /** - * The shape in which the group converges around distribution of resources. Instance of proto2 enum - */ - targetShape?: number | null; - /** - * Cloud zones used by regional MIG to create instances. - */ - zones?: Schema$CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration[]; - } - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosSpannerLocation { - /** - * Set of backups used by the resource with name in the same format as what is available at http://table/spanner_automon.backup_metadata - */ - backupName?: string[] | null; - /** - * Set of databases used by the resource in format /span// - */ - dbName?: string[] | null; - } - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosTenantProjectProxy { - projectNumbers?: string[] | null; - } - export interface Schema$CloudReliabilityZicyWs3DataplaneProtosZoneConfiguration { - zone?: string | null; - } /** * A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); \} */ @@ -476,6 +353,10 @@ export namespace dataplex_v1 { * Output only. The relative resource name of the AspectType, of the form: projects/{project_number\}/locations/{location_id\}/aspectTypes/{aspect_type_id\}. */ name?: string | null; + /** + * Output only. Denotes the transfer status of the Aspect Type. It is unspecified for Aspect Types created from Dataplex API. + */ + transferStatus?: string | null; /** * Output only. System generated globally unique ID for the AspectType. If you delete and recreate the AspectType with the same name, then this ID will be different. */ @@ -2112,6 +1993,10 @@ export namespace dataplex_v1 { * The data location associated with the event. */ dataLocation?: string | null; + /** + * The id of the associated datascan for standalone discovery. + */ + datascanId?: string | null; /** * Details about the entity associated with the event. */ @@ -2128,6 +2013,10 @@ export namespace dataplex_v1 { * Details about the partition associated with the event. */ partition?: Schema$GoogleCloudDataplexV1DiscoveryEventPartitionDetails; + /** + * Details about the BigQuery table publishing associated with the event. + */ + table?: Schema$GoogleCloudDataplexV1DiscoveryEventTableDetails; /** * The type of the event being logged. */ @@ -2189,6 +2078,19 @@ export namespace dataplex_v1 { */ type?: string | null; } + /** + * Details about the published table. + */ + export interface Schema$GoogleCloudDataplexV1DiscoveryEventTableDetails { + /** + * The fully-qualified resource name of the table resource. + */ + table?: string | null; + /** + * The type of the table resource. + */ + type?: string | null; + } /** * Represents tables and fileset metadata contained within a zone. */ @@ -2357,6 +2259,10 @@ export namespace dataplex_v1 { * Output only. The relative resource name of the EntryGroup, in the format projects/{project_id_or_number\}/locations/{location_id\}/entryGroups/{entry_group_id\}. */ name?: string | null; + /** + * Output only. Denotes the transfer status of the Entry Group. It is unspecified for Entry Group created from Dataplex API. + */ + transferStatus?: string | null; /** * Output only. System generated globally unique ID for the EntryGroup. If you delete and recreate the EntryGroup with the same name, this ID will be different. */ @@ -3933,7 +3839,7 @@ export namespace dataplex_v1 { */ sqlScript?: string | null; /** - * A reference to a query file. This can be the Cloud Storage URI of the query file or it can the path to a SqlScript Content. The execution args are used to declare a set of script variables (set key="value";). + * A reference to a query file. This should be the Cloud Storage URI of the query file. The execution args are used to declare a set of script variables (set key="value";). */ sqlScriptFile?: string | null; } @@ -5339,7 +5245,7 @@ export namespace dataplex_v1 { } /** - * Looks up a single Entry by name using the permission on the source system. + * Looks up a single Entry by name using the permission on the source system.Caution: The BigQuery metadata that is stored in Dataplex Catalog is changing. For more information, see Changes to BigQuery metadata stored in Dataplex Catalog (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes). * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -11655,7 +11561,7 @@ export namespace dataplex_v1 { } /** - * Gets an Entry. + * Gets an Entry.Caution: The BigQuery metadata that is stored in Dataplex Catalog is changing. For more information, see Changes to BigQuery metadata stored in Dataplex Catalog (https://cloud.google.com/dataplex/docs/biqquery-metadata-changes). * * @param params - Parameters for request * @param options - Optionally override request options, such as `url`, `method`, and `encoding`. @@ -12007,7 +11913,7 @@ export namespace dataplex_v1 { */ allowMissing?: boolean; /** - * Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. * - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. + * Optional. The map keys of the Aspects which the service should modify. It supports the following syntaxes: - matches an aspect of the given type and empty path. @path - matches an aspect of the given type and specified path. For example, to attach an aspect to a field that is specified by the schema aspect, the path should have the format Schema.. * - matches aspects of the given type for all paths. *@path - matches aspects of all types on the given path.The service will not remove existing aspects matching the syntax unless delete_missing_aspects is set to true.If this field is left empty, the service treats it as specifying exactly those Aspects present in the request. */ aspectKeys?: string[]; /**