Class OrganizationsResource.LocationsResource.PostureDeploymentsResource
The "postureDeployments" collection of methods.
Inherited Members
Namespace: Google.Apis.SecurityPosture.v1
Assembly: Google.Apis.SecurityPosture.v1.dll
Syntax
public class OrganizationsResource.LocationsResource.PostureDeploymentsResource
Constructors
PostureDeploymentsResource(IClientService)
Constructs a new resource.
Declaration
public PostureDeploymentsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(PostureDeployment, string)
Creates a new PostureDeployment in a given project and location.
Declaration
public virtual OrganizationsResource.LocationsResource.PostureDeploymentsResource.CreateRequest Create(PostureDeployment body, string parent)
Parameters
Type | Name | Description |
---|---|---|
PostureDeployment | body | The body of the request. |
string | parent | Required. The parent resource name, in the format |
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.PostureDeploymentsResource.CreateRequest |
Delete(string)
Deletes a PostureDeployment.
Declaration
public virtual OrganizationsResource.LocationsResource.PostureDeploymentsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the posture deployment, in the format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.PostureDeploymentsResource.DeleteRequest |
Get(string)
Gets details for a PostureDeployment.
Declaration
public virtual OrganizationsResource.LocationsResource.PostureDeploymentsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the PostureDeployment, in the format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.PostureDeploymentsResource.GetRequest |
List(string)
Lists every PostureDeployment in a project and location.
Declaration
public virtual OrganizationsResource.LocationsResource.PostureDeploymentsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent resource name, in the format |
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.PostureDeploymentsResource.ListRequest |
Patch(PostureDeployment, string)
Updates an existing PostureDeployment. To prevent concurrent updates from overwriting each other,
always follow the read-modify-write pattern when you update a posture deployment: 1. Call
GetPostureDeployment to get the current version of the deployment. 2. Update the fields in the
deployment as needed. 3. Call UpdatePostureDeployment to update the deployment. Ensure that your
request includes the etag
value from the GetPostureDeployment response. Important: If you omit
the etag
when you call UpdatePostureDeployment, then the updated deployment unconditionally
overwrites the existing deployment.
Declaration
public virtual OrganizationsResource.LocationsResource.PostureDeploymentsResource.PatchRequest Patch(PostureDeployment body, string name)
Parameters
Type | Name | Description |
---|---|---|
PostureDeployment | body | The body of the request. |
string | name | Required. Identifier. The name of the posture deployment, in the format
|
Returns
Type | Description |
---|---|
OrganizationsResource.LocationsResource.PostureDeploymentsResource.PatchRequest |