Class: Google::Apis::SecuritycenterV1::GroupAssetsResponse

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) ⇒ GroupAssetsResponse

Returns a new instance of GroupAssetsResponse.



10374
10375
10376
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10374

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

Instance Attribute Details

#group_by_resultsArray<Google::Apis::SecuritycenterV1::GroupResult>

Corresponds to the JSON property groupByResults



10357
10358
10359
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10357

def group_by_results
  @group_by_results
end

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


10362
10363
10364
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10362

def next_page_token
  @next_page_token
end

#read_timeString

Corresponds to the JSON property readTime

Returns:

  • (String)


10367
10368
10369
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10367

def read_time
  @read_time
end

#total_sizeFixnum

Corresponds to the JSON property totalSize

Returns:

  • (Fixnum)


10372
10373
10374
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10372

def total_size
  @total_size
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10379
10380
10381
10382
10383
10384
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10379

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