public interface ViolationDetailsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
containsObserved(String key)
public abstract boolean containsObserved(String key)Details of the violation.
map<string, string> observed = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getAsset()
public abstract String getAsset()The name of the asset.
string asset = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The asset. |
getAssetBytes()
public abstract ByteString getAssetBytes()The name of the asset.
string asset = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for asset. |
getObserved() (deprecated)
public abstract Map<String,String> getObserved()Use #getObservedMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getObservedCount()
public abstract int getObservedCount()Details of the violation.
map<string, string> observed = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getObservedMap()
public abstract Map<String,String> getObservedMap()Details of the violation.
map<string, string> observed = 3;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getObservedOrDefault(String key, String defaultValue)
public abstract String getObservedOrDefault(String key, String defaultValue)Details of the violation.
map<string, string> observed = 3;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getObservedOrThrow(String key)
public abstract String getObservedOrThrow(String key)Details of the violation.
map<string, string> observed = 3;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
String |
|
getRuleOutput(int index)
public abstract RuleOutput getRuleOutput(int index)Output only. The rule output of the violation.
repeated .google.cloud.workloadmanager.v1.RuleOutput rule_output = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RuleOutput |
|
getRuleOutputCount()
public abstract int getRuleOutputCount()Output only. The rule output of the violation.
repeated .google.cloud.workloadmanager.v1.RuleOutput rule_output = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getRuleOutputList()
public abstract List<RuleOutput> getRuleOutputList()Output only. The rule output of the violation.
repeated .google.cloud.workloadmanager.v1.RuleOutput rule_output = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<RuleOutput> |
|
getRuleOutputOrBuilder(int index)
public abstract RuleOutputOrBuilder getRuleOutputOrBuilder(int index)Output only. The rule output of the violation.
repeated .google.cloud.workloadmanager.v1.RuleOutput rule_output = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RuleOutputOrBuilder |
|
getRuleOutputOrBuilderList()
public abstract List<? extends RuleOutputOrBuilder> getRuleOutputOrBuilderList()Output only. The rule output of the violation.
repeated .google.cloud.workloadmanager.v1.RuleOutput rule_output = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.workloadmanager.v1.RuleOutputOrBuilder> |
|
getServiceAccount()
public abstract String getServiceAccount()The service account associated with the resource.
string service_account = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccount. |
getServiceAccountBytes()
public abstract ByteString getServiceAccountBytes()The service account associated with the resource.
string service_account = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccount. |