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.



571
572
573
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 571

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)


564
565
566
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 564

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



569
570
571
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 569

def resolved_policies
  @resolved_policies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



576
577
578
579
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 576

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