Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest

Returns a new instance of GoogleChromePolicyVersionsV1UpdateGroupPriorityOrderingRequest.



1237
1238
1239
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1237

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#group_idsArray<String>

Required. The group IDs, in desired priority ordering. Corresponds to the JSON property groupIds

Returns:

  • (Array<String>)


1225
1226
1227
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1225

def group_ids
  @group_ids
end

#policy_namespaceString

Required. The namespace of the policy type for the request. Corresponds to the JSON property policyNamespace

Returns:

  • (String)


1230
1231
1232
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1230

def policy_namespace
  @policy_namespace
end

#policy_target_keyGoogle::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey

The key used to identify the target on which the policy will be applied. Corresponds to the JSON property policyTargetKey



1235
1236
1237
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1235

def policy_target_key
  @policy_target_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1242
1243
1244
1245
1246
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1242

def update!(**args)
  @group_ids = args[:group_ids] if args.key?(:group_ids)
  @policy_namespace = args[:policy_namespace] if args.key?(:policy_namespace)
  @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key)
end