Reference documentation and code samples for the Security Command Center V2 API class Google::Cloud::SecurityCenter::V2::ListSourcesRequest.
Request message for listing sources.
Inherits
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#page_size
def page_size() -> ::Integer
Returns
- (::Integer) — The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
#page_size=
def page_size=(value) -> ::Integer
Parameter
- value (::Integer) — The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
Returns
- (::Integer) — The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
#page_token
def page_token() -> ::String
Returns
-
(::String) — The value returned by the last
ListSourcesResponse
; indicates that this is a continuation of a priorListSources
call, and that the system should return the next page of data.
#page_token=
def page_token=(value) -> ::String
Parameter
-
value (::String) — The value returned by the last
ListSourcesResponse
; indicates that this is a continuation of a priorListSources
call, and that the system should return the next page of data.
Returns
-
(::String) — The value returned by the last
ListSourcesResponse
; indicates that this is a continuation of a priorListSources
call, and that the system should return the next page of data.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. Resource name of the parent of sources to list. Its format should
be
organizations/[organization_id]
,folders/[folder_id]
, orprojects/[project_id]
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. Resource name of the parent of sources to list. Its format should
be
organizations/[organization_id]
,folders/[folder_id]
, orprojects/[project_id]
.
Returns
-
(::String) — Required. Resource name of the parent of sources to list. Its format should
be
organizations/[organization_id]
,folders/[folder_id]
, orprojects/[project_id]
.