Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::RestorePlanBinding.
A RestorePlanBinding binds a RestorePlan with a RestoreChannel. This resource is created automatically when a RestorePlan is created using a RestoreChannel. This also serves as a holder for cross-project fields that need to be displayed in the current project.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_plan
def backup_plan() -> ::String
Returns
-
(::String) — Output only. The fully qualified name of the BackupPlan bound to the
specified RestorePlan.
projects/*/locations/*/backukpPlans/{backup_plan}
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when this binding was created.
#etag
def etag() -> ::String
Returns
-
(::String) — Output only.
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a RestorePlanBinding from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform RestorePlanBinding updates in order to avoid race conditions: Anetag
is returned in the response toGetRestorePlanBinding
, and systems are expected to put that etag in the request toUpdateRestorePlanBinding
orDeleteRestorePlanBinding
to ensure that their change will be applied to the same version of the resource.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. The fully qualified name of the RestorePlanBinding.
projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. The fully qualified name of the RestorePlanBinding.
projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
Returns
-
(::String) — Identifier. The fully qualified name of the RestorePlanBinding.
projects/*/locations/*/restoreChannels/*/restorePlanBindings/*
#restore_plan
def restore_plan() -> ::String
Returns
-
(::String) — Output only. The fully qualified name of the RestorePlan bound to this
RestoreChannel.
projects/*/locations/*/restorePlans/{restore_plan}
#uid
def uid() -> ::String
Returns
- (::String) — Output only. Server generated global unique identifier of UUID4
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp when this binding was created.