Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest
- 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
Request message for updating the group priority ordering of an app.
Instance Attribute Summary collapse
-
#group_ids ⇒ Array<String>
Required.
-
#policy_namespace ⇒ String
The namespace of the policy type for the request.
-
#policy_schema ⇒ String
The schema name of the policy for the request.
-
#policy_target_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest
constructor
A new instance of GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest
Returns a new instance of GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest.
1346 1347 1348 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1346 def initialize(**args) update!(**args) end |
Instance Attribute Details
#group_ids ⇒ Array<String>
Required. The group IDs, in desired priority ordering.
Corresponds to the JSON property groupIds
1329 1330 1331 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1329 def group_ids @group_ids end |
#policy_namespace ⇒ String
The namespace of the policy type for the request.
Corresponds to the JSON property policyNamespace
1334 1335 1336 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1334 def policy_namespace @policy_namespace end |
#policy_schema ⇒ String
The schema name of the policy for the request.
Corresponds to the JSON property policySchema
1339 1340 1341 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1339 def policy_schema @policy_schema end |
#policy_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 policyTargetKey
1344 1345 1346 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1344 def policy_target_key @policy_target_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1351 1352 1353 1354 1355 1356 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1351 def update!(**args) @group_ids = args[:group_ids] if args.key?(:group_ids) @policy_namespace = args[:policy_namespace] if args.key?(:policy_namespace) @policy_schema = args[:policy_schema] if args.key?(:policy_schema) @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key) end |