Class: Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionExplanation

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb

Overview

Explanation for how a condition affects a principal's access

Defined Under Namespace

Classes: EvaluationState

Instance Attribute Summary collapse

Instance Attribute Details

#errors::Array<::Google::Rpc::Status>

Returns Any errors that prevented complete evaluation of the condition expression.

Returns:

  • (::Array<::Google::Rpc::Status>)

    Any errors that prevented complete evaluation of the condition expression.



684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
# File 'proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb', line 684

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

  # Evaluated state of a condition expression.
  # @!attribute [rw] start
  #   @return [::Integer]
  #     Start position of an expression in the condition, by character.
  # @!attribute [rw] end
  #   @return [::Integer]
  #     End position of an expression in the condition, by character,
  #     end included, for example: the end position of the first part of
  #     `a==b || c==d` would be 4.
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  #     Value of this expression.
  # @!attribute [rw] errors
  #   @return [::Array<::Google::Rpc::Status>]
  #     Any errors that prevented complete evaluation of the condition
  #     expression.
  class EvaluationState
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#evaluation_states::Array<::Google::Cloud::PolicyTroubleshooter::Iam::V3::ConditionExplanation::EvaluationState>

Returns The value of each statement of the condition expression. The value can be true, false, or null. The value is null if the statement can't be evaluated.

Returns:



684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
# File 'proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb', line 684

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

  # Evaluated state of a condition expression.
  # @!attribute [rw] start
  #   @return [::Integer]
  #     Start position of an expression in the condition, by character.
  # @!attribute [rw] end
  #   @return [::Integer]
  #     End position of an expression in the condition, by character,
  #     end included, for example: the end position of the first part of
  #     `a==b || c==d` would be 4.
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  #     Value of this expression.
  # @!attribute [rw] errors
  #   @return [::Array<::Google::Rpc::Status>]
  #     Any errors that prevented complete evaluation of the condition
  #     expression.
  class EvaluationState
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#value::Google::Protobuf::Value

Returns Value of the condition.

Returns:



684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
# File 'proto_docs/google/cloud/policytroubleshooter/iam/v3/troubleshooter.rb', line 684

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

  # Evaluated state of a condition expression.
  # @!attribute [rw] start
  #   @return [::Integer]
  #     Start position of an expression in the condition, by character.
  # @!attribute [rw] end
  #   @return [::Integer]
  #     End position of an expression in the condition, by character,
  #     end included, for example: the end position of the first part of
  #     `a==b || c==d` would be 4.
  # @!attribute [rw] value
  #   @return [::Google::Protobuf::Value]
  #     Value of this expression.
  # @!attribute [rw] errors
  #   @return [::Array<::Google::Rpc::Status>]
  #     Any errors that prevented complete evaluation of the condition
  #     expression.
  class EvaluationState
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end