Skip to content

Commit ac76e17

Browse files
Google APIscopybara-github
authored andcommitted
feat: DataQualityDimension is now part of the DataQualityDimensionResult message
feat: add relativeResourceName and linkedResourceName to search result PiperOrigin-RevId: 577940009
1 parent facb658 commit ac76e17

2 files changed

Lines changed: 81 additions & 0 deletions

File tree

google/cloud/dataplex/v1/dataplex_v1.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ types:
1717
- name: google.cloud.dataplex.v1.DataQualityScanRuleResult
1818
- name: google.cloud.dataplex.v1.DataScanEvent
1919
- name: google.cloud.dataplex.v1.DiscoveryEvent
20+
- name: google.cloud.dataplex.v1.GovernanceEvent
2021
- name: google.cloud.dataplex.v1.JobEvent
2122
- name: google.cloud.dataplex.v1.OperationMetadata
2223
- name: google.cloud.dataplex.v1.SessionEvent

google/cloud/dataplex/v1/logs.proto

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,86 @@ message SessionEvent {
315315
google.protobuf.Duration unassigned_duration = 8;
316316
}
317317

318+
// Payload associated with Governance related log events.
319+
message GovernanceEvent {
320+
// Information about Entity resource that the log event is associated with.
321+
message Entity {
322+
// Type of entity.
323+
enum EntityType {
324+
// An unspecified Entity type.
325+
ENTITY_TYPE_UNSPECIFIED = 0;
326+
327+
// Table entity type.
328+
TABLE = 1;
329+
330+
// Fileset entity type.
331+
FILESET = 2;
332+
}
333+
334+
// The Entity resource the log event is associated with.
335+
// Format:
336+
// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`
337+
string entity = 1 [(google.api.resource_reference) = {
338+
type: "dataplex.googleapis.com/Entity"
339+
}];
340+
341+
// Type of entity.
342+
EntityType entity_type = 2;
343+
}
344+
345+
// Type of governance log event.
346+
enum EventType {
347+
// An unspecified event type.
348+
EVENT_TYPE_UNSPECIFIED = 0;
349+
350+
// Resource IAM policy update event.
351+
RESOURCE_IAM_POLICY_UPDATE = 1;
352+
353+
// BigQuery table create event.
354+
BIGQUERY_TABLE_CREATE = 2;
355+
356+
// BigQuery table update event.
357+
BIGQUERY_TABLE_UPDATE = 3;
358+
359+
// BigQuery table delete event.
360+
BIGQUERY_TABLE_DELETE = 4;
361+
362+
// BigQuery connection create event.
363+
BIGQUERY_CONNECTION_CREATE = 5;
364+
365+
// BigQuery connection update event.
366+
BIGQUERY_CONNECTION_UPDATE = 6;
367+
368+
// BigQuery connection delete event.
369+
BIGQUERY_CONNECTION_DELETE = 7;
370+
371+
// BigQuery taxonomy created.
372+
BIGQUERY_TAXONOMY_CREATE = 10;
373+
374+
// BigQuery policy tag created.
375+
BIGQUERY_POLICY_TAG_CREATE = 11;
376+
377+
// BigQuery policy tag deleted.
378+
BIGQUERY_POLICY_TAG_DELETE = 12;
379+
380+
// BigQuery set iam policy for policy tag.
381+
BIGQUERY_POLICY_TAG_SET_IAM_POLICY = 13;
382+
383+
// Access policy update event.
384+
ACCESS_POLICY_UPDATE = 14;
385+
}
386+
387+
// The log message.
388+
string message = 1;
389+
390+
// The type of the event.
391+
EventType event_type = 2;
392+
393+
// Entity resource information if the log event is associated with a
394+
// specific entity.
395+
optional Entity entity = 3;
396+
}
397+
318398
// These messages contain information about the execution of a datascan.
319399
// The monitored resource is 'DataScan'
320400
// Next ID: 13

0 commit comments

Comments
 (0)