Class: Google::Apis::CloudidentityV1beta1::PolicyConflict
- Inherits:
-
Object
- Object
- Google::Apis::CloudidentityV1beta1::PolicyConflict
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudidentity_v1beta1/classes.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb,
lib/google/apis/cloudidentity_v1beta1/representations.rb
Overview
Represents a policy value from a source that was not applied because a higher- priority source took precedence.
Instance Attribute Summary collapse
-
#scope ⇒ String
Output only.
-
#source ⇒ String
Output only.
-
#value ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PolicyConflict
constructor
A new instance of PolicyConflict.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PolicyConflict
Returns a new instance of PolicyConflict.
4072 4073 4074 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4072 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scope ⇒ String
Output only. The scope at which this lower-priority policy is set (USER or
MACHINE).
Corresponds to the JSON property scope
4060 4061 4062 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4060 def scope @scope end |
#source ⇒ String
Output only. The source from which this lower-priority policy value originated.
Corresponds to the JSON property source
4065 4066 4067 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4065 def source @source end |
#value ⇒ String
Output only. The policy value from this lower-priority source.
Corresponds to the JSON property value
4070 4071 4072 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4070 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4077 4078 4079 4080 4081 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4077 def update!(**args) @scope = args[:scope] if args.key?(:scope) @source = args[:source] if args.key?(:source) @value = args[:value] if args.key?(:value) end |