Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting
- 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
A network setting contains network configurations.
Instance Attribute Summary collapse
-
#policy_schema ⇒ String
The fully qualified name of the network setting.
-
#value ⇒ Hash<String,Object>
The value of the network setting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1NetworkSetting
constructor
A new instance of GoogleChromePolicyVersionsV1NetworkSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1NetworkSetting
Returns a new instance of GoogleChromePolicyVersionsV1NetworkSetting.
587 588 589 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 587 def initialize(**args) update!(**args) end |
Instance Attribute Details
#policy_schema ⇒ String
The fully qualified name of the network setting.
Corresponds to the JSON property policySchema
580 581 582 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 580 def policy_schema @policy_schema end |
#value ⇒ Hash<String,Object>
The value of the network setting.
Corresponds to the JSON property value
585 586 587 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 585 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
592 593 594 595 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 592 def update!(**args) @policy_schema = args[:policy_schema] if args.key?(:policy_schema) @value = args[:value] if args.key?(:value) end |