Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolvedPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolvedPolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chromepolicy_v1/classes.rb,
lib/google/apis/chromepolicy_v1/representations.rb,
lib/google/apis/chromepolicy_v1/representations.rb
Overview
The resolved value of a policy for a given target.
Instance Attribute Summary collapse
-
#added_source_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
-
#source_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
-
#target_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
-
#value ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyValue
A particular value for a policy managed by the service.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1ResolvedPolicy
constructor
A new instance of GoogleChromePolicyVersionsV1ResolvedPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1ResolvedPolicy
Returns a new instance of GoogleChromePolicyVersionsV1ResolvedPolicy.
1267 1268 1269 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#added_source_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
Corresponds to the JSON property addedSourceKey
1250 1251 1252 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1250 def added_source_key @added_source_key end |
#source_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
Corresponds to the JSON property sourceKey
1255 1256 1257 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1255 def source_key @source_key end |
#target_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
Corresponds to the JSON property targetKey
1260 1261 1262 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1260 def target_key @target_key end |
#value ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyValue
A particular value for a policy managed by the service.
Corresponds to the JSON property value
1265 1266 1267 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1265 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1272 1273 1274 1275 1276 1277 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1272 def update!(**args) @added_source_key = args[:added_source_key] if args.key?(:added_source_key) @source_key = args[:source_key] if args.key?(:source_key) @target_key = args[:target_key] if args.key?(:target_key) @value = args[:value] if args.key?(:value) end |