Class: Google::Apis::ComputeBeta::ManagedRulesetList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/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.



37787
37788
37789
# File 'lib/google/apis/compute_beta/classes.rb', line 37787

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

Instance Attribute Details

#idString

Corresponds to the JSON property id

Returns:

  • (String)


37770
37771
37772
# File 'lib/google/apis/compute_beta/classes.rb', line 37770

def id
  @id
end

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

Corresponds to the JSON property items



37775
37776
37777
# File 'lib/google/apis/compute_beta/classes.rb', line 37775

def items
  @items
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


37780
37781
37782
# File 'lib/google/apis/compute_beta/classes.rb', line 37780

def next_page_token
  @next_page_token
end

#warningGoogle::Apis::ComputeBeta::ManagedRulesetList::Warning

Corresponds to the JSON property warning



37785
37786
37787
# File 'lib/google/apis/compute_beta/classes.rb', line 37785

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37792
37793
37794
37795
37796
37797
# File 'lib/google/apis/compute_beta/classes.rb', line 37792

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