Interface SecurityPostureOrBuilder (2.45.0)

public interface SecurityPostureOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChangedPolicy()

public abstract String getChangedPolicy()

The name of the updated policy, for example, projects/{project_id}/policies/{constraint_name}.

string changed_policy = 5;

Returns
TypeDescription
String

The changedPolicy.

getChangedPolicyBytes()

public abstract ByteString getChangedPolicyBytes()

The name of the updated policy, for example, projects/{project_id}/policies/{constraint_name}.

string changed_policy = 5;

Returns
TypeDescription
ByteString

The bytes for changedPolicy.

getName()

public abstract String getName()

Name of the posture, for example, CIS-Posture.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the posture, for example, CIS-Posture.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPolicy()

public abstract String getPolicy()

The ID of the updated policy, for example, compute-policy-1.

string policy = 7;

Returns
TypeDescription
String

The policy.

getPolicyBytes()

public abstract ByteString getPolicyBytes()

The ID of the updated policy, for example, compute-policy-1.

string policy = 7;

Returns
TypeDescription
ByteString

The bytes for policy.

getPolicyDriftDetails(int index)

public abstract SecurityPosture.PolicyDriftDetails getPolicyDriftDetails(int index)

The details about a change in an updated policy that violates the deployed posture.

repeated .google.cloud.securitycenter.v2.SecurityPosture.PolicyDriftDetails policy_drift_details = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
SecurityPosture.PolicyDriftDetails

getPolicyDriftDetailsCount()

public abstract int getPolicyDriftDetailsCount()

The details about a change in an updated policy that violates the deployed posture.

repeated .google.cloud.securitycenter.v2.SecurityPosture.PolicyDriftDetails policy_drift_details = 8;

Returns
TypeDescription
int

getPolicyDriftDetailsList()

public abstract List<SecurityPosture.PolicyDriftDetails> getPolicyDriftDetailsList()

The details about a change in an updated policy that violates the deployed posture.

repeated .google.cloud.securitycenter.v2.SecurityPosture.PolicyDriftDetails policy_drift_details = 8;

Returns
TypeDescription
List<PolicyDriftDetails>

getPolicyDriftDetailsOrBuilder(int index)

public abstract SecurityPosture.PolicyDriftDetailsOrBuilder getPolicyDriftDetailsOrBuilder(int index)

The details about a change in an updated policy that violates the deployed posture.

repeated .google.cloud.securitycenter.v2.SecurityPosture.PolicyDriftDetails policy_drift_details = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
SecurityPosture.PolicyDriftDetailsOrBuilder

getPolicyDriftDetailsOrBuilderList()

public abstract List<? extends SecurityPosture.PolicyDriftDetailsOrBuilder> getPolicyDriftDetailsOrBuilderList()

The details about a change in an updated policy that violates the deployed posture.

repeated .google.cloud.securitycenter.v2.SecurityPosture.PolicyDriftDetails policy_drift_details = 8;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v2.SecurityPosture.PolicyDriftDetailsOrBuilder>

getPolicySet()

public abstract String getPolicySet()

The name of the updated policy set, for example, cis-policyset.

string policy_set = 6;

Returns
TypeDescription
String

The policySet.

getPolicySetBytes()

public abstract ByteString getPolicySetBytes()

The name of the updated policy set, for example, cis-policyset.

string policy_set = 6;

Returns
TypeDescription
ByteString

The bytes for policySet.

getPostureDeployment()

public abstract String getPostureDeployment()

The name of the posture deployment, for example, organizations/{org_id}/posturedeployments/{posture_deployment_id}.

string posture_deployment = 4;

Returns
TypeDescription
String

The postureDeployment.

getPostureDeploymentBytes()

public abstract ByteString getPostureDeploymentBytes()

The name of the posture deployment, for example, organizations/{org_id}/posturedeployments/{posture_deployment_id}.

string posture_deployment = 4;

Returns
TypeDescription
ByteString

The bytes for postureDeployment.

getPostureDeploymentResource()

public abstract String getPostureDeploymentResource()

The project, folder, or organization on which the posture is deployed, for example, projects/{project_number}.

string posture_deployment_resource = 3;

Returns
TypeDescription
String

The postureDeploymentResource.

getPostureDeploymentResourceBytes()

public abstract ByteString getPostureDeploymentResourceBytes()

The project, folder, or organization on which the posture is deployed, for example, projects/{project_number}.

string posture_deployment_resource = 3;

Returns
TypeDescription
ByteString

The bytes for postureDeploymentResource.

getRevisionId()

public abstract String getRevisionId()

The version of the posture, for example, c7cfa2a8.

string revision_id = 2;

Returns
TypeDescription
String

The revisionId.

getRevisionIdBytes()

public abstract ByteString getRevisionIdBytes()

The version of the posture, for example, c7cfa2a8.

string revision_id = 2;

Returns
TypeDescription
ByteString

The bytes for revisionId.