Class: Google::Apis::SecuritycenterV1::ListValuedResourcesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListValuedResourcesResponse

Returns a new instance of ListValuedResourcesResponse.



11312
11313
11314
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11312

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


11300
11301
11302
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11300

def next_page_token
  @next_page_token
end

#total_sizeFixnum

Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


11305
11306
11307
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11305

def total_size
  @total_size
end

#valued_resourcesArray<Google::Apis::SecuritycenterV1::ValuedResource>

Corresponds to the JSON property valuedResources



11310
11311
11312
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11310

def valued_resources
  @valued_resources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11317
11318
11319
11320
11321
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11317

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