创建自定义组织政策限制条件

本页面介绍了如何使用组织政策服务自定义限制条件来限制对以下 Google Cloud 资源执行的特定操作:

  • datastream.googleapis.com/ConnectionProfile
  • datastream.googleapis.com/Stream
  • datastream.googleapis.com/PrivateConnection

如需详细了解组织政策,请参阅自定义组织政策

组织政策和限制条件简介

借助 Google Cloud 组织政策服务,您可以对组织的资源进行程序化集中控制。作为组织政策管理员,您可以定义组织政策,这是一组称为限制条件的限制,会应用于 Google Cloud 资源层次结构中的Google Cloud 资源及其后代。您可以在组织、文件夹或项目级强制执行组织政策。

组织政策为各种 Google Cloud 服务提供内置的托管式限制。但是,如果您想要更精细地控制和自定义组织政策中受限的特定字段,还可以创建自定义限制条件并在组织政策中使用这些自定义限制条件。

政策继承

如果您对资源强制执行政策,默认情况下,该资源的后代会继承组织政策。例如,如果您对某个文件夹强制执行一项政策, Google Cloud 会对该文件夹中的所有项目强制执行该政策。如需详细了解此行为及其更改方式,请参阅层次结构评估规则

优势

您可以使用自定义组织政策对 Datastream 资源强制实施特定的安全政策。例如,您可以限制数据流的显示名称、连接配置文件的类型或可以建立专用连接的区域。这有助于确保整个组织的合规性和治理。

限制

  • 政策更改不会以追溯方式应用于现有 Datastream 资源。
  • 即使现有资源配置包含不合规的值,除非更新该配置,否则它仍然有效。
  • 自定义限制条件评估可能会为资源创建和更新请求增加少量延迟时间。

准备工作

  1. 登录您的 Google Cloud 账号。如果您是 Google Cloud新手,请 创建一个账号来评估我们的产品在实际场景中的表现。新客户还可获享 $300 赠金,用于运行、测试和部署工作负载。
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  3. Verify that billing is enabled for your Google Cloud project.

  4. 安装 Google Cloud CLI。

  5. 如果您使用的是外部身份提供方 (IdP),则必须先使用联合身份登录 gcloud CLI

  6. 如需初始化 gcloud CLI,请运行以下命令:

    gcloud init
  7. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Roles required to select or create a project

    • Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
    • Create a project: To create a project, you need the Project Creator role (roles/resourcemanager.projectCreator), which contains the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  8. Verify that billing is enabled for your Google Cloud project.

  9. 安装 Google Cloud CLI。

  10. 如果您使用的是外部身份提供方 (IdP),则必须先使用联合身份登录 gcloud CLI

  11. 如需初始化 gcloud CLI,请运行以下命令:

    gcloud init
  12. 请确保您知道您的组织 ID

所需的角色

如需获得管理自定义组织政策所需的权限,请让您的管理员为您授予组织资源的 Organization Policy Administrator (roles/orgpolicy.policyAdmin) IAM 角色。 如需详细了解如何授予角色,请参阅管理对项目、文件夹和组织的访问权限

您也可以通过自定义角色或其他预定义角色来获取所需的权限。

设置自定义限制条件

自定义限制条件是在 YAML 文件中,由实施组织政策的服务所支持的资源、方法、条件和操作定义的。自定义限制条件的条件使用通用表达式语言 (CEL) 进行定义。如需详细了解如何使用 CEL 构建自定义限制条件中的条件,请参阅创建和管理自定义限制条件的 CEL 部分。

控制台

如需创建自定义限制条件,请执行以下操作:

  1. 在 Google Cloud 控制台中,转到组织政策页面。

    转到组织政策

  2. 在项目选择器中,选择要为其设置组织政策的项目。
  3. 点击 自定义限制条件
  4. 显示名称框中,为限制条件输入一个人类可读名称。此名称会在错误消息中使用,并可用于识别和调试用途。请勿在显示名称中使用个人身份信息 (PII) 或敏感数据,因为此名称可能会在错误消息中公开。此字段最多可包含 200 个字符。
  5. 限制条件 ID 框中,为新的自定义限制条件输入所需的 ID。自定义限制条件只能包含字母(包括大写和小写)或数字,例如 custom.restrictDatastreamStreamDisplayName。此字段最多可包含 70 个字符,不计算前缀 (custom.),例如 organizations/123456789/customConstraints/custom。请勿在限制条件 ID 中包含个人身份信息或敏感数据,因为该 ID 可能会在错误消息中公开。
  6. 说明框中,输入人类可读的限制条件说明。当违反政策时,此说明将用作错误消息。请包含有关发生违规的原因以及如何解决违规问题的详细信息。请勿在说明中包含个人身份信息或敏感数据,因为该说明可能会在错误消息中公开。 此字段最多可包含 2000 个字符。
  7. 资源类型框中,选择包含要限制的对象和字段的 Google Cloud REST 资源的名称,例如 container.googleapis.com/NodePool。大多数资源类型最多支持 20 个自定义限制条件。如果您尝试创建更多自定义限制条件,操作将会失败。
  8. 强制执行方法下,选择是对 REST CREATE 方法强制执行限制条件,还是同时对 CREATEUPDATE 方法强制执行限制条件。如果您对违反限制条件的资源使用 UPDATE 方法强制执行限制条件,除非更改解决了违规问题,否则组织政策会阻止对该资源的更改。
  9. 如需查看每种服务支持的方法,请在 支持自定义限制条件的服务中找到相应服务。

  10. 如需定义条件,请点击 修改条件
    1. 添加条件面板中,创建一个引用受支持服务资源的 CEL 条件,例如 resource.management.autoUpgrade == false。此字段最多可包含 1,000 个字符。如需详细了解 CEL 用法,请参阅通用表达式语言。 如需详细了解可在自定义限制条件中使用的服务资源,请参阅自定义限制条件支持的服务
    2. 点击保存
  11. 操作下,选择在满足条件时是允许还是拒绝评估的方法。
  12. 拒绝操作意味着,如果条件计算结果为 true,则创建或更新资源的操作会被阻止。

    允许操作意味着,仅当条件计算结果为 true 时,才允许执行创建或更新资源的操作。除了条件中明确列出的情况之外,其他所有情况都会被阻止。

  13. 点击创建限制条件
  14. 在每个字段中输入值后,右侧将显示此自定义限制条件的等效 YAML 配置。

gcloud

  1. 如需创建自定义限制条件,请使用以下格式创建 YAML 文件:
  2. name: organizations/ORGANIZATION_ID/customConstraints/CONSTRAINT_NAME
    resourceTypes: RESOURCE_NAME
    methodTypes:
      - CREATE
    - UPDATE
    condition: "CONDITION" actionType: ACTION displayName: DISPLAY_NAME description: DESCRIPTION

    请替换以下内容:

    • ORGANIZATION_ID:您的组织 ID,例如 123456789
    • CONSTRAINT_NAME:新的自定义限制条件的名称。自定义限制条件只能包含字母(包括大写和小写)或数字,例如 custom.restrictDatastreamStreamDisplayName。此字段最多可包含 70 个字符,不计算前缀 (custom.),例如 organizations/123456789/customConstraints/custom。请勿在限制条件 ID 中包含个人身份信息或敏感数据,因为该 ID 可能会在错误消息中公开。
    • RESOURCE_NAME:包含要限制的对象和字段的 Google Cloud资源的完全限定名称。例如 datastream.googleapis.com/Stream。 大多数资源类型最多支持 20 个自定义限制条件。如果您尝试创建更多自定义限制条件,操作将会失败。
    • methodTypes:强制执行限制条件的 REST 方法。 可以是 CREATE,也可以是 CREATEUPDATE。如果您对违反限制条件的资源使用 UPDATE 方法强制执行限制条件,除非更改解决了违规问题,否则组织政策会阻止对该资源的更改。
    • 如需查看每种服务支持的方法,请在 支持自定义限制条件的服务中找到相应服务。

    • CONDITION:针对受支持服务资源的表示形式编写的 CEL 条件。此字段最多可包含 1,000 个字符。例如 "!resource.displayName.startsWith('test-')"
    • 如需详细了解可针对其编写条件的资源,请参阅支持的资源

    • ACTION:满足 condition 时要执行的操作。 可能的值包括 ALLOWDENY
    • 允许操作意味着,如果条件计算结果为 true,则允许执行创建或更新资源的操作。这也意味着,除了条件中明确列出的情况之外,其他所有情况都会被阻止。

      拒绝操作意味着,如果条件计算结果为 true,则创建或更新资源的操作会被阻止。

    • DISPLAY_NAME:限制条件的直观易记名称。此名称会在错误消息中使用,并可用于识别和调试用途。请勿在显示名称中使用个人身份信息或敏感数据,因为此名称可能会在错误消息中公开。 此字段最多可包含 200 个字符。
    • DESCRIPTION:直观易懂的限制条件说明,当违反政策时会作为错误消息显示。此字段最多可包含 2000 个字符。
  3. 为新的自定义限制条件创建 YAML 文件后,您必须对其进行设置,以使其可用于组织中的组织政策。如需设置自定义限制条件,请使用 gcloud org-policies set-custom-constraint 命令:
  4. gcloud org-policies set-custom-constraint CONSTRAINT_PATH

    CONSTRAINT_PATH 替换为自定义限制条件文件的完整路径。例如 /home/user/customconstraint.yaml

    此操作完成后,您的自定义限制条件将作为组织政策显示在您的 Google Cloud 组织政策列表中。

  5. 如需验证自定义限制条件是否存在,请使用 gcloud org-policies list-custom-constraints 命令:
  6. gcloud org-policies list-custom-constraints --organization=ORGANIZATION_ID

    ORGANIZATION_ID 替换为您的组织资源的 ID。

    如需了解详情,请参阅查看组织政策

强制执行自定义组织政策

如需强制执行限制条件,您可以创建引用该限制条件的组织政策,并将该组织政策应用于 Google Cloud 资源。

控制台

  1. 在 Google Cloud 控制台中,前往组织政策页面。

    转到组织政策

  2. 在项目选择器中,选择要为其设置组织政策的项目。
  3. 组织政策页面上的列表中选择您的限制条件,以查看该限制条件的政策详情页面。
  4. 如需为该资源配置组织政策,请点击管理政策
  5. 修改政策页面,选择覆盖父级政策
  6. 点击添加规则
  7. 强制执行部分中,选择是否强制执行此组织政策。
  8. (可选)如需使组织政策成为基于某个标记的条件性政策,请点击添加条件。请注意,如果您向组织政策添加条件规则,则必须至少添加一个无条件规则,否则无法保存政策。如需了解详情,请参阅 使用标记限定组织政策的范围
  9. 点击测试更改以模拟组织政策的效果。如需了解详情,请参阅使用 Policy Simulator 测试组织政策更改
  10. 如需在试运行模式下强制执行组织政策,请点击设置试运行政策。如需了解详情,请参阅 测试组织政策
  11. 验证试运行模式下的组织政策按预期运行后,点击设置政策来设置现行政策。

gcloud

  1. 如需创建包含布尔值规则的组织政策,请创建引用该限制条件的 YAML 政策文件:
  2. name: projects/PROJECT_ID/policies/CONSTRAINT_NAME
    spec:
      rules:
      - enforce: true
    
    dryRunSpec:
      rules:
      - enforce: true

    请替换以下内容:

    • PROJECT_ID:要对其强制执行您的限制条件的项目。
    • CONSTRAINT_NAME:您为自定义限制条件定义的名称。例如,custom.restrictDatastreamStreamDisplayName
  3. 如需在试运行模式下强制执行组织政策,请运行以下带有 dryRunSpec 标志的命令:
  4. gcloud org-policies set-policy POLICY_PATH --update-mask=dryRunSpec

    POLICY_PATH 替换为组织政策 YAML 文件的完整路径。该政策最长需要 15 分钟才能生效。

  5. 验证试运行模式下的组织政策按预期运行后,使用 org-policies set-policy 命令和 spec 标志设置现行政策:
  6. gcloud org-policies set-policy POLICY_PATH --update-mask=spec

    POLICY_PATH 替换为组织政策 YAML 文件的完整路径。该政策最长需要 15 分钟才能生效。

测试自定义组织政策

以下示例创建了一个自定义限制条件和政策,用于阻止创建显示名称不以 test- 开头的 Datastream 流。

在开始之前,您需要做好以下准备:

  • 您的组织 ID
  • 项目 ID

创建限制条件

  1. 将以下文件保存为 constraint-datastream-stream-displayname.yaml

    name: organizations/ORGANIZATION_ID/customConstraints/custom.restrictDatastreamStreamDisplayName
    resourceTypes:
    - datastream.googleapis.com/Stream
    methodTypes:
    - CREATE
    - UPDATE
    condition: "!resource.displayName.startsWith('test-')"
    actionType: DENY
    displayName: Restrict stream display names
    description: All new Datastream streams must have a display name starting with 'test-'
    

    这定义了一个限制条件,即每个新的或更新后的直播都必须具有以 test- 开头的 displayName

  2. 应用限制条件:

    gcloud org-policies set-custom-constraint ~/constraint-datastream-stream-displayname.yaml
    
  3. 验证限制条件存在:

    gcloud org-policies list-custom-constraints --organization=ORGANIZATION_ID
    

创建政策

  1. 将以下文件保存为 policy-deny-stream-displayname.yaml

    name: projects/PROJECT_ID/policies/custom.restrictDatastreamStreamDisplayName
    spec:
      rules:
      - enforce: true
    

    PROJECT_ID 替换为您的项目 ID。

  2. 应用政策:

    gcloud org-policies set-policy ~/policy-deny-stream-displayname.yaml
    

测试政策

尝试创建显示名称不合规的 Datastream 数据流:

# This command is a conceptual example. You need to provide valid source and destination config IDs.
# Replace <VAR> placeholders with actual values.
gcloud datastream streams create my-prod-stream --location=<VAR>LOCATION</VAR> --display-name="production-stream" --source=<VAR>SOURCE_CP</VAR> --destination=<VAR>DEST_CP</VAR> ...

输出应包含类似如下的错误:

Operation denied by custom org policies: ["customConstraints/custom.restrictDatastreamStreamDisplayName": "All new Datastream streams must have a display name starting with 'test-'"]

常见用例的自定义组织政策示例

下表提供了一些常见自定义限制条件的语法示例。

说明 限制条件语法
限制数据流显示名称

确保所有新媒体流都遵循特定的命名惯例。

      name: organizations/ORGANIZATION_ID/customConstraints/custom.restrictDatastreamStreamDisplayName
      resourceTypes:
      - datastream.googleapis.com/Stream
      methodTypes:
      - CREATE
      - UPDATE
      condition: "!resource.displayName.startsWith('test-')"
      actionType: DENY
      displayName: Restrict stream display names
      description: All new Datastream streams must have a display name starting with 'test-'
    
将连接配置文件类型限制为仅限 MySQL

确保只能创建 MySQL 连接配置文件。

注意:具体条件取决于为连接配置文件生成的通用表达式语言 (CEL) 协议缓冲区的结构。此示例假设存在一个用于指示个人资料类型的字段。

      name: organizations/ORGANIZATION_ID/customConstraints/custom.restrictDatastreamToMySQL
      resourceTypes:
      - datastream.googleapis.com/ConnectionProfile
      methodTypes:
      - CREATE
      # This condition is an example and needs to be validated against the actual CEL proto fields.
      # It checks for the presence of the mysqlProfile field.
      condition: "!has(resource.mysqlProfile)"
      actionType: DENY
      displayName: Restrict connection profiles to MySQL
      description: Only MySQL source connection profiles can be created.
    
将专用连接限制为特定 VPC

确保专用连接仅使用已获批准的 VPC 网络。

注意:此示例假设 VPC 名称可在 resource.vpcPeeringConfig.vpc 中获取。

      name: organizations/ORGANIZATION_ID/customConstraints/custom.restrictDatastreamPrivateConnectionVPC
      resourceTypes:
      - datastream.googleapis.com/PrivateConnection
      methodTypes:
      - CREATE
      # This condition assumes the vpc name is accessible via resource.vpcPeeringConfig.vpc.
      # This needs to be verified against the actual CEL proto.
      condition: "resource.vpcPeeringConfig.vpc != 'projects/ALLOWED_PROJECT/global/networks/ALLOWED_VPC'"
      actionType: DENY
      displayName: Restrict Private Connection VPC
      description: Private Connections can only be created with the allowed VPC.
    

Datastream 支持的资源

下表列出了您可以在自定义限制条件中引用的 Datastream 资源。

资源 字段
datastream.googleapis.com/ConnectionProfile resource.displayName
resource.forwardSshConnectivity.hostname
resource.forwardSshConnectivity.port
resource.forwardSshConnectivity.username
resource.gcsProfile.bucket
resource.gcsProfile.rootPath
resource.mongodbProfile.hostAddresses.hostname
resource.mongodbProfile.hostAddresses.port
resource.mongodbProfile.replicaSet
resource.mongodbProfile.standardConnectionFormat.directConnection
resource.mongodbProfile.username
resource.mysqlProfile.hostname
resource.mysqlProfile.port
resource.mysqlProfile.username
resource.oracleProfile.connectionAttributes
resource.oracleProfile.databaseService
resource.oracleProfile.hostname
resource.oracleProfile.oracleAsmConfig.asmService
resource.oracleProfile.oracleAsmConfig.connectionAttributes
resource.oracleProfile.oracleAsmConfig.hostname
resource.oracleProfile.oracleAsmConfig.oracleSslConfig.serverCertificateDistinguishedName
resource.oracleProfile.oracleAsmConfig.port
resource.oracleProfile.oracleAsmConfig.username
resource.oracleProfile.oracleSslConfig.serverCertificateDistinguishedName
resource.oracleProfile.port
resource.oracleProfile.username
resource.postgresqlProfile.database
resource.postgresqlProfile.hostname
resource.postgresqlProfile.port
resource.postgresqlProfile.username
resource.privateConnectivity.privateConnection
resource.salesforceProfile.domain
resource.salesforceProfile.oauth2ClientCredentials.clientId
resource.salesforceProfile.userCredentials.username
resource.sqlServerProfile.database
resource.sqlServerProfile.hostname
resource.sqlServerProfile.port
resource.sqlServerProfile.username
datastream.googleapis.com/PrivateConnection resource.displayName
resource.pscInterfaceConfig.networkAttachment
resource.vpcPeeringConfig.subnet
resource.vpcPeeringConfig.vpc
datastream.googleapis.com/Stream resource.backfillAll.mongodbExcludedObjects.databases.collections.collection
resource.backfillAll.mongodbExcludedObjects.databases.collections.fields.field
resource.backfillAll.mongodbExcludedObjects.databases.database
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.database
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.mysqlTables.mysqlColumns.collation
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.mysqlTables.mysqlColumns.column
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.mysqlTables.mysqlColumns.dataType
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.mysqlTables.mysqlColumns.length
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.mysqlTables.mysqlColumns.nullable
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.mysqlTables.mysqlColumns.ordinalPosition
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.mysqlTables.mysqlColumns.precision
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.mysqlTables.mysqlColumns.primaryKey
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.mysqlTables.mysqlColumns.scale
resource.backfillAll.mysqlExcludedObjects.mysqlDatabases.mysqlTables.table
resource.backfillAll.oracleExcludedObjects.oracleSchemas.oracleTables.oracleColumns.column
resource.backfillAll.oracleExcludedObjects.oracleSchemas.oracleTables.oracleColumns.dataType
resource.backfillAll.oracleExcludedObjects.oracleSchemas.oracleTables.oracleColumns.encoding
resource.backfillAll.oracleExcludedObjects.oracleSchemas.oracleTables.oracleColumns.length
resource.backfillAll.oracleExcludedObjects.oracleSchemas.oracleTables.oracleColumns.nullable
resource.backfillAll.oracleExcludedObjects.oracleSchemas.oracleTables.oracleColumns.ordinalPosition
resource.backfillAll.oracleExcludedObjects.oracleSchemas.oracleTables.oracleColumns.precision
resource.backfillAll.oracleExcludedObjects.oracleSchemas.oracleTables.oracleColumns.primaryKey
resource.backfillAll.oracleExcludedObjects.oracleSchemas.oracleTables.oracleColumns.scale
resource.backfillAll.oracleExcludedObjects.oracleSchemas.oracleTables.table
resource.backfillAll.oracleExcludedObjects.oracleSchemas.schema
resource.backfillAll.postgresqlExcludedObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.column
resource.backfillAll.postgresqlExcludedObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.dataType
resource.backfillAll.postgresqlExcludedObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.length
resource.backfillAll.postgresqlExcludedObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.nullable
resource.backfillAll.postgresqlExcludedObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.ordinalPosition
resource.backfillAll.postgresqlExcludedObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.precision
resource.backfillAll.postgresqlExcludedObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.primaryKey
resource.backfillAll.postgresqlExcludedObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.scale
resource.backfillAll.postgresqlExcludedObjects.postgresqlSchemas.postgresqlTables.table
resource.backfillAll.postgresqlExcludedObjects.postgresqlSchemas.schema
resource.backfillAll.salesforceExcludedObjects.objects.fields.dataType
resource.backfillAll.salesforceExcludedObjects.objects.fields.name
resource.backfillAll.salesforceExcludedObjects.objects.fields.nillable
resource.backfillAll.salesforceExcludedObjects.objects.objectName
resource.backfillAll.sqlServerExcludedObjects.schemas.schema
resource.backfillAll.sqlServerExcludedObjects.schemas.tables.columns.column
resource.backfillAll.sqlServerExcludedObjects.schemas.tables.columns.dataType
resource.backfillAll.sqlServerExcludedObjects.schemas.tables.columns.length
resource.backfillAll.sqlServerExcludedObjects.schemas.tables.columns.nullable
resource.backfillAll.sqlServerExcludedObjects.schemas.tables.columns.ordinalPosition
resource.backfillAll.sqlServerExcludedObjects.schemas.tables.columns.precision
resource.backfillAll.sqlServerExcludedObjects.schemas.tables.columns.primaryKey
resource.backfillAll.sqlServerExcludedObjects.schemas.tables.columns.scale
resource.backfillAll.sqlServerExcludedObjects.schemas.tables.table
resource.customerManagedEncryptionKey
resource.destinationConfig.bigqueryDestinationConfig.blmtConfig.bucket
resource.destinationConfig.bigqueryDestinationConfig.blmtConfig.connectionName
resource.destinationConfig.bigqueryDestinationConfig.blmtConfig.fileFormat
resource.destinationConfig.bigqueryDestinationConfig.blmtConfig.rootPath
resource.destinationConfig.bigqueryDestinationConfig.blmtConfig.tableFormat
resource.destinationConfig.bigqueryDestinationConfig.dataFreshness
resource.destinationConfig.bigqueryDestinationConfig.singleTargetDataset.datasetId
resource.destinationConfig.bigqueryDestinationConfig.sourceHierarchyDatasets.datasetTemplate.datasetIdPrefix
resource.destinationConfig.bigqueryDestinationConfig.sourceHierarchyDatasets.datasetTemplate.kmsKeyName
resource.destinationConfig.bigqueryDestinationConfig.sourceHierarchyDatasets.datasetTemplate.location
resource.destinationConfig.bigqueryDestinationConfig.sourceHierarchyDatasets.projectId
resource.destinationConfig.destinationConnectionProfile
resource.destinationConfig.gcsDestinationConfig.fileRotationInterval
resource.destinationConfig.gcsDestinationConfig.fileRotationMb
resource.destinationConfig.gcsDestinationConfig.jsonFileFormat.compression
resource.destinationConfig.gcsDestinationConfig.jsonFileFormat.schemaFileFormat
resource.destinationConfig.gcsDestinationConfig.path
resource.displayName
resource.environmentConfig.peripheralsConfig.sparkHistoryServerConfig.dataprocCluster
resource.jupyterSession.displayName
resource.jupyterSession.kernel
resource.name
resource.runtimeConfig.autotuningConfig.scenarios
resource.runtimeConfig.cohort
resource.runtimeConfig.containerImage
resource.runtimeConfig.properties
resource.runtimeConfig.repositoryConfig.pypiRepositoryConfig.pypiRepository
resource.runtimeConfig.version
resource.sourceConfig.mongodbSourceConfig.excludeObjects.databases.collections.collection
resource.sourceConfig.mongodbSourceConfig.excludeObjects.databases.collections.fields.field
resource.sourceConfig.mongodbSourceConfig.excludeObjects.databases.database
resource.sourceConfig.mongodbSourceConfig.includeObjects.databases.collections.collection
resource.sourceConfig.mongodbSourceConfig.includeObjects.databases.collections.fields.field
resource.sourceConfig.mongodbSourceConfig.includeObjects.databases.database
resource.sourceConfig.mongodbSourceConfig.maxConcurrentBackfillTasks
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.database
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.mysqlTables.mysqlColumns.collation
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.mysqlTables.mysqlColumns.column
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.mysqlTables.mysqlColumns.dataType
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.mysqlTables.mysqlColumns.length
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.mysqlTables.mysqlColumns.nullable
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.mysqlTables.mysqlColumns.ordinalPosition
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.mysqlTables.mysqlColumns.precision
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.mysqlTables.mysqlColumns.primaryKey
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.mysqlTables.mysqlColumns.scale
resource.sourceConfig.mysqlSourceConfig.excludeObjects.mysqlDatabases.mysqlTables.table
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.database
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.mysqlTables.mysqlColumns.collation
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.mysqlTables.mysqlColumns.column
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.mysqlTables.mysqlColumns.dataType
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.mysqlTables.mysqlColumns.length
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.mysqlTables.mysqlColumns.nullable
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.mysqlTables.mysqlColumns.ordinalPosition
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.mysqlTables.mysqlColumns.precision
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.mysqlTables.mysqlColumns.primaryKey
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.mysqlTables.mysqlColumns.scale
resource.sourceConfig.mysqlSourceConfig.includeObjects.mysqlDatabases.mysqlTables.table
resource.sourceConfig.mysqlSourceConfig.maxConcurrentBackfillTasks
resource.sourceConfig.mysqlSourceConfig.maxConcurrentCdcTasks
resource.sourceConfig.oracleSourceConfig.binaryLogParser.logFileDirectories.archivedLogDirectory
resource.sourceConfig.oracleSourceConfig.binaryLogParser.logFileDirectories.onlineLogDirectory
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.oracleTables.oracleColumns.column
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.oracleTables.oracleColumns.dataType
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.oracleTables.oracleColumns.encoding
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.oracleTables.oracleColumns.length
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.oracleTables.oracleColumns.nullable
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.oracleTables.oracleColumns.ordinalPosition
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.oracleTables.oracleColumns.precision
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.oracleTables.oracleColumns.primaryKey
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.oracleTables.oracleColumns.scale
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.oracleTables.table
resource.sourceConfig.oracleSourceConfig.excludeObjects.oracleSchemas.schema
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.oracleTables.oracleColumns.column
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.oracleTables.oracleColumns.dataType
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.oracleTables.oracleColumns.encoding
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.oracleTables.oracleColumns.length
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.oracleTables.oracleColumns.nullable
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.oracleTables.oracleColumns.ordinalPosition
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.oracleTables.oracleColumns.precision
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.oracleTables.oracleColumns.primaryKey
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.oracleTables.oracleColumns.scale
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.oracleTables.table
resource.sourceConfig.oracleSourceConfig.includeObjects.oracleSchemas.schema
resource.sourceConfig.oracleSourceConfig.maxConcurrentBackfillTasks
resource.sourceConfig.oracleSourceConfig.maxConcurrentCdcTasks
resource.sourceConfig.postgresqlSourceConfig.excludeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.column
resource.sourceConfig.postgresqlSourceConfig.excludeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.dataType
resource.sourceConfig.postgresqlSourceConfig.excludeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.length
resource.sourceConfig.postgresqlSourceConfig.excludeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.nullable
resource.sourceConfig.postgresqlSourceConfig.excludeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.ordinalPosition
resource.sourceConfig.postgresqlSourceConfig.excludeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.precision
resource.sourceConfig.postgresqlSourceConfig.excludeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.primaryKey
resource.sourceConfig.postgresqlSourceConfig.excludeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.scale
resource.sourceConfig.postgresqlSourceConfig.excludeObjects.postgresqlSchemas.postgresqlTables.table
resource.sourceConfig.postgresqlSourceConfig.excludeObjects.postgresqlSchemas.schema
resource.sourceConfig.postgresqlSourceConfig.includeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.column
resource.sourceConfig.postgresqlSourceConfig.includeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.dataType
resource.sourceConfig.postgresqlSourceConfig.includeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.length
resource.sourceConfig.postgresqlSourceConfig.includeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.nullable
resource.sourceConfig.postgresqlSourceConfig.includeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.ordinalPosition
resource.sourceConfig.postgresqlSourceConfig.includeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.precision
resource.sourceConfig.postgresqlSourceConfig.includeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.primaryKey
resource.sourceConfig.postgresqlSourceConfig.includeObjects.postgresqlSchemas.postgresqlTables.postgresqlColumns.scale
resource.sourceConfig.postgresqlSourceConfig.includeObjects.postgresqlSchemas.postgresqlTables.table
resource.sourceConfig.postgresqlSourceConfig.includeObjects.postgresqlSchemas.schema
resource.sourceConfig.postgresqlSourceConfig.maxConcurrentBackfillTasks
resource.sourceConfig.postgresqlSourceConfig.publication
resource.sourceConfig.postgresqlSourceConfig.replicationSlot
resource.sourceConfig.salesforceSourceConfig.excludeObjects.objects.fields.dataType
resource.sourceConfig.salesforceSourceConfig.excludeObjects.objects.fields.name
resource.sourceConfig.salesforceSourceConfig.excludeObjects.objects.fields.nillable
resource.sourceConfig.salesforceSourceConfig.excludeObjects.objects.objectName
resource.sourceConfig.salesforceSourceConfig.includeObjects.objects.fields.dataType
resource.sourceConfig.salesforceSourceConfig.includeObjects.objects.fields.name
resource.sourceConfig.salesforceSourceConfig.includeObjects.objects.fields.nillable
resource.sourceConfig.salesforceSourceConfig.includeObjects.objects.objectName
resource.sourceConfig.salesforceSourceConfig.pollingInterval
resource.sourceConfig.sourceConnectionProfile
resource.sourceConfig.sqlServerSourceConfig.excludeObjects.schemas.schema
resource.sourceConfig.sqlServerSourceConfig.excludeObjects.schemas.tables.columns.column
resource.sourceConfig.sqlServerSourceConfig.excludeObjects.schemas.tables.columns.dataType
resource.sourceConfig.sqlServerSourceConfig.excludeObjects.schemas.tables.columns.length
resource.sourceConfig.sqlServerSourceConfig.excludeObjects.schemas.tables.columns.nullable
resource.sourceConfig.sqlServerSourceConfig.excludeObjects.schemas.tables.columns.ordinalPosition
resource.sourceConfig.sqlServerSourceConfig.excludeObjects.schemas.tables.columns.precision
resource.sourceConfig.sqlServerSourceConfig.excludeObjects.schemas.tables.columns.primaryKey
resource.sourceConfig.sqlServerSourceConfig.excludeObjects.schemas.tables.columns.scale
resource.sourceConfig.sqlServerSourceConfig.excludeObjects.schemas.tables.table
resource.sourceConfig.sqlServerSourceConfig.includeObjects.schemas.schema
resource.sourceConfig.sqlServerSourceConfig.includeObjects.schemas.tables.columns.column
resource.sourceConfig.sqlServerSourceConfig.includeObjects.schemas.tables.columns.dataType
resource.sourceConfig.sqlServerSourceConfig.includeObjects.schemas.tables.columns.length
resource.sourceConfig.sqlServerSourceConfig.includeObjects.schemas.tables.columns.nullable
resource.sourceConfig.sqlServerSourceConfig.includeObjects.schemas.tables.columns.ordinalPosition
resource.sourceConfig.sqlServerSourceConfig.includeObjects.schemas.tables.columns.precision
resource.sourceConfig.sqlServerSourceConfig.includeObjects.schemas.tables.columns.primaryKey
resource.sourceConfig.sqlServerSourceConfig.includeObjects.schemas.tables.columns.scale
resource.sourceConfig.sqlServerSourceConfig.includeObjects.schemas.tables.table
resource.sourceConfig.sqlServerSourceConfig.maxConcurrentBackfillTasks
resource.sourceConfig.sqlServerSourceConfig.maxConcurrentCdcTasks
resource.state

后续步骤