Class: Google::Apis::ChromepolicyV1::GoogleChromePolicyVersionsV1RemoveNetworkRequest

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

Request object for removing a network

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromePolicyVersionsV1RemoveNetworkRequest

Returns a new instance of GoogleChromePolicyVersionsV1RemoveNetworkRequest.



1191
1192
1193
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1191

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

Instance Attribute Details

#network_idString

Required. The GUID of the network to remove. Corresponds to the JSON property networkId

Returns:

  • (String)


1182
1183
1184
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1182

def network_id
  @network_id
end

#target_resourceString

Required. The target resource on which this network will be removed. The following resources are supported: * Organizational Unit ("orgunits/ orgunit_id") Corresponds to the JSON property targetResource

Returns:

  • (String)


1189
1190
1191
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1189

def target_resource
  @target_resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1196
1197
1198
1199
# File 'lib/google/apis/chromepolicy_v1/classes.rb', line 1196

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