Interface ResourceDriftOrBuilder (0.45.0)

public interface ResourceDriftOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The name of the resource drift. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPropertyDrifts(int index)

public abstract PropertyDrift getPropertyDrifts(int index)

Output only. The property drifts of the resource drift.

repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PropertyDrift

getPropertyDriftsCount()

public abstract int getPropertyDriftsCount()

Output only. The property drifts of the resource drift.

repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPropertyDriftsList()

public abstract List<PropertyDrift> getPropertyDriftsList()

Output only. The property drifts of the resource drift.

repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<PropertyDrift>

getPropertyDriftsOrBuilder(int index)

public abstract PropertyDriftOrBuilder getPropertyDriftsOrBuilder(int index)

Output only. The property drifts of the resource drift.

repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
PropertyDriftOrBuilder

getPropertyDriftsOrBuilderList()

public abstract List<? extends PropertyDriftOrBuilder> getPropertyDriftsOrBuilderList()

Output only. The property drifts of the resource drift.

repeated .google.cloud.config.v1.PropertyDrift property_drifts = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.config.v1.PropertyDriftOrBuilder>

getTerraformInfo()

public abstract ResourceDriftTerraformInfo getTerraformInfo()

Output only. Terraform info of the resource drift.

.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceDriftTerraformInfo

The terraformInfo.

getTerraformInfoOrBuilder()

public abstract ResourceDriftTerraformInfoOrBuilder getTerraformInfoOrBuilder()

Output only. Terraform info of the resource drift.

.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceDriftTerraformInfoOrBuilder

hasTerraformInfo()

public abstract boolean hasTerraformInfo()

Output only. Terraform info of the resource drift.

.google.cloud.config.v1.ResourceDriftTerraformInfo terraform_info = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the terraformInfo field is set.