public sealed class ListSourcesRequest : IPageRequest, IMessage<ListSourcesRequest>, IEquatable<ListSourcesRequest>, IDeepCloneable<ListSourcesRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Security Command Center v2 API class ListSourcesRequest.
Request message for listing sources.
Implements
IPageRequest, IMessageListSourcesRequest, IEquatableListSourcesRequest, IDeepCloneableListSourcesRequest, IBufferMessage, IMessageNamespace
Google.Cloud.SecurityCenter.V2Assembly
Google.Cloud.SecurityCenter.V2.dll
Constructors
ListSourcesRequest()
public ListSourcesRequest()
ListSourcesRequest(ListSourcesRequest)
public ListSourcesRequest(ListSourcesRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListSourcesRequest |
Properties
PageSize
public int PageSize { get; set; }
The maximum number of results to return in a single response. Default is 10, minimum is 1, maximum is 1000.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
The value returned by the last ListSourcesResponse
; indicates
that this is a continuation of a prior ListSources
call, and
that the system should return the next page of data.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. Resource name of the parent of sources to list. Its format should
be organizations/[organization_id]
, folders/[folder_id]
, or
projects/[project_id]
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsFolderName
public FolderName ParentAsFolderName { get; set; }
FolderName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
FolderName |
ParentAsOrganizationName
public OrganizationName ParentAsOrganizationName { get; set; }
OrganizationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
OrganizationName |
ParentAsProjectName
public ProjectName ParentAsProjectName { get; set; }
ProjectName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
ProjectName |
ParentAsResourceName
public IResourceName ParentAsResourceName { get; set; }
IResourceName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
IResourceName |