Data Lineage API . organizations . locations . config

Instance Methods

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Get the Config for a given resource.

patch(name, body=None, x__xgafv=None)

Update the Config for a given resource.

Method Details

close()
Close httplib2 connections.
get(name, x__xgafv=None)
Get the Config for a given resource.

Args:
  name: string, Required. REQUIRED: The resource name of the config to be fetched. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config` (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Configuration for Data Lineage. Defines different configuration options for Lineage customers to control behaviour of lineage systems.
  "etag": "A String", # Optional. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a config from overwriting each other. It is required that systems make use of the `etag` in the read-modify-write cycle to perform config updates in order to avoid race conditions: An `etag` is returned in the response to `GetConfig`, and systems are expected to put that etag in the request to `UpdateConfig` to ensure that their change will be applied to the same version of the config. If an `etag` is not provided in the call to `UpdateConfig`, then the existing config, if any, will be overwritten.
  "ingestion": { # Defines how Lineage should be ingested for a given resource. # Optional. Ingestion rule for Data Lineage ingestion.
    "rules": [ # Optional. List of rules for Data Lineage ingestion.
      { # Ingestion rule for Data Lineage ingestion.
        "integrationSelector": { # Integration selector of the rule. The rule is only applied to the Integration selected by the selector. # Required. Integration selector of the rule. The rule is only applied to the Integration selected by the selector.
          "integration": "A String", # Required. Integration to which the rule applies. This field can be used to specify the integration against which the ingestion rule should be applied.
        },
        "lineageEnablement": { # Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children. # Required. Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children. If unspecified, the ingestion will be enabled only if it was configured in the resource's parent.
          "enabled": True or False, # Optional. If true, ingestion of lineage should be enabled. If false, it should be disabled. If unspecified, the system default value is used.
        },
      },
    ],
  },
  "name": "A String", # Identifier. The resource name of the config. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config`
}
patch(name, body=None, x__xgafv=None)
Update the Config for a given resource.

Args:
  name: string, Identifier. The resource name of the config. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config` (required)
  body: object, The request body.
    The object takes the form of:

{ # Configuration for Data Lineage. Defines different configuration options for Lineage customers to control behaviour of lineage systems.
  "etag": "A String", # Optional. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a config from overwriting each other. It is required that systems make use of the `etag` in the read-modify-write cycle to perform config updates in order to avoid race conditions: An `etag` is returned in the response to `GetConfig`, and systems are expected to put that etag in the request to `UpdateConfig` to ensure that their change will be applied to the same version of the config. If an `etag` is not provided in the call to `UpdateConfig`, then the existing config, if any, will be overwritten.
  "ingestion": { # Defines how Lineage should be ingested for a given resource. # Optional. Ingestion rule for Data Lineage ingestion.
    "rules": [ # Optional. List of rules for Data Lineage ingestion.
      { # Ingestion rule for Data Lineage ingestion.
        "integrationSelector": { # Integration selector of the rule. The rule is only applied to the Integration selected by the selector. # Required. Integration selector of the rule. The rule is only applied to the Integration selected by the selector.
          "integration": "A String", # Required. Integration to which the rule applies. This field can be used to specify the integration against which the ingestion rule should be applied.
        },
        "lineageEnablement": { # Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children. # Required. Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children. If unspecified, the ingestion will be enabled only if it was configured in the resource's parent.
          "enabled": True or False, # Optional. If true, ingestion of lineage should be enabled. If false, it should be disabled. If unspecified, the system default value is used.
        },
      },
    ],
  },
  "name": "A String", # Identifier. The resource name of the config. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config`
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Configuration for Data Lineage. Defines different configuration options for Lineage customers to control behaviour of lineage systems.
  "etag": "A String", # Optional. `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a config from overwriting each other. It is required that systems make use of the `etag` in the read-modify-write cycle to perform config updates in order to avoid race conditions: An `etag` is returned in the response to `GetConfig`, and systems are expected to put that etag in the request to `UpdateConfig` to ensure that their change will be applied to the same version of the config. If an `etag` is not provided in the call to `UpdateConfig`, then the existing config, if any, will be overwritten.
  "ingestion": { # Defines how Lineage should be ingested for a given resource. # Optional. Ingestion rule for Data Lineage ingestion.
    "rules": [ # Optional. List of rules for Data Lineage ingestion.
      { # Ingestion rule for Data Lineage ingestion.
        "integrationSelector": { # Integration selector of the rule. The rule is only applied to the Integration selected by the selector. # Required. Integration selector of the rule. The rule is only applied to the Integration selected by the selector.
          "integration": "A String", # Required. Integration to which the rule applies. This field can be used to specify the integration against which the ingestion rule should be applied.
        },
        "lineageEnablement": { # Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children. # Required. Lineage enablement configuration. Defines configurations for the ingestion of lineage for the resource and its children. If unspecified, the ingestion will be enabled only if it was configured in the resource's parent.
          "enabled": True or False, # Optional. If true, ingestion of lineage should be enabled. If false, it should be disabled. If unspecified, the system default value is used.
        },
      },
    ],
  },
  "name": "A String", # Identifier. The resource name of the config. Format: `organizations/{organization_id}/locations/global/config` `folders/{folder_id}/locations/global/config` `projects/{project_id}/locations/global/config` `projects/{project_number}/locations/global/config`
}