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.



42786
42787
42788
# File 'lib/google/apis/compute_alpha/classes.rb', line 42786

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

Instance Attribute Details

#idString

Corresponds to the JSON property id

Returns:

  • (String)


42769
42770
42771
# File 'lib/google/apis/compute_alpha/classes.rb', line 42769

def id
  @id
end

#itemsArray<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_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


42779
42780
42781
# File 'lib/google/apis/compute_alpha/classes.rb', line 42779

def next_page_token
  @next_page_token
end

#warningGoogle::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