Class: Google::Apis::SecuritycenterV1::ListSourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1::ListSourcesResponse
- 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
-
#next_page_token ⇒ String
Corresponds to the JSON property
nextPageToken. -
#sources ⇒ Array<Google::Apis::SecuritycenterV1::Source>
Corresponds to the JSON property
sources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListSourcesResponse
constructor
A new instance of ListSourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListSourcesResponse
Returns a new instance of ListSourcesResponse.
11282 11283 11284 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11282 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Corresponds to the JSON property nextPageToken
11275 11276 11277 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11275 def next_page_token @next_page_token end |
#sources ⇒ Array<Google::Apis::SecuritycenterV1::Source>
Corresponds to the JSON property sources
11280 11281 11282 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11280 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11287 11288 11289 11290 |
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 11287 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sources = args[:sources] if args.key?(:sources) end |