Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ResolveResponse

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 getting the resolved policy value for a specific target.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyV1ResolveResponse

Returns a new instance of GoogleChromePolicyV1ResolveResponse.



521
522
523
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 521

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

Instance Attribute Details

#next_page_tokenString

The page token used to get the next set of resolved policies found by the request. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


514
515
516
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 514

def next_page_token
  @next_page_token
end

#resolved_policiesArray<Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ResolvedPolicy>

The list of resolved policies found by the resolve request. Corresponds to the JSON property resolvedPolicies



519
520
521
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 519

def resolved_policies
  @resolved_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



526
527
528
529
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 526

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @resolved_policies = args[:resolved_policies] if args.key?(:resolved_policies)
end