Class: Google::Apis::WorkloadmanagerV1::ListRulesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb

Overview

Response message for the ListRules RPC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListRulesResponse

Returns a new instance of ListRulesResponse.



1832
1833
1834
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1832

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

Instance Attribute Details

#rulesArray<Google::Apis::WorkloadmanagerV1::Rule>

All rules in response. Corresponds to the JSON property rules



1830
1831
1832
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1830

def rules
  @rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1837
1838
1839
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 1837

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