// Patch applies the patch and returns the patched providerSnapshotBackupPolicy.
Patch applies the patch and returns the patched providerSnapshotBackupPolicy.
// Patch applies the patch and returns the patched providerSnapshotBackupPolicy .
func (c *providerSnapshotBackupPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ProviderSnapshotBackupPolicy, err error) {
	result = &v1alpha1.ProviderSnapshotBackupPolicy{}
	err = c.client.Patch(pt).
		Namespace(c.ns).
		Resource("providersnapshotbackuppolicies").
		Name(name).
		SubResource(subresources...).
		VersionedParams(&opts, scheme.ParameterCodec).
		Body(data).
		Do(ctx).
		Into(result)
	return
}
func ( c * providerSnapshotBackupPolicies ) Patch ( ctx context . Context , name string , pt types . PatchType , data [ ] byte , opts v1 . PatchOptions , subresources ... string ) ( result * v1alpha1 . ProviderSnapshotBackupPolicy , err error ) { result = & v1alpha1 . ProviderSnapshotBackupPolicy { } err = c . client . Patch ( pt ) . Namespace ( c . ns ) . Resource ( " " ) . Name ( name ) . SubResource ( subresources ... ) . VersionedParams ( & opts , scheme . ParameterCodec ) . Body ( data ) . Do ( ctx ) . Into ( result ) return }
Patch applies the patch and returns the patched providerSnapshotBackupPolicy.
Patch applies the patch and returns the patched providerSnapshotBackupPolicy .