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.
567 568 569 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 567 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
477 478 479 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 477 def asset @asset end |
#category ⇒ String
The category of issue associated with the action.
Corresponds to the JSON property category
482 483 484 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 482 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
490 491 492 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 490 def data_locations @data_locations end |
#detect_time ⇒ String
The time that the issue was detected.
Corresponds to the JSON property detectTime
495 496 497 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 495 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
502 503 504 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 502 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
507 508 509 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 507 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
512 513 514 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 512 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
517 518 519 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 517 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
522 523 524 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 522 def invalid_data_partition @invalid_data_partition end |
#issue ⇒ String
Detailed description of the issue requiring action.
Corresponds to the JSON property issue
527 528 529 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 527 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
533 534 535 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 533 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
538 539 540 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 538 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
543 544 545 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 543 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
552 553 554 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 552 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
559 560 561 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 559 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
565 566 567 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 565 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 572 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 |