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
System.Object
OrganizationsResource.AssetsResource.RunDiscoveryRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.SecurityCommandCenter.v1p1beta1
Assembly: Google.Apis.SecurityCommandCenter.v1p1beta1.dll
Syntax
public class 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 | |
System.String | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.Operation>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.Operation>.MethodName
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 |
---|---|
System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.Operation>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.Operation>.GetBody()
InitParameters()
Initializes RunDiscovery parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.SecurityCommandCenter.v1p1beta1.SecurityCommandCenterBaseServiceRequest<Google.Apis.SecurityCommandCenter.v1p1beta1.Data.Operation>.InitParameters()