Class: Google::Apis::CloudidentityV1beta1::PolicyConflict

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#scopeString

Output only. The scope at which this lower-priority policy is set (USER or MACHINE). Corresponds to the JSON property scope

Returns:

  • (String)


4021
4022
4023
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4021

def scope
  @scope
end

#sourceString

Output only. The source from which this lower-priority policy value originated. Corresponds to the JSON property source

Returns:

  • (String)


4026
4027
4028
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4026

def source
  @source
end

#valueString

Output only. The policy value from this lower-priority source. Corresponds to the JSON property value

Returns:

  • (String)


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