Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineNetworkRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1DefineNetworkRequest
- 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 object for creating a new network.
Instance Attribute Summary collapse
-
#name ⇒ String
Required.
-
#settings ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>
Required.
-
#target_resource ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1DefineNetworkRequest
constructor
A new instance of GoogleChromePolicyVersionsV1DefineNetworkRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChromePolicyVersionsV1DefineNetworkRequest
Returns a new instance of GoogleChromePolicyVersionsV1DefineNetworkRequest.
274 275 276 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 274 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Required. Name of the new created network.
Corresponds to the JSON property name
260 261 262 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 260 def name @name end |
#settings ⇒ Array<Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1NetworkSetting>
Required. Detailed network settings.
Corresponds to the JSON property settings
265 266 267 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 265 def settings @settings end |
#target_resource ⇒ String
Required. 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
272 273 274 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 272 def target_resource @target_resource end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
279 280 281 282 283 |
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 279 def update!(**args) @name = args[:name] if args.key?(:name) @settings = args[:settings] if args.key?(:settings) @target_resource = args[:target_resource] if args.key?(:target_resource) end |