Class: Google::Apis::SecuritycenterV1beta1::ListSourcesResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSourcesResponse

Returns a new instance of ListSourcesResponse.



10606
10607
10608
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10606

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

Instance Attribute Details

#next_page_tokenString

Corresponds to the JSON property nextPageToken

Returns:

  • (String)


10599
10600
10601
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10599

def next_page_token
  @next_page_token
end

#sourcesArray<Google::Apis::SecuritycenterV1beta1::Source>

Corresponds to the JSON property sources



10604
10605
10606
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10604

def sources
  @sources
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10611
10612
10613
10614
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10611

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