Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyV1UploadPolicyFileRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyV1UploadPolicyFileRequest
- 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 uploading a file for a policy. Next ID: 5
Instance Attribute Summary collapse
-
#policy_field ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyV1UploadPolicyFileRequest
constructor
A new instance of GoogleChromePolicyV1UploadPolicyFileRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyV1UploadPolicyFileRequest
Returns a new instance of GoogleChromePolicyV1UploadPolicyFileRequest.
624 625 626 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 624 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy_field ⇒ String
Required. The fully qualified policy schema and field name this file is
uploaded for. This information will be used to validate the content type of
the file.
Corresponds to the JSON property policyField
622 623 624 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 622 def policy_field @policy_field end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
629 630 631 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 629 def update!(**args) @policy_field = args[:policy_field] if args.key?(:policy_field) end |