Class: Google::Apis::SecuritycenterV1beta1::ListSourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::ListSourcesResponse
- 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
-
#next_page_token ⇒ String
Corresponds to the JSON property
nextPageToken. -
#sources ⇒ Array<Google::Apis::SecuritycenterV1beta1::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.
11016 11017 11018 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11016 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Corresponds to the JSON property nextPageToken
11009 11010 11011 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11009 def next_page_token @next_page_token end |
#sources ⇒ Array<Google::Apis::SecuritycenterV1beta1::Source>
Corresponds to the JSON property sources
11014 11015 11016 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11014 def sources @sources end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11021 11022 11023 11024 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 11021 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @sources = args[:sources] if args.key?(:sources) end |