Class: Google::Apis::SecuritycenterV1::GroupAssetsRequest

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

Returns a new instance of GroupAssetsRequest.



10235
10236
10237
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10235

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

Instance Attribute Details

#compare_durationString

Corresponds to the JSON property compareDuration

Returns:

  • (String)


10208
10209
10210
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10208

def compare_duration
  @compare_duration
end

#filterString

Corresponds to the JSON property filter

Returns:

  • (String)


10213
10214
10215
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10213

def filter
  @filter
end

#group_byString

Corresponds to the JSON property groupBy

Returns:

  • (String)


10218
10219
10220
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10218

def group_by
  @group_by
end

#page_sizeFixnum

Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


10223
10224
10225
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10223

def page_size
  @page_size
end

#page_tokenString

Corresponds to the JSON property pageToken

Returns:

  • (String)


10228
10229
10230
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10228

def page_token
  @page_token
end

#read_timeString

Corresponds to the JSON property readTime

Returns:

  • (String)


10233
10234
10235
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10233

def read_time
  @read_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10240
10241
10242
10243
10244
10245
10246
10247
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 10240

def update!(**args)
  @compare_duration = args[:compare_duration] if args.key?(:compare_duration)
  @filter = args[:filter] if args.key?(:filter)
  @group_by = args[:group_by] if args.key?(:group_by)
  @page_size = args[:page_size] if args.key?(:page_size)
  @page_token = args[:page_token] if args.key?(:page_token)
  @read_time = args[:read_time] if args.key?(:read_time)
end