public interface SecurityPostureOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getChangedPolicy()
public abstract String getChangedPolicy() The name of the updated policy, for example,
projects/{project_id}/policies/{constraint_name}.
string changed_policy = 5;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for changedPolicy. |
getName()
public abstract String getName() Name of the posture, for example, CIS-Posture.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes() Name of the posture, for example, CIS-Posture.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
String |
The policy. |
getPolicyBytes()
public abstract ByteString getPolicyBytes() The ID of the updated policy, for example, compute-policy-1.
string policy = 7;
| Returns | |
|---|---|
| Type | Description |
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.v1.SecurityPosture.PolicyDriftDetails policy_drift_details = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
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.v1.SecurityPosture.PolicyDriftDetails policy_drift_details = 8;
| Returns | |
|---|---|
| Type | Description |
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.v1.SecurityPosture.PolicyDriftDetails policy_drift_details = 8;
| Returns | |
|---|---|
| Type | Description |
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.v1.SecurityPosture.PolicyDriftDetails policy_drift_details = 8;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
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.v1.SecurityPosture.PolicyDriftDetails policy_drift_details = 8;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.securitycenter.v1.SecurityPosture.PolicyDriftDetailsOrBuilder> |
|
getPolicySet()
public abstract String getPolicySet() The name of the updated policyset, for example, cis-policyset.
string policy_set = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The policySet. |
getPolicySetBytes()
public abstract ByteString getPolicySetBytes() The name of the updated policyset, for example, cis-policyset.
string policy_set = 6;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for postureDeploymentResource. |
getRevisionId()
public abstract String getRevisionId() The version of the posture, for example, c7cfa2a8.
string revision_id = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The revisionId. |
getRevisionIdBytes()
public abstract ByteString getRevisionIdBytes() The version of the posture, for example, c7cfa2a8.
string revision_id = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for revisionId. |