Documentation ¶
Overview ¶
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package dataplex defines operations in the declarative SDK.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Package dataplex contains support code for the Dataplex service.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2024 Google LLC. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func DCLAssetSchema() *dcl.Schema
- func DCLLakeSchema() *dcl.Schema
- func DCLZoneSchema() *dcl.Schema
- type Asset
- func (r *Asset) Describe() dcl.ServiceTypeVersion
- func (r *Asset) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *Asset) IAMPolicyVersion() int
- func (r *Asset) ID() (string, error)
- func (r *Asset) SetPolicyURL(userBasePath string) string
- func (r *Asset) SetPolicyVerb() string
- func (r *Asset) String() string
- type AssetDiscoverySpec
- type AssetDiscoverySpecCsvOptions
- type AssetDiscoverySpecJsonOptions
- type AssetDiscoveryStatus
- type AssetDiscoveryStatusStateEnum
- type AssetDiscoveryStatusStats
- type AssetList
- type AssetResourceSpec
- type AssetResourceSpecReadAccessModeEnum
- type AssetResourceSpecTypeEnum
- type AssetResourceStatus
- type AssetResourceStatusStateEnum
- type AssetSecurityStatus
- type AssetSecurityStatusStateEnum
- type AssetStateEnum
- type Client
- func (c *Client) ApplyAsset(ctx context.Context, rawDesired *Asset, opts ...dcl.ApplyOption) (*Asset, error)
- func (c *Client) ApplyLake(ctx context.Context, rawDesired *Lake, opts ...dcl.ApplyOption) (*Lake, error)
- func (c *Client) ApplyZone(ctx context.Context, rawDesired *Zone, opts ...dcl.ApplyOption) (*Zone, error)
- func (c *Client) DeleteAllAsset(ctx context.Context, project, location, dataplexZone, lake string, ...) error
- func (c *Client) DeleteAllLake(ctx context.Context, project, location string, filter func(*Lake) bool) error
- func (c *Client) DeleteAllZone(ctx context.Context, project, location, lake string, filter func(*Zone) bool) error
- func (c *Client) DeleteAsset(ctx context.Context, r *Asset) error
- func (c *Client) DeleteLake(ctx context.Context, r *Lake) error
- func (c *Client) DeleteZone(ctx context.Context, r *Zone) error
- func (c *Client) GetAsset(ctx context.Context, r *Asset) (*Asset, error)
- func (c *Client) GetLake(ctx context.Context, r *Lake) (*Lake, error)
- func (c *Client) GetZone(ctx context.Context, r *Zone) (*Zone, error)
- func (c *Client) ListAsset(ctx context.Context, project, location, dataplexZone, lake string) (*AssetList, error)
- func (c *Client) ListAssetWithMaxResults(ctx context.Context, project, location, dataplexZone, lake string, ...) (*AssetList, error)
- func (c *Client) ListLake(ctx context.Context, project, location string) (*LakeList, error)
- func (c *Client) ListLakeWithMaxResults(ctx context.Context, project, location string, pageSize int32) (*LakeList, error)
- func (c *Client) ListZone(ctx context.Context, project, location, lake string) (*ZoneList, error)
- func (c *Client) ListZoneWithMaxResults(ctx context.Context, project, location, lake string, pageSize int32) (*ZoneList, error)
- type Lake
- func (r *Lake) Describe() dcl.ServiceTypeVersion
- func (r *Lake) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *Lake) IAMPolicyVersion() int
- func (r *Lake) ID() (string, error)
- func (r *Lake) SetPolicyURL(userBasePath string) string
- func (r *Lake) SetPolicyVerb() string
- func (r *Lake) String() string
- type LakeAssetStatus
- type LakeList
- type LakeMetastore
- type LakeMetastoreStatus
- type LakeMetastoreStatusStateEnum
- type LakeStateEnum
- type Zone
- func (r *Zone) Describe() dcl.ServiceTypeVersion
- func (r *Zone) GetPolicy(basePath string) (string, string, *bytes.Buffer, error)
- func (r *Zone) IAMPolicyVersion() int
- func (r *Zone) ID() (string, error)
- func (r *Zone) SetPolicyURL(userBasePath string) string
- func (r *Zone) SetPolicyVerb() string
- func (r *Zone) String() string
- type ZoneAssetStatus
- type ZoneDiscoverySpec
- type ZoneDiscoverySpecCsvOptions
- type ZoneDiscoverySpecJsonOptions
- type ZoneList
- type ZoneResourceSpec
- type ZoneResourceSpecLocationTypeEnum
- type ZoneStateEnum
- type ZoneTypeEnum
Constants ¶
const AssetMaxPage = -1
const LakeMaxPage = -1
const ZoneMaxPage = -1
Variables ¶
var YAML_asset = []byte("info:\n title: Dataplex/Asset\n description: The Dataplex Asset resource\n x-dcl-struct-name: Asset\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Asset\n parameters:\n - name: asset\n required: true\n description: A full instance of a Asset\n apply:\n description: The function used to apply information about a Asset\n parameters:\n - name: asset\n required: true\n description: A full instance of a Asset\n delete:\n description: The function used to delete a Asset\n parameters:\n - name: asset\n required: true\n description: A full instance of a Asset\n deleteAll:\n description: The function used to delete all Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: dataplexZone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Asset\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: dataplexZone\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Asset:\n title: Asset\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{dataplex_zone}}/assets/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - resourceSpec\n - discoverySpec\n - project\n - location\n - lake\n - dataplexZone\n properties:\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the asset was created.\n x-kubernetes-immutable: true\n dataplexZone:\n type: string\n x-dcl-go-name: DataplexZone\n description: The zone for the resource\n x-kubernetes-immutable: true\n x-dcl-parameter: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the asset.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: AssetDiscoverySpec\n description: Required. Specification of the discovery feature applied to\n data referenced by this asset. When this spec is left unset, the asset\n will use the spec set on the parent zone.\n required:\n - enabled\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: AssetDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n x-dcl-server-default: true\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Required. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: AssetDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n x-dcl-server-default: true\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n discoveryStatus:\n type: object\n x-dcl-go-name: DiscoveryStatus\n x-dcl-go-type: AssetDiscoveryStatus\n readOnly: true\n description: Output only. Status of the discovery feature applied to data\n referenced by this asset.\n properties:\n lastRunDuration:\n type: string\n x-dcl-go-name: LastRunDuration\n description: The duration of the last discovery run.\n lastRunTime:\n type: string\n format: date-time\n x-dcl-go-name: LastRunTime\n description: The start time of the last discovery run.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetDiscoveryStatusStateEnum\n description: 'The current status of the discovery feature. Possible\n values: STATE_UNSPECIFIED, SCHEDULED, IN_PROGRESS, PAUSED, DISABLED'\n enum:\n - STATE_UNSPECIFIED\n - SCHEDULED\n - IN_PROGRESS\n - PAUSED\n - DISABLED\n stats:\n type: object\n x-dcl-go-name: Stats\n x-dcl-go-type: AssetDiscoveryStatusStats\n description: Data Stats of the asset reported by discovery.\n properties:\n dataItems:\n type: integer\n format: int64\n x-dcl-go-name: DataItems\n description: The count of data items within the referenced resource.\n dataSize:\n type: integer\n format: int64\n x-dcl-go-name: DataSize\n description: The number of stored data bytes within the referenced\n resource.\n filesets:\n type: integer\n format: int64\n x-dcl-go-name: Filesets\n description: The count of fileset entities within the referenced\n resource.\n tables:\n type: integer\n format: int64\n x-dcl-go-name: Tables\n description: The count of table entities within the referenced resource.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the asset.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n x-dcl-parameter: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-parameter: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the asset.\n x-dcl-has-long-form: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-parameter: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: AssetResourceSpec\n description: Required. Immutable. Specification of the resource that is\n referenced by this asset.\n required:\n - type\n properties:\n name:\n type: string\n x-dcl-go-name: Name\n description: 'Immutable. Relative name of the cloud resource that contains\n the data that is being managed within a lake. For example: `projects/{project_number}/buckets/{bucket_id}`\n `projects/{project_number}/datasets/{dataset_id}`'\n x-kubernetes-immutable: true\n readAccessMode:\n type: string\n x-dcl-go-name: ReadAccessMode\n x-dcl-go-type: AssetResourceSpecReadAccessModeEnum\n description: 'Optional. Determines how read permissions are handled\n for each asset and their associated tables. Only available to storage\n buckets assets. Possible values: DIRECT, MANAGED'\n x-dcl-server-default: true\n enum:\n - DIRECT\n - MANAGED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: AssetResourceSpecTypeEnum\n description: 'Required. Immutable. Type of resource. Possible values:\n STORAGE_BUCKET, BIGQUERY_DATASET'\n x-kubernetes-immutable: true\n enum:\n - STORAGE_BUCKET\n - BIGQUERY_DATASET\n resourceStatus:\n type: object\n x-dcl-go-name: ResourceStatus\n x-dcl-go-type: AssetResourceStatus\n readOnly: true\n description: Output only. Status of the resource referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetResourceStatusStateEnum\n description: 'The current state of the managed resource. Possible values:\n STATE_UNSPECIFIED, READY, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n securityStatus:\n type: object\n x-dcl-go-name: SecurityStatus\n x-dcl-go-type: AssetSecurityStatus\n readOnly: true\n description: Output only. Status of the security policy applied to resource\n referenced by this asset.\n properties:\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current state.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetSecurityStatusStateEnum\n description: 'The current state of the security policy applied to the\n attached resource. Possible values: STATE_UNSPECIFIED, READY, APPLYING,\n ERROR'\n enum:\n - STATE_UNSPECIFIED\n - READY\n - APPLYING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: AssetStateEnum\n readOnly: true\n description: 'Output only. Current state of the asset. Possible values:\n STATE_UNSPECIFIED, ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the asset.\n This ID will be different if the asset is deleted and re-created with\n the same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the asset was last updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/asset.yaml
var YAML_lake = []byte("info:\n title: Dataplex/Lake\n description: The Dataplex Lake resource\n x-dcl-struct-name: Lake\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Lake\n parameters:\n - name: lake\n required: true\n description: A full instance of a Lake\n apply:\n description: The function used to apply information about a Lake\n parameters:\n - name: lake\n required: true\n description: A full instance of a Lake\n delete:\n description: The function used to delete a Lake\n parameters:\n - name: lake\n required: true\n description: A full instance of a Lake\n deleteAll:\n description: The function used to delete all Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Lake\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Lake:\n title: Lake\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - project\n - location\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: LakeAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the lake.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the lake was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the lake.\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User-defined labels for the lake.\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-parameter: true\n metastore:\n type: object\n x-dcl-go-name: Metastore\n x-dcl-go-type: LakeMetastore\n description: Optional. Settings to manage lake and Dataproc Metastore service\n instance association.\n properties:\n service:\n type: string\n x-dcl-go-name: Service\n description: 'Optional. A relative reference to the Dataproc Metastore\n (https://cloud.google.com/dataproc-metastore/docs) service associated\n with the lake: `projects/{project_id}/locations/{location_id}/services/{service_id}`'\n metastoreStatus:\n type: object\n x-dcl-go-name: MetastoreStatus\n x-dcl-go-type: LakeMetastoreStatus\n readOnly: true\n description: Output only. Metastore status of the lake.\n properties:\n endpoint:\n type: string\n x-dcl-go-name: Endpoint\n description: The URI of the endpoint used to access the Metastore service.\n message:\n type: string\n x-dcl-go-name: Message\n description: Additional information about the current status.\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeMetastoreStatusStateEnum\n description: 'Current state of association. Possible values: STATE_UNSPECIFIED,\n NONE, READY, UPDATING, ERROR'\n enum:\n - STATE_UNSPECIFIED\n - NONE\n - READY\n - UPDATING\n - ERROR\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the metastore status of the lake.\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the lake.\n x-dcl-references:\n - resource: Dataplex/Lake\n field: selfLink\n parent: true\n x-dcl-has-long-form: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-parameter: true\n serviceAccount:\n type: string\n x-dcl-go-name: ServiceAccount\n readOnly: true\n description: Output only. Service account associated with this lake. This\n service account must be authorized to access or operate on resources managed\n by the lake.\n x-kubernetes-immutable: true\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: LakeStateEnum\n readOnly: true\n description: 'Output only. Current state of the lake. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the lake.\n This ID will be different if the lake is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the lake was last updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/lake.yaml
var YAML_zone = []byte("info:\n title: Dataplex/Zone\n description: The Dataplex Zone resource\n x-dcl-struct-name: Zone\n x-dcl-has-iam: false\npaths:\n get:\n description: The function used to get information about a Zone\n parameters:\n - name: zone\n required: true\n description: A full instance of a Zone\n apply:\n description: The function used to apply information about a Zone\n parameters:\n - name: zone\n required: true\n description: A full instance of a Zone\n delete:\n description: The function used to delete a Zone\n parameters:\n - name: zone\n required: true\n description: A full instance of a Zone\n deleteAll:\n description: The function used to delete all Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\n list:\n description: The function used to list information about many Zone\n parameters:\n - name: project\n required: true\n schema:\n type: string\n - name: location\n required: true\n schema:\n type: string\n - name: lake\n required: true\n schema:\n type: string\ncomponents:\n schemas:\n Zone:\n title: Zone\n x-dcl-id: projects/{{project}}/locations/{{location}}/lakes/{{lake}}/zones/{{name}}\n x-dcl-parent-container: project\n x-dcl-has-create: true\n x-dcl-has-iam: false\n x-dcl-read-timeout: 0\n x-dcl-apply-timeout: 0\n x-dcl-delete-timeout: 0\n type: object\n required:\n - name\n - type\n - discoverySpec\n - resourceSpec\n - project\n - location\n - lake\n properties:\n assetStatus:\n type: object\n x-dcl-go-name: AssetStatus\n x-dcl-go-type: ZoneAssetStatus\n readOnly: true\n description: Output only. Aggregated status of the underlying assets of\n the zone.\n properties:\n activeAssets:\n type: integer\n format: int64\n x-dcl-go-name: ActiveAssets\n description: Number of active assets.\n securityPolicyApplyingAssets:\n type: integer\n format: int64\n x-dcl-go-name: SecurityPolicyApplyingAssets\n description: Number of assets that are in process of updating the security\n policy on attached resources.\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n description: Last update time of the status.\n createTime:\n type: string\n format: date-time\n x-dcl-go-name: CreateTime\n readOnly: true\n description: Output only. The time when the zone was created.\n x-kubernetes-immutable: true\n description:\n type: string\n x-dcl-go-name: Description\n description: Optional. Description of the zone.\n discoverySpec:\n type: object\n x-dcl-go-name: DiscoverySpec\n x-dcl-go-type: ZoneDiscoverySpec\n description: Required. Specification of the discovery feature applied to\n data in this zone.\n required:\n - enabled\n properties:\n csvOptions:\n type: object\n x-dcl-go-name: CsvOptions\n x-dcl-go-type: ZoneDiscoverySpecCsvOptions\n description: Optional. Configuration for CSV data.\n x-dcl-server-default: true\n properties:\n delimiter:\n type: string\n x-dcl-go-name: Delimiter\n description: Optional. The delimiter being used to separate values.\n This defaults to ','.\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for CSV data. If true, all columns will be registered as\n strings.\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n headerRows:\n type: integer\n format: int64\n x-dcl-go-name: HeaderRows\n description: Optional. The number of rows to interpret as header\n rows that should be skipped when reading data rows.\n enabled:\n type: boolean\n x-dcl-go-name: Enabled\n description: Required. Whether discovery is enabled.\n excludePatterns:\n type: array\n x-dcl-go-name: ExcludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to exclude during discovery. For Cloud Storage bucket assets, these\n are interpreted as glob patterns used to match object names. For BigQuery\n dataset assets, these are interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n includePatterns:\n type: array\n x-dcl-go-name: IncludePatterns\n description: Optional. The list of patterns to apply for selecting data\n to include during discovery if only a subset of the data should considered.\n For Cloud Storage bucket assets, these are interpreted as glob patterns\n used to match object names. For BigQuery dataset assets, these are\n interpreted as patterns to match table names.\n x-dcl-send-empty: true\n x-dcl-list-type: list\n items:\n type: string\n x-dcl-go-type: string\n jsonOptions:\n type: object\n x-dcl-go-name: JsonOptions\n x-dcl-go-type: ZoneDiscoverySpecJsonOptions\n description: Optional. Configuration for Json data.\n x-dcl-server-default: true\n properties:\n disableTypeInference:\n type: boolean\n x-dcl-go-name: DisableTypeInference\n description: Optional. Whether to disable the inference of data\n type for Json data. If true, all columns will be registered as\n their primitive types (strings, number or boolean).\n encoding:\n type: string\n x-dcl-go-name: Encoding\n description: Optional. The character encoding of the data. The default\n is UTF-8.\n schedule:\n type: string\n x-dcl-go-name: Schedule\n description: 'Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron)\n for running discovery periodically. Successive discovery runs must\n be scheduled at least 60 minutes apart. The default value is to run\n discovery every 60 minutes. To explicitly set a timezone to the cron\n tab, apply a prefix in the cron tab: \"CRON_TZ=${IANA_TIME_ZONE}\" or\n TZ=${IANA_TIME_ZONE}\". The ${IANA_TIME_ZONE} may only be a valid string\n from IANA time zone database. For example, \"CRON_TZ=America/New_York\n 1 * * * *\", or \"TZ=America/New_York 1 * * * *\".'\n x-dcl-server-default: true\n displayName:\n type: string\n x-dcl-go-name: DisplayName\n description: Optional. User friendly display name.\n labels:\n type: object\n additionalProperties:\n type: string\n x-dcl-go-name: Labels\n description: Optional. User defined labels for the zone.\n lake:\n type: string\n x-dcl-go-name: Lake\n description: The lake for the resource\n x-kubernetes-immutable: true\n x-dcl-parameter: true\n location:\n type: string\n x-dcl-go-name: Location\n description: The location for the resource\n x-kubernetes-immutable: true\n x-dcl-parameter: true\n name:\n type: string\n x-dcl-go-name: Name\n description: The name of the zone.\n x-dcl-references:\n - resource: Dataplex/Zone\n field: selfLink\n parent: true\n x-dcl-has-long-form: true\n project:\n type: string\n x-dcl-go-name: Project\n description: The project for the resource\n x-kubernetes-immutable: true\n x-dcl-references:\n - resource: Cloudresourcemanager/Project\n field: name\n parent: true\n x-dcl-parameter: true\n resourceSpec:\n type: object\n x-dcl-go-name: ResourceSpec\n x-dcl-go-type: ZoneResourceSpec\n description: Required. Immutable. Specification of the resources that are\n referenced by the assets within this zone.\n x-kubernetes-immutable: true\n required:\n - locationType\n properties:\n locationType:\n type: string\n x-dcl-go-name: LocationType\n x-dcl-go-type: ZoneResourceSpecLocationTypeEnum\n description: 'Required. Immutable. The location type of the resources\n that are allowed to be attached to the assets within this zone. Possible\n values: LOCATION_TYPE_UNSPECIFIED, SINGLE_REGION, MULTI_REGION'\n x-kubernetes-immutable: true\n enum:\n - LOCATION_TYPE_UNSPECIFIED\n - SINGLE_REGION\n - MULTI_REGION\n state:\n type: string\n x-dcl-go-name: State\n x-dcl-go-type: ZoneStateEnum\n readOnly: true\n description: 'Output only. Current state of the zone. Possible values: STATE_UNSPECIFIED,\n ACTIVE, CREATING, DELETING, ACTION_REQUIRED'\n x-kubernetes-immutable: true\n enum:\n - STATE_UNSPECIFIED\n - ACTIVE\n - CREATING\n - DELETING\n - ACTION_REQUIRED\n type:\n type: string\n x-dcl-go-name: Type\n x-dcl-go-type: ZoneTypeEnum\n description: 'Required. Immutable. The type of the zone. Possible values:\n TYPE_UNSPECIFIED, RAW, CURATED'\n x-kubernetes-immutable: true\n enum:\n - TYPE_UNSPECIFIED\n - RAW\n - CURATED\n uid:\n type: string\n x-dcl-go-name: Uid\n readOnly: true\n description: Output only. System generated globally unique ID for the zone.\n This ID will be different if the zone is deleted and re-created with the\n same name.\n x-kubernetes-immutable: true\n updateTime:\n type: string\n format: date-time\n x-dcl-go-name: UpdateTime\n readOnly: true\n description: Output only. The time when the zone was last updated.\n x-kubernetes-immutable: true\n")
blaze-out/k8-fastbuild/genfiles/cloud/graphite/mmv2/services/google/dataplex/zone.yaml
Functions ¶
func DCLAssetSchema ¶ added in v1.10.3
func DCLLakeSchema ¶ added in v1.10.3
func DCLZoneSchema ¶ added in v1.10.3
Types ¶
type Asset ¶
type Asset struct { Name *string `json:"name"` DisplayName *string `json:"displayName"` Uid *string `json:"uid"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Labels map[string]string `json:"labels"` Description *string `json:"description"` State *AssetStateEnum `json:"state"` ResourceSpec *AssetResourceSpec `json:"resourceSpec"` ResourceStatus *AssetResourceStatus `json:"resourceStatus"` SecurityStatus *AssetSecurityStatus `json:"securityStatus"` DiscoverySpec *AssetDiscoverySpec `json:"discoverySpec"` DiscoveryStatus *AssetDiscoveryStatus `json:"discoveryStatus"` Project *string `json:"project"` Location *string `json:"location"` Lake *string `json:"lake"` DataplexZone *string `json:"dataplexZone"` }
func (*Asset) Describe ¶
func (r *Asset) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*Asset) IAMPolicyVersion ¶
func (*Asset) SetPolicyURL ¶
func (*Asset) SetPolicyVerb ¶
type AssetDiscoverySpec ¶
type AssetDiscoverySpec struct { Enabled *bool `json:"enabled"` IncludePatterns []string `json:"includePatterns"` ExcludePatterns []string `json:"excludePatterns"` CsvOptions *AssetDiscoverySpecCsvOptions `json:"csvOptions"` JsonOptions *AssetDiscoverySpecJsonOptions `json:"jsonOptions"` Schedule *string `json:"schedule"` // contains filtered or unexported fields }
var EmptyAssetDiscoverySpec *AssetDiscoverySpec = &AssetDiscoverySpec{empty: true}
This object is used to assert a desired state where this AssetDiscoverySpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AssetDiscoverySpec) Empty ¶
func (r *AssetDiscoverySpec) Empty() bool
func (*AssetDiscoverySpec) HashCode ¶
func (r *AssetDiscoverySpec) HashCode() string
func (*AssetDiscoverySpec) String ¶
func (r *AssetDiscoverySpec) String() string
func (*AssetDiscoverySpec) UnmarshalJSON ¶
func (r *AssetDiscoverySpec) UnmarshalJSON(data []byte) error
type AssetDiscoverySpecCsvOptions ¶
type AssetDiscoverySpecCsvOptions struct { HeaderRows *int64 `json:"headerRows"` Delimiter *string `json:"delimiter"` Encoding *string `json:"encoding"` DisableTypeInference *bool `json:"disableTypeInference"` // contains filtered or unexported fields }
var EmptyAssetDiscoverySpecCsvOptions *AssetDiscoverySpecCsvOptions = &AssetDiscoverySpecCsvOptions{empty: true}
This object is used to assert a desired state where this AssetDiscoverySpecCsvOptions is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AssetDiscoverySpecCsvOptions) Empty ¶
func (r *AssetDiscoverySpecCsvOptions) Empty() bool
func (*AssetDiscoverySpecCsvOptions) HashCode ¶
func (r *AssetDiscoverySpecCsvOptions) HashCode() string
func (*AssetDiscoverySpecCsvOptions) String ¶
func (r *AssetDiscoverySpecCsvOptions) String() string
func (*AssetDiscoverySpecCsvOptions) UnmarshalJSON ¶
func (r *AssetDiscoverySpecCsvOptions) UnmarshalJSON(data []byte) error
type AssetDiscoverySpecJsonOptions ¶
type AssetDiscoverySpecJsonOptions struct { Encoding *string `json:"encoding"` DisableTypeInference *bool `json:"disableTypeInference"` // contains filtered or unexported fields }
var EmptyAssetDiscoverySpecJsonOptions *AssetDiscoverySpecJsonOptions = &AssetDiscoverySpecJsonOptions{empty: true}
This object is used to assert a desired state where this AssetDiscoverySpecJsonOptions is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AssetDiscoverySpecJsonOptions) Empty ¶
func (r *AssetDiscoverySpecJsonOptions) Empty() bool
func (*AssetDiscoverySpecJsonOptions) HashCode ¶
func (r *AssetDiscoverySpecJsonOptions) HashCode() string
func (*AssetDiscoverySpecJsonOptions) String ¶
func (r *AssetDiscoverySpecJsonOptions) String() string
func (*AssetDiscoverySpecJsonOptions) UnmarshalJSON ¶
func (r *AssetDiscoverySpecJsonOptions) UnmarshalJSON(data []byte) error
type AssetDiscoveryStatus ¶
type AssetDiscoveryStatus struct { State *AssetDiscoveryStatusStateEnum `json:"state"` Message *string `json:"message"` UpdateTime *string `json:"updateTime"` LastRunTime *string `json:"lastRunTime"` Stats *AssetDiscoveryStatusStats `json:"stats"` LastRunDuration *string `json:"lastRunDuration"` // contains filtered or unexported fields }
var EmptyAssetDiscoveryStatus *AssetDiscoveryStatus = &AssetDiscoveryStatus{empty: true}
This object is used to assert a desired state where this AssetDiscoveryStatus is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AssetDiscoveryStatus) Empty ¶
func (r *AssetDiscoveryStatus) Empty() bool
func (*AssetDiscoveryStatus) HashCode ¶
func (r *AssetDiscoveryStatus) HashCode() string
func (*AssetDiscoveryStatus) String ¶
func (r *AssetDiscoveryStatus) String() string
func (*AssetDiscoveryStatus) UnmarshalJSON ¶
func (r *AssetDiscoveryStatus) UnmarshalJSON(data []byte) error
type AssetDiscoveryStatusStateEnum ¶
type AssetDiscoveryStatusStateEnum string
The enum AssetDiscoveryStatusStateEnum.
func AssetDiscoveryStatusStateEnumRef ¶
func AssetDiscoveryStatusStateEnumRef(s string) *AssetDiscoveryStatusStateEnum
AssetDiscoveryStatusStateEnumRef returns a *AssetDiscoveryStatusStateEnum with the value of string s If the empty string is provided, nil is returned.
func (AssetDiscoveryStatusStateEnum) Validate ¶
func (v AssetDiscoveryStatusStateEnum) Validate() error
type AssetDiscoveryStatusStats ¶
type AssetDiscoveryStatusStats struct { DataItems *int64 `json:"dataItems"` DataSize *int64 `json:"dataSize"` Tables *int64 `json:"tables"` Filesets *int64 `json:"filesets"` // contains filtered or unexported fields }
var EmptyAssetDiscoveryStatusStats *AssetDiscoveryStatusStats = &AssetDiscoveryStatusStats{empty: true}
This object is used to assert a desired state where this AssetDiscoveryStatusStats is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AssetDiscoveryStatusStats) Empty ¶
func (r *AssetDiscoveryStatusStats) Empty() bool
func (*AssetDiscoveryStatusStats) HashCode ¶
func (r *AssetDiscoveryStatusStats) HashCode() string
func (*AssetDiscoveryStatusStats) String ¶
func (r *AssetDiscoveryStatusStats) String() string
func (*AssetDiscoveryStatusStats) UnmarshalJSON ¶
func (r *AssetDiscoveryStatusStats) UnmarshalJSON(data []byte) error
type AssetResourceSpec ¶
type AssetResourceSpec struct { Name *string `json:"name"` Type *AssetResourceSpecTypeEnum `json:"type"` ReadAccessMode *AssetResourceSpecReadAccessModeEnum `json:"readAccessMode"` // contains filtered or unexported fields }
var EmptyAssetResourceSpec *AssetResourceSpec = &AssetResourceSpec{empty: true}
This object is used to assert a desired state where this AssetResourceSpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AssetResourceSpec) Empty ¶
func (r *AssetResourceSpec) Empty() bool
func (*AssetResourceSpec) HashCode ¶
func (r *AssetResourceSpec) HashCode() string
func (*AssetResourceSpec) String ¶
func (r *AssetResourceSpec) String() string
func (*AssetResourceSpec) UnmarshalJSON ¶
func (r *AssetResourceSpec) UnmarshalJSON(data []byte) error
type AssetResourceSpecReadAccessModeEnum ¶ added in v1.47.0
type AssetResourceSpecReadAccessModeEnum string
The enum AssetResourceSpecReadAccessModeEnum.
func AssetResourceSpecReadAccessModeEnumRef ¶ added in v1.47.0
func AssetResourceSpecReadAccessModeEnumRef(s string) *AssetResourceSpecReadAccessModeEnum
AssetResourceSpecReadAccessModeEnumRef returns a *AssetResourceSpecReadAccessModeEnum with the value of string s If the empty string is provided, nil is returned.
func (AssetResourceSpecReadAccessModeEnum) Validate ¶ added in v1.47.0
func (v AssetResourceSpecReadAccessModeEnum) Validate() error
type AssetResourceSpecTypeEnum ¶
type AssetResourceSpecTypeEnum string
The enum AssetResourceSpecTypeEnum.
func AssetResourceSpecTypeEnumRef ¶
func AssetResourceSpecTypeEnumRef(s string) *AssetResourceSpecTypeEnum
AssetResourceSpecTypeEnumRef returns a *AssetResourceSpecTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (AssetResourceSpecTypeEnum) Validate ¶
func (v AssetResourceSpecTypeEnum) Validate() error
type AssetResourceStatus ¶
type AssetResourceStatus struct { State *AssetResourceStatusStateEnum `json:"state"` Message *string `json:"message"` UpdateTime *string `json:"updateTime"` // contains filtered or unexported fields }
var EmptyAssetResourceStatus *AssetResourceStatus = &AssetResourceStatus{empty: true}
This object is used to assert a desired state where this AssetResourceStatus is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AssetResourceStatus) Empty ¶
func (r *AssetResourceStatus) Empty() bool
func (*AssetResourceStatus) HashCode ¶
func (r *AssetResourceStatus) HashCode() string
func (*AssetResourceStatus) String ¶
func (r *AssetResourceStatus) String() string
func (*AssetResourceStatus) UnmarshalJSON ¶
func (r *AssetResourceStatus) UnmarshalJSON(data []byte) error
type AssetResourceStatusStateEnum ¶
type AssetResourceStatusStateEnum string
The enum AssetResourceStatusStateEnum.
func AssetResourceStatusStateEnumRef ¶
func AssetResourceStatusStateEnumRef(s string) *AssetResourceStatusStateEnum
AssetResourceStatusStateEnumRef returns a *AssetResourceStatusStateEnum with the value of string s If the empty string is provided, nil is returned.
func (AssetResourceStatusStateEnum) Validate ¶
func (v AssetResourceStatusStateEnum) Validate() error
type AssetSecurityStatus ¶
type AssetSecurityStatus struct { State *AssetSecurityStatusStateEnum `json:"state"` Message *string `json:"message"` UpdateTime *string `json:"updateTime"` // contains filtered or unexported fields }
var EmptyAssetSecurityStatus *AssetSecurityStatus = &AssetSecurityStatus{empty: true}
This object is used to assert a desired state where this AssetSecurityStatus is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*AssetSecurityStatus) Empty ¶
func (r *AssetSecurityStatus) Empty() bool
func (*AssetSecurityStatus) HashCode ¶
func (r *AssetSecurityStatus) HashCode() string
func (*AssetSecurityStatus) String ¶
func (r *AssetSecurityStatus) String() string
func (*AssetSecurityStatus) UnmarshalJSON ¶
func (r *AssetSecurityStatus) UnmarshalJSON(data []byte) error
type AssetSecurityStatusStateEnum ¶
type AssetSecurityStatusStateEnum string
The enum AssetSecurityStatusStateEnum.
func AssetSecurityStatusStateEnumRef ¶
func AssetSecurityStatusStateEnumRef(s string) *AssetSecurityStatusStateEnum
AssetSecurityStatusStateEnumRef returns a *AssetSecurityStatusStateEnum with the value of string s If the empty string is provided, nil is returned.
func (AssetSecurityStatusStateEnum) Validate ¶
func (v AssetSecurityStatusStateEnum) Validate() error
type AssetStateEnum ¶
type AssetStateEnum string
The enum AssetStateEnum.
func AssetStateEnumRef ¶
func AssetStateEnumRef(s string) *AssetStateEnum
AssetStateEnumRef returns a *AssetStateEnum with the value of string s If the empty string is provided, nil is returned.
func (AssetStateEnum) Validate ¶
func (v AssetStateEnum) Validate() error
type Client ¶
The Client is the base struct of all operations. This will receive the Get, Delete, List, and Apply operations on all resources.
func (*Client) ApplyAsset ¶
func (*Client) DeleteAllAsset ¶
func (c *Client) DeleteAllAsset(ctx context.Context, project, location, dataplexZone, lake string, filter func(*Asset) bool) error
DeleteAllAsset deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllLake ¶
func (c *Client) DeleteAllLake(ctx context.Context, project, location string, filter func(*Lake) bool) error
DeleteAllLake deletes all resources that the filter functions returns true on.
func (*Client) DeleteAllZone ¶
func (c *Client) DeleteAllZone(ctx context.Context, project, location, lake string, filter func(*Zone) bool) error
DeleteAllZone deletes all resources that the filter functions returns true on.
func (*Client) ListAssetWithMaxResults ¶
func (*Client) ListLakeWithMaxResults ¶
type Lake ¶
type Lake struct { Name *string `json:"name"` DisplayName *string `json:"displayName"` Uid *string `json:"uid"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Labels map[string]string `json:"labels"` Description *string `json:"description"` State *LakeStateEnum `json:"state"` ServiceAccount *string `json:"serviceAccount"` Metastore *LakeMetastore `json:"metastore"` AssetStatus *LakeAssetStatus `json:"assetStatus"` MetastoreStatus *LakeMetastoreStatus `json:"metastoreStatus"` Project *string `json:"project"` Location *string `json:"location"` }
func (*Lake) Describe ¶
func (r *Lake) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*Lake) IAMPolicyVersion ¶
func (*Lake) SetPolicyURL ¶
func (*Lake) SetPolicyVerb ¶
type LakeAssetStatus ¶
type LakeAssetStatus struct { UpdateTime *string `json:"updateTime"` ActiveAssets *int64 `json:"activeAssets"` SecurityPolicyApplyingAssets *int64 `json:"securityPolicyApplyingAssets"` // contains filtered or unexported fields }
var EmptyLakeAssetStatus *LakeAssetStatus = &LakeAssetStatus{empty: true}
This object is used to assert a desired state where this LakeAssetStatus is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*LakeAssetStatus) Empty ¶
func (r *LakeAssetStatus) Empty() bool
func (*LakeAssetStatus) HashCode ¶
func (r *LakeAssetStatus) HashCode() string
func (*LakeAssetStatus) String ¶
func (r *LakeAssetStatus) String() string
func (*LakeAssetStatus) UnmarshalJSON ¶
func (r *LakeAssetStatus) UnmarshalJSON(data []byte) error
type LakeMetastore ¶
type LakeMetastore struct { Service *string `json:"service"` // contains filtered or unexported fields }
var EmptyLakeMetastore *LakeMetastore = &LakeMetastore{empty: true}
This object is used to assert a desired state where this LakeMetastore is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*LakeMetastore) Empty ¶
func (r *LakeMetastore) Empty() bool
func (*LakeMetastore) HashCode ¶
func (r *LakeMetastore) HashCode() string
func (*LakeMetastore) String ¶
func (r *LakeMetastore) String() string
func (*LakeMetastore) UnmarshalJSON ¶
func (r *LakeMetastore) UnmarshalJSON(data []byte) error
type LakeMetastoreStatus ¶
type LakeMetastoreStatus struct { State *LakeMetastoreStatusStateEnum `json:"state"` Message *string `json:"message"` UpdateTime *string `json:"updateTime"` Endpoint *string `json:"endpoint"` // contains filtered or unexported fields }
var EmptyLakeMetastoreStatus *LakeMetastoreStatus = &LakeMetastoreStatus{empty: true}
This object is used to assert a desired state where this LakeMetastoreStatus is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*LakeMetastoreStatus) Empty ¶
func (r *LakeMetastoreStatus) Empty() bool
func (*LakeMetastoreStatus) HashCode ¶
func (r *LakeMetastoreStatus) HashCode() string
func (*LakeMetastoreStatus) String ¶
func (r *LakeMetastoreStatus) String() string
func (*LakeMetastoreStatus) UnmarshalJSON ¶
func (r *LakeMetastoreStatus) UnmarshalJSON(data []byte) error
type LakeMetastoreStatusStateEnum ¶
type LakeMetastoreStatusStateEnum string
The enum LakeMetastoreStatusStateEnum.
func LakeMetastoreStatusStateEnumRef ¶
func LakeMetastoreStatusStateEnumRef(s string) *LakeMetastoreStatusStateEnum
LakeMetastoreStatusStateEnumRef returns a *LakeMetastoreStatusStateEnum with the value of string s If the empty string is provided, nil is returned.
func (LakeMetastoreStatusStateEnum) Validate ¶
func (v LakeMetastoreStatusStateEnum) Validate() error
type LakeStateEnum ¶
type LakeStateEnum string
The enum LakeStateEnum.
func LakeStateEnumRef ¶
func LakeStateEnumRef(s string) *LakeStateEnum
LakeStateEnumRef returns a *LakeStateEnum with the value of string s If the empty string is provided, nil is returned.
func (LakeStateEnum) Validate ¶
func (v LakeStateEnum) Validate() error
type Zone ¶
type Zone struct { Name *string `json:"name"` DisplayName *string `json:"displayName"` Uid *string `json:"uid"` CreateTime *string `json:"createTime"` UpdateTime *string `json:"updateTime"` Labels map[string]string `json:"labels"` Description *string `json:"description"` State *ZoneStateEnum `json:"state"` Type *ZoneTypeEnum `json:"type"` DiscoverySpec *ZoneDiscoverySpec `json:"discoverySpec"` ResourceSpec *ZoneResourceSpec `json:"resourceSpec"` AssetStatus *ZoneAssetStatus `json:"assetStatus"` Project *string `json:"project"` Location *string `json:"location"` Lake *string `json:"lake"` }
func (*Zone) Describe ¶
func (r *Zone) Describe() dcl.ServiceTypeVersion
Describe returns a simple description of this resource to ensure that automated tools can identify it.
func (*Zone) IAMPolicyVersion ¶
func (*Zone) SetPolicyURL ¶
func (*Zone) SetPolicyVerb ¶
type ZoneAssetStatus ¶
type ZoneAssetStatus struct { UpdateTime *string `json:"updateTime"` ActiveAssets *int64 `json:"activeAssets"` SecurityPolicyApplyingAssets *int64 `json:"securityPolicyApplyingAssets"` // contains filtered or unexported fields }
var EmptyZoneAssetStatus *ZoneAssetStatus = &ZoneAssetStatus{empty: true}
This object is used to assert a desired state where this ZoneAssetStatus is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ZoneAssetStatus) Empty ¶
func (r *ZoneAssetStatus) Empty() bool
func (*ZoneAssetStatus) HashCode ¶
func (r *ZoneAssetStatus) HashCode() string
func (*ZoneAssetStatus) String ¶
func (r *ZoneAssetStatus) String() string
func (*ZoneAssetStatus) UnmarshalJSON ¶
func (r *ZoneAssetStatus) UnmarshalJSON(data []byte) error
type ZoneDiscoverySpec ¶
type ZoneDiscoverySpec struct { Enabled *bool `json:"enabled"` IncludePatterns []string `json:"includePatterns"` ExcludePatterns []string `json:"excludePatterns"` CsvOptions *ZoneDiscoverySpecCsvOptions `json:"csvOptions"` JsonOptions *ZoneDiscoverySpecJsonOptions `json:"jsonOptions"` Schedule *string `json:"schedule"` // contains filtered or unexported fields }
var EmptyZoneDiscoverySpec *ZoneDiscoverySpec = &ZoneDiscoverySpec{empty: true}
This object is used to assert a desired state where this ZoneDiscoverySpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ZoneDiscoverySpec) Empty ¶
func (r *ZoneDiscoverySpec) Empty() bool
func (*ZoneDiscoverySpec) HashCode ¶
func (r *ZoneDiscoverySpec) HashCode() string
func (*ZoneDiscoverySpec) String ¶
func (r *ZoneDiscoverySpec) String() string
func (*ZoneDiscoverySpec) UnmarshalJSON ¶
func (r *ZoneDiscoverySpec) UnmarshalJSON(data []byte) error
type ZoneDiscoverySpecCsvOptions ¶
type ZoneDiscoverySpecCsvOptions struct { HeaderRows *int64 `json:"headerRows"` Delimiter *string `json:"delimiter"` Encoding *string `json:"encoding"` DisableTypeInference *bool `json:"disableTypeInference"` // contains filtered or unexported fields }
var EmptyZoneDiscoverySpecCsvOptions *ZoneDiscoverySpecCsvOptions = &ZoneDiscoverySpecCsvOptions{empty: true}
This object is used to assert a desired state where this ZoneDiscoverySpecCsvOptions is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ZoneDiscoverySpecCsvOptions) Empty ¶
func (r *ZoneDiscoverySpecCsvOptions) Empty() bool
func (*ZoneDiscoverySpecCsvOptions) HashCode ¶
func (r *ZoneDiscoverySpecCsvOptions) HashCode() string
func (*ZoneDiscoverySpecCsvOptions) String ¶
func (r *ZoneDiscoverySpecCsvOptions) String() string
func (*ZoneDiscoverySpecCsvOptions) UnmarshalJSON ¶
func (r *ZoneDiscoverySpecCsvOptions) UnmarshalJSON(data []byte) error
type ZoneDiscoverySpecJsonOptions ¶
type ZoneDiscoverySpecJsonOptions struct { Encoding *string `json:"encoding"` DisableTypeInference *bool `json:"disableTypeInference"` // contains filtered or unexported fields }
var EmptyZoneDiscoverySpecJsonOptions *ZoneDiscoverySpecJsonOptions = &ZoneDiscoverySpecJsonOptions{empty: true}
This object is used to assert a desired state where this ZoneDiscoverySpecJsonOptions is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ZoneDiscoverySpecJsonOptions) Empty ¶
func (r *ZoneDiscoverySpecJsonOptions) Empty() bool
func (*ZoneDiscoverySpecJsonOptions) HashCode ¶
func (r *ZoneDiscoverySpecJsonOptions) HashCode() string
func (*ZoneDiscoverySpecJsonOptions) String ¶
func (r *ZoneDiscoverySpecJsonOptions) String() string
func (*ZoneDiscoverySpecJsonOptions) UnmarshalJSON ¶
func (r *ZoneDiscoverySpecJsonOptions) UnmarshalJSON(data []byte) error
type ZoneResourceSpec ¶
type ZoneResourceSpec struct { LocationType *ZoneResourceSpecLocationTypeEnum `json:"locationType"` // contains filtered or unexported fields }
var EmptyZoneResourceSpec *ZoneResourceSpec = &ZoneResourceSpec{empty: true}
This object is used to assert a desired state where this ZoneResourceSpec is empty. Go lacks global const objects, but this object should be treated as one. Modifying this object will have undesirable results.
func (*ZoneResourceSpec) Empty ¶
func (r *ZoneResourceSpec) Empty() bool
func (*ZoneResourceSpec) HashCode ¶
func (r *ZoneResourceSpec) HashCode() string
func (*ZoneResourceSpec) String ¶
func (r *ZoneResourceSpec) String() string
func (*ZoneResourceSpec) UnmarshalJSON ¶
func (r *ZoneResourceSpec) UnmarshalJSON(data []byte) error
type ZoneResourceSpecLocationTypeEnum ¶
type ZoneResourceSpecLocationTypeEnum string
The enum ZoneResourceSpecLocationTypeEnum.
func ZoneResourceSpecLocationTypeEnumRef ¶
func ZoneResourceSpecLocationTypeEnumRef(s string) *ZoneResourceSpecLocationTypeEnum
ZoneResourceSpecLocationTypeEnumRef returns a *ZoneResourceSpecLocationTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (ZoneResourceSpecLocationTypeEnum) Validate ¶
func (v ZoneResourceSpecLocationTypeEnum) Validate() error
type ZoneStateEnum ¶
type ZoneStateEnum string
The enum ZoneStateEnum.
func ZoneStateEnumRef ¶
func ZoneStateEnumRef(s string) *ZoneStateEnum
ZoneStateEnumRef returns a *ZoneStateEnum with the value of string s If the empty string is provided, nil is returned.
func (ZoneStateEnum) Validate ¶
func (v ZoneStateEnum) Validate() error
type ZoneTypeEnum ¶
type ZoneTypeEnum string
The enum ZoneTypeEnum.
func ZoneTypeEnumRef ¶
func ZoneTypeEnumRef(s string) *ZoneTypeEnum
ZoneTypeEnumRef returns a *ZoneTypeEnum with the value of string s If the empty string is provided, nil is returned.
func (ZoneTypeEnum) Validate ¶
func (v ZoneTypeEnum) Validate() error