Class: Google::Apis::ComputeAlpha::ManagedRulesetList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ManagedRulesetList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#id ⇒ String
Corresponds to the JSON property
id. -
#items ⇒ Array<Google::Apis::ComputeAlpha::ManagedRuleset>
Corresponds to the JSON property
items. -
#next_page_token ⇒ String
Corresponds to the JSON property
nextPageToken. -
#warning ⇒ Google::Apis::ComputeAlpha::ManagedRulesetList::Warning
Corresponds to the JSON property
warning.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedRulesetList
constructor
A new instance of ManagedRulesetList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ManagedRulesetList
Returns a new instance of ManagedRulesetList.
42786 42787 42788 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42786 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
Corresponds to the JSON property id
42769 42770 42771 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42769 def id @id end |
#items ⇒ Array<Google::Apis::ComputeAlpha::ManagedRuleset>
Corresponds to the JSON property items
42774 42775 42776 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42774 def items @items end |
#next_page_token ⇒ String
Corresponds to the JSON property nextPageToken
42779 42780 42781 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42779 def next_page_token @next_page_token end |
#warning ⇒ Google::Apis::ComputeAlpha::ManagedRulesetList::Warning
Corresponds to the JSON property warning
42784 42785 42786 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42784 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42791 42792 42793 42794 42795 42796 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42791 def update!(**args) @id = args[:id] if args.key?(:id) @items = args[:items] if args.key?(:items) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @warning = args[:warning] if args.key?(:warning) end |