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.



140
141
142
# File 'lib/google/apis/dataplex_v1/classes.rb', line 140

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)


50
51
52
# File 'lib/google/apis/dataplex_v1/classes.rb', line 50

def asset
  @asset
end

#categoryString

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

Returns:

  • (String)


55
56
57
# File 'lib/google/apis/dataplex_v1/classes.rb', line 55

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>)


63
64
65
# File 'lib/google/apis/dataplex_v1/classes.rb', line 63

def data_locations
  @data_locations
end

#detect_timeString

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

Returns:

  • (String)


68
69
70
# File 'lib/google/apis/dataplex_v1/classes.rb', line 68

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



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

#issueString

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

Returns:

  • (String)


100
101
102
# File 'lib/google/apis/dataplex_v1/classes.rb', line 100

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)


106
107
108
# File 'lib/google/apis/dataplex_v1/classes.rb', line 106

def lake
  @lake
end

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

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


125
126
127
# File 'lib/google/apis/dataplex_v1/classes.rb', line 125

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



132
133
134
# File 'lib/google/apis/dataplex_v1/classes.rb', line 132

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)


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