Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineNetworkResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineNetworkResponse
- 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
Response object for creating a network.
Instance Attribute Summary collapse
-
#network_id ⇒ String
Network ID of the new created network.
-
#settings ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>
Detailed network settings of the new created network Corresponds to the JSON property
settings
. -
#target_resource ⇒ String
The target resource on which this new network will be defined.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1DefineNetworkResponse
constructor
A new instance of GoogleChromePolicyVersionsV1DefineNetworkResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1DefineNetworkResponse
Returns a new instance of GoogleChromePolicyVersionsV1DefineNetworkResponse.
306 307 308 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 306 def initialize(**args) update!(**args) end |
Instance Attribute Details
#network_id ⇒ String
Network ID of the new created network.
Corresponds to the JSON property networkId
293 294 295 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 293 def network_id @network_id end |
#settings ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>
Detailed network settings of the new created network
Corresponds to the JSON property settings
298 299 300 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 298 def settings @settings end |
#target_resource ⇒ String
The target resource on which this new network will be defined. The following
resources are supported: * Organizational Unit ("orgunits/orgunit_id
")
Corresponds to the JSON property targetResource
304 305 306 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 304 def target_resource @target_resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
311 312 313 314 315 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 311 def update!(**args) @network_id = args[:network_id] if args.key?(:network_id) @settings = args[:settings] if args.key?(:settings) @target_resource = args[:target_resource] if args.key?(:target_resource) end |