Class: Google::Cloud::PolicySimulator::V1::Replay
- Inherits:
-
Object
- Object
- Google::Cloud::PolicySimulator::V1::Replay
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/policysimulator/v1/simulator.rb
Overview
A resource describing a Replay
, or simulation.
Defined Under Namespace
Modules: State Classes: ResultsSummary
Instance Attribute Summary collapse
-
#config ⇒ ::Google::Cloud::PolicySimulator::V1::ReplayConfig
Required.
-
#name ⇒ ::String
readonly
Output only.
-
#results_summary ⇒ ::Google::Cloud::PolicySimulator::V1::Replay::ResultsSummary
readonly
Output only.
-
#state ⇒ ::Google::Cloud::PolicySimulator::V1::Replay::State
readonly
Output only.
Instance Attribute Details
#config ⇒ ::Google::Cloud::PolicySimulator::V1::ReplayConfig
Returns Required. The configuration used for the Replay
.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'proto_docs/google/cloud/policysimulator/v1/simulator.rb', line 45 class Replay include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Summary statistics about the replayed log entries. # @!attribute [rw] log_count # @return [::Integer] # The total number of log entries replayed. # @!attribute [rw] unchanged_count # @return [::Integer] # The number of replayed log entries with no difference between # baseline and simulated policies. # @!attribute [rw] difference_count # @return [::Integer] # The number of replayed log entries with a difference between baseline and # simulated policies. # @!attribute [rw] error_count # @return [::Integer] # The number of log entries that could not be replayed. # @!attribute [rw] oldest_date # @return [::Google::Type::Date] # The date of the oldest log entry replayed. # @!attribute [rw] newest_date # @return [::Google::Type::Date] # The date of the newest log entry replayed. class ResultsSummary include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the {::Google::Cloud::PolicySimulator::V1::Replay Replay}. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The `Replay` has not started yet. PENDING = 1 # The `Replay` is currently running. RUNNING = 2 # The `Replay` has successfully completed. SUCCEEDED = 3 # The `Replay` has finished with an error. FAILED = 4 end end |
#name ⇒ ::String (readonly)
Returns Output only. The resource name of the Replay
, which has the following
format:
{projects|folders|organizations}/{resource-id}/locations/global/replays/{replay-id}
,
where {resource-id}
is the ID of the project, folder, or organization
that owns the Replay.
Example:
projects/my-example-project/locations/global/replays/506a5f7f-38ce-4d7d-8e03-479ce1833c36
.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'proto_docs/google/cloud/policysimulator/v1/simulator.rb', line 45 class Replay include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Summary statistics about the replayed log entries. # @!attribute [rw] log_count # @return [::Integer] # The total number of log entries replayed. # @!attribute [rw] unchanged_count # @return [::Integer] # The number of replayed log entries with no difference between # baseline and simulated policies. # @!attribute [rw] difference_count # @return [::Integer] # The number of replayed log entries with a difference between baseline and # simulated policies. # @!attribute [rw] error_count # @return [::Integer] # The number of log entries that could not be replayed. # @!attribute [rw] oldest_date # @return [::Google::Type::Date] # The date of the oldest log entry replayed. # @!attribute [rw] newest_date # @return [::Google::Type::Date] # The date of the newest log entry replayed. class ResultsSummary include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the {::Google::Cloud::PolicySimulator::V1::Replay Replay}. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The `Replay` has not started yet. PENDING = 1 # The `Replay` is currently running. RUNNING = 2 # The `Replay` has successfully completed. SUCCEEDED = 3 # The `Replay` has finished with an error. FAILED = 4 end end |
#results_summary ⇒ ::Google::Cloud::PolicySimulator::V1::Replay::ResultsSummary (readonly)
Returns Output only. Summary statistics about the replayed log entries.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'proto_docs/google/cloud/policysimulator/v1/simulator.rb', line 45 class Replay include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Summary statistics about the replayed log entries. # @!attribute [rw] log_count # @return [::Integer] # The total number of log entries replayed. # @!attribute [rw] unchanged_count # @return [::Integer] # The number of replayed log entries with no difference between # baseline and simulated policies. # @!attribute [rw] difference_count # @return [::Integer] # The number of replayed log entries with a difference between baseline and # simulated policies. # @!attribute [rw] error_count # @return [::Integer] # The number of log entries that could not be replayed. # @!attribute [rw] oldest_date # @return [::Google::Type::Date] # The date of the oldest log entry replayed. # @!attribute [rw] newest_date # @return [::Google::Type::Date] # The date of the newest log entry replayed. class ResultsSummary include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the {::Google::Cloud::PolicySimulator::V1::Replay Replay}. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The `Replay` has not started yet. PENDING = 1 # The `Replay` is currently running. RUNNING = 2 # The `Replay` has successfully completed. SUCCEEDED = 3 # The `Replay` has finished with an error. FAILED = 4 end end |
#state ⇒ ::Google::Cloud::PolicySimulator::V1::Replay::State (readonly)
Returns Output only. The current state of the Replay
.
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'proto_docs/google/cloud/policysimulator/v1/simulator.rb', line 45 class Replay include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Summary statistics about the replayed log entries. # @!attribute [rw] log_count # @return [::Integer] # The total number of log entries replayed. # @!attribute [rw] unchanged_count # @return [::Integer] # The number of replayed log entries with no difference between # baseline and simulated policies. # @!attribute [rw] difference_count # @return [::Integer] # The number of replayed log entries with a difference between baseline and # simulated policies. # @!attribute [rw] error_count # @return [::Integer] # The number of log entries that could not be replayed. # @!attribute [rw] oldest_date # @return [::Google::Type::Date] # The date of the oldest log entry replayed. # @!attribute [rw] newest_date # @return [::Google::Type::Date] # The date of the newest log entry replayed. class ResultsSummary include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The current state of the {::Google::Cloud::PolicySimulator::V1::Replay Replay}. module State # Default value. This value is unused. STATE_UNSPECIFIED = 0 # The `Replay` has not started yet. PENDING = 1 # The `Replay` is currently running. RUNNING = 2 # The `Replay` has successfully completed. SUCCEEDED = 3 # The `Replay` has finished with an error. FAILED = 4 end end |