Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1Action

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#assetString

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

Returns:

  • (String)


477
478
479
# File 'lib/google/apis/dataplex_v1/classes.rb', line 477

def asset
  @asset
end

#categoryString

The category of issue associated with the action. Corresponds to the JSON property category

Returns:

  • (String)


482
483
484
# File 'lib/google/apis/dataplex_v1/classes.rb', line 482

def category
  @category
end

#data_locationsArray<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

Returns:

  • (Array<String>)


490
491
492
# File 'lib/google/apis/dataplex_v1/classes.rb', line 490

def data_locations
  @data_locations
end

#detect_timeString

The time that the issue was detected. Corresponds to the JSON property detectTime

Returns:

  • (String)


495
496
497
# File 'lib/google/apis/dataplex_v1/classes.rb', line 495

def detect_time
  @detect_time
end

#failed_security_policy_applyGoogle::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_schemaGoogle::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_formatGoogle::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_organizationGoogle::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_partitionGoogle::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

#issueString

Detailed description of the issue requiring action. Corresponds to the JSON property issue

Returns:

  • (String)


527
528
529
# File 'lib/google/apis/dataplex_v1/classes.rb', line 527

def issue
  @issue
end

#lakeString

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

Returns:

  • (String)


533
534
535
# File 'lib/google/apis/dataplex_v1/classes.rb', line 533

def lake
  @lake
end

#missing_dataGoogle::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_resourceGoogle::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

#nameString

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

Returns:

  • (String)


552
553
554
# File 'lib/google/apis/dataplex_v1/classes.rb', line 552

def name
  @name
end

#unauthorized_resourceGoogle::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
  @unauthorized_resource
end

#zoneString

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

Returns:

  • (String)


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