Class: Google::Cloud::Dataplex::V1::GovernanceEvent

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataplex/v1/logs.rb

Overview

Payload associated with Governance related log events.

Defined Under Namespace

Modules: EventType Classes: Entity

Instance Attribute Summary collapse

Instance Attribute Details

#entity::Google::Cloud::Dataplex::V1::GovernanceEvent::Entity

Returns Entity resource information if the log event is associated with a specific entity.

Returns:



352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 352

class GovernanceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Information about Entity resource that the log event is associated with.
  # @!attribute [rw] entity
  #   @return [::String]
  #     The Entity resource the log event is associated with.
  #     Format:
  #     `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`
  # @!attribute [rw] entity_type
  #   @return [::Google::Cloud::Dataplex::V1::GovernanceEvent::Entity::EntityType]
  #     Type of entity.
  class Entity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Type of entity.
    module EntityType
      # An unspecified Entity type.
      ENTITY_TYPE_UNSPECIFIED = 0

      # Table entity type.
      TABLE = 1

      # Fileset entity type.
      FILESET = 2
    end
  end

  # Type of governance log event.
  module EventType
    # An unspecified event type.
    EVENT_TYPE_UNSPECIFIED = 0

    # Resource IAM policy update event.
    RESOURCE_IAM_POLICY_UPDATE = 1

    # BigQuery table create event.
    BIGQUERY_TABLE_CREATE = 2

    # BigQuery table update event.
    BIGQUERY_TABLE_UPDATE = 3

    # BigQuery table delete event.
    BIGQUERY_TABLE_DELETE = 4

    # BigQuery connection create event.
    BIGQUERY_CONNECTION_CREATE = 5

    # BigQuery connection update event.
    BIGQUERY_CONNECTION_UPDATE = 6

    # BigQuery connection delete event.
    BIGQUERY_CONNECTION_DELETE = 7

    # BigQuery taxonomy created.
    BIGQUERY_TAXONOMY_CREATE = 10

    # BigQuery policy tag created.
    BIGQUERY_POLICY_TAG_CREATE = 11

    # BigQuery policy tag deleted.
    BIGQUERY_POLICY_TAG_DELETE = 12

    # BigQuery set iam policy for policy tag.
    BIGQUERY_POLICY_TAG_SET_IAM_POLICY = 13

    # Access policy update event.
    ACCESS_POLICY_UPDATE = 14

    # Number of resources matched with particular Query.
    GOVERNANCE_RULE_MATCHED_RESOURCES = 15

    # Rule processing exceeds the allowed limit.
    GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS = 16

    # Rule processing errors.
    GOVERNANCE_RULE_ERRORS = 17

    # Governance rule processing Event.
    GOVERNANCE_RULE_PROCESSING = 18
  end
end

#event_type::Google::Cloud::Dataplex::V1::GovernanceEvent::EventType

Returns The type of the event.

Returns:



352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 352

class GovernanceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Information about Entity resource that the log event is associated with.
  # @!attribute [rw] entity
  #   @return [::String]
  #     The Entity resource the log event is associated with.
  #     Format:
  #     `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`
  # @!attribute [rw] entity_type
  #   @return [::Google::Cloud::Dataplex::V1::GovernanceEvent::Entity::EntityType]
  #     Type of entity.
  class Entity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Type of entity.
    module EntityType
      # An unspecified Entity type.
      ENTITY_TYPE_UNSPECIFIED = 0

      # Table entity type.
      TABLE = 1

      # Fileset entity type.
      FILESET = 2
    end
  end

  # Type of governance log event.
  module EventType
    # An unspecified event type.
    EVENT_TYPE_UNSPECIFIED = 0

    # Resource IAM policy update event.
    RESOURCE_IAM_POLICY_UPDATE = 1

    # BigQuery table create event.
    BIGQUERY_TABLE_CREATE = 2

    # BigQuery table update event.
    BIGQUERY_TABLE_UPDATE = 3

    # BigQuery table delete event.
    BIGQUERY_TABLE_DELETE = 4

    # BigQuery connection create event.
    BIGQUERY_CONNECTION_CREATE = 5

    # BigQuery connection update event.
    BIGQUERY_CONNECTION_UPDATE = 6

    # BigQuery connection delete event.
    BIGQUERY_CONNECTION_DELETE = 7

    # BigQuery taxonomy created.
    BIGQUERY_TAXONOMY_CREATE = 10

    # BigQuery policy tag created.
    BIGQUERY_POLICY_TAG_CREATE = 11

    # BigQuery policy tag deleted.
    BIGQUERY_POLICY_TAG_DELETE = 12

    # BigQuery set iam policy for policy tag.
    BIGQUERY_POLICY_TAG_SET_IAM_POLICY = 13

    # Access policy update event.
    ACCESS_POLICY_UPDATE = 14

    # Number of resources matched with particular Query.
    GOVERNANCE_RULE_MATCHED_RESOURCES = 15

    # Rule processing exceeds the allowed limit.
    GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS = 16

    # Rule processing errors.
    GOVERNANCE_RULE_ERRORS = 17

    # Governance rule processing Event.
    GOVERNANCE_RULE_PROCESSING = 18
  end
end

#message::String

Returns The log message.

Returns:

  • (::String)

    The log message.



352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 352

class GovernanceEvent
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Information about Entity resource that the log event is associated with.
  # @!attribute [rw] entity
  #   @return [::String]
  #     The Entity resource the log event is associated with.
  #     Format:
  #     `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`
  # @!attribute [rw] entity_type
  #   @return [::Google::Cloud::Dataplex::V1::GovernanceEvent::Entity::EntityType]
  #     Type of entity.
  class Entity
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods

    # Type of entity.
    module EntityType
      # An unspecified Entity type.
      ENTITY_TYPE_UNSPECIFIED = 0

      # Table entity type.
      TABLE = 1

      # Fileset entity type.
      FILESET = 2
    end
  end

  # Type of governance log event.
  module EventType
    # An unspecified event type.
    EVENT_TYPE_UNSPECIFIED = 0

    # Resource IAM policy update event.
    RESOURCE_IAM_POLICY_UPDATE = 1

    # BigQuery table create event.
    BIGQUERY_TABLE_CREATE = 2

    # BigQuery table update event.
    BIGQUERY_TABLE_UPDATE = 3

    # BigQuery table delete event.
    BIGQUERY_TABLE_DELETE = 4

    # BigQuery connection create event.
    BIGQUERY_CONNECTION_CREATE = 5

    # BigQuery connection update event.
    BIGQUERY_CONNECTION_UPDATE = 6

    # BigQuery connection delete event.
    BIGQUERY_CONNECTION_DELETE = 7

    # BigQuery taxonomy created.
    BIGQUERY_TAXONOMY_CREATE = 10

    # BigQuery policy tag created.
    BIGQUERY_POLICY_TAG_CREATE = 11

    # BigQuery policy tag deleted.
    BIGQUERY_POLICY_TAG_DELETE = 12

    # BigQuery set iam policy for policy tag.
    BIGQUERY_POLICY_TAG_SET_IAM_POLICY = 13

    # Access policy update event.
    ACCESS_POLICY_UPDATE = 14

    # Number of resources matched with particular Query.
    GOVERNANCE_RULE_MATCHED_RESOURCES = 15

    # Rule processing exceeds the allowed limit.
    GOVERNANCE_RULE_SEARCH_LIMIT_EXCEEDS = 16

    # Rule processing errors.
    GOVERNANCE_RULE_ERRORS = 17

    # Governance rule processing Event.
    GOVERNANCE_RULE_PROCESSING = 18
  end
end