Class OrganizationsResource.LocationsResource.PosturesResource.ExtractRequest
Extracts existing policies from an organization, folder, or project, and applies them to another organization, folder, or project as a Posture. If the other organization, folder, or project already has a posture, then the result of the long-running operation is an ALREADY_EXISTS error.
Inheritance
OrganizationsResource.LocationsResource.PosturesResource.ExtractRequest
Inherited Members
Namespace: Google.Apis.SecurityPosture.v1
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.PosturesResource.ExtractRequest : SecurityPostureBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
ExtractRequest(IClientService, ExtractPostureRequest, string)
Constructs a new Extract request.
Declaration
public ExtractRequest(IClientService service, ExtractPostureRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ExtractPostureRequest | 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. The parent resource name, in the format
organizations/{organization}/locations/global
.
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 Extract parameter list.
Declaration
protected override void InitParameters()