Class: Google::Cloud::WorkloadManager::V1::RuleExecutionResult

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

Overview

Execution result summary per rule.

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#message::String

Returns Execution message, if any.

Returns:

  • (::String)

    Execution message, if any.



498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 498

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

  # Possible states of a rule execution like SUCCESS, FAILURE, etc.
  module State
    # Unknown state
    STATE_UNSPECIFIED = 0

    # Execution completed successfully
    STATE_SUCCESS = 1

    # Execution completed with failures
    STATE_FAILURE = 2

    # Execution was not executed
    STATE_SKIPPED = 3
  end
end

#result_count::Integer

Returns Number of violations.

Returns:

  • (::Integer)

    Number of violations.



498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 498

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

  # Possible states of a rule execution like SUCCESS, FAILURE, etc.
  module State
    # Unknown state
    STATE_UNSPECIFIED = 0

    # Execution completed successfully
    STATE_SUCCESS = 1

    # Execution completed with failures
    STATE_FAILURE = 2

    # Execution was not executed
    STATE_SKIPPED = 3
  end
end

#rule::String

Returns Rule name as plain text like sap-hana-configured.

Returns:

  • (::String)

    Rule name as plain text like sap-hana-configured.



498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 498

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

  # Possible states of a rule execution like SUCCESS, FAILURE, etc.
  module State
    # Unknown state
    STATE_UNSPECIFIED = 0

    # Execution completed successfully
    STATE_SUCCESS = 1

    # Execution completed with failures
    STATE_FAILURE = 2

    # Execution was not executed
    STATE_SKIPPED = 3
  end
end

#scanned_resource_count::Integer

Returns Number of total scanned resources.

Returns:

  • (::Integer)

    Number of total scanned resources.



498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 498

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

  # Possible states of a rule execution like SUCCESS, FAILURE, etc.
  module State
    # Unknown state
    STATE_UNSPECIFIED = 0

    # Execution completed successfully
    STATE_SUCCESS = 1

    # Execution completed with failures
    STATE_FAILURE = 2

    # Execution was not executed
    STATE_SKIPPED = 3
  end
end

#state::Google::Cloud::WorkloadManager::V1::RuleExecutionResult::State (readonly)

Returns Output only. The execution status.

Returns:



498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 498

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

  # Possible states of a rule execution like SUCCESS, FAILURE, etc.
  module State
    # Unknown state
    STATE_UNSPECIFIED = 0

    # Execution completed successfully
    STATE_SUCCESS = 1

    # Execution completed with failures
    STATE_FAILURE = 2

    # Execution was not executed
    STATE_SKIPPED = 3
  end
end