Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ListGroupPriorityOrderingResponse

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

Response message for listing the group priority ordering of an app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyV1ListGroupPriorityOrderingResponse

Returns a new instance of GoogleChromePolicyV1ListGroupPriorityOrderingResponse.



288
289
290
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 288

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

Instance Attribute Details

#group_idsArray<String>

Output only. The group IDs, in priority ordering. Corresponds to the JSON property groupIds

Returns:

  • (Array<String>)


276
277
278
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 276

def group_ids
  @group_ids
end

#policy_namespaceString

Output only. The namespace of the policy type of the group IDs. Corresponds to the JSON property policyNamespace

Returns:

  • (String)


281
282
283
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 281

def policy_namespace
  @policy_namespace
end

#policy_target_keyGoogle::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey

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



286
287
288
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 286

def policy_target_key
  @policy_target_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



293
294
295
296
297
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 293

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