Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting

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

A network setting contains network configurations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyVersionsV1NetworkSetting

Returns a new instance of GoogleChromePolicyVersionsV1NetworkSetting.



567
568
569
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 567

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#policy_schemaString

The fully qualified name of the network setting. Corresponds to the JSON property policySchema

Returns:

  • (String)


560
561
562
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 560

def policy_schema
  @policy_schema
end

#valueHash<String,Object>

The value of the network setting. Corresponds to the JSON property value

Returns:

  • (Hash<String,Object>)


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

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

def update!(**args)
  @policy_schema = args[:policy_schema] if args.key?(:policy_schema)
  @value = args[:value] if args.key?(:value)
end