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.
140 141 142 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 140 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
50 51 52 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 50 def asset @asset end |
#category ⇒ String
The category of issue associated with the action.
Corresponds to the JSON property category
55 56 57 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 55 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
63 64 65 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 63 def data_locations @data_locations end |
#detect_time ⇒ String
The time that the issue was detected.
Corresponds to the JSON property detectTime
68 69 70 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 68 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
75 76 77 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 75 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
80 81 82 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 80 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
85 86 87 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 85 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
90 91 92 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 90 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
95 96 97 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 95 def invalid_data_partition @invalid_data_partition end |
#issue ⇒ String
Detailed description of the issue requiring action.
Corresponds to the JSON property issue
100 101 102 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 100 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
106 107 108 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 106 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
111 112 113 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 111 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
116 117 118 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 116 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
125 126 127 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 125 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
132 133 134 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 132 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
138 139 140 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 138 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 145 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 |