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.
4033 4034 4035 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4033 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
4021 4022 4023 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4021 def scope @scope end |
#source ⇒ String
Output only. The source from which this lower-priority policy value originated.
Corresponds to the JSON property source
4026 4027 4028 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4026 def source @source end |
#value ⇒ String
Output only. The policy value from this lower-priority source.
Corresponds to the JSON property value
4031 4032 4033 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4031 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4038 4039 4040 4041 4042 |
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4038 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 |