Class: IBM::Cloud::SDK::VPC::SECURITYGROUP::Rules

Inherits:
VPCCollection show all
Defined in:
lib/ibm/cloud/sdk/vpc/security_groups.rb

Overview

Work with rules associated with parent group.

Instance Attribute Summary

Attributes included from IBM::Cloud::SDKHTTP::BaseHTTPMixin

#endpoint

Attributes inherited from IBM::Cloud::SDKHTTP::BaseCollection

#connection, #endpoint, #logger, #token

Instance Method Summary collapse

Methods inherited from VPCCollection

#count, #has_count?, #params

Methods included from VpcHTTP

#metadata

Methods included from IBM::Cloud::SDKHTTP::BaseHTTPMixin

#adhoc, #delete, #get, #metadata, #patch, #post, #put, #unchecked_response, #url

Methods inherited from IBM::Cloud::SDKHTTP::BaseCollection

#all, #create, #data, #fetch, #params, #reset_params

Constructor Details

#initialize(parent) ⇒ Rules

Returns a new instance of Rules.



36
37
38
# File 'lib/ibm/cloud/sdk/vpc/security_groups.rb', line 36

def initialize(parent)
  super(parent, 'rules', child_class: Rule)
end