Interface BindingMatchingResourceOrBuilder (0.58.0)

public interface BindingMatchingResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoProtectionDetails()

public abstract AutoProtectionDetails getAutoProtectionDetails()

Output only. The auto protection details of the resource from the current binding's perspective.

.google.cloud.backupdr.v1beta.AutoProtectionDetails auto_protection_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutoProtectionDetails

The autoProtectionDetails.

getAutoProtectionDetailsOrBuilder()

public abstract AutoProtectionDetailsOrBuilder getAutoProtectionDetailsOrBuilder()

Output only. The auto protection details of the resource from the current binding's perspective.

.google.cloud.backupdr.v1beta.AutoProtectionDetails auto_protection_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutoProtectionDetailsOrBuilder

getLastEvaluationTime()

public abstract Timestamp getLastEvaluationTime()

Output only. The timestamp when the resource was last evaluated for protection.

.google.protobuf.Timestamp last_evaluation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastEvaluationTime.

getLastEvaluationTimeOrBuilder()

public abstract TimestampOrBuilder getLastEvaluationTimeOrBuilder()

Output only. The timestamp when the resource was last evaluated for protection.

.google.protobuf.Timestamp last_evaluation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Identifier. The resource name of the BindingMatchingResource. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}/matchingResources/{matching_resource}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the BindingMatchingResource. Format: projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy}/bindings/{binding}/matchingResources/{matching_resource}

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

Returns
Type Description
ByteString

The bytes for name.

getResource()

public abstract String getResource()

Required. Immutable. Resource name of the workload that matches the criteria of the binding.

The format can be either a relative resource name (e.g., projects/my-project/zones/us-central1-a/instances/my-instance) or a schemeless full resource name (e.g., //compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance).

string resource = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The resource.

getResourceBytes()

public abstract ByteString getResourceBytes()

Required. Immutable. Resource name of the workload that matches the criteria of the binding.

The format can be either a relative resource name (e.g., projects/my-project/zones/us-central1-a/instances/my-instance) or a schemeless full resource name (e.g., //compute.googleapis.com/projects/my-project/zones/us-central1-a/instances/my-instance).

string resource = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for resource.

hasAutoProtectionDetails()

public abstract boolean hasAutoProtectionDetails()

Output only. The auto protection details of the resource from the current binding's perspective.

.google.cloud.backupdr.v1beta.AutoProtectionDetails auto_protection_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the autoProtectionDetails field is set.

hasLastEvaluationTime()

public abstract boolean hasLastEvaluationTime()

Output only. The timestamp when the resource was last evaluated for protection.

.google.protobuf.Timestamp last_evaluation_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastEvaluationTime field is set.