Documentation
¶
Overview ¶
Copyright 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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 2026 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
var YAML_lake []byte
var YAML_zone []byte
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