Class: Google::Apis::ComputeAlpha::ManagedRulesetList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ManagedRulesetList

Returns a new instance of ManagedRulesetList.



42507
42508
42509
# File 'lib/google/apis/compute_alpha/classes.rb', line 42507

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

Instance Attribute Details

#idString

Corresponds to the JSON property id

Returns:

  • (String)


42490
42491
42492
# File 'lib/google/apis/compute_alpha/classes.rb', line 42490

def id
  @id
end

#itemsArray<Google::Apis::ComputeAlpha::ManagedRuleset>

Corresponds to the JSON property items



42495
42496
42497
# File 'lib/google/apis/compute_alpha/classes.rb', line 42495

def items
  @items
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


42500
42501
42502
# File 'lib/google/apis/compute_alpha/classes.rb', line 42500

def next_page_token
  @next_page_token
end

#warningGoogle::Apis::ComputeAlpha::ManagedRulesetList::Warning

Corresponds to the JSON property warning



42505
42506
42507
# File 'lib/google/apis/compute_alpha/classes.rb', line 42505

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42512
42513
42514
42515
42516
42517
# File 'lib/google/apis/compute_alpha/classes.rb', line 42512

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