Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolveRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1ResolveRequest
- 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::GoogleChromePolicyVersionsV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1ResolveRequest
constructor
A new instance of GoogleChromePolicyVersionsV1ResolveRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1ResolveRequest
Returns a new instance of GoogleChromePolicyVersionsV1ResolveRequest.
1092 1093 1094 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1092 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
1069 1070 1071 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1069 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
1074 1075 1076 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1074 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/policy/guides/policy-schemas for details on schema namespaces. For
example: Valid: "chrome.users.", "chrome.users.apps.", "chrome.printers."
Invalid: "", ".users", "chrome.", "chrome..apps."
Corresponds to the JSON property policySchemaFilter
1085 1086 1087 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1085 def policy_schema_filter @policy_schema_filter end |
#policy_target_key ⇒ Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1PolicyTargetKey
The key used to identify the target on which the policy will be applied.
Corresponds to the JSON property policyTargetKey
1090 1091 1092 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1090 def policy_target_key @policy_target_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1097 1098 1099 1100 1101 1102 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1097 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 |