Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ResolveRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1ResolveRequest
- 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 getting the resolved policy value for a specific target.
Instance Attribute Summary collapse
-
#page_size ⇒ Fixnum
The maximum number of policies to return, defaults to 100 and has a maximum of 1000.
-
#page_token ⇒ String
The page token used to retrieve a specific page of the request.
-
#policy_schema_filter ⇒ String
The schema filter to apply to the resolve request.
-
#policy_target_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyV1ResolveRequest
constructor
A new instance of GoogleChromePolicyV1ResolveRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1ResolveRequest
Returns a new instance of GoogleChromePolicyV1ResolveRequest.
543 544 545 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#page_size ⇒ Fixnum
The maximum number of policies to return, defaults to 100 and has a maximum of
1000.
Corresponds to the JSON property pageSize
520 521 522 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 520 def page_size @page_size end |
#page_token ⇒ String
The page token used to retrieve a specific page of the request.
Corresponds to the JSON property pageToken
525 526 527 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 525 def page_token @page_token end |
#policy_schema_filter ⇒ String
The schema filter to apply to the resolve request. Specify a schema name to
view a particular schema, for example: chrome.users.ShowLogoutButton Wildcards
are supported, but only in the leaf portion of the schema name. Wildcards
cannot be used in namespace directly. Please read https://developers.google.
com/chrome/chrome-management/guides/policyapi for details on schema namepsaces.
For example: Valid: "chrome.users.", "chrome.users.apps.", "chrome.printers.
" Invalid: "", ".users", "chrome.", "chrome..apps."
Corresponds to the JSON property policySchemaFilter
536 537 538 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 536 def policy_schema_filter @policy_schema_filter end |
#policy_target_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
Corresponds to the JSON property policyTargetKey
541 542 543 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 541 def policy_target_key @policy_target_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
548 549 550 551 552 553 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 548 def update!(**args) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) @policy_schema_filter = args[:policy_schema_filter] if args.key?(:policy_schema_filter) @policy_target_key = args[:policy_target_key] if args.key?(:policy_target_key) end |