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:



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
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 400

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:



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
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 400

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.



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
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
# File 'proto_docs/google/cloud/dataplex/v1/logs.rb', line 400

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