Class OrganizationsResource.AssetsResource.RunDiscoveryRequest
Runs asset discovery. The discovery is tracked with a long-running operation. This API can only be called with limited frequency for an organization. If it is called too frequently the caller will receive a TOO_MANY_REQUESTS error.
Inheritance
OrganizationsResource.AssetsResource.RunDiscoveryRequest
Inherited Members
Namespace: Google.Apis.SecurityCommandCenter.v1beta1
Assembly: Google.Apis.SecurityCommandCenter.v1beta1.dll
Syntax
public class OrganizationsResource.AssetsResource.RunDiscoveryRequest : SecurityCommandCenterBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
RunDiscoveryRequest(IClientService, RunAssetDiscoveryRequest, string)
Constructs a new RunDiscovery request.
Declaration
public RunDiscoveryRequest(IClientService service, RunAssetDiscoveryRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
RunAssetDiscoveryRequest | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. Name of the organization to run asset discovery for. Its format is "organizations/[organization_id]".
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes RunDiscovery parameter list.
Declaration
protected override void InitParameters()