Class: Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep Deprecated
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/osconfig/v1alpha/config_common.rb
Overview
Deprecated.
This message is deprecated and may be removed in the next major version update.
Step performed by the OS Config agent for configuring an OSPolicyResource
to its desired state.
Defined Under Namespace
Instance Attribute Summary collapse
-
#error_message ⇒ ::String
An error message recorded during the execution of this step.
-
#outcome ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep::Outcome
Outcome of the configuration step.
-
#type ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep::Type
Configuration step type.
Instance Attribute Details
#error_message ⇒ ::String
Returns An error message recorded during the execution of this step. Only populated when outcome is FAILED.
37 38 39 40 41 42 43 44 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 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/config_common.rb', line 37 class OSPolicyResourceConfigStep include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Supported configuration step types # @deprecated This enum is deprecated and may be removed in the next major version update. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # Validation to detect resource conflicts, schema errors, etc. VALIDATION = 1 # Check the current desired state status of the resource. DESIRED_STATE_CHECK = 2 # Enforce the desired state for a resource that is not in desired state. DESIRED_STATE_ENFORCEMENT = 3 # Re-check desired state status for a resource after enforcement of all # resources in the current configuration run. # # This step is used to determine the final desired state status for the # resource. It accounts for any resources that might have drifted from # their desired state due to side effects from configuring other resources # during the current configuration run. DESIRED_STATE_CHECK_POST_ENFORCEMENT = 4 end # Supported outcomes for a configuration step. # @deprecated This enum is deprecated and may be removed in the next major version update. module Outcome # Default value. This value is unused. OUTCOME_UNSPECIFIED = 0 # The step succeeded. SUCCEEDED = 1 # The step failed. FAILED = 2 end end |
#outcome ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep::Outcome
Returns Outcome of the configuration step.
37 38 39 40 41 42 43 44 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 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/config_common.rb', line 37 class OSPolicyResourceConfigStep include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Supported configuration step types # @deprecated This enum is deprecated and may be removed in the next major version update. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # Validation to detect resource conflicts, schema errors, etc. VALIDATION = 1 # Check the current desired state status of the resource. DESIRED_STATE_CHECK = 2 # Enforce the desired state for a resource that is not in desired state. DESIRED_STATE_ENFORCEMENT = 3 # Re-check desired state status for a resource after enforcement of all # resources in the current configuration run. # # This step is used to determine the final desired state status for the # resource. It accounts for any resources that might have drifted from # their desired state due to side effects from configuring other resources # during the current configuration run. DESIRED_STATE_CHECK_POST_ENFORCEMENT = 4 end # Supported outcomes for a configuration step. # @deprecated This enum is deprecated and may be removed in the next major version update. module Outcome # Default value. This value is unused. OUTCOME_UNSPECIFIED = 0 # The step succeeded. SUCCEEDED = 1 # The step failed. FAILED = 2 end end |
#type ⇒ ::Google::Cloud::OsConfig::V1alpha::OSPolicyResourceConfigStep::Type
Returns Configuration step type.
37 38 39 40 41 42 43 44 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 |
# File 'proto_docs/google/cloud/osconfig/v1alpha/config_common.rb', line 37 class OSPolicyResourceConfigStep include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Supported configuration step types # @deprecated This enum is deprecated and may be removed in the next major version update. module Type # Default value. This value is unused. TYPE_UNSPECIFIED = 0 # Validation to detect resource conflicts, schema errors, etc. VALIDATION = 1 # Check the current desired state status of the resource. DESIRED_STATE_CHECK = 2 # Enforce the desired state for a resource that is not in desired state. DESIRED_STATE_ENFORCEMENT = 3 # Re-check desired state status for a resource after enforcement of all # resources in the current configuration run. # # This step is used to determine the final desired state status for the # resource. It accounts for any resources that might have drifted from # their desired state due to side effects from configuring other resources # during the current configuration run. DESIRED_STATE_CHECK_POST_ENFORCEMENT = 4 end # Supported outcomes for a configuration step. # @deprecated This enum is deprecated and may be removed in the next major version update. module Outcome # Default value. This value is unused. OUTCOME_UNSPECIFIED = 0 # The step succeeded. SUCCEEDED = 1 # The step failed. FAILED = 2 end end |