Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Action
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1Action
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Action represents an issue requiring administrator action for resolution.
Instance Attribute Summary collapse
-
#asset ⇒ String
Output only.
-
#category ⇒ String
The category of issue associated with the action.
-
#data_locations ⇒ Array<String>
The list of data locations associated with this action.
-
#detect_time ⇒ String
The time that the issue was detected.
-
#failed_security_policy_apply ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionFailedSecurityPolicyApply
Failed to apply security policy to the managed resource(s) under a lake, zone or an asset.
-
#incompatible_data_schema ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionIncompatibleDataSchema
Action details for incompatible schemas detected by discovery.
-
#invalid_data_format ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionInvalidDataFormat
Action details for invalid or unsupported data files detected by discovery.
-
#invalid_data_organization ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionInvalidDataOrganization
Action details for invalid data arrangement.
-
#invalid_data_partition ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionInvalidDataPartition
Action details for invalid or unsupported partitions detected by discovery.
-
#issue ⇒ String
Detailed description of the issue requiring action.
-
#lake ⇒ String
Output only.
-
#missing_data ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionMissingData
Action details for absence of data detected by discovery.
-
#missing_resource ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionMissingResource
Action details for resource references in assets that cannot be located.
-
#name ⇒ String
Output only.
-
#unauthorized_resource ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionUnauthorizedResource
Action details for unauthorized resource issues raised to indicate that the service account associated with the lake instance is not authorized to access or manage the resource associated with an asset.
-
#zone ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1Action
constructor
A new instance of GoogleCloudDataplexV1Action.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1Action
Returns a new instance of GoogleCloudDataplexV1Action.
141 142 143 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 141 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asset ⇒ String
Output only. The relative resource name of the asset, of the form: projects/
project_number/locations/location_id/lakes/lake_id/zones/zone_id/assets/
asset_id.
Corresponds to the JSON property asset
51 52 53 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 51 def asset @asset end |
#category ⇒ String
The category of issue associated with the action.
Corresponds to the JSON property category
56 57 58 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 56 def category @category end |
#data_locations ⇒ Array<String>
The list of data locations associated with this action. Cloud Storage
locations are represented as URI paths(E.g. gs://bucket/table1/year=2020/month=
Jan/). BigQuery locations refer to resource names(E.g. bigquery.googleapis.com/
projects/project-id/datasets/dataset-id).
Corresponds to the JSON property dataLocations
64 65 66 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 64 def data_locations @data_locations end |
#detect_time ⇒ String
The time that the issue was detected.
Corresponds to the JSON property detectTime
69 70 71 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 69 def detect_time @detect_time end |
#failed_security_policy_apply ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionFailedSecurityPolicyApply
Failed to apply security policy to the managed resource(s) under a lake, zone
or an asset. For a lake or zone resource, one or more underlying assets has a
failure applying security policy to the associated managed resource.
Corresponds to the JSON property failedSecurityPolicyApply
76 77 78 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 76 def failed_security_policy_apply @failed_security_policy_apply end |
#incompatible_data_schema ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionIncompatibleDataSchema
Action details for incompatible schemas detected by discovery.
Corresponds to the JSON property incompatibleDataSchema
81 82 83 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 81 def incompatible_data_schema @incompatible_data_schema end |
#invalid_data_format ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionInvalidDataFormat
Action details for invalid or unsupported data files detected by discovery.
Corresponds to the JSON property invalidDataFormat
86 87 88 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 86 def invalid_data_format @invalid_data_format end |
#invalid_data_organization ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionInvalidDataOrganization
Action details for invalid data arrangement.
Corresponds to the JSON property invalidDataOrganization
91 92 93 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 91 def invalid_data_organization @invalid_data_organization end |
#invalid_data_partition ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionInvalidDataPartition
Action details for invalid or unsupported partitions detected by discovery.
Corresponds to the JSON property invalidDataPartition
96 97 98 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 96 def invalid_data_partition @invalid_data_partition end |
#issue ⇒ String
Detailed description of the issue requiring action.
Corresponds to the JSON property issue
101 102 103 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 101 def issue @issue end |
#lake ⇒ String
Output only. The relative resource name of the lake, of the form: projects/
project_number/locations/location_id/lakes/lake_id.
Corresponds to the JSON property lake
107 108 109 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 107 def lake @lake end |
#missing_data ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionMissingData
Action details for absence of data detected by discovery.
Corresponds to the JSON property missingData
112 113 114 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 112 def missing_data @missing_data end |
#missing_resource ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionMissingResource
Action details for resource references in assets that cannot be located.
Corresponds to the JSON property missingResource
117 118 119 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 117 def missing_resource @missing_resource end |
#name ⇒ String
Output only. The relative resource name of the action, of the form: projects/
project/locations/location/lakes/lake/actions/action projects/project/
locations/location/lakes/lake/zones/zone/actions/action projects/
project/locations/location/lakes/lake/zones/zone/assets/asset/actions/
action.
Corresponds to the JSON property name
126 127 128 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 126 def name @name end |
#unauthorized_resource ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1ActionUnauthorizedResource
Action details for unauthorized resource issues raised to indicate that the
service account associated with the lake instance is not authorized to access
or manage the resource associated with an asset.
Corresponds to the JSON property unauthorizedResource
133 134 135 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 133 def @unauthorized_resource end |
#zone ⇒ String
Output only. The relative resource name of the zone, of the form: projects/
project_number/locations/location_id/lakes/lake_id/zones/zone_id.
Corresponds to the JSON property zone
139 140 141 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 139 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 146 def update!(**args) @asset = args[:asset] if args.key?(:asset) @category = args[:category] if args.key?(:category) @data_locations = args[:data_locations] if args.key?(:data_locations) @detect_time = args[:detect_time] if args.key?(:detect_time) @failed_security_policy_apply = args[:failed_security_policy_apply] if args.key?(:failed_security_policy_apply) @incompatible_data_schema = args[:incompatible_data_schema] if args.key?(:incompatible_data_schema) @invalid_data_format = args[:invalid_data_format] if args.key?(:invalid_data_format) @invalid_data_organization = args[:invalid_data_organization] if args.key?(:invalid_data_organization) @invalid_data_partition = args[:invalid_data_partition] if args.key?(:invalid_data_partition) @issue = args[:issue] if args.key?(:issue) @lake = args[:lake] if args.key?(:lake) @missing_data = args[:missing_data] if args.key?(:missing_data) @missing_resource = args[:missing_resource] if args.key?(:missing_resource) @name = args[:name] if args.key?(:name) @unauthorized_resource = args[:unauthorized_resource] if args.key?(:unauthorized_resource) @zone = args[:zone] if args.key?(:zone) end |