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.



4072
4073
4074
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4072

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)


4060
4061
4062
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4060

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)


4065
4066
4067
# File 'lib/google/apis/cloudidentity_v1beta1/classes.rb', line 4065

def source
  @source
end

#valueString

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

Returns:

  • (String)


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